/* Adame Tree Services — v3 "cinematic" build. Classic CSS, no build step.
   Palette: deep charcoal / cream, accents sampled from the Adame logo (sunburst orange, lettering green). Spacing on an 8px grid. */
:root {
  --char: #121110;
  --char-2: #1a1816;
  --char-3: #0c0b0a;
  --cream: #f3ede2;
  --cream-2: #ebe3d4;
  --ink-dark: #1a1714;
  --ember: #f65a00;      /* logo sunburst core orange — primary accent */
  --ember-soft: #fc8400; /* logo sunburst amber highlight — hover / text accent on dark */
  --ember-deep: #a83305; /* logo red-orange, deepened for text on cream (5.7:1) */
  --leaf: #9fbf3c;       /* logo lettering highlight green — secondary on dark */
  --leaf-deep: #4e6600;  /* logo lettering base green — secondary on cream (5.6:1) */
  --on-accent: #17130b;  /* text on orange buttons (5.6:1) */
  --muted: rgba(243, 237, 226, .64);
  --faint: rgba(243, 237, 226, .4);
  --line: rgba(243, 237, 226, .12);
  --line-strong: rgba(243, 237, 226, .28);
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(24px, 5vw, 80px);
  --pad-x: max(var(--gutter), calc((100vw - 1280px) / 2));
  --header-h: 80px;
}
@media (max-width: 899px) { :root { --header-h: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--char); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--char); color: var(--cream);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { list-style: none; margin: 0; padding: 0; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  background: var(--ember); color: var(--on-accent); padding: 8px 16px; border-radius: 999px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ---------- type ---------- */
.eyebrow, .label, .beat__num, .info__k, .work__tag {
  font: 500 12px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase;
}
.eyebrow { color: var(--ember-soft); }
.label { display: flex; align-items: center; gap: 16px; color: var(--muted); margin-bottom: 24px; }
.label span { color: var(--ember); font-variant-numeric: tabular-nums; }
.label span::after { content: ''; display: inline-block; width: 32px; height: 1px; background: currentColor; opacity: .6; vertical-align: middle; margin-left: 16px; }
.display {
  font-family: var(--serif); font-weight: 350; font-variation-settings: 'opsz' 144;
  font-size: clamp(48px, 7.2vw, 112px); line-height: .98; letter-spacing: -.025em;
}
.display em, .h2 em, .beat__title em, .fact__big em { font-weight: 300; color: var(--leaf); }
.display .line { display: block; }
.display--sm { font-size: clamp(44px, 6vw, 88px); }
.h2 {
  font-family: var(--serif); font-weight: 400; font-variation-settings: 'opsz' 96;
  font-size: clamp(36px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -.02em; max-width: 18ch;
}
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--muted); max-width: 40ch; }
.body { color: var(--muted); max-width: 52ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font: 500 15px/1 var(--sans); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--ember); color: var(--on-accent); }
.btn--gold:hover { background: var(--ember-soft); }
.btn--ghost { border-color: var(--line-strong); color: var(--cream); background: rgba(18, 17, 16, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--cream); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { height: 56px; padding: 0 32px; font-size: 16px; }
.ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; gap: 32px; padding: 0 var(--gutter);
  background: linear-gradient(180deg, rgba(12, 11, 10, .55), rgba(12, 11, 10, 0));
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-solid { background: rgba(14, 13, 12, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; text-decoration: none; flex: none; }
.brand__plate {
  display: inline-flex; align-items: center; background: #fff; border-radius: 10px; padding: 4px 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}
.brand__logo { height: 56px; width: auto; }
.site-nav { display: flex; gap: 32px; margin-left: auto; }
.site-nav a {
  position: relative; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .3s var(--ease); padding: 8px 0;
}
.site-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--ember); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.site-nav a:hover { color: var(--cream); }
.site-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; gap: 8px; }
@media (max-width: 1099px) { .site-nav { display: none; } .header-actions { margin-left: auto; } }
@media (max-width: 899px) {
  .brand__logo { height: 44px; }
  .brand__plate { padding: 3px 8px; border-radius: 8px; }
  .header-call { display: none; }
}

/* ======================= FILM ======================= */
.film { position: relative; }
.film__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; z-index: 0; background: #0b0a09; }
.film__cam { position: absolute; inset: 0; transform-origin: 56% 52%; will-change: transform; }
.frame { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
.frame.is-on { opacity: 1; }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.tall .frame img { object-position: 50% 50%; }
.film__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 9, 8, .78) 0%, rgba(10, 9, 8, .45) 34%, rgba(10, 9, 8, 0) 62%),
    linear-gradient(0deg, rgba(10, 9, 8, .55) 0%, rgba(10, 9, 8, 0) 32%);
}
.film__scrim::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 34%;
  background: linear-gradient(270deg, rgba(10, 9, 8, .62), rgba(10, 9, 8, 0));
}
/* Phone: picture sits in the upper part of the screen and fades into charcoal,
   so the type has its own quiet space below instead of sitting on the action. */
.tall .film__stage { background: var(--char); }
.tall .film__cam { bottom: auto; height: 70%; transform-origin: 50% 72%; }
.tall .frame img { object-position: 50% 74%; }
.tall .film__scrim {
  background: linear-gradient(0deg, var(--char) 0%, var(--char) 30%, rgba(18, 17, 16, .7) 40%, rgba(18, 17, 16, 0) 56%),
              linear-gradient(180deg, rgba(10, 9, 8, .5) 0%, rgba(10, 9, 8, 0) 16%);
}
.tall .film__scrim::after { display: none; }
.tall .film__vignette { background: radial-gradient(120% 70% at 50% 35%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .5) 100%); }
.film__vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 55% 45%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .55) 100%); }
.film__grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%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 1.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); }
}

/* HUD */
.film__hud { opacity: 0; transition: opacity .6s var(--ease); }
.film__hud.is-on { opacity: 1; }
.hud__steps { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; gap: 16px; }
.hud__steps li {
  text-shadow: 0 1px 12px rgba(0, 0, 0, .6);
  display: flex; align-items: center; justify-content: flex-end; gap: 16px;
  font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--faint);
  transition: color .5s var(--ease);
}
.hud__steps li span { font-variant-numeric: tabular-nums; }
.hud__steps li::after { content: ''; width: 16px; height: 1px; background: currentColor; transition: width .5s var(--ease); }
.hud__steps li.is-done { color: var(--muted); }
.hud__steps li.is-active { color: var(--ember-soft); }
.hud__steps li.is-active::after { width: 40px; }
.hud__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(243, 237, 226, .1); }
.hud__bar i { display: block; height: 100%; background: var(--ember); transform-origin: left; transform: scaleX(0); }
.hud__meta { position: absolute; right: var(--gutter); bottom: 32px; font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
@media (max-width: 899px) {
  .hud__steps, .hud__meta { display: none; }
  .hud__bar { top: var(--header-h); bottom: auto; }
}

/* Track (text beats scroll over the pinned stage) */
.film__track { position: relative; z-index: 2; margin-top: -100vh; margin-top: -100svh; }
.beat { position: relative; min-height: 115vh; display: flex; align-items: center; padding: var(--header-h) var(--pad-x) 0; }
.beat--intro { min-height: 100vh; min-height: 100svh; padding-bottom: 64px; }
.beat--last { min-height: 135vh; }
.beat__copy { position: relative; max-width: 640px; will-change: opacity, transform; }
.beat__still { display: none; }
.beat__num { color: var(--ember-soft); margin-bottom: 16px; }
.beat__num span { color: var(--faint); }
.beat__title {
  font-family: var(--serif); font-weight: 300; font-variation-settings: 'opsz' 144;
  font-size: clamp(80px, 12vw, 192px); line-height: .92; letter-spacing: -.035em;
  overflow: hidden; padding-bottom: .06em;
}
.beat__title em { display: inline-block; padding-right: .08em; }
.beat__line { margin-top: 24px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: rgba(243, 237, 226, .86); max-width: 30ch; }
.beat--intro .lead { margin-top: 32px; color: rgba(243, 237, 226, .82); }
.beat--intro .eyebrow { margin-bottom: 32px; }
.cue {
  position: absolute; left: var(--pad-x); bottom: 40px; display: flex; align-items: center; gap: 16px;
  font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--faint);
}
.cue__line { width: 48px; height: 1px; background: var(--line-strong); position: relative; overflow: hidden; }
.cue__line::after { content: ''; position: absolute; inset: 0; background: var(--ember); transform: translateX(-100%); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

@media (max-width: 899px) {
  .beat, .beat--last { min-height: 100vh; min-height: 100svh; align-items: flex-end; padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .beat--intro { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
  .beat__title { font-size: clamp(72px, 22vw, 112px); }
  .beat__line { font-size: 17px; margin-top: 16px; }
  .beat--intro .eyebrow { margin-bottom: 16px; }
  .beat--intro .lead { margin-top: 16px; font-size: 17px; }
  .display { font-size: clamp(44px, 12.4vw, 64px); }
  .ctas { margin-top: 24px; gap: 8px; }
  .ctas .btn { flex: 1 1 auto; }
  .cue { display: none; }
  .hide-sm { display: none; }
}

/* Motion states (only when main.js is running and motion is allowed) */
.anim .beat [data-rise] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.anim .beat .beat__title[data-rise] { opacity: 1; transform: none; }
.anim .beat .beat__title em { transform: translateY(105%); transition: transform 1.2s var(--ease); }
.anim .beat.is-in [data-rise] { opacity: 1; transform: none; }
.anim .beat.is-in .beat__title em { transform: none; }
.anim .beat.is-in [data-rise]:nth-child(2) { transition-delay: .08s; }
.anim .beat.is-in [data-rise]:nth-child(3) { transition-delay: .18s; }
.anim .beat.is-in [data-rise]:nth-child(4) { transition-delay: .28s; }
.anim .beat.is-in .line:nth-child(2) { transition-delay: .14s; }

/* Static mode: no JS or reduced motion — each step is its own still frame */
html:not(.js) .film__stage, .rm .film__stage { display: none; }
html:not(.js) .film__track, .rm .film__track { margin-top: 0; }
html:not(.js) .beat, .rm .beat { min-height: 92vh; overflow: hidden; }
html:not(.js) .beat__still, .rm .beat__still {
  display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; z-index: -1;
}
html:not(.js) .beat::before, .rm .beat::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10, 9, 8, .8), rgba(10, 9, 8, .2) 70%), linear-gradient(0deg, rgba(10, 9, 8, .6), rgba(10, 9, 8, 0) 40%);
}
html:not(.js) .film__track, .rm .film__track { isolation: isolate; }
@media (max-width: 899px) {
  html:not(.js) .beat::before, .rm .beat::before { background: linear-gradient(0deg, rgba(10, 9, 8, .9) 10%, rgba(10, 9, 8, .1) 70%); }
  .rm .beat__still { object-position: 50% 50%; }
}

/* ======================= FACTS ======================= */
.facts { position: relative; z-index: 3; background: var(--char); padding: 0 var(--pad-x); }
.facts__list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 40px 32px; display: grid; gap: 8px; align-content: start; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact:first-child { padding-left: 0; }
.fact__big { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; letter-spacing: -.015em; }
.fact__small { font-size: 14px; color: var(--muted); line-height: 1.5; }
@media (max-width: 899px) {
  .facts__list { grid-template-columns: 1fr 1fr; }
  .fact { padding: 32px 16px; }
  .fact:nth-child(odd) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ======================= SECTIONS ======================= */
.section { position: relative; z-index: 3; background: var(--char); padding: clamp(96px, 12vw, 160px) var(--pad-x); }
.section__head { margin-bottom: clamp(48px, 6vw, 80px); }
.section__head--split { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
@media (max-width: 899px) { .section__head--split { grid-template-columns: 1fr; gap: 24px; } }

/* services */
.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.1fr) auto; gap: 32px; align-items: baseline;
  padding: 40px 0; border-bottom: 1px solid var(--line); transition: background-color .4s var(--ease);
}
.svc__n { font: 500 13px/1 var(--sans); letter-spacing: .2em; color: var(--ember); font-variant-numeric: tabular-nums; }
.svc__t { font-family: var(--serif); font-size: clamp(28px, 2.8vw, 40px); line-height: 1.1; letter-spacing: -.015em; transition: transform .5s var(--ease), color .5s var(--ease); }
.svc__d { color: var(--muted); max-width: 40ch; }
.svc__a { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--cream); white-space: nowrap; border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; transition: color .3s, border-color .3s; }
.svc:hover .svc__t { transform: translateX(8px); color: var(--ember-soft); }
.svc__a:hover { color: var(--ember-soft); border-color: var(--ember); }
@media (max-width: 899px) {
  .svc { grid-template-columns: 48px 1fr; gap: 8px 16px; padding: 32px 0; }
  .svc__d, .svc__a { grid-column: 2; }
  .svc__a { justify-self: start; margin-top: 8px; }
}

/* recent work (light) */
.light { background: var(--cream); color: var(--ink-dark); }
.light .label { color: rgba(26, 23, 20, .6); }
.light .label span { color: var(--ember-deep); }
.light .h2 em { color: var(--leaf-deep); }
.light .lead { color: rgba(26, 23, 20, .66); }
.work-grid { column-count: 3; column-gap: 24px; }
.work { break-inside: avoid; margin-bottom: 40px; }
.work figure { margin: 0; }
.work__link { display: block; overflow: hidden; border-radius: 4px; background: var(--cream-2); }
.work__link img { width: 100%; transition: transform 1.1s var(--ease); }
.work__link:hover img { transform: scale(1.03); }
.work figcaption { display: grid; gap: 4px; padding-top: 16px; }
.work__tag { color: var(--ember-deep); font-size: 11px; }
.work__title { font-family: var(--serif); font-size: 22px; line-height: 1.2; }
@media (max-width: 1023px) { .work-grid { column-count: 2; } }
@media (max-width: 639px) { .work-grid { column-count: 1; } .work { margin-bottom: 32px; } }

/* about */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.about__media { overflow: hidden; border-radius: 4px; }
.about__media img { width: 100%; max-height: 680px; object-fit: cover; }
.about__copy .lead { margin-top: 32px; color: var(--cream); }
.about__copy .body { margin-top: 16px; }
.ticks { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; max-width: 520px; }
.ticks li { display: flex; align-items: center; gap: 16px; font-size: 15px; padding-top: 16px; border-top: 1px solid var(--line); }
.ticks li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); flex: none; }
@media (max-width: 899px) {
  .about { grid-template-columns: 1fr; }
  .about__media img { max-height: 440px; }
  .ticks { grid-template-columns: 1fr; }
}

/* area */
.area { background: var(--char-2); }
.area__list { border-top: 1px solid var(--line); }
.area__list li {
  display: flex; align-items: baseline; gap: 32px; padding: 24px 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(32px, 4.4vw, 64px); line-height: 1.1; letter-spacing: -.02em;
  transition: color .4s var(--ease), padding-left .5s var(--ease);
}
.area__list li span { font: 500 13px/1 var(--sans); letter-spacing: .2em; color: var(--leaf); min-width: 32px; }
.area__list li:hover { color: var(--ember-soft); padding-left: 8px; }

/* estimate */
.estimate { position: relative; z-index: 3; overflow: hidden; padding: clamp(112px, 14vw, 192px) var(--pad-x); background: var(--char); isolation: isolate; }
.estimate__bg { position: absolute; inset: 0; z-index: -1; }
.estimate__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.estimate__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 11, 10, .92) 0%, rgba(12, 11, 10, .74) 55%, rgba(12, 11, 10, .5) 100%); }
.estimate__inner { max-width: 960px; }
.estimate .lead { margin-top: 32px; color: rgba(243, 237, 226, .82); }
.estimate__alt { margin-top: 24px; color: var(--muted); font-size: 15px; }
.estimate__alt a { color: var(--cream); text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.estimate__grid { margin-top: 80px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.info { padding: 32px 32px 0 0; }
.info + .info { padding-left: 32px; border-left: 1px solid var(--line); }
.info__k { color: var(--ember-soft); margin-bottom: 16px; }
.info__v { font-style: normal; font-size: 17px; line-height: 1.6; }
.info__v a { text-decoration: none; border-bottom: 1px solid var(--line-strong); transition: color .3s, border-color .3s; }
.info__v a:hover, .info__link:hover { color: var(--ember-soft); border-color: var(--ember); }
.info__link { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--muted); border-bottom: 1px solid transparent; }
@media (max-width: 899px) {
  .estimate__bg::after { background: rgba(12, 11, 10, .82); }
  .estimate__grid { grid-template-columns: 1fr; margin-top: 56px; }
  .info, .info + .info { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* footer */
.site-footer { position: relative; z-index: 3; background: var(--char-3); padding: 80px var(--pad-x) 40px; color: var(--muted); font-size: 15px; }
.footer__top { display: grid; grid-template-columns: auto 1fr auto; gap: 56px; align-items: start; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.brand__plate--lg img { height: 72px; width: auto; }
.footer__name { font-family: var(--serif); font-size: 24px; color: var(--cream); margin-bottom: 8px; }
.footer__nap p + p { margin-top: 4px; }
.footer__nap a, .footer__links a { text-decoration: none; transition: color .3s; }
.footer__nap a:hover, .footer__links a:hover { color: var(--ember-soft); }
.footer__links { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 40px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 32px; font-size: 13px; color: var(--faint); }
.credit a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); transition: color .3s, border-color .3s; }
.credit a:hover { color: var(--ember-soft); border-color: var(--ember); }
@media (max-width: 899px) {
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
}

/* mobile call/text bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
  background: rgba(14, 13, 12, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
}
.mobile-bar__btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 999px; font: 600 15px/1 var(--sans); text-decoration: none; }
.mobile-bar__btn--call { background: var(--ember); color: var(--on-accent); }
.mobile-bar__btn--text { border: 1px solid var(--line-strong); color: var(--cream); }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* section reveals */
.anim [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.anim [data-reveal].is-in { opacity: 1; transform: none; }

/* lightbox */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: rgba(8, 7, 6, .96); color: var(--cream); overscroll-behavior: contain;
}
.lightbox[open] { display: grid; place-items: center; animation: lbIn .35s var(--ease); }
.lightbox::backdrop { background: rgba(8, 7, 6, .85); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: 16px; padding: 56px 16px calc(24px + env(safe-area-inset-bottom)); }
.lightbox__img { max-width: min(94vw, 1600px); max-height: calc(100dvh - 144px); width: auto; height: auto; object-fit: contain; border-radius: 4px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox__cap { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; color: var(--muted); text-align: center; }
.lightbox__btn {
  position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: rgba(12, 11, 10, .6); color: var(--cream); font: 300 28px/1 var(--sans); cursor: pointer; display: grid; place-items: center;
  transition: background-color .3s, color .3s, border-color .3s;
}
.lightbox__btn:hover { background: var(--ember); color: var(--on-accent); border-color: var(--ember); }
.lightbox__close { top: calc(16px + env(safe-area-inset-top)); right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 699px) { .lightbox__prev, .lightbox__next { top: auto; bottom: calc(16px + env(safe-area-inset-bottom)); transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .film__grain { display: none; }
}
