/* ============================================================
   S&W Properties Inc — Real Estate Consultation
   Aesthetic: editorial "case-file" — pine, bone paper, aged brass
   ============================================================ */

:root {
  /* palette */
  --paper:      #f3eee2;
  --paper-2:    #ece4d3;
  --ink:        #1c241f;
  --ink-soft:   #4a4a40;
  --muted:      #756a56;
  --pine:       #123a2d;
  --pine-deep:  #0c2b21;
  --pine-line:  #1d5040;
  --brass:      #b1843c;
  --brass-lt:   #cba75f;
  --brass-deep: #8a6526;
  --cream:      #efe7d6;
  --line:       rgba(28, 36, 31, 0.14);
  --line-soft:  rgba(28, 36, 31, 0.08);

  /* type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", system-ui, sans-serif;
  --mono:  "Spline Sans Mono", ui-monospace, monospace;

  /* metrics */
  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --radius: 3px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: clamp(1rem, 0.97rem + 0.2vw, 1.0625rem);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* paper grain over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--brass); color: var(--paper); }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-deep);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 500;
}
.eyebrow__rule {
  display: inline-block;
  width: 2.2rem;
  height: 1px;
  background: var(--brass);
  flex: none;
}
.eyebrow--light { color: var(--brass-lt); }
.eyebrow--light .eyebrow__rule { background: var(--brass-lt); }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-top: 1.1rem;
}
.section-intro {
  margin-top: 1.15rem;
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: 1.075rem;
}
.section-head { max-width: var(--maxw); margin: 0 auto; }
.section-head--light .section-title { color: var(--cream); }
.section-head--light .section-intro { color: rgba(239, 231, 214, 0.78); }

strong { font-weight: 600; color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  --b: var(--ink);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.78em 1.4em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease),
              color 0.3s var(--ease), box-shadow 0.35s var(--ease);
  will-change: transform;
  line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 0.95em 1.7em; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

.btn--pine {
  background: var(--pine);
  color: var(--cream);
  box-shadow: 0 1px 0 rgba(0,0,0,0.15);
}
.btn--pine:hover { background: var(--pine-deep); transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(12,43,33,0.7); }

.btn--brass {
  background: var(--brass);
  color: #2a1d06;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn--brass:hover { background: var(--brass-lt); transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(177,132,60,0.85); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(28,36,31,0.04); transform: translateY(-2px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(243, 238, 226, 0.86);
  backdrop-filter: blur(12px) saturate(1.2);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 30px -20px rgba(0,0,0,0.5);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.85rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand__mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--cream);
  background: var(--pine);
  border: 1px solid var(--pine-line);
  padding: 0.4em 0.5em;
  border-radius: var(--radius);
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(203,167,95,0.25);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--serif); font-weight: 500; font-size: 1.08rem; letter-spacing: -0.01em; }
.brand__sub { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

.nav__links { display: flex; gap: 1.6rem; }
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 0.3em 0;
  transition: color 0.25s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--brass);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta { display: flex; align-items: center; gap: 1.1rem; }
.nav__phone {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 0.5em;
  letter-spacing: 0.01em;
}
.nav__phone .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 0 rgba(177,132,60,0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(177,132,60,0.55); }
  70% { box-shadow: 0 0 0 7px rgba(177,132,60,0); }
  100% { box-shadow: 0 0 0 0 rgba(177,132,60,0); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(8rem, 14vh, 12rem) var(--gutter) clamp(4rem, 8vh, 7rem);
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero__texture {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(115deg, transparent 0 38px, rgba(18,58,45,0.025) 38px 39px),
    radial-gradient(120% 80% at 78% 8%, rgba(177,132,60,0.10), transparent 60%);
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
  mask-image: linear-gradient(to bottom, #000 60%, transparent);
}

.hero__title {
  font-family: var(--serif);
  font-weight: 340;
  font-optical-sizing: auto;
  font-size: clamp(2.9rem, 1.6rem + 6vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 1.6rem 0 0;
}
.hero__title em {
  font-style: italic;
  font-weight: 360;
  color: var(--brass-deep);
  position: relative;
}
.hero__lede {
  margin-top: 1.7rem;
  max-width: 44ch;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.22rem);
  color: var(--ink-soft);
  line-height: 1.62;
}
.hero__lede strong { color: var(--ink); white-space: nowrap; }

.hero__actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero__trust {
  margin-top: 2.4rem;
  list-style: none;
  display: flex; flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__trust li { position: relative; padding-left: 1.15rem; }
.hero__trust li::before {
  content: "§"; position: absolute; left: 0; color: var(--brass);
  font-family: var(--serif); font-size: 0.95rem; top: -2px;
}

/* hero file card */
.hero__file { display: flex; justify-content: center; perspective: 1200px; }
.file-card {
  position: relative;
  width: min(330px, 100%);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.2rem;
  box-shadow:
    0 1px 0 #fff inset,
    0 30px 50px -30px rgba(12,43,33,0.45),
    0 2px 0 var(--paper-2);
  transform: rotate(2.2deg);
  transition: transform 0.6s var(--ease);
}
.file-card::before {
  content: "";
  position: absolute; inset: 7px;
  border: 1px solid var(--line-soft);
  border-radius: 1px;
  pointer-events: none;
}
.file-card:hover { transform: rotate(0deg) translateY(-4px); }
.file-card__tab {
  position: absolute; top: -14px; left: 22px;
  background: var(--brass);
  color: #2a1d06;
  font-family: var(--mono); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.22em;
  padding: 0.35em 0.85em;
  border-radius: 2px 2px 0 0;
}
.file-card__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem; padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}
.file-card__no { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; color: var(--ink); }
.file-card__stamp {
  font-family: var(--mono); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--brass-deep);
  border: 1.5px solid var(--brass-deep);
  padding: 0.2em 0.5em; border-radius: 2px;
  transform: rotate(-5deg);
  opacity: 0.85;
}
.file-card__line {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.92rem; padding: 0.5rem 0;
  border-bottom: 1px dotted var(--line);
  color: var(--ink-soft);
}
.file-card__line b { color: var(--pine); font-size: 0.95rem; }
.file-card__line--muted b { color: var(--muted); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; }
.file-card__foot {
  display: flex; justify-content: space-between;
  margin-top: 1rem;
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}

/* ============================================================
   POSITIONING STRIP
   ============================================================ */
.strip {
  background: var(--pine);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.strip::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 120% at 15% 0%, rgba(203,167,95,0.12), transparent 55%);
  pointer-events: none;
}
.strip__inner {
  max-width: 920px; margin: 0 auto;
  padding: clamp(3.5rem, 8vh, 6rem) var(--gutter);
  text-align: center; position: relative; z-index: 1;
}
.strip__quote {
  font-family: var(--serif);
  font-weight: 360;
  font-style: italic;
  font-size: clamp(1.5rem, 1rem + 2.6vw, 2.65rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--cream);
}
.strip__attr {
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-lt);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: clamp(4.5rem, 11vh, 8rem) var(--gutter); }
.grid { max-width: var(--maxw); margin: 0 auto; }
.services__grid {
  margin-top: clamp(2.5rem, 5vh, 4rem);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.svc {
  background: var(--paper);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  position: relative;
  transition: background 0.4s var(--ease);
}
.svc::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--brass);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.45s var(--ease);
}
.svc:hover { background: var(--cream); }
.svc:hover::before { transform: scaleY(1); }
.svc__top { display: flex; align-items: baseline; justify-content: space-between; }
.svc__no {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 1.5rem + 2vw, 3.2rem);
  font-weight: 300;
  color: var(--brass);
  line-height: 1;
  transition: color 0.3s;
}
.svc:hover .svc__no { color: var(--brass-deep); }
.svc__tag {
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); padding: 0.3em 0.6em; border-radius: 2px;
}
.svc__title {
  font-family: var(--serif); font-weight: 450;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem);
  letter-spacing: -0.01em;
  margin: 0.9rem 0 0.7rem;
}
.svc__body { color: var(--ink-soft); font-size: 1rem; }
.svc__list {
  list-style: none; margin-top: 1.2rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.svc__list li {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em;
  color: var(--pine);
  background: rgba(18,58,45,0.06);
  padding: 0.4em 0.7em; border-radius: 2px;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  background: var(--pine);
  color: var(--cream);
  padding: clamp(4.5rem, 11vh, 8rem) var(--gutter);
  position: relative;
  overflow: hidden;
}
.process__texture {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(255,255,255,0.022) 46px 47px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(255,255,255,0.022) 46px 47px);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000, transparent 75%);
}
.process > * { position: relative; z-index: 1; }
.steps {
  max-width: var(--maxw); margin: clamp(2.5rem, 5vh, 4rem) auto 0;
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--pine-line);
  border: 1px solid var(--pine-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.step {
  background: var(--pine);
  padding: clamp(1.6rem, 2.5vw, 2.2rem);
  position: relative;
  transition: background 0.4s var(--ease);
}
.step:hover { background: var(--pine-deep); }
.step__no {
  font-family: var(--serif);
  font-size: 2.6rem; font-weight: 300;
  color: var(--brass-lt);
  display: block; line-height: 1; margin-bottom: 1rem;
}
.step__no::after {
  content: ""; display: block; width: 1.6rem; height: 1px;
  background: var(--brass); margin-top: 0.8rem;
}
.step__title {
  font-family: var(--serif); font-weight: 450; font-size: 1.3rem;
  letter-spacing: -0.01em; margin-bottom: 0.5rem; color: var(--cream);
}
.step__body { color: rgba(239,231,214,0.74); font-size: 0.95rem; }

/* ============================================================
   RATES + CALCULATOR
   ============================================================ */
.rates { padding: clamp(4.5rem, 11vh, 8rem) var(--gutter); }
.calc {
  max-width: 620px;
  margin: clamp(2.5rem, 5vh, 3.5rem) auto 0;
}
.calc__doc {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: 0 40px 70px -50px rgba(12,43,33,0.5);
  position: relative;
}
.calc__doc::before {
  content: ""; position: absolute; inset: 9px;
  border: 1px solid var(--line-soft); border-radius: 1px; pointer-events: none;
}
.calc__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding-bottom: 1.1rem; border-bottom: 2px solid var(--ink);
}
.calc__label {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}
.calc__rate {
  font-family: var(--serif); font-size: 2.4rem; font-weight: 400; line-height: 1;
  color: var(--ink);
}
.calc__rate span { font-family: var(--mono); font-size: 0.9rem; color: var(--muted); margin-left: 0.2em; }

.calc__presets { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.4rem 0; }
.preset {
  flex: 1 1 auto;
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.02em;
  padding: 0.65em 0.6em;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.preset:hover { border-color: var(--brass); color: var(--ink); }
.preset.is-active {
  background: var(--pine); color: var(--cream); border-color: var(--pine);
}

.calc__stepper {
  display: flex; align-items: center; justify-content: space-between;
  margin: 1.3rem 0;
}
.calc__stepper-label {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
}
.stepper { display: flex; align-items: center; gap: 0.4rem; }
.stepper__btn {
  width: 2.6rem; height: 2.6rem;
  font-size: 1.4rem; font-weight: 400;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  cursor: pointer;
  display: grid; place-items: center;
  transition: all 0.2s var(--ease);
}
.stepper__btn:hover { background: var(--pine); color: var(--cream); border-color: var(--pine); }
.stepper__val {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 500;
  min-width: 3.2rem; text-align: center;
}

.calc__ledger { margin: 1.5rem 0; }
.ledger__row {
  display: flex; align-items: baseline; gap: 0.5rem;
  padding: 0.55rem 0;
  font-size: 1rem;
}
.ledger__name { color: var(--ink-soft); white-space: nowrap; }
.ledger__name i { font-style: italic; color: var(--muted); font-size: 0.92em; }
.ledger__lead {
  flex: 1 1 auto;
  border-bottom: 1px dotted var(--line);
  transform: translateY(-3px);
}
.ledger__amt { font-family: var(--mono); font-size: 0.98rem; color: var(--ink); white-space: nowrap; }
.ledger__row--total { border-top: 1px solid var(--ink); margin-top: 0.4rem; padding-top: 0.9rem; }
.ledger__name { font-weight: 500; }
.ledger__row--total .ledger__name { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.ledger__amt--total {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--pine);
}

.calc__note {
  margin-top: 1rem; font-size: 0.85rem; color: var(--muted); text-align: center;
}

/* ============================================================
   PAYMENTS
   ============================================================ */
.pay { padding: clamp(4.5rem, 11vh, 8rem) var(--gutter); background: var(--paper-2); }
.pay__grid {
  margin-top: clamp(2.5rem, 5vh, 4rem);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
#paySummary { color: var(--pine); white-space: nowrap; }
.paycard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.paycard:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(12,43,33,0.45); }
.paycard__head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.8rem; }
.paycard__icon {
  width: 2.4rem; height: 2.4rem; flex: none;
  display: grid; place-items: center;
  background: var(--pine); color: var(--brass-lt);
  border-radius: 2px; font-size: 1.1rem;
}
.paycard__title { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; }
.paycard__desc { color: var(--ink-soft); font-size: 0.9rem; flex: 1 1 auto; margin-bottom: 1.1rem; }

.copyrow {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; gap: 0.5rem;
  background: var(--cream);
  border: 1px dashed var(--line);
  border-radius: 2px;
  padding: 0.7em 0.85em;
  margin-bottom: 0.7rem;
  cursor: pointer;
  font-family: var(--mono);
  transition: border-color 0.25s, background 0.25s;
}
.copyrow:hover { border-color: var(--brass); background: #fff; }
.copyrow__val { font-size: 0.92rem; color: var(--ink); letter-spacing: 0.01em; }
.copyrow__act {
  font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brass-deep); flex: none;
}
.copyrow.copied .copyrow__act { color: var(--pine); }

.amt-tag { font-variant-numeric: tabular-nums; }

.pay__after {
  max-width: var(--maxw); margin: 2.5rem auto 0; text-align: center;
  color: var(--muted); font-size: 0.95rem;
}
.pay__after a { color: var(--brass-deep); border-bottom: 1px solid var(--brass); padding-bottom: 1px; }
.pay__after a:hover { color: var(--pine); }

/* ============================================================
   BOOKING
   ============================================================ */
.book { padding: clamp(4.5rem, 11vh, 8rem) var(--gutter); }
.book__split {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 0.82fr 1.18fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 50px 80px -60px rgba(12,43,33,0.5);
}
.book__aside {
  background: var(--pine);
  color: var(--cream);
  padding: clamp(2rem, 4vw, 3.2rem);
  position: relative;
}
.book__aside::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 70% at 100% 0%, rgba(203,167,95,0.12), transparent 60%);
}
.book__title {
  font-family: var(--serif); font-weight: 420;
  font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem);
  letter-spacing: -0.02em; line-height: 1.05;
  margin: 1.1rem 0 1.2rem; color: var(--cream);
  position: relative;
}
.book__copy { color: rgba(239,231,214,0.78); font-size: 1rem; position: relative; }
.book__reassure {
  list-style: none; margin: 1.8rem 0; display: flex; flex-direction: column; gap: 0.7rem;
  position: relative;
}
.book__reassure li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.95rem; color: rgba(239,231,214,0.9); }
.book__reassure b { color: var(--brass-lt); font-size: 0.9rem; }
.book__direct {
  display: flex; flex-direction: column; gap: 0.3rem;
  border-top: 1px solid var(--pine-line); padding-top: 1.4rem; margin-top: 1.6rem;
  position: relative;
}
.book__direct a { font-family: var(--mono); font-size: 0.9rem; color: var(--brass-lt); }
.book__direct a:hover { color: var(--cream); }

.book__form {
  background: var(--paper);
  padding: clamp(2rem, 4vw, 3.2rem);
  display: flex; flex-direction: column; gap: 1.1rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
}
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.7em 0.85em;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #a89a82; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brass);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(177,132,60,0.16);
}
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23756a56' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9em center; padding-right: 2.2em;
}
.book__formnote { font-size: 0.85rem; color: var(--muted); text-align: center; margin-top: 0.2rem; }
.book__formnote.is-success { color: var(--pine); font-weight: 600; }
.book__formnote.is-error { color: #9a3a2a; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: clamp(4.5rem, 11vh, 8rem) var(--gutter); }
.faq__list { max-width: 820px; margin: clamp(2.5rem, 5vh, 3.5rem) auto 0; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer;
  padding: 1.4rem 2.5rem 1.4rem 0;
  font-family: var(--serif); font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  font-weight: 450; letter-spacing: -0.01em;
  position: relative;
  transition: color 0.25s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.5rem; font-weight: 300; color: var(--brass);
  transition: transform 0.3s var(--ease);
}
.qa[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa summary:hover { color: var(--brass-deep); }
.qa__body {
  padding: 0 2.5rem 1.5rem 0;
  color: var(--ink-soft);
  animation: faqReveal 0.4s var(--ease);
}
.qa__body p { max-width: 64ch; }
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  background: var(--pine-deep);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vh, 5.5rem) var(--gutter) 2rem;
}
.foot__texture {
  position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(115deg, transparent 0 50px, rgba(255,255,255,0.02) 50px 51px);
}
.foot__inner {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--pine-line);
}
.foot__brand { max-width: 30ch; }
.brand__mark--lg { font-size: 1.3rem; display: inline-block; margin-bottom: 1rem; }
.foot__name { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.foot__tag { color: rgba(239,231,214,0.65); font-size: 0.95rem; margin-top: 0.5rem; }
.foot__cred {
  margin-top: 1.1rem; padding-top: 1.1rem;
  border-top: 1px solid var(--pine-line);
  font-size: 0.95rem; line-height: 1.5;
  color: rgba(239,231,214,0.82); max-width: 32ch;
}
.foot__cred strong {
  font-family: var(--serif); font-weight: 600;
  color: var(--brass-lt); font-size: 1.12em; letter-spacing: -0.01em;
}
.foot__col h4 {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brass-lt);
  margin-bottom: 1.1rem; font-weight: 500;
}
.foot__col a, .foot__col span { display: block; font-size: 0.92rem; color: rgba(239,231,214,0.8); margin-bottom: 0.55rem; }
.foot__col a:hover { color: var(--brass-lt); }
.foot__legal {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 2rem auto 0;
  display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: flex-end;
}
.foot__disc { max-width: 78ch; font-size: 0.78rem; line-height: 1.6; color: rgba(239,231,214,0.5); }
.foot__disc strong { color: rgba(239,231,214,0.78); }
.foot__copy { font-family: var(--mono); font-size: 0.72rem; color: rgba(239,231,214,0.45); white-space: nowrap; }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(150%);
  z-index: 10000;
  background: var(--ink); color: var(--cream);
  font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.02em;
  padding: 0.85em 1.4em; border-radius: var(--radius);
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.5);
  border: 1px solid var(--brass);
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
  opacity: 0;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
/* hero children stagger */
.hero__inner.in .eyebrow,
.hero__inner.in .hero__title,
.hero__inner.in .hero__lede,
.hero__inner.in .hero__actions,
.hero__inner.in .hero__trust { animation: rise 0.9s var(--ease) both; }
.hero__inner.in .hero__title { animation-delay: 0.08s; }
.hero__inner.in .hero__lede { animation-delay: 0.18s; }
.hero__inner.in .hero__actions { animation-delay: 0.28s; }
.hero__inner.in .hero__trust { animation-delay: 0.38s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .nav__links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 7rem; }
  .hero__file { order: -1; justify-content: flex-start; margin-bottom: 1rem; }
  .file-card { transform: rotate(-1.5deg); }
  .services__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pay__grid { grid-template-columns: repeat(2, 1fr); }
  .book__split { grid-template-columns: 1fr; }
  .foot__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .nav__phone { display: none; }
  .hero__title { font-size: clamp(2.6rem, 11vw, 3.4rem); }
  .steps { grid-template-columns: 1fr; }
  .pay__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .foot__inner { grid-template-columns: 1fr; }
  .calc__presets { flex-direction: column; }
  .preset { white-space: normal; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
