:root {
  --bg: #f6f2ea;
  --surface: #ffffff;
  --ink: #14110f;
  --muted: #6b645b;
  --line: #e2dccf;
  --accent: #1f5c3a;
  --accent-ink: #ffffff;
  --serif: "Instrument Serif",Georgia,"Times New Roman",serif;
  --sans: "Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top,0px);
  padding-bottom: env(safe-area-inset-bottom,0px);
}

@media (prefers-color-scheme:dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0b0a;
    --surface: #171412;
    --ink: #f6f2ea;
    --muted: #a39b8f;
    --line: #2a2522;
    --accent: #4ea872;
    --accent-ink: #0d0b0a;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0d0b0a;
  --surface: #171412;
  --ink: #f6f2ea;
  --muted: #a39b8f;
  --line: #2a2522;
  --accent: #4ea872;
  --accent-ink: #0d0b0a;
  color-scheme: dark;
}

html {
  scroll-padding-top: calc(env(safe-area-inset-top,0px) + 70px);
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top,0px);
  background: var(--bg);
  z-index: 60;
}

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

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  position: sticky;
  top: env(safe-area-inset-top,0px);
  z-index: 50;
  background: color-mix(in srgb,var(--bg) 88%,transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: -.01em;
}

.logo i {
  color: var(--accent);
  font-style: normal;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 999px;
  transition: transform .2s,box-shadow .2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px var(--accent);
}

.nav-links .btn:hover,.nav-links .btn {
  color: var(--accent-ink);
}

.btn.sm {
  padding: 10px 18px;
  font-size: 14px;
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn.ghost:hover {
  box-shadow: none;
  border-color: var(--ink);
}

.hero {
  padding: 96px 0 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb,var(--accent) 25%,transparent);
}

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px,9vw,112px);
  line-height: .98;
  letter-spacing: -.025em;
  margin: 28px 0 24px;
  max-width: 15ch;
}

h1 em {
  color: var(--accent);
  font-style: italic;
}

.lead {
  font-size: clamp(17px,2.2vw,21px);
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 36px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.fine {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
}

.stats {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.stats .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 0;
}

.stat {
  padding: 40px 24px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px,6vw,76px);
  line-height: 1;
  letter-spacing: -.02em;
}

.stat b span {
  color: var(--accent);
}

.stat small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

section {
  padding: 96px 0;
}

.kicker {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px,5.5vw,64px);
  line-height: 1.04;
  letter-spacing: -.02em;
  margin: 14px 0 18px;
  max-width: 18ch;
}

.sub {
  color: var(--muted);
  max-width: 56ch;
  font-size: 18px;
  margin: 0 0 48px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
  transition: transform .25s,border-color .25s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.card .n {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--accent);
}

.card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  margin: 14px 0 10px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(240px,1fr));
  gap: 16px;
}

.shot {
  position: relative;
  margin: 0;
  aspect-ratio: 4/5;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg,#14382a,#1f5c3a);
}

.shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.shot:hover img {
  transform: scale(1.04);
}

.shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 16px 14px;
  font-size: 13px;
  color: #fff;
  background: linear-gradient(transparent,rgba(0,0,0,.7));
}

.gal-cta {
  margin-top: 36px;
  text-align: center;
}

.steps {
  counter-reset: s;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.step::before {
  counter-increment: s;
  content: "0" counter(s);
  font-family: var(--serif);
  font-size: 40px;
  color: var(--accent);
  line-height: 1;
}

.step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  margin: 0 0 6px;
}

.step p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

.final {
  background: #14382a;
  color: #f6f2ea;
  border-radius: 32px;
  padding: 72px 32px;
  text-align: center;
  margin-bottom: 96px;
}

.final h2 {
  margin: 14px auto 18px;
  max-width: 16ch;
  color: #f6f2ea;
}

.final p {
  color: rgba(246,242,234,.75);
  max-width: 48ch;
  margin: 0 auto 32px;
  font-size: 18px;
}

.final .kicker {
  color: #8fd1a8;
}

.final .btn {
  background: #f6f2ea;
  color: #14382a;
}

.list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: center;
  margin-top: 28px;
  font-size: 14px;
  color: rgba(246,242,234,.75);
}

footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  color: var(--muted);
  font-size: 14px;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}

footer .links {
  display: flex;
  gap: 20px;
}

footer a:hover {
  color: var(--ink);
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease,transform .7s ease;
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width:720px) {
  .nav-links a.hide {
    display: none;
  }
  .hero {
    padding: 64px 0 48px;
  }
  section {
    padding: 64px 0;
  }
  .stat {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }
  .stat:first-child {
    border-top: 0;
  }
  .step {
    grid-template-columns: 52px 1fr;
  }
  .step::before {
    font-size: 32px;
  }
  .final {
    padding: 56px 22px;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    transition: none;
  }
}

/* Hide host-injected badge */
#nl-badge-frame { display: none !important; }
