/* ============================================================
   Richardson Lab Industries
   Design system + global styles
   ============================================================ */

:root {
  /* Palette */
  --ink: #0B1E26;
  --ink-soft: #1A2F38;
  --cream: #F3EEE3;
  --cream-warm: #EBE4D4;
  --paper: #FAF7F0;
  --brass: #B8894A;
  --brass-deep: #8E6730;
  --sage: #4A6B5A;
  --muted: #5C6B71;
  --rule: #D8D1C2;
  --rule-soft: #E5DFD2;
  --danger: #B23A2B;
  --success: #4A6B5A;

  /* Type */
  --font-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Layout */
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 2px;
  --radius-lg: 10px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: 320ms;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
}

button { cursor: pointer; }

::selection { background: var(--ink); color: var(--cream); }

/* ----- Type system ----- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--brass);
}
.eyebrow.no-rule::before { display: none; }

.h-display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(48px, 7.2vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.h-display em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 80;
  color: var(--brass-deep);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.05;
}

h2 { font-size: clamp(34px, 4.4vw, 60px); font-variation-settings: "opsz" 80; }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
h4 { font-size: 18px; font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.005em; }

.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
}

.muted { color: var(--muted); }
.serif { font-family: var(--font-serif); }
.mono { font-family: var(--font-mono); font-feature-settings: "tnum"; }
.tnum { font-feature-settings: "tnum"; }

/* ----- Layout ----- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.rule { height: 1px; background: var(--rule); width: 100%; }

section { position: relative; padding: clamp(64px, 9vw, 128px) 0; }

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  margin-bottom: var(--s-8);
}

@media (min-width: 900px) {
  .section-head {
    grid-template-columns: 280px 1fr;
    gap: var(--s-8);
  }
}

.section-head .num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

/* ----- Nav ----- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(243, 238, 227, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--rule);
  background: rgba(243, 238, 227, 0.92);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 19px;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 60;
}
.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  position: relative;
  display: grid;
  place-items: center;
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  opacity: .5;
}
.logo small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: none;
  gap: var(--s-6);
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color var(--dur) var(--ease);
}
.nav-links a:hover { color: var(--brass-deep); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--brass);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.nav-toggle {
  display: grid;
  width: 40px; height: 40px;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: transparent;
}
.nav-toggle span {
  display: block; width: 16px; height: 1px; background: var(--ink);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1px; background: var(--ink);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

@media (min-width: 920px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 99;
  padding: 96px var(--gutter) var(--s-7);
  display: none;
  flex-direction: column;
  gap: var(--s-4);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 32px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}

/* ----- Buttons ----- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn svg { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: #000; box-shadow: 0 14px 32px -16px rgba(11,30,38,.55); }

.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { background: var(--brass-deep); color: var(--cream); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }

.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn-line:hover { border-color: var(--ink); }

.btn-sm { padding: 10px 16px; font-size: 13px; }

/* ----- Hero ----- */

.hero {
  position: relative;
  padding: 160px 0 var(--s-9);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: var(--s-7);
  grid-template-columns: 1fr;
  align-items: end;
}

@media (min-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: var(--s-9);
  }
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-6);
  margin-bottom: var(--s-6);
  align-items: center;
}
.hero-meta .dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(74,107,90,.18);
  margin-right: 8px;
  vertical-align: middle;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(74,107,90,.18); }
  50% { box-shadow: 0 0 0 8px rgba(74,107,90,.05); }
}

.hero-title { margin: var(--s-4) 0 var(--s-6); }
.hero-title .accent {
  display: inline-block;
  position: relative;
}

.hero-sub {
  display: grid;
  gap: var(--s-6);
}
.hero-lede { max-width: 48ch; }

.hero-ctas {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-5);
  grid-template-columns: 1fr;
}
@media (min-width: 520px) {
  .hero-ctas { grid-template-columns: auto auto; align-items: start; }
}

.hero-stats {
  margin-top: var(--s-8);
  border-top: 1px solid var(--rule);
  padding-top: var(--s-5);
  display: grid;
  gap: var(--s-5);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
}
.stat .n {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.4vw, 44px);
  display: block;
  line-height: 1;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
}
.stat .l {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 8px;
  display: block;
}

/* Hero card stack */
.hero-cards {
  position: relative;
  min-height: 460px;
  perspective: 1200px;
}

.hero-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: absolute;
  width: 100%;
  box-shadow: 0 30px 60px -40px rgba(11,30,38,.35);
  transition: transform var(--dur) var(--ease);
}

.hero-card .head {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 14px; margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.hero-card .head .pill {
  background: var(--success); color: var(--cream);
  padding: 4px 8px; border-radius: 999px; font-size: 10px;
}

.hero-card h4 { font-family: var(--font-serif); font-size: 22px; margin-bottom: 4px; }
.hero-card .row {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--rule-soft);
  font-size: 13px;
}
.hero-card .row:last-child { border-bottom: 0; }
.hero-card .row .label { color: var(--muted); }
.hero-card .row .val { font-family: var(--font-mono); }

.hero-card.card-1 { top: 0; transform: rotate(-2deg) translateX(-10px); }
.hero-card.card-2 { top: 110px; transform: rotate(1.5deg) translateX(20px); background: var(--ink); color: var(--cream); border-color: var(--ink); }
.hero-card.card-2 .head { color: rgba(243,238,227,.55); border-color: rgba(243,238,227,.15); }
.hero-card.card-2 .row { border-color: rgba(243,238,227,.1); }
.hero-card.card-2 .row .label { color: rgba(243,238,227,.5); }
.hero-card.card-3 { top: 240px; transform: rotate(-1deg); background: var(--brass); border-color: var(--brass-deep); }

.hero-cards:hover .hero-card.card-1 { transform: rotate(-3deg) translateX(-20px) translateY(-6px); }
.hero-cards:hover .hero-card.card-3 { transform: rotate(-2deg) translateY(8px); }

/* Background flourish */
.hero-bg {
  position: absolute;
  right: -200px;
  top: -100px;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,137,74,.08), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* ----- Trust strip ----- */

.trust {
  padding: var(--s-7) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.trust-inner {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 800px) {
  .trust-inner { grid-template-columns: 280px 1fr; gap: var(--s-7); }
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 240px;
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
}
.trust-item {
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: 10px;
  opacity: .85;
}
.trust-item .badge {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--ink); display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 9px; font-weight: 600;
}

/* ----- Services grid ----- */

.services {
  background: var(--cream);
}

.svc-grid {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (min-width: 700px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .svc-grid { grid-template-columns: 1fr 1fr 1fr; } }

.svc {
  background: var(--cream);
  padding: var(--s-6);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  min-height: 320px;
  transition: background var(--dur) var(--ease);
}
.svc:hover { background: var(--paper); }

.svc-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--brass-deep);
}
.svc h3 { font-size: 26px; max-width: 90%; }
.svc p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.svc .meta {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: end;
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
  font-size: 13px;
}
.svc .meta .price {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--ink);
}
.svc .meta .price small { font-family: var(--font-sans); font-size: 12px; color: var(--muted); margin-left: 4px; }
.svc .arrow {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: var(--cream);
  display: grid; place-items: center;
  transition: transform var(--dur) var(--ease);
}
.svc:hover .arrow { transform: rotate(-45deg); }

/* ----- Process ----- */

.process {
  background: var(--ink);
  color: var(--cream);
}
.process h2 { color: var(--cream); }
.process .eyebrow { color: var(--brass); }
.process .eyebrow::before { background: var(--brass); }

.process-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }

.step {
  position: relative;
  padding: var(--s-5) 0 0;
  border-top: 1px solid rgba(243,238,227,.18);
}
.step .n {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--brass);
  margin-bottom: var(--s-5);
}
.step h3 {
  color: var(--cream);
  font-size: 26px;
  margin-bottom: var(--s-3);
}
.step p {
  color: rgba(243,238,227,.65);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 32ch;
}
.step .time {
  margin-top: var(--s-4);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--brass);
}

/* ----- Three CTAs ----- */

.three-cta {
  background: var(--cream);
}

.three-cta-grid {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .three-cta-grid { grid-template-columns: repeat(3, 1fr); } }

.cta-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  min-height: 420px;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.cta-card:hover { transform: translateY(-4px); border-color: var(--ink); }
.cta-card.featured { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.cta-card.featured h3, .cta-card.featured .num-big { color: var(--cream); }
.cta-card.featured p { color: rgba(243,238,227,.7); }
.cta-card.featured .feat-tag {
  position: absolute;
  top: 22px; right: 22px;
  background: var(--brass);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 999px;
}

.cta-card .icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--cream-warm);
  display: grid; place-items: center;
  margin-bottom: var(--s-3);
}
.cta-card.featured .icon { background: rgba(184,137,74,.18); }
.cta-card .icon svg { width: 24px; height: 24px; }

.cta-card h3 { font-size: 28px; }
.cta-card p { font-size: 14.5px; line-height: 1.6; color: var(--muted); max-width: 30ch; }

.cta-card .cta-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.cta-card .num-big {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--ink);
}

/* ----- Why us / split ----- */

.split {
  background: var(--paper);
}
.split-grid {
  display: grid;
  gap: var(--s-7);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 1000px) {
  .split-grid { grid-template-columns: 1.1fr 1fr; gap: var(--s-9); }
}

.feat-list {
  display: grid;
  gap: 0;
}
.feat-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.feat-row:last-child { border-bottom: 1px solid var(--rule); }
.feat-row .num { font-family: var(--font-mono); font-size: 13px; color: var(--brass-deep); padding-top: 4px; }
.feat-row h4 { font-family: var(--font-serif); font-weight: 400; font-size: 22px; margin-bottom: var(--s-2); }
.feat-row p { color: var(--muted); font-size: 14.5px; max-width: 44ch; }

.split-visual {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: var(--s-7);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.split-visual::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(184,137,74,.18), transparent 60%);
}
.split-visual .quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.3;
  font-variation-settings: "opsz" 80, "SOFT" 100;
  position: relative;
}
.split-visual .author {
  display: flex; align-items: center; gap: var(--s-3);
  margin-top: var(--s-5);
}
.split-visual .author .av {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brass), var(--sage));
}
.split-visual .author .nm { font-size: 14px; }
.split-visual .author .nm small { display: block; color: rgba(243,238,227,.55); font-size: 12px; }

.split-visual .data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
  border-top: 1px solid rgba(243,238,227,.18);
  padding-top: var(--s-5);
}
.split-visual .data div {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(243,238,227,.55);
}
.split-visual .data div strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-transform: none;
  margin-top: 4px;
  font-feature-settings: "tnum";
}

/* ----- FAQ ----- */

.faq-grid { display: grid; gap: 0; }
.faq-item { border-top: 1px solid var(--rule); }
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--s-5) 0;
  width: 100%;
  text-align: left;
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.faq-q .ic {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  display: grid; place-items: center;
  position: relative;
  flex-shrink: 0;
  margin-left: var(--s-3);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.faq-q .ic::before, .faq-q .ic::after {
  content: ""; position: absolute; background: var(--ink);
}
.faq-q .ic::before { width: 12px; height: 1px; }
.faq-q .ic::after { width: 1px; height: 12px; transition: transform var(--dur) var(--ease); }
.faq-item.open .faq-q .ic { background: var(--ink); border-color: var(--ink); }
.faq-item.open .faq-q .ic::before, .faq-item.open .faq-q .ic::after { background: var(--cream); }
.faq-item.open .faq-q .ic::after { transform: rotate(90deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 400ms var(--ease);
}
.faq-a-inner {
  padding: 0 0 var(--s-5);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 65ch;
}
.faq-item.open .faq-a { max-height: 400px; }

/* ----- Footer ----- */

.footer {
  background: var(--ink);
  color: var(--cream);
  padding: var(--s-9) 0 var(--s-5);
}
.footer-grid {
  display: grid;
  gap: var(--s-7);
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243,238,227,.55);
  margin-bottom: var(--s-4);
  font-weight: 500;
}
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a {
  font-size: 14.5px;
  color: rgba(243,238,227,.85);
  transition: color var(--dur) var(--ease);
}
.footer ul a:hover { color: var(--brass); }
.footer .logo { color: var(--cream); }
.footer .logo small { color: rgba(243,238,227,.5); }
.footer .logo-mark { background: var(--brass); color: var(--ink); }
.footer .blurb { color: rgba(243,238,227,.65); max-width: 36ch; margin-top: var(--s-4); font-size: 14.5px; }

.footer-bottom {
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(243,238,227,.15);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243,238,227,.5);
}

.giant-mark {
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144;
  font-weight: 400;
  font-size: clamp(120px, 22vw, 320px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: rgba(243,238,227,.06);
  text-align: center;
  margin-top: var(--s-9);
  padding-top: var(--s-7);
  border-top: 1px solid rgba(243,238,227,.12);
}

/* ----- Page header (interior pages) ----- */

.page-head {
  padding: 160px 0 var(--s-8);
  border-bottom: 1px solid var(--rule);
}
.page-head-grid {
  display: grid;
  gap: var(--s-7);
  align-items: end;
}
@media (min-width: 900px) {
  .page-head-grid { grid-template-columns: 1.5fr 1fr; }
}
.page-head h1 {
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.page-head h1 em { font-style: italic; color: var(--brass-deep); font-variation-settings: "opsz" 144, "SOFT" 100; }
.page-head .meta {
  display: grid; gap: var(--s-4);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.page-head .meta div { display: flex; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.page-head .meta strong { color: var(--ink); font-weight: 500; font-family: var(--font-sans); font-size: 13px; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-5);
}
.breadcrumb a:hover { color: var(--brass-deep); }
.breadcrumb span { color: var(--rule); margin: 0 10px; }

/* ----- Services page ----- */

.svc-detail {
  border-bottom: 1px solid var(--rule);
  padding: var(--s-8) 0;
}
.svc-detail-grid {
  display: grid;
  gap: var(--s-7);
  align-items: start;
}
@media (min-width: 900px) {
  .svc-detail-grid { grid-template-columns: 220px 1.4fr 1fr; }
}
.svc-detail .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  position: sticky; top: 100px;
}
.svc-detail h2 { font-size: clamp(28px, 3vw, 42px); margin-bottom: var(--s-4); }
.svc-detail p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.65; max-width: 56ch; }
.svc-detail ul { list-style: none; margin-top: var(--s-5); display: grid; gap: var(--s-2); }
.svc-detail ul li {
  display: flex; gap: var(--s-3); padding: 10px 0;
  border-bottom: 1px dashed var(--rule);
  font-size: 14.5px;
  color: var(--ink-soft);
}
.svc-detail ul li::before {
  content: "✓"; color: var(--success); font-weight: 600;
}
.svc-detail .sidebar {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
}
.svc-detail .sidebar .price {
  font-family: var(--font-serif);
  font-size: 44px;
  letter-spacing: -0.02em;
  line-height: 1;
  font-feature-settings: "tnum";
}
.svc-detail .sidebar .price small {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 6px;
  text-transform: uppercase;
}
.svc-detail .sidebar .detail-row {
  display: flex; justify-content: space-between;
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
}
.svc-detail .sidebar .detail-row:last-of-type { border-bottom: 0; }
.svc-detail .sidebar .detail-row .l { color: var(--muted); }
.svc-detail .sidebar .detail-row .v { font-family: var(--font-mono); }
.svc-detail .sidebar .btn { width: 100%; justify-content: center; margin-top: var(--s-3); }

/* ----- Booking ----- */

.booking-wrap {
  padding: 140px 0 var(--s-9);
  min-height: 100vh;
  background: var(--cream);
}

.booking-grid {
  display: grid;
  gap: var(--s-7);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 1000px) {
  .booking-grid { grid-template-columns: 1.4fr 1fr; gap: var(--s-8); }
}

.booking-steps {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
  position: relative;
}

.step-tracker {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--s-7);
  position: relative;
}
.step-tracker::before {
  content: ""; position: absolute;
  top: 18px; left: 18px; right: 18px;
  height: 1px; background: var(--rule);
  z-index: 0;
}
.step-tracker .pt {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  flex: 1;
}
.step-tracker .pt .b {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--rule);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 12px; color: var(--muted);
  transition: all var(--dur) var(--ease);
}
.step-tracker .pt.done .b { background: var(--success); color: var(--cream); border-color: var(--success); }
.step-tracker .pt.active .b { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.step-tracker .pt .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.step-tracker .pt.active .lbl { color: var(--ink); }

.step-panel { display: none; }
.step-panel.active { display: block; animation: fade 400ms var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.step-panel h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: var(--s-3); }
.step-panel .lede { margin-bottom: var(--s-5); }

.svc-pick {
  display: grid; gap: var(--s-3);
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .svc-pick { grid-template-columns: 1fr 1fr; } }

.svc-pick label {
  display: flex; flex-direction: column;
  padding: var(--s-4);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  background: var(--cream);
}
.svc-pick label:hover { border-color: var(--ink); }
.svc-pick input { position: absolute; opacity: 0; }
.svc-pick input:checked + .sp-inner { color: var(--cream); }
.svc-pick label:has(input:checked) {
  background: var(--ink); color: var(--cream); border-color: var(--ink);
}
.svc-pick .sp-inner { display: flex; justify-content: space-between; align-items: start; margin-bottom: var(--s-3); }
.svc-pick h4 { font-family: var(--font-serif); font-weight: 400; font-size: 18px; }
.svc-pick .price { font-family: var(--font-serif); font-size: 18px; font-feature-settings: "tnum"; }
.svc-pick p { font-size: 13px; color: var(--muted); }
.svc-pick label:has(input:checked) p { color: rgba(243,238,227,.65); }
.svc-pick label:has(input:checked) .sp-meta { color: rgba(243,238,227,.55); }
.svc-pick .sp-meta {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; color: var(--muted);
  margin-top: var(--s-3);
}

/* Date picker */
.date-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-top: var(--s-4);
}
.date-grid .hd {
  font-family: var(--font-mono);
  font-size: 10px;
  text-align: center;
  color: var(--muted);
  letter-spacing: 0.1em;
  padding: 8px 0;
}
.date-grid button {
  aspect-ratio: 1;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--cream);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  transition: all 200ms var(--ease);
}
.date-grid button:hover:not(:disabled) { border-color: var(--ink); }
.date-grid button:disabled { color: var(--rule); cursor: not-allowed; background: transparent; border-color: transparent; }
.date-grid button.selected { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.date-grid button.today { font-weight: 700; color: var(--brass-deep); }

.cal-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: var(--s-5);
  padding-bottom: var(--s-3);
}
.cal-head h4 { font-family: var(--font-serif); font-weight: 400; font-size: 22px; }
.cal-head .nav-btns { display: flex; gap: 8px; }
.cal-head .nav-btns button {
  width: 32px; height: 32px;
  border-radius: 50%; border: 1px solid var(--rule);
  display: grid; place-items: center; transition: all 200ms var(--ease);
}
.cal-head .nav-btns button:hover { border-color: var(--ink); }

.times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
}
.times button {
  padding: 12px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--cream);
  font-family: var(--font-mono);
  font-size: 13px;
  transition: all 200ms var(--ease);
}
.times button:hover { border-color: var(--ink); }
.times button.selected { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* Inputs */
.field {
  display: grid; gap: 8px;
  margin-bottom: var(--s-4);
}
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  padding: 14px 16px;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 8px;
  font-size: 15px;
  color: var(--ink);
  transition: border-color var(--dur) var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }

.step-actions {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
}

/* Booking summary */
.booking-summary {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  position: sticky;
  top: 100px;
}
.booking-summary h3 { color: var(--cream); font-family: var(--font-serif); font-size: 24px; margin-bottom: var(--s-5); }
.summary-row {
  display: flex; justify-content: space-between;
  padding: var(--s-3) 0;
  border-bottom: 1px solid rgba(243,238,227,.15);
  font-size: 14px;
}
.summary-row .l {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(243,238,227,.55);
}
.summary-row .v { text-align: right; max-width: 60%; }
.summary-row .v.empty { color: rgba(243,238,227,.3); font-style: italic; }
.summary-total {
  display: flex; justify-content: space-between; align-items: end;
  margin-top: var(--s-4); padding-top: var(--s-4);
  border-top: 1px solid rgba(243,238,227,.15);
}
.summary-total .l { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(243,238,227,.55); }
.summary-total .v { font-family: var(--font-serif); font-size: 36px; font-feature-settings: "tnum"; letter-spacing: -0.02em; }

.success-screen { text-align: center; padding: var(--s-7) 0; }
.success-screen .check {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--success);
  display: grid; place-items: center;
  margin: 0 auto var(--s-5);
}
.success-screen .check svg { width: 36px; height: 36px; stroke: var(--cream); }
.success-screen h2 { margin-bottom: var(--s-3); }
.success-screen .ref {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--paper);
  padding: 10px 18px;
  border-radius: 999px;
  margin-top: var(--s-4);
  letter-spacing: 0.05em;
}

/* ----- Contact ----- */

.contact-grid {
  display: grid;
  gap: var(--s-7);
  grid-template-columns: 1fr;
}
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--s-9); } }

.contact-form {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
}

.contact-info { display: flex; flex-direction: column; gap: var(--s-5); }
.info-block { padding: var(--s-5) 0; border-bottom: 1px solid var(--rule); }
.info-block:last-child { border-bottom: 0; }
.info-block .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.info-block .val {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -0.01em;
  display: block;
}
.info-block .val small { font-family: var(--font-sans); font-size: 14px; color: var(--muted); display: block; margin-top: 8px; }

.map {
  background: var(--ink);
  border-radius: var(--radius-lg);
  height: 340px;
  position: relative;
  overflow: hidden;
}
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 18px; height: 18px;
  background: var(--brass);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(184,137,74,.25), 0 0 0 16px rgba(184,137,74,.15), 0 0 0 30px rgba(184,137,74,.08);
}
.map .label {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--cream);
  padding: 12px 16px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* ----- About ----- */

.team-grid {
  display: grid; gap: var(--s-5);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }

.team-card {
  border-top: 1px solid var(--rule);
  padding-top: var(--s-5);
}
.team-card .av {
  width: 100%; aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--ink-soft), var(--ink));
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  margin-bottom: var(--s-4);
}
.team-card .av .initial {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-size: 120px;
  color: rgba(243,238,227,.15);
  font-variation-settings: "opsz" 144;
}
.team-card h3 { font-family: var(--font-serif); font-size: 22px; margin-bottom: 4px; }
.team-card .title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: var(--s-3); }
.team-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

.values-grid {
  display: grid; gap: 0;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }
.value {
  padding: var(--s-6) var(--s-5);
  border-top: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}
.value:last-child { border-right: 0; }
@media (max-width: 999px) { .value:nth-child(2n) { border-right: 0; } }
@media (max-width: 699px) { .value { border-right: 0; } }

.value .n {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--brass-deep);
  letter-spacing: 0.12em;
  margin-bottom: var(--s-4);
}
.value h4 { font-family: var(--font-serif); font-weight: 400; font-size: 26px; margin-bottom: var(--s-3); }
.value p { color: var(--muted); font-size: 14.5px; line-height: 1.6; max-width: 30ch; }

/* ----- Utilities ----- */

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.text-center { text-align: center; }
.mt-2 { margin-top: var(--s-2); }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }

/* ----- Mobile responsive cleanup ----- */
@media (max-width: 619px) {
  .hero { padding-top: 120px; }
  .hero-cards { min-height: 380px; }
  .hero-card.card-3 { top: 200px; }
  .nav { padding: 14px 0; }
  .step-tracker .pt .lbl { display: none; }
  .step-tracker .pt .b { width: 30px; height: 30px; }
}
