/* Runway Desk — white page, black type, hairline rules. */

:root {
  --bg: #ffffff;
  --ink: #111111;
  --muted: #5a5a5a;
  --line: #e5e5e5;
  --max: 1120px;
  --header: 4.25rem;
  --font: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 0.9rem;
  z-index: 20;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lede,
.quiet {
  color: var(--muted);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(3.4rem, 10vw, 7.25rem);
  font-weight: 500;
  letter-spacing: -0.048em;
  line-height: 0.9;
}

h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head p:last-child {
  margin-bottom: 0;
  font-size: 1.125rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(1.2) blur(10px);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header);
  padding-block: 0.85rem;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.logo {
  max-width: 11.5rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.15;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover {
  text-decoration: underline;
}

.header-cta {
  text-decoration: none;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.2rem;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: #000;
}

.button-ghost {
  background: transparent;
  color: var(--ink);
}

.button-ghost:hover {
  background: var(--ink);
  color: #fff;
}

.button[disabled] {
  opacity: 0.55;
  cursor: progress;
}

/* Hero */

.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 0;
}

.hero-copy {
  max-width: 46rem;
}

.hero-copy .lede {
  max-width: 36rem;
  margin-bottom: 1.75rem;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.hero-photo {
  margin: 0;
}

.hero-photo img,
.frame img {
  width: 100%;
  border: 1px solid var(--line);
}

.caption {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Stats */

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  border-top: 1px solid var(--line);
}

.stats div {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.stats dt {
  margin: 0 0 0.2rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stats dd {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: -0.03em;
}

/* Bento */

.bento {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.bento article {
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bento p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

/* Bleed photo */

.bleed {
  padding: 0;
}

.bleed img {
  width: 100%;
  max-height: 88vh;
  object-fit: cover;
}

.bleed .caption {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0.75rem auto 0;
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

/* Dimensions */

.dim-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.diagram {
  margin: 0;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: #fff;
}

.diagram img {
  width: 100%;
  margin-inline: auto;
}

.specs {
  display: grid;
  gap: 1.25rem;
  margin: 0;
}

.specs div {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.specs dt {
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.specs dd {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.specs span,
.note {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1.45;
}

.runway-note {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.runway-note img {
  width: min(100%, 280px);
  border: 1px solid var(--line);
}

.runway-note p {
  margin: 0;
  max-width: 36rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

/* Detail trio */

.trio {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trio h3 {
  margin-top: 0.85rem;
}

.trio p {
  margin: 0;
  color: var(--muted);
}

.room {
  display: grid;
  gap: 1.25rem;
  align-items: end;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.room img {
  width: min(100%, 420px);
  border: 1px solid var(--line);
}

.room p {
  margin: 0;
  max-width: 28rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

/* Finishes */

.finish-layout {
  display: grid;
  gap: 1.5rem;
}

.finish-stage {
  margin: 0;
}

.finish-detail {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #f6f6f6;
}

.finish-board {
  width: 100%;
  aspect-ratio: 16 / 7;
  margin-top: 0.75rem;
  object-fit: contain;
  border: 1px solid var(--line);
  background: #fff;
}

.finish-name {
  margin: 1rem 0 0.3rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.finish-copy {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 36rem;
}

.finish-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.finish-list button {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.85rem;
  align-items: center;
  width: 100%;
  padding: 0.85rem 0.2rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
}

.finish-list button:hover,
.finish-list button.is-selected {
  background: #fafafa;
}

.finish-list button.is-selected strong {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.chip {
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid var(--line);
}

.swatch-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.swatch-label span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Order form */

.order-layout {
  display: grid;
  gap: 2rem;
}

form {
  display: grid;
  gap: 1.15rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}

textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}

.form-status.is-error {
  color: #8a1f1f;
}

/* Footer */

.site-footer {
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.site-footer p {
  margin: 0;
}

/* Desktop */

@media (min-width: 720px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .stats div {
    padding-right: 1rem;
  }

  .stats div + div {
    padding-left: 1rem;
    border-left: 1px solid var(--line);
  }

  .bento {
    grid-template-columns: 1fr 1fr;
  }

  .dim-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }

  .runway-note {
    grid-template-columns: 280px 1fr;
  }

  .trio {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .room {
    grid-template-columns: 420px 1fr;
    gap: 2.5rem;
  }

  .finish-layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: start;
  }

  .order-layout {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: start;
  }
}

@media (max-width: 719px) {
  .header-bar {
    flex-wrap: wrap;
    padding-bottom: 0.7rem;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .header-cta {
    margin-left: auto;
  }
}

.slogan {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.price-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 22rem;
  margin: 0 0 1.25rem;
}

.price-pair span {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price-pair strong {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-photo {
  margin: 0 0 clamp(3rem, 6vw, 4.5rem);
}

.price-photo img {
  width: 100%;
  border: 1px solid var(--line);
}

.photo-split {
  display: grid;
  gap: 1.25rem;
}

.photo-split figure {
  margin: 0;
}

.photo-split img {
  width: 100%;
  border: 1px solid var(--line);
  object-fit: cover;
}

.featured {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.featured button {
  display: block;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
}

.featured button.is-selected {
  border-color: var(--ink);
}

.featured img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.featured span {
  display: block;
  padding: 0.65rem 0.75rem 0.8rem;
  font-weight: 600;
}

.options {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.options > div {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "name price"
    "detail price";
  column-gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.options dt {
  grid-area: name;
  margin: 0;
  font-size: 1.05rem;
}

.options dd {
  grid-area: detail;
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.options strong {
  grid-area: price;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.check {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.check input {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  accent-color: var(--ink);
}

.estimate {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.estimate span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
}

@media (min-width: 720px) {
  .photo-split {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
  }

  .featured {
    grid-template-columns: repeat(4, 1fr);
  }

  .logo {
    max-width: none;
    font-size: 1.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
