/* ============== Design tokens ============== */
:root {
  --forest-950: #0d1f17;
  --forest-900: #163325;
  --forest-800: #1f4d36;
  --forest-700: #2e6a4a;
  --forest-600: #4b8b66;
  --sage: #6fa67a;
  --sage-soft: #c5d6c0;
  --cream: #e8e5df;
  --cream-soft: #f1eee8;
  --cream-warm: #efe9dc;
  --paper: #faf8f3;
  --ink-950: #0f1419;
  --ink-900: #182028;
  --ink-700: #3a464f;
  --ink-500: #6d7780;
  --ink-300: #b6bcc1;
  --line: rgba(15, 20, 25, 0.08);
  --line-strong: rgba(15, 20, 25, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-soft: 0 6px 24px rgba(16, 40, 28, 0.06);
  --shadow-card: 0 16px 40px rgba(16, 40, 28, 0.08);
  --shadow-float: 0 30px 80px rgba(16, 40, 28, 0.18);
  --max-w: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(80px, 11vw, 144px);
  --display-font: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", "Geist Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-feature-settings: "ss01", "ss02", "cv11";
  color: var(--ink-900);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; }

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

/* ============== Nav ============== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background 280ms ease, backdrop-filter 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
  border-bottom: 1px solid transparent;
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav.scrolled {
  background: rgba(232, 229, 223, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.nav.on-dark { color: white; }
.nav.on-dark.scrolled { color: var(--ink-900); }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--forest-800);
  color: var(--sage-soft);
  display: inline-grid; place-items: center;
  font-family: var(--display-font);
  font-style: italic;
  font-size: 16px;
  line-height: 1;
}
.nav.on-dark:not(.scrolled) .brand-mark {
  background: rgba(255,255,255,0.12);
  color: white;
}
.nav-links {
  display: flex; align-items: center; gap: 6px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.85;
  transition: background 180ms, opacity 180ms;
}
.nav-links a:hover { opacity: 1; background: rgba(15,20,25,0.06); }
.nav.on-dark:not(.scrolled) .nav-links a:hover { background: rgba(255,255,255,0.08); }
.nav-login {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 14px; font-weight: 500;
  background: transparent;
  text-decoration: none;
  transition: all 180ms;
}
.nav.on-dark:not(.scrolled) .nav-login {
  border-color: rgba(255,255,255,0.22);
}
.nav-login:hover {
  background: var(--ink-900); color: white; border-color: var(--ink-900);
}
.nav.on-dark:not(.scrolled) .nav-login:hover {
  background: white; color: var(--ink-900); border-color: white;
}

/* mobile nav */
.nav-toggle {
  display: none;
  background: none; border: none;
  color: inherit;
  padding: 8px;
  cursor: pointer;
}
@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream);
    padding: 16px var(--gutter);
    border-bottom: 1px solid var(--line);
    gap: 0;
  }
  .nav.on-dark:not(.scrolled) .nav-links.open {
    background: var(--forest-950);
  }
  .nav-links.open a {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
  }
  .nav-toggle { display: block; }
}

/* ============== Hero ============== */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--forest-950);
  color: white;
  overflow: hidden;
  display: flex; flex-direction: column;
  padding-top: 72px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url("https://images.unsplash.com/photo-1473773508845-188df298d2d1?auto=format&fit=crop&w=2400&q=80");
  background-size: cover; background-position: center;
  filter: brightness(0.5) saturate(1.05);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,31,23,0.55) 0%, rgba(13,31,23,0.35) 35%, rgba(13,31,23,0.92) 100%),
    linear-gradient(90deg, rgba(13,31,23,0.7) 0%, rgba(13,31,23,0.1) 60%);
}
.hero-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.07;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero-particles {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex; align-items: flex-start;
  padding: 32px 0 44px;
}
.hero-content { max-width: 880px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 22px;
  white-space: nowrap;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px; background: currentColor;
}
.hero h1 {
  font-family: var(--display-font);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 0 0 34px;
  padding-bottom: 0.08em;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  color: var(--sage-soft);
  font-weight: 400;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin: 0 0 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 180ms, background 180ms, color 180ms, border 180ms;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--sage);
  color: var(--forest-950);
  font-weight: 600;
}
.btn-primary:hover { background: #84b78f; }
.btn-ghost {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.28);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }
.btn-dark {
  background: var(--forest-800);
  color: white;
}
.btn-dark:hover { background: var(--forest-700); }
.btn-arrow { font-family: var(--display-font); font-style: italic; font-size: 18px; line-height: 1; }

/* hero ribbon */
.hero-ribbon {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 24px 0 32px;
}
.hero-ribbon-row {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  align-items: end;
}
.hero-stat .num {
  font-family: var(--display-font);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 700;
  line-height: 1;
  color: white;
  letter-spacing: -0.02em;
}
.hero-stat .num em {
  font-style: italic; color: var(--sage); font-weight: 400; font-size: 0.7em;
}
.hero-stat .lbl {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hero-scroll-hint {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hero-scroll-hint .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--sage);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}
@media (max-width: 800px) {
  .hero-ribbon-row { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero-scroll-hint { display: none; }
  .hero h1 { font-size: clamp(42px, 11vw, 72px); margin-bottom: 32px; }
}

/* ============== Marquee ============== */
.marquee-wrap {
  position: relative;
  background: var(--cream-soft);
  padding: 26px 0;
  overflow: hidden;
  z-index: 4;
}
.marquee {
  display: flex;
  gap: 60px;
  animation: marquee 38s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee span {
  display: inline-flex; align-items: center; gap: 18px;
  font-family: var(--display-font);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-700);
}
.marquee span::after {
  content: "\2726";
  font-style: normal;
  color: var(--sage);
  font-size: 14px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============== Section / Card stack ============== */
.section {
  padding: var(--section-y) 0;
  position: relative;
  z-index: 1;
}
.scene {
  position: relative;
  border-radius: 36px 36px 0 0;
  margin-top: -36px;
  box-shadow: 0 -30px 80px rgba(13, 31, 23, 0.22), 0 -1px 0 rgba(255,255,255,0.06) inset;
  isolation: isolate;
}
.scene + .scene { margin-top: -36px; }
.scene-cream {
  background: var(--cream);
  color: var(--ink-900);
}
.scene-soft {
  background: var(--cream-soft);
}
.scene-dark {
  background: var(--forest-950);
  color: white;
}
.scene-paper {
  background: var(--paper);
}

/* Stack depth: subtle highlight ring at the top edge of each card */
.scene::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  border-radius: 36px 36px 0 0;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.16) 50%,
    rgba(255,255,255,0) 100%);
  pointer-events: none;
  z-index: 1;
}
.scene-cream::before, .scene-soft::before, .scene-paper::before {
  background: linear-gradient(90deg,
    rgba(15,20,25,0) 0%,
    rgba(15,20,25,0.08) 50%,
    rgba(15,20,25,0) 100%);
}
.scene > * { position: relative; z-index: 2; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 72px;
}
.section-head .eyebrow { color: var(--forest-700); margin-bottom: 0; }
.section-head h2 {
  font-family: var(--display-font);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}
.section-head h2 em { font-style: italic; color: var(--forest-700); font-weight: 400; }
.section-head-side {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-700);
  max-width: 56ch;
}
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
}

/* ============== Services ============== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.service-card {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 360ms;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.service-card.s-feature { grid-column: span 12; flex-direction: row; min-height: 460px; }
.service-card.s-half { grid-column: span 6; }
.service-card.s-third { grid-column: span 4; }
.service-card.s-two-thirds { grid-column: span 8; }
@media (max-width: 900px) {
  .service-card.s-feature { flex-direction: column; min-height: 0; }
  .service-card.s-feature .service-image-wrap { width: 100%; }
  .service-card.s-half, .service-card.s-third, .service-card.s-two-thirds { grid-column: span 12; }
}

.service-image-wrap {
  position: relative;
  overflow: hidden;
}
.service-card.s-feature .service-image-wrap {
  width: 55%;
  min-height: 460px;
}
.service-card:not(.s-feature) .service-image-wrap {
  aspect-ratio: 4/3;
}
.service-image-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.service-card:hover .service-image-wrap img { transform: scale(1.06); }
.service-image-wrap .tag-floating {
  position: absolute; top: 18px; left: 18px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  color: var(--forest-800);
  white-space: nowrap;
}

.service-body {
  padding: 36px;
  display: flex; flex-direction: column;
  flex: 1;
}
.service-card.s-feature .service-body { padding: 56px; justify-content: center; }
.service-card:not(.s-feature) .service-body { padding: 28px; }
.service-meta {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest-700);
  font-weight: 500;
  margin-bottom: 18px;
}
.service-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sage); }
.service-meta .num { color: var(--ink-500); font-family: var(--mono); letter-spacing: 0.04em; }
.service-title {
  font-family: var(--display-font);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.018em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.service-card.s-feature .service-title { font-size: clamp(36px, 4vw, 56px); }
.service-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-700);
  margin: 0 0 24px;
  max-width: 46ch;
}
.service-card.s-feature .service-desc { font-size: 17px; max-width: 50ch; }
.service-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14px;
  color: var(--ink-700);
}
.service-list li {
  display: flex; align-items: baseline; gap: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line-strong);
}
.service-list li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
  transform: translateY(-3px);
}

/* ============== About / Why us ============== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }
.about-copy h2 {
  font-family: var(--display-font);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.about-copy h2 em { font-style: italic; color: var(--forest-700); font-weight: 400; }
.about-copy p {
  font-size: 17px; line-height: 1.6;
  color: var(--ink-700); margin: 0 0 40px;
  max-width: 52ch;
}
.feature-stack { display: flex; flex-direction: column; gap: 4px; }
.feature-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 24px 0;
  border-top: 1px solid var(--line-strong);
}
.feature-row:last-child { border-bottom: 1px solid var(--line-strong); }
.feature-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--forest-700);
  letter-spacing: 0.08em;
}
.feature-row h3 {
  font-family: var(--display-font);
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.feature-row p {
  font-size: 14px; color: var(--ink-500);
  margin: 0; line-height: 1.55;
}

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-quote {
  position: absolute; left: 24px; bottom: 24px; right: 24px;
  background: rgba(13,31,23,0.78);
  backdrop-filter: blur(14px);
  color: white;
  padding: 22px 26px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.08);
}
.about-quote p {
  font-family: var(--display-font);
  font-style: italic;
  font-size: 17px; line-height: 1.4;
  margin: 0 0 12px;
}
.about-quote .who {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
}
.about-quote .who .line { flex: 1; height: 1px; background: rgba(255,255,255,0.18); }

.process {
  background: var(--forest-950);
  color: white;
  position: relative;
  padding: var(--section-y) 0;
}
.process .section-head h2 { color: white; }
.process .section-head h2 em { color: var(--sage); }
.process .section-head .eyebrow { color: var(--sage); }
.process .section-head-side { color: rgba(255,255,255,0.65); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .process-grid { grid-template-columns: 1fr; } }
.process-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 60px;
  min-height: 280px;
  transition: background 240ms, border-color 240ms;
}
.process-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.18); }
.process-num {
  font-family: var(--display-font);
  font-size: 56px;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  color: var(--sage);
  letter-spacing: -0.02em;
}
.process-card h3 {
  font-family: var(--display-font);
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.process-card p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

/* ============== Contact strip ============== */
.contact-strip {
  background: var(--paper);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 80px);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative; overflow: hidden;
}
@media (max-width: 900px) { .contact-strip { grid-template-columns: 1fr; gap: 32px; } }
.contact-strip::before {
  content: "";
  position: absolute; top: -100px; right: -100px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(111,166,122,0.18), transparent 70%);
  pointer-events: none;
}
.contact-strip .eyebrow { color: var(--forest-700); margin-bottom: 20px; }
.contact-strip h2 {
  font-family: var(--display-font);
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 0 0 20px;
  font-weight: 700;
  text-wrap: balance;
}
.contact-strip h2 em { font-style: italic; color: var(--forest-700); font-weight: 400; }
.contact-strip p {
  font-size: 16px; color: var(--ink-700); margin: 0 0 28px;
  line-height: 1.55;
  max-width: 50ch;
}
.contact-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-chip {
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(31,77,54,0.08);
  color: var(--forest-800);
  letter-spacing: 0.04em;
  font-weight: 500;
}
.contact-cta {
  display: flex; flex-direction: column; gap: 14px;
  position: relative; z-index: 1;
}
.contact-cta .btn { justify-content: center; padding: 18px 32px; font-size: 16px; }
.contact-cta .meta {
  font-size: 13px;
  color: var(--ink-500);
  text-align: center;
}
.contact-cta .meta strong { color: var(--ink-900); }

/* ============== Footer ============== */
.footer {
  background: var(--forest-950);
  color: rgba(255,255,255,0.7);
  padding: 100px 0 32px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand .brand { color: white; font-size: 26px; margin-bottom: 18px; }
.footer-brand .brand-mark { background: var(--sage); color: var(--forest-950); }
.footer-brand p { font-size: 14px; line-height: 1.55; max-width: 32ch; margin: 0; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sage);
  margin: 0 0 18px;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  text-decoration: none;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  transition: color 180ms;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  padding-top: 32px;
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

/* ============== Request Drawer ============== */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(13,31,23,0.55);
  backdrop-filter: blur(6px);
  z-index: 100;
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(540px, 92vw);
  background: var(--paper);
  z-index: 101;
  transform: translateX(110%);
  transition: transform 460ms cubic-bezier(0.7, 0, 0.2, 1);
  display: flex; flex-direction: column;
  min-height: 0;
  overflow: hidden;
  box-shadow: var(--shadow-float);
}
.drawer.open { transform: translateX(0); }
@media (max-width: 600px) {
  .drawer { width: 100vw; }
}

.drawer-header,
.drawer-progress,
.drawer-footer {
  flex-shrink: 0;
}

.drawer-header {
  padding: 32px 40px 24px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
}
.drawer-header .step-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest-700);
  font-weight: 600;
  margin: 0 0 6px;
}
.drawer-header h2 {
  font-family: var(--display-font);
  font-size: 26px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.012em;
}
.drawer-close {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  display: grid; place-items: center;
  font-size: 16px;
  color: var(--ink-700);
  transition: background 180ms, color 180ms;
}
.drawer-close:hover { background: var(--ink-900); color: white; border-color: var(--ink-900); }

.drawer-progress {
  padding: 16px 40px 0;
  display: flex; gap: 6px;
}
.drawer-progress .seg {
  flex: 1; height: 3px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.drawer-progress .seg::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--forest-700);
  transform: translateX(-100%);
  transition: transform 360ms cubic-bezier(0.4, 0, 0.2, 1);
}
.drawer-progress .seg.done::after,
.drawer-progress .seg.active::after { transform: translateX(0); }

.drawer-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 32px 40px 40px;
}

html.drawer-open,
body.drawer-open {
  overflow: hidden !important;
}
.step { display: none; }
.step.active { display: block; }
.step h3 {
  font-family: var(--display-font);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.018em;
  margin: 0 0 14px;
  text-wrap: balance;
}
.step h3 em { font-style: italic; color: var(--forest-700); font-weight: 400; }
.step .lede {
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.55;
  margin: 0 0 32px;
  max-width: 44ch;
}

.type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.type-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  text-align: left;
  display: flex; flex-direction: column; gap: 12px;
  transition: all 220ms;
  cursor: pointer;
}
.type-card:hover { border-color: var(--forest-600); }
.type-card.selected {
  border-color: var(--forest-800);
  background: rgba(31,77,54,0.04);
  box-shadow: 0 0 0 4px rgba(31,77,54,0.08);
}
.type-icon {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: rgba(111,166,122,0.18);
  color: var(--forest-800);
  display: grid; place-items: center;
  font-family: var(--display-font);
  font-size: 18px;
  font-weight: 700;
}
.type-card strong {
  font-family: var(--display-font);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.type-card small {
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.45;
}

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-900);
}
.field label .req { color: #b34a3a; margin-left: 2px; }
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 15px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: white;
  color: var(--ink-900);
  transition: border-color 180ms, box-shadow 180ms;
  width: 100%;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--forest-700);
  box-shadow: 0 0 0 4px rgba(31,77,54,0.1);
}
.field .hint {
  font-size: 12px; color: var(--ink-500);
}
#drawer-msg-count {
  color: var(--forest-800);
  font-weight: 700;
}
.msg-length-hint.is-short {
  color: #b34a3a;
}
.msg-length-hint.is-short #drawer-msg-count {
  color: #b34a3a;
}
.field .err {
  font-size: 12px; color: #b34a3a;
}
.input-row { display: flex; gap: 10px; }
.input-row input { flex: 1; }
.code-btn {
  padding: 0 18px;
  border-radius: var(--radius-sm);
  background: var(--forest-800);
  color: white;
  border: none;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 180ms;
}
.code-btn:hover { background: var(--forest-700); }
.code-btn:disabled { background: var(--ink-300); cursor: not-allowed; }

.review-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 8px 24px;
  margin-top: 8px;
}
.review-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.review-row:last-child { border-bottom: none; }
.review-row .k {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 500;
  padding-top: 2px;
}
.review-row .v { color: var(--ink-900); font-weight: 500; }

.captcha-box {
  margin-top: 24px;
  background: white;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex; gap: 14px; align-items: center;
  cursor: pointer;
  transition: border-color 180ms, background 180ms;
}
.captcha-box.checked { border-style: solid; border-color: var(--forest-700); background: rgba(31,77,54,0.04); }
.captcha-box-real {
  display: inline-flex;
  cursor: default;
  border-style: solid;
  background: white;
}
.captcha-check {
  width: 24px; height: 24px;
  border-radius: 6px;
  border: 2px solid var(--ink-300);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.captcha-box.checked .captcha-check {
  background: var(--forest-700); border-color: var(--forest-700); color: white;
}
.captcha-box .label { font-size: 14px; flex: 1; }
.captcha-box .brand-mini { font-size: 10px; color: var(--ink-300); letter-spacing: 0.1em; text-transform: uppercase; }

.drawer-footer {
  padding: 20px 40px 28px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 12px;
  background: var(--cream-soft);
}
.btn-back,
.btn-upload {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink-900);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}
.btn-back:hover,
.btn-upload:hover { background: white; }
.btn-back:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-next {
  background: var(--forest-800);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-next:hover { background: var(--forest-700); }
.btn-next:disabled { background: var(--ink-300); cursor: not-allowed; }

.btn-discard-leave {
  background: #8f3d34;
  color: white;
  border: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: background 180ms ease, transform 180ms ease;
}
.btn-discard-leave:hover { background: #a3473d; }
.btn-discard-leave:focus-visible {
  outline: 2px solid var(--forest-700);
  outline-offset: 2px;
}

/* Discard confirmation (centered over drawer) */
.drawer-discard-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
  visibility: hidden;
}
.drawer-discard-modal.is-open {
  pointer-events: auto;
  visibility: visible;
}
.drawer-discard-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(15, 20, 25, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 220ms ease;
  cursor: default;
}
.drawer-discard-modal.is-open .drawer-discard-backdrop {
  opacity: 1;
}
.drawer-discard-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  padding: 36px 32px 28px;
  text-align: center;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transition: opacity 260ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 260ms cubic-bezier(0.4, 0, 0.2, 1);
}
.drawer-discard-modal.is-open .drawer-discard-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.drawer-discard-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f3e8d8, #e8dcc8);
  color: #9a5b28;
  display: grid;
  place-items: center;
}
.drawer-discard-title {
  font-family: var(--display-font);
  font-size: clamp(26px, 4vw, 30px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--ink-900);
}
.drawer-discard-desc {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-500);
  max-width: 34ch;
  margin-left: auto;
  margin-right: auto;
}
.drawer-discard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.drawer-discard-actions .btn-back,
.drawer-discard-actions .btn-discard-leave {
  min-width: 148px;
}
body.drawer-discard-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .drawer-discard-backdrop,
  .drawer-discard-panel {
    transition: none;
  }
  .drawer-discard-modal.is-open .drawer-discard-panel {
    transform: none;
  }
}

@media (max-width: 480px) {
  .drawer-discard-panel { padding: 28px 22px 22px; }
  .drawer-discard-actions {
    flex-direction: column-reverse;
    width: 100%;
  }
  .drawer-discard-actions .btn-back,
  .drawer-discard-actions .btn-discard-leave {
    width: 100%;
    min-width: 0;
  }
}

/* success state */
.success-screen {
  flex: 1; display: none;
  flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 60px 40px;
}
.success-screen.active { display: flex; }
.success-mark {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--sage);
  color: white;
  display: grid; place-items: center;
  font-size: 36px;
  margin-bottom: 28px;
  animation: pop 480ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes pop {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.success-screen h3 {
  font-family: var(--display-font);
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
}
.success-screen p {
  font-size: 15px;
  color: var(--ink-500);
  max-width: 36ch;
  margin: 0 0 28px;
  line-height: 1.5;
}

/* image fade-in */
.fade-in { animation: fadeUp 600ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============== Scroll reveal ============== */
[data-reveal] {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1100ms cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 1100ms cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-60px); }
[data-reveal="right"] { transform: translateX(60px); }
[data-reveal="scale"] { transform: scale(0.94) translateY(40px); }
[data-reveal="blur"] { filter: blur(14px); transition: opacity 1100ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 1100ms cubic-bezier(0.22, 0.61, 0.36, 1), filter 1100ms cubic-bezier(0.22, 0.61, 0.36, 1); }
[data-reveal].in-view {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Word-by-word reveal */
.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  margin-right: 0.2em;
  padding-bottom: 0.12em;
}
.split-word > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 1000ms cubic-bezier(0.22, 0.61, 0.36, 1),
              opacity 1000ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.split-line.in-view .split-word > span {
  transform: translateY(0);
  opacity: 1;
}
.split-word > span { transition-delay: calc(var(--i, 0) * 60ms); }

/* Image cover reveal — clipped frame slides off */
.cover-reveal {
  position: relative;
  overflow: hidden;
}
.cover-reveal[data-reveal] { opacity: 1; transform: none; }
.cover-reveal::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--cream);
  transform-origin: bottom;
  transition: transform 1400ms cubic-bezier(0.86, 0, 0.07, 1);
  z-index: 3;
}
.cover-reveal.in-view::after { transform: scaleY(0); }
.cover-reveal.dark::after { background: var(--forest-950); }
.cover-reveal.paper::after { background: var(--paper); }
.cover-reveal img {
  transition: transform 2000ms cubic-bezier(0.22, 0.61, 0.36, 1);
  transform: scale(1.18);
}
.cover-reveal.in-view img { transform: scale(1); }

/* Hero copy entry */
.hero-content > * {
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn 1100ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.hero-content > *:nth-child(1) { animation-delay: 120ms; }
.hero-content > *:nth-child(2) { animation-delay: 260ms; }
.hero-content > *:nth-child(3) { animation-delay: 400ms; }
.hero-content > *:nth-child(4) { animation-delay: 540ms; }
@keyframes heroIn {
  to { opacity: 1; transform: none; }
}
.hero-ribbon {
  opacity: 0;
  animation: heroIn 1100ms cubic-bezier(0.2, 0.8, 0.2, 1) 700ms forwards;
}

/* Parallax-ish image lift */
.service-image-wrap img { will-change: transform; }
.parallax-y { transform: translate3d(0, var(--py, 0px), 0); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-content > *, .hero-ribbon { opacity: 1; animation: none; }
}

@media print { .nav, .drawer, .drawer-overlay { display: none; } }

/* Google Places autocomplete dropdown — must sit above the request drawer (z-index 101). */
.pac-container { z-index: 100000 !important; }
