/* palette: bg=#0E120D fg=#F1EFE3 accent=#E7C24A */
/* fonts: display="Fraunces" body="Nunito Sans" mono="Space Mono" */

:root {
  --bg: #0E120D;          /* dominant near-black canvas (warm-green tint) */
  --bg-alt: #171C13;      /* alternating darker panel */
  --bg-lift: #1E241A;     /* lifted card surface */
  --fg: #F1EFE3;          /* primary warm off-white text */
  --fg-soft: #D3D1C3;     /* slightly softer fg */
  --muted: #8C9280;       /* muted sage secondary text */
  --accent: #E7C24A;      /* solarpunk warm yellow */
  --accent-deep: #C39A2C; /* darker yellow for hover */
  --leaf: #8BB44E;        /* leaf green secondary accent */
  --clay: #CB7D4E;        /* clay tertiary accent */
  --border: rgba(241, 239, 227, 0.13);
  --border-strong: rgba(241, 239, 227, 0.24);

  --serif: 'Fraunces', ui-serif, Georgia, serif;
  --sans: 'Nunito Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --maxw: 1280px;
  --pad: 32px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: #14170F; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
}
.section--alt { background: var(--bg-alt); }
.section--tight { padding: clamp(56px, 8vw, 100px) 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; }

.h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 340;
}
.h2 em { font-style: italic; color: var(--accent); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.7;
  color: var(--fg-soft);
  max-width: 60ch;
  margin: 22px 0 0;
}

.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 9999px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
  will-change: transform;
}
.btn--primary {
  background: var(--accent);
  color: #14170F;
}
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost {
  border: 1px solid var(--border-strong);
  color: var(--fg);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--fg);
  transition: gap 0.35s var(--ease), color 0.35s var(--ease);
}
.arrow-link .arw { transition: transform 0.35s var(--ease); }
.arrow-link:hover { color: var(--accent); gap: 14px; }
.arrow-link:hover .arw { transform: translateX(2px); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 18, 13, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 40px -20px rgba(0, 0, 0, 0.8);
  background: rgba(14, 18, 13, 0.9);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand { display: flex; align-items: baseline; gap: 12px; }
.brand__mark {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.brand__mark span { color: var(--accent); }
.brand__tag {
  display: none;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.nav { display: none; align-items: center; gap: 34px; }
.nav a {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}
.nav a:hover { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--accent); }

.header__cta { display: none; }

/* Hamburger */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
}
.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--fg);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg);
  padding: 96px var(--pad) 48px;
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
}
.mobile-menu[data-open="true"] { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 2rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu a span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.mobile-menu .btn { margin-top: 32px; align-self: flex-start; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0 0 clamp(48px, 8vh, 96px);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) brightness(0.62) saturate(1.05);
  animation: heroZoom 9s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(14,18,13,0.55) 0%, rgba(14,18,13,0.2) 30%, rgba(14,18,13,0.82) 100%),
    radial-gradient(120% 80% at 15% 100%, rgba(139,180,78,0.18) 0%, transparent 55%);
}
.hero__inner { width: 100%; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.hero__meta span { color: var(--fg-soft); }
.hero h1 {
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  font-weight: 340;
  max-width: 15ch;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--fg-soft);
  max-width: 46ch;
  margin: 28px 0 34px;
  line-height: 1.65;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.scroll-hint {
  position: absolute;
  left: var(--pad);
  bottom: 28px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: none;
  align-items: center;
  gap: 10px;
}
.scroll-hint::before {
  content: "";
  width: 1px; height: 34px;
  background: linear-gradient(var(--accent), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ---------- Gallery / portfolio grid (reference signature) ---------- */
.gallery__top {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 40px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  color: var(--muted);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.filter:hover { color: var(--fg); border-color: var(--border-strong); }
.filter[aria-pressed="true"] { color: #14170F; background: var(--accent); border-color: var(--accent); }

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg-lift);
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
}
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.5) brightness(0.78);
  transition: transform 0.9s var(--ease), filter 0.7s var(--ease);
}
.tile:hover img { transform: scale(1.05); filter: grayscale(0) brightness(0.9); }
.tile__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  background: linear-gradient(0deg, rgba(10,13,9,0.9) 0%, transparent 100%);
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.tile:hover .tile__cap { transform: translateY(0); opacity: 1; }
.tile__cap h3 { font-size: 1.15rem; font-style: italic; }
.tile__cap .tag {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  white-space: nowrap;
}
.tile[hidden] { display: none; }

/* ---------- Services grid ---------- */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 18px; }

.card {
  background: var(--bg-lift);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 32px;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 12px 40px -8px rgba(0, 0, 0, 0.5);
}
.card__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 26px;
  display: block;
}
.card h3 { font-size: 1.55rem; line-height: 1.12; margin-bottom: 14px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin: 0 0 20px; }
.card ul li {
  font-size: 14.5px;
  color: var(--fg-soft);
  padding: 9px 0 9px 22px;
  position: relative;
  border-top: 1px solid var(--border);
}
.card ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--leaf);
  font-family: var(--mono);
  font-size: 12px;
}

/* ---------- Manifesto ---------- */
.manifesto { background: var(--accent); color: #16190F; }
.manifesto .container { text-align: center; }
.manifesto .eyebrow { color: #55491d; }
.manifesto .eyebrow::before { background: #55491d; }
.manifesto__quote {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-weight: 340;
  max-width: 16ch;
  margin: 0 auto;
}
.manifesto__quote em { font-style: italic; }
.manifesto__mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 14vw, 11rem);
  line-height: 0.6;
  display: block;
  height: 0.5em;
  color: #16190F;
  opacity: 0.28;
}
.manifesto__by {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #55491d;
  margin-top: 40px;
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.stat { background: var(--bg-alt); padding: 34px 26px; }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.stat__num em { font-style: normal; color: var(--accent); }
.stat__label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 14px;
}

/* ---------- Process (numbered) ---------- */
.process { display: grid; grid-template-columns: 1fr; gap: 0; }
.process__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 34px 0;
  border-top: 1px solid var(--border);
}
.process__row:last-child { border-bottom: 1px solid var(--border); }
.process__idx { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; }
.process__row h3 { font-size: 1.7rem; letter-spacing: -0.01em; }
.process__row p { color: var(--muted); font-size: 15.5px; margin: 6px 0 0; max-width: 60ch; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: 1fr; gap: 18px; }
.quote {
  background: var(--bg-lift);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
}
.quote__text {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  font-weight: 340;
  margin: 0 0 26px;
}
.quote__foot { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  color: #14170F;
  flex-shrink: 0;
}
.quote__name { font-size: 15px; font-weight: 600; }
.quote__role { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.ph-note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 26px;
  opacity: 0.7;
}

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details {
  border-top: 1px solid var(--border);
  padding: 8px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  letter-spacing: -0.01em;
  transition: color 0.3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq__body { padding: 0 44px 26px 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.faq__body p { margin: 0 0 12px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; }
.cta__inner {
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: clamp(48px, 8vw, 96px) clamp(28px, 6vw, 80px);
  text-align: center;
  background:
    radial-gradient(120% 130% at 50% 0%, rgba(139,180,78,0.12) 0%, transparent 55%),
    var(--bg-alt);
}
.cta__inner h2 { font-size: clamp(2.3rem, 6vw, 4.5rem); line-height: 1.02; letter-spacing: -0.02em; font-weight: 340; max-width: 18ch; margin: 0 auto; }
.cta__inner h2 em { font-style: italic; color: var(--accent); }
.cta__inner .lead { margin: 24px auto 36px; text-align: center; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Form ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr; gap: 48px; }
.form { display: grid; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--fg);
  background: var(--bg-lift);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 16px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg);
}
.field textarea { resize: vertical; min-height: 130px; }
.field--row { display: grid; grid-template-columns: 1fr; gap: 20px; }
.form .btn { justify-content: center; margin-top: 6px; }
.form__consent { font-size: 13px; color: var(--muted); line-height: 1.55; }
.form__consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.contact-aside { display: grid; gap: 30px; align-content: start; }
.contact-block h3 { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 10px; }
.contact-block p { margin: 0; color: var(--fg-soft); font-size: 16px; line-height: 1.6; }
.contact-block a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: #0A0D08; border-top: 1px solid var(--border); padding: clamp(64px, 9vw, 120px) 0 40px; }
.footer__brand-mark {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 12vw, 9rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  font-weight: 340;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.footer__brand-mark span { color: var(--accent); }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer__col h4 { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 18px; }
.footer__col ul li { margin-bottom: 12px; }
.footer__col a { color: var(--fg-soft); font-size: 15px; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__col p { color: var(--fg-soft); font-size: 15px; margin: 0 0 12px; line-height: 1.6; }
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 30px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}
.footer__bottom a:hover { color: var(--accent); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: clamp(120px, 18vw, 200px) 0 clamp(56px, 8vw, 100px);
  position: relative;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 340;
  max-width: 16ch;
}
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero .lead { margin-top: 26px; }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 48px 0 16px; letter-spacing: -0.01em; }
.prose h3 { font-size: 1.25rem; margin: 30px 0 10px; }
.prose p { color: var(--fg-soft); margin: 0 0 16px; font-size: 16.5px; }
.prose ul { margin: 0 0 16px; padding-left: 20px; list-style: disc; }
.prose ul li { color: var(--fg-soft); margin-bottom: 8px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--fg); }
.prose__meta { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.06em; margin-bottom: 40px; }

/* ---------- Thanks page ---------- */
.thanks { min-height: 78vh; display: grid; place-items: center; text-align: center; padding: 120px var(--pad) 80px; }
.thanks__inner { max-width: 640px; }
.thanks h1 { font-size: clamp(2.6rem, 8vw, 5.5rem); line-height: 1; letter-spacing: -0.03em; font-weight: 340; }
.thanks h1 em { font-style: italic; color: var(--accent); }
.thanks p { color: var(--fg-soft); margin: 24px 0 34px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Cookie popup ---------- */
.cookie-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; padding: 24px; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg-alt); border: 1px solid var(--border); padding: 32px 36px; max-width: 480px; border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7); }
.cookie-popup__label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--accent); margin-bottom: 12px; }
.cookie-popup__card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.cookie-popup__card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }
.cookie-popup__card p a { color: var(--accent); text-decoration: underline; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 12px 24px; border: 1px solid var(--border-strong); border-radius: 9999px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.cookie-popup__actions button:hover { border-color: var(--accent); }
.cookie-popup__actions button:last-child { background: var(--accent); color: #14170F; border-color: var(--accent); }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .field--row { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 768px) {
  :root { --pad: 40px; }
  .brand__tag { display: block; }
  .scroll-hint { display: flex; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .process__row { grid-template-columns: 180px 1fr; gap: 32px; align-items: baseline; }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
  .form-wrap { grid-template-columns: 1.4fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .tile--wide { grid-column: span 2; aspect-ratio: 16 / 10; }
  .tile--tall { grid-row: span 2; aspect-ratio: auto; }
  .form-wrap { gap: 80px; }
}
