:root {
  --paper: #fbfdff;
  --ink: #102a43;
  --body: #2f3f52;
  --muted: #53667d;
  --rule: #d8e2ec;
  --accent: #0b5cad;
  --soft: #eaf5ff;
  --panel: #ffffff;
  --inverse: #071b2f;
  --inverse-text: #f7fbff;
  --inverse-muted: #c9d8e8;
  --inverse-card: #102a43;
  --radius: 6px;
  --shadow: none;
  --display: "Instrument Sans", sans-serif;
  --body-font: "Instrument Sans", sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

body.variant-b {
  --paper: #f4efe7;
  --ink: #241f1a;
  --body: #453c33;
  --muted: #6e5e50;
  --rule: #d6cabd;
  --accent: #7c421f;
  --soft: #fff9f1;
  --panel: #fffaf2;
  --inverse: #241f1a;
  --inverse-text: #fff9f1;
  --inverse-muted: #e8d6c4;
  --inverse-card: #342a21;
  --display: "Fraunces", serif;
  --body-font: "Instrument Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--body-font);
  letter-spacing: 0;
}

body::before {
  content: "DRAFT";
  position: fixed;
  inset: auto -72px 44px auto;
  z-index: 40;
  rotate: -16deg;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
  color: color-mix(in srgb, var(--accent) 70%, var(--ink));
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  padding: 10px 92px;
  pointer-events: none;
}

a {
  color: inherit;
}

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

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  backdrop-filter: blur(18px);
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 760;
}

.brand img {
  width: 42px;
  height: 42px;
  border: 1px solid var(--rule);
  object-fit: cover;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
}

.nav-links a {
  text-decoration: none;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  padding: 13px 18px;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--ink);
  color: var(--paper);
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.button.primary:hover {
  border-color: var(--ink);
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: clip;
  border-bottom: 1px solid var(--rule);
}

.hero.variant-a-hero {
  background:
    linear-gradient(90deg, rgba(11, 92, 173, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(11, 92, 173, 0.08) 1px, transparent 1px);
  background-size: 58px 58px;
}

.hero-grid {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 56px;
  padding: 72px 0 52px;
}

.hero-grid.showroom {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before,
.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  margin-top: 18px;
  font-size: clamp(48px, 6.6vw, 94px);
  line-height: 0.96;
  font-weight: 780;
}

body.variant-b h1 {
  font-weight: 650;
  line-height: 0.92;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--body);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 46px;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.trust-strip div {
  min-height: 94px;
  padding: 18px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--panel);
}

.trust-strip strong,
.stat strong {
  display: block;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 26px;
  line-height: 1;
}

.trust-strip div > span,
.stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-media {
  position: relative;
  align-self: stretch;
  min-height: 560px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--ink);
}

.hero-media.contain img {
  object-fit: contain;
  background: var(--panel);
}

.floating-note {
  position: absolute;
  right: -18px;
  bottom: 36px;
  width: min(330px, 88%);
  border: 1px solid var(--ink);
  background: var(--panel);
  padding: 18px;
  color: var(--ink);
}

body.variant-b .hero-media.contain .floating-note {
  left: 50%;
  right: auto;
  width: min(390px, 82%);
  transform: translateX(-50%);
}

.floating-note strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.section {
  padding: 108px 0;
}

.section.tight {
  padding: 72px 0;
}

.section.inverse {
  background: var(--inverse);
  color: var(--inverse-text);
}

.section.inverse h2,
.section.inverse h3 {
  color: var(--inverse-text);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.55fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 42px;
}

.section-head h2 {
  margin-top: 14px;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1;
  font-weight: 730;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.section.inverse .section-head p,
.section.inverse .kicker {
  color: var(--inverse-muted);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--rule);
  background: var(--rule);
}

.process-card,
.service-card,
.fit-card,
.review-card,
.faq-card,
.cover-card,
.variant-card {
  border: 1px solid var(--rule);
  background: var(--panel);
  padding: 26px;
  align-self: start;
}

.section.inverse .process-card,
.section.inverse .service-card,
.section.inverse .review-card,
.section.inverse .variant-card,
.section.inverse .shot {
  border-color: color-mix(in srgb, var(--inverse-text) 20%, transparent);
  background: var(--inverse-card);
}

.process-card {
  border: 0;
  min-height: 220px;
}

.num {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.process-card h3,
.service-card h3,
.fit-card h3,
.review-card h3,
.faq-card h3 {
  margin-top: 18px;
  font-size: 24px;
  line-height: 1.08;
}

.process-card p,
.service-card p,
.fit-card p,
.review-card p,
.faq-card p {
  margin: 14px 0 0;
  line-height: 1.55;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: start;
}

.service-card {
  min-height: 176px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
}

.price {
  display: block;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 28px;
  line-height: 1;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  align-items: start;
}

.shot {
  grid-column: span 4;
  border: 1px solid var(--rule);
  background: var(--panel);
  padding: 10px;
}

.shot.large {
  grid-column: span 6;
}

.shot.tall {
  grid-column: span 3;
}

.shot img {
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
}

.shot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fit-grid,
.review-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: start;
}

.review-card {
  height: fit-content;
}

.review-card p {
  color: var(--body);
  font-size: 17px;
}

.section.inverse .review-card p {
  color: var(--inverse-text);
}

.section.inverse .variant-card p,
.section.inverse .shot figcaption {
  color: var(--inverse-muted);
}

.section.inverse .num,
.section.inverse .quote-name {
  color: var(--inverse-muted);
}

.quote-name {
  display: block;
  margin-top: 18px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 1px;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.contact-panel > div {
  background: var(--panel);
  padding: clamp(28px, 5vw, 54px);
}

.contact-panel h2 {
  font-size: clamp(34px, 4.5vw, 62px);
  line-height: 1;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.contact-list a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--rule);
  padding: 12px 0;
  color: var(--ink);
  text-decoration: none;
}

.footer {
  border-top: 1px solid var(--rule);
  padding: 30px 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 680ms ease, transform 680ms ease;
}

.cover-hero {
  padding: 68px 0 42px;
  border-bottom: 1px solid var(--rule);
}

.cover-title {
  max-width: 980px;
}

.cover-title h1 {
  font-size: clamp(44px, 6vw, 82px);
}

.cover-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 20px;
  align-items: start;
}

.cover-card h2,
.variant-card h2 {
  font-size: 28px;
  line-height: 1.08;
}

.cover-card ul {
  margin: 18px 0 0;
  padding-left: 19px;
  line-height: 1.58;
}

.variant-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.variant-card {
  min-height: 460px;
  display: flex;
  flex-direction: column;
}

.variant-card img {
  width: 100%;
  height: 196px;
  object-fit: cover;
  border: 1px solid var(--rule);
  margin-bottom: 22px;
}

.variant-card .button {
  margin-top: auto;
}

.preserved-section {
  padding-top: 86px;
}

.preserved-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 1px;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.preserved-intro,
.preserved-grid {
  background: var(--panel);
}

.preserved-intro {
  padding: clamp(28px, 5vw, 52px);
}

.preserved-intro h2 {
  margin-top: 14px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
}

.preserved-intro p {
  max-width: 540px;
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.55;
}

.preserved-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.preserved-grid div {
  min-height: 168px;
  padding: 28px;
  border-left: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.preserved-grid strong {
  display: block;
  color: var(--ink);
  font-family: var(--mono);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 0.95;
}

.preserved-grid span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .hero-grid.showroom,
  .section-head,
  .contact-panel,
  .cover-grid,
  .preserved-panel,
  .variant-pair {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 62px 0 44px;
  }

  .hero-media {
    min-height: auto;
  }

  .hero-media img {
    max-height: 620px;
    object-fit: contain;
    background: var(--panel);
  }

  .floating-note {
    position: static;
    width: 100%;
    transform: none;
    margin-top: 12px;
  }

  .trust-strip,
  .grid-4,
  .service-grid,
  .fit-grid,
  .review-grid,
  .faq-grid,
  .preserved-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shot,
  .shot.large,
  .shot.tall {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, 1180px);
  }

  .brand small {
    display: none;
  }

  .nav-inner {
    min-height: 64px;
  }

  .nav-inner > .button {
    display: none;
  }

  h1 {
    font-size: clamp(42px, 14vw, 58px);
  }

  .cover-hero {
    padding: 42px 0 34px;
  }

  .cover-title h1 {
    font-size: clamp(36px, 11.5vw, 48px);
  }

  .variant-card {
    min-height: auto;
  }

  .variant-card img {
    height: 176px;
  }

  .section {
    padding: 72px 0;
  }

  .trust-strip,
  .grid-4,
  .service-grid,
  .fit-grid,
  .review-grid,
  .faq-grid,
  .preserved-grid {
    grid-template-columns: 1fr;
  }

  .shot,
  .shot.large,
  .shot.tall {
    grid-column: 1 / -1;
  }

  .button {
    width: 100%;
  }

  body::before {
    right: -98px;
    bottom: 18px;
  }
}
