/* ==========================================================================
   Westbrook Medical Clinic — modern editorial rebuild
   ========================================================================== */

:root {
  /* Warm bone palette */
  --bg:         #f3efe7;
  --bg-2:       #ebe5d8;
  --paper:      #faf8f3;
  --ink:        #16241b;
  --ink-2:      #2c3a32;
  --mute:       #6b7a70;
  --hair:       #d8d1c1;
  --hair-2:     #c4bca8;
  --accent:     #1e5a3f;
  --accent-2:   #2d7d5a;
  --accent-soft:#e3ecd9;
  --hot:        #c84b1e;
  --hot-soft:   #f3d5c4;

  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans:  'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1240px;
  --gutter: 28px;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;

  --t-fast: .18s ease;
  --t:      .28s cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(1100px 800px at 80% -10%, rgba(45, 125, 90, .08), transparent 60%),
    radial-gradient(800px 600px at -10% 90%, rgba(200, 75, 30, .05), transparent 60%);
}

/* Subtle grain overlay on body */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .08  0 0 0 0 .12  0 0 0 0 .10  0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--accent); }

p { margin: 0 0 1em; color: var(--ink-2); }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}

.section { padding: clamp(72px, 9vw, 130px) 0; position: relative; z-index: 2; }

/* -------- Typography ---------------------------------------------------- */

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 6.2vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0;
}
.display em {
  font-style: italic;
  color: var(--accent);
}

h2.display { font-size: clamp(2.2rem, 4.8vw, 3.9rem); }
h3 { font-family: var(--serif); font-weight: 400; font-size: 1.55rem; line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 .35em; color: var(--ink); }
h3 em { font-style: italic; color: var(--mute); font-size: .95em; }
h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 0 0 .25em; color: var(--ink); letter-spacing: -0.01em; }

.mono-label {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--mute);
  display: inline-block;
}
.mono-label-light { color: rgba(255,255,255,.55); }
.mono-label-muted { color: var(--hair-2); }

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: var(--ink-2);
  max-width: 52ch;
  line-height: 1.5;
  margin: 22px 0 36px;
}
.sec-sub {
  font-size: 1.06rem;
  color: var(--mute);
  max-width: 58ch;
  margin: 18px 0 0;
  line-height: 1.55;
}
.sec-sub-side {
  font-size: 1rem;
  color: var(--mute);
  max-width: 38ch;
  margin: 0;
  align-self: end;
}

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

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans); font-weight: 500;
  font-size: .98rem;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background var(--t), color var(--t), transform var(--t-fast);
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-1px); }
.btn span { display: inline-block; transition: transform var(--t); }
.btn:hover span { transform: translateX(4px); }

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

.btn-block { width: 100%; justify-content: center; padding: 16px 22px; }

.ulink {
  font-family: var(--sans); font-weight: 500;
  font-size: .98rem;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  display: inline-flex; gap: 6px; align-items: center;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.ulink:hover { color: var(--accent); border-color: var(--accent); }
.ulink span { transition: transform var(--t); display: inline-block; }
.ulink:hover span { transform: translateX(4px); }
.ulink-light { color: #fff; border-color: rgba(255,255,255,.5); }
.ulink-light:hover { color: #fff; border-color: #fff; }
.ulink-inline { border-bottom-color: currentColor; padding-bottom: 0; color: var(--accent); }

/* -------- Floating pill nav -------------------------------------------- */

.nav-wrap {
  position: fixed;
  top: 18px; left: 0; right: 0;
  z-index: 100;
  display: flex; justify-content: center;
  padding: 0 var(--gutter);
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  background: rgba(250, 248, 243, 0.78);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 8px 8px 8px 18px;
  display: flex; align-items: center; gap: 8px;
  width: min(100%, 980px);
  box-shadow: 0 8px 30px rgba(20, 30, 22, .06);
}
.nav-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1rem; color: var(--ink); margin-right: 8px; }
.nav-brand-mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
}
.nav-brand-text em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--mute); font-size: .95em; }

.nav-links {
  display: flex; gap: 4px;
  margin: 0 auto; padding: 0;
  list-style: none;
}
.nav-links a {
  padding: 8px 14px;
  font-size: .92rem; font-weight: 500;
  color: var(--ink-2);
  border-radius: 999px;
  transition: background var(--t-fast), color var(--t-fast);
}
.nav-links a:hover { background: rgba(20, 30, 22, .06); color: var(--ink); }

.nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: .9rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background var(--t), transform var(--t-fast);
}
.nav-cta:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.nav-cta span { transition: transform var(--t); display: inline-block; }
.nav-cta:hover span { transform: translateX(3px); }

.nav-burger {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  padding: 8px; margin-left: auto;
}
.nav-burger span {
  display: block; width: 20px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  margin: 4px 0;
  transition: transform var(--t), opacity var(--t);
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

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

.hero {
  padding: 140px 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.hero-copy .mono-label { margin-bottom: 28px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin-bottom: 56px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0; padding: 28px 0 0;
  border-top: 1px solid var(--hair);
  gap: 24px;
}
.hero-stats li { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--serif); font-weight: 400;
  font-size: 2.1rem; line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.stat-num small { font-size: .55em; color: var(--accent); vertical-align: super; margin-left: 1px; }
.stat-lbl { font-size: .85rem; color: var(--mute); }

/* Hero right stage */
.hero-stage {
  position: relative;
  min-height: 520px;
}
.stage-card {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r);
  overflow: hidden;
}

.stage-main {
  inset: 0 0 90px 30px;
  z-index: 1;
  display: flex; flex-direction: column;
  border-radius: var(--r-lg);
  box-shadow: 0 30px 50px -25px rgba(20, 30, 22, .25);
}
.stage-photo {
  flex: 1;
  position: relative;
  background:
    linear-gradient(160deg, rgba(20, 30, 22, .25) 20%, rgba(20, 30, 22, .65) 100%),
    radial-gradient(circle at 30% 30%, #6f9c80, transparent 50%),
    linear-gradient(135deg, #2d7d5a 0%, #1e5a3f 50%, #0f3527 100%);
  min-height: 260px;
}
.stage-photo::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,.35), transparent 30%),
    radial-gradient(circle at 75% 60%, rgba(255,255,255,.18), transparent 35%);
}
.stage-photo-caption {
  position: absolute;
  left: 18px; bottom: 16px;
  font-family: var(--mono); font-size: .7rem;
  color: rgba(255,255,255,.78);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.stage-meta { padding: 18px 22px; display: flex; flex-direction: column; gap: 8px; }
.dot-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .72rem;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px; border-radius: 999px;
  align-self: flex-start;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(30, 90, 63, .15); }
.stage-hours { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); margin: 0; line-height: 1.25; }
.stage-hours small { font-family: var(--sans); font-size: .8rem; color: var(--mute); display: block; margin-top: 2px; }

.stage-quote {
  width: 240px;
  bottom: 0; left: -20px;
  padding: 18px;
  z-index: 2;
  animation: float 7s ease-in-out infinite;
  border-radius: var(--r);
  background: var(--paper);
}
.qstars { color: #d97706; letter-spacing: 3px; font-size: .9rem; }
.stage-quote p { font-size: .92rem; color: var(--ink-2); margin: 8px 0 6px; line-height: 1.45; }
.qname { font-family: var(--mono); font-size: .72rem; color: var(--mute); text-transform: uppercase; letter-spacing: .04em; }

.stage-bignum {
  width: 170px;
  top: -10px; right: -10px;
  padding: 16px 18px;
  background: var(--ink);
  color: var(--paper);
  z-index: 3;
  animation: float 9s ease-in-out infinite reverse;
  border-color: transparent;
  border-radius: var(--r);
}
.bignum { display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1; letter-spacing: -0.02em; }
.bignum small { font-size: .55em; color: var(--accent-2); vertical-align: super; }
.bignum-lbl { font-family: var(--mono); font-size: .68rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .04em; line-height: 1.3; display: block; margin-top: 6px; }

.stage-scroll-hint {
  position: absolute;
  bottom: -34px; left: 30px;
  font-family: var(--mono); font-size: .7rem;
  color: var(--mute);
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: hint 2.5s ease-in-out infinite;
}
@keyframes hint {
  0%, 100% { transform: translateY(0); opacity: .6; }
  50% { transform: translateY(4px); opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* -------- Marquee ------------------------------------------------------- */

.marquee {
  background: var(--ink);
  color: var(--paper);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.marquee::before, .marquee::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 80px;
  z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.marquee-track {
  display: flex; align-items: center;
  gap: 36px;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: -0.015em;
  animation: marquee 38s linear infinite;
  width: max-content;
}
.marquee-track span { color: var(--paper); }
.marquee-track .dot-sep { color: var(--accent-2); font-family: var(--sans); }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* -------- Section heads ------------------------------------------------ */

.sec-head { margin-bottom: 56px; max-width: 760px; }
.sec-head .display { margin-top: 14px; }
.sec-head-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: end;
  max-width: none;
}
.sec-head-tight { margin-bottom: 28px; text-align: center; max-width: none; }

/* -------- Bento services ----------------------------------------------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 18px;
}

.cell {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  grid-column: span 2;
}
.cell:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 20px 40px -25px rgba(20, 30, 22, .25); }

.cell-tall { grid-row: span 2; }

.cell-top { display: flex; align-items: center; justify-content: space-between; }
.cell-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--mute);
  line-height: 1;
}
.cell-tag {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
.cell-body h3 { margin-bottom: 10px; font-size: 1.65rem; }
.cell-body p { font-size: .98rem; color: var(--mute); margin: 0; line-height: 1.5; }

.cell-feature {
  background: linear-gradient(160deg, #1e5a3f 0%, #14402d 100%);
  border-color: transparent;
  color: var(--paper);
  background-image:
    radial-gradient(600px 400px at 100% 0%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(160deg, #1e5a3f 0%, #14402d 100%);
}
.cell-feature .cell-num { color: rgba(255,255,255,.45); }
.cell-feature h3 { color: #fff; font-size: 1.95rem; }
.cell-feature p { color: rgba(255,255,255,.78); }
.cell-feature .cell-tag { background: rgba(255,255,255,.12); color: rgba(255,255,255,.9); }

.cell-walkin {
  background:
    radial-gradient(400px 300px at 100% 100%, rgba(216, 120, 60, .12), transparent 60%),
    var(--paper);
}
.cell-walkin .cell-tag { background: var(--hot-soft); color: var(--hot); }

.cell-driver { grid-column: span 4; }
.cell-driver h3 { font-size: 1.85rem; }
.cell-driver { background:
    radial-gradient(600px 300px at 100% 0%, rgba(30, 90, 63, .07), transparent 60%),
    var(--paper);
}

/* responsive bento */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .cell { grid-column: span 2; }
  .cell-tall { grid-row: span 2; grid-column: span 2; }
  .cell-driver { grid-column: span 4; }
}
@media (max-width: 720px) {
  .bento { grid-template-columns: 1fr; }
  .cell, .cell-tall, .cell-driver { grid-column: span 1; grid-row: span 1; }
}

/* Extras strip */
.extras {
  margin-top: 38px;
  padding: 26px 28px;
  border: 1px dashed var(--hair-2);
  border-radius: var(--r-lg);
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 16px 22px;
}
.chip-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li {
  font-family: var(--sans); font-size: .88rem;
  color: var(--ink-2);
  background: var(--paper);
  border: 1px solid var(--hair);
  padding: 6px 12px;
  border-radius: 999px;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.chip-list li:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

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

.about { background: var(--bg-2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.about-visual { position: relative; min-height: 520px; }

.about-tile {
  position: absolute;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--hair);
}
.tile-caption {
  position: absolute; left: 14px; bottom: 12px;
  font-family: var(--mono); font-size: .68rem;
  color: rgba(255,255,255,.85);
  text-transform: uppercase; letter-spacing: .06em;
}
.tile-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .15 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .6;
}
.about-tile-a {
  width: 70%; aspect-ratio: 4/5;
  top: 0; left: 0;
  background:
    linear-gradient(160deg, rgba(20, 30, 22, .25), rgba(20, 30, 22, .55)),
    linear-gradient(135deg, #b6cfa8, #4e8a64 60%, #1e5a3f);
}
.about-tile-b {
  width: 55%; aspect-ratio: 4/3;
  bottom: 30px; right: 0;
  background:
    linear-gradient(135deg, rgba(200, 75, 30, .25), rgba(20, 30, 22, .55)),
    linear-gradient(160deg, #f3d5c4, #c84b1e 70%, #7d2a0e);
}
.about-bigstat {
  position: absolute;
  bottom: -10px; left: -10px;
  background: var(--ink);
  color: var(--paper);
  padding: 22px 26px;
  border-radius: var(--r);
  z-index: 3;
  max-width: 260px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 20px 40px -25px rgba(0,0,0,.4);
}
.bigstat-num { font-family: var(--serif); font-size: 3.4rem; line-height: .9; letter-spacing: -0.02em; }
.bigstat-num small { font-size: .5em; color: var(--accent-2); vertical-align: super; }
.bigstat-lbl { font-family: var(--mono); font-size: .72rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .04em; line-height: 1.4; }

.about-copy .mono-label { margin-bottom: 16px; }
.numbered {
  list-style: none; padding: 0; margin: 36px 0;
  display: flex; flex-direction: column; gap: 0;
}
.numbered li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--hair);
  align-items: start;
}
.numbered li:last-child { border-bottom: 1px solid var(--hair); }
.numbered .num {
  font-family: var(--serif); font-size: 1.4rem;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.numbered h4 { font-size: 1.1rem; }
.numbered p { font-size: .95rem; color: var(--mute); margin: 0; }

/* -------- Team ---------------------------------------------------------- */

.team-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.tcard {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t), border-color var(--t);
}
.tcard:hover { transform: translateY(-4px); border-color: var(--ink); }
.tphoto {
  aspect-ratio: 4/5;
  position: relative;
  background-blend-mode: multiply;
}
.tphoto::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.35), transparent 40%);
}
.tcap {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--mono); font-size: .68rem;
  color: rgba(255,255,255,.85);
  letter-spacing: .06em;
  background: rgba(0,0,0,.25);
  padding: 4px 8px; border-radius: 999px;
  z-index: 2;
}
.tphoto-1 { background: linear-gradient(160deg, #b6cfa8, #2d7d5a 60%, #1e5a3f); }
.tphoto-2 { background: linear-gradient(160deg, #c5d8e8, #3d7eaa 60%, #1d4e74); }
.tphoto-3 { background: linear-gradient(160deg, #f3d5c4, #c84b1e 70%, #7d2a0e); }
.tphoto-4 { background: linear-gradient(160deg, #d8d0e8, #7c66b8 70%, #3e2a78); }

.tinfo { padding: 22px 22px 26px; }
.tinfo h3 { font-size: 1.3rem; margin-bottom: 4px; }
.tinfo h3 em { color: var(--mute); font-style: italic; font-size: .85em; }
.trole { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--accent); display: block; margin-bottom: 12px; }
.tinfo p { font-size: .92rem; color: var(--mute); margin: 0; }

/* -------- Quotes -------------------------------------------------------- */

.quotes {
  background: var(--ink);
  color: var(--paper);
  position: relative;
}
.quotes::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: .8;
}
.quote-stage {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.quote-stage blockquote {
  margin: 0;
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
}
.quote-stage blockquote.is-active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
}
.qbody {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.18;
  color: var(--paper);
  letter-spacing: -0.012em;
  margin: 0 auto 24px;
  max-width: 22ch;
}
.qbody em { font-style: italic; color: #d4c39a; }
.qfoot { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.qfoot strong { font-family: var(--sans); font-weight: 600; font-size: .98rem; color: var(--paper); }
.qfoot span { font-family: var(--mono); font-size: .72rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .06em; }

.quote-dots { display: flex; gap: 10px; justify-content: center; margin-top: 36px; }
.qdot {
  width: 32px; height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 0; cursor: pointer;
  transition: background var(--t-fast), width var(--t);
  padding: 0;
}
.qdot.is-active { background: var(--paper); width: 54px; }

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

.booking { background: var(--bg); }
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.booking-copy { padding-top: 8px; }
.booking-copy .mono-label { margin-bottom: 16px; }

.perk-list {
  list-style: none; padding: 0; margin: 36px 0 0;
  display: flex; flex-direction: column; gap: 0;
}
.perk-list li {
  display: flex; align-items: center; gap: 14px;
  font-size: 1rem;
  color: var(--ink-2);
  padding: 14px 0;
  border-top: 1px solid var(--hair);
}
.perk-list li:last-child { border-bottom: 1px solid var(--hair); }
.perk-mark {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.2rem;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Form */
.bform {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  display: grid; gap: 16px;
}
.bform-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--hair-2);
  margin-bottom: 6px;
}
.bf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bf { display: flex; flex-direction: column; gap: 6px; }
.bf > span { font-family: var(--mono); font-size: .72rem; color: var(--mute); text-transform: uppercase; letter-spacing: .06em; }
.bf > span small { font-family: var(--sans); text-transform: none; letter-spacing: 0; color: var(--hair-2); }
.bf input, .bf select, .bf textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  padding: 12px 14px;
  background: transparent;
  border: 1px solid var(--hair-2);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast);
  width: 100%;
}
.bf input::placeholder, .bf textarea::placeholder { color: var(--hair-2); }
.bf input:focus, .bf select:focus, .bf textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.bf textarea { resize: vertical; min-height: 90px; }
.fine { font-family: var(--mono); font-size: .68rem; color: var(--mute); margin: 4px 0 0; text-align: center; }
.bf-success {
  margin-top: 8px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 14px 18px; border-radius: var(--r-sm);
  font-size: .95rem;
  text-align: center;
}

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

.contact { background: var(--bg-2); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: stretch;
}
.contact-info .mono-label { margin-bottom: 16px; }
.contact-info .display { margin-bottom: 18px; }

.cinfo { list-style: none; padding: 0; margin: 34px 0 0; }
.cinfo li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--hair);
}
.cinfo li:last-child { border-bottom: 1px solid var(--hair); }
.cinfo-lbl { font-family: var(--mono); font-size: .72rem; color: var(--mute); text-transform: uppercase; letter-spacing: .06em; padding-top: 3px; }
.cinfo-val { font-size: 1rem; color: var(--ink); line-height: 1.5; }
a.cinfo-val { border-bottom: 1px solid currentColor; align-self: start; }

.contact-map { min-height: 460px; }
.map-art {
  position: relative;
  height: 100%; min-height: 460px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(140deg, #e6e0d2 0%, #d2cab8 100%);
  border: 1px solid var(--hair);
}
.map-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(20, 30, 22, .06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 30, 22, .06) 1px, transparent 1px);
  background-size: 48px 48px;
}
.map-road { position: absolute; background: var(--paper); border-radius: 4px; }
.map-road-h { left: 0; right: 0; top: 56%; height: 22px; }
.map-road-v { top: 0; bottom: 0; left: 44%; width: 22px; }
.map-block { position: absolute; border-radius: 14px; }
.map-block-park { top: 8%; right: 8%; width: 30%; height: 32%; background: linear-gradient(140deg, #aac49b, #6f9c80); }
.map-block-bldg { bottom: 8%; left: 10%; width: 26%; height: 24%; background: linear-gradient(140deg, #d6cebd, #b8ad95); }
.map-pin { position: absolute; top: 49%; left: 44.5%; transform: translate(-50%, -100%); color: var(--hot); z-index: 4; filter: drop-shadow(0 8px 14px rgba(200, 75, 30, .4)); }
.map-pin-pulse { position: absolute; width: 20px; height: 20px; bottom: 4px; left: 50%; transform: translateX(-50%); background: var(--hot); border-radius: 50%; opacity: .4; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse {
  0% { transform: translateX(-50%) scale(1); opacity: .5; }
  100% { transform: translateX(-50%) scale(3.8); opacity: 0; }
}
.map-card {
  position: absolute;
  top: 18px; left: 18px;
  background: var(--paper);
  padding: 12px 16px;
  border-radius: var(--r);
  border: 1px solid var(--hair);
  display: flex; flex-direction: column; gap: 2px;
  max-width: 220px;
}
.map-card strong { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); font-weight: 400; }
.map-card span { font-family: var(--mono); font-size: .72rem; color: var(--mute); text-transform: uppercase; letter-spacing: .04em; }
.map-compass {
  position: absolute;
  bottom: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--hair);
  display: grid; place-items: center;
  font-family: var(--mono); font-weight: 500; font-size: .9rem;
  color: var(--ink);
}

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

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0 30px;
  position: relative;
  z-index: 2;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.foot-brand p { color: rgba(255,255,255,.6); font-size: .95rem; max-width: 320px; margin-top: 14px; }
.foot-col ul { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { color: rgba(255,255,255,.8); font-size: .95rem; }
.foot-col a:hover { color: var(--accent-2); }
.foot-col li { color: rgba(255,255,255,.55); font-size: .9rem; }

.foot-bigtype {
  font-family: var(--serif);
  font-size: clamp(5rem, 18vw, 16rem);
  line-height: .85;
  letter-spacing: -0.04em;
  color: var(--paper);
  margin: 50px 0 30px;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
}
.foot-bigtype em { font-style: italic; color: var(--accent-2); }

.foot-bottom {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: .72rem;
  color: rgba(255,255,255,.45);
  text-transform: uppercase; letter-spacing: .06em;
  flex-wrap: wrap; gap: 10px;
}

/* -------- Sticky CTA --------------------------------------------------- */

.sticky-cta {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 90;
  background: var(--ink);
  color: var(--paper);
  font-size: .92rem; font-weight: 500;
  padding: 13px 20px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 16px 30px -10px rgba(20, 30, 22, .35);
  opacity: 0; transform: translateY(20px);
  transition: opacity .4s, transform .4s, background var(--t);
}
.sticky-cta.is-visible { opacity: 1; transform: translateY(0); }
.sticky-cta:hover { background: var(--accent); color: #fff; }
.sticky-cta-dot {
  width: 8px; height: 8px;
  background: var(--accent-2);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(45, 125, 90, .4);
  animation: pulseDot 1.6s ease-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(45, 125, 90, .4); }
  50% { box-shadow: 0 0 0 8px rgba(45, 125, 90, 0); }
}

/* -------- Responsive --------------------------------------------------- */

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .booking-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .sec-head-row { grid-template-columns: 1fr; gap: 20px; }
  .sec-sub-side { max-width: none; }
  .team-row { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }

  .hero { padding-top: 120px; }
  .hero-stage { min-height: 440px; margin-top: 20px; }

  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav-pill.is-open { flex-wrap: wrap; border-radius: var(--r-lg); }
  .nav-pill.is-open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    width: 100%; margin: 8px 0;
    background: var(--paper);
    border-radius: var(--r);
  }
  .nav-pill.is-open .nav-links a { padding: 14px 16px; border-bottom: 1px solid var(--hair); border-radius: 0; }
  .nav-pill.is-open .nav-links li:last-child a { border-bottom: 0; }
  .nav-pill.is-open .nav-cta { display: inline-flex; width: calc(100% - 16px); justify-content: center; margin: 0 8px 8px; }
}

@media (max-width: 600px) {
  .bf-row { grid-template-columns: 1fr; }
  .team-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .stage-bignum { right: 0; top: -6px; }
  .stage-quote { left: 0; bottom: -10px; }
  .foot-bigtype { font-size: 4rem; }
  .sticky-cta { bottom: 16px; right: 16px; padding: 11px 16px; font-size: .88rem; }
}
