/* ==========================================================================
   SkyLights collaborations — v3
   Same DNA (see SKYLIGHTS-DESIGN-BLUEPRINT.md), but light behaves like light:
   a real beam + dust motes in the hero, a cursor "lantern" on dark sections,
   a scroll-fed beam that ignites each process step, editorial type scale,
   drifting topic marquee, film grain on photo bands.
   ========================================================================== */

:root {
  /* surfaces */
  --paper:    #f4f3ef;
  --paper-2:  #eceae4;
  --panel:    #ffffff;
  --ink:      #17150f;
  --ink-2:    #2a2820;
  --night:    #0f0e0a;          /* deeper ink so the light reads brighter */
  --muted:    #6c675d;
  --cream:    #f4f3ef;

  /* lines & elevation */
  --line:     rgba(23, 21, 15, 0.14);
  --line-2:   rgba(23, 21, 15, 0.08);
  --line-light: rgba(244, 243, 239, 0.28);
  --shadow:   0 30px 60px -38px rgba(23, 21, 15, 0.42);
  --radius:   3px;

  /* accents */
  --sun:        #e0a24a;
  --sun-soft:   #f0d9b0;
  --sky:        #3f83a3;
  --sky-strong: #35708a;
  --sky-soft:   #e6eef2;

  /* layout */
  --maxw: 1120px;
  --section-pad: clamp(80px, 11vw, 130px);

  /* type */
  --sans:  'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --body:  'Lora', Georgia, 'Times New Roman', serif;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset & base ---------- */

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

html { scroll-behavior: smooth; }
html.no-scroll { overflow: hidden; }

::selection { background: var(--sun); color: var(--ink); }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

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

h1 em, h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--sun);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--sky-strong); }

:focus-visible {
  outline: 2px solid var(--sky-strong);
  outline-offset: 3px;
  border-radius: 2px;
}

section { scroll-margin-top: 84px; }

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.wrap--narrow { max-width: 800px; }
.measure { max-width: 46em; margin-inline: auto; }
.center { text-align: center; }

.skip {
  position: absolute;
  top: -48px; left: 16px;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-size: 0.85rem;
  padding: 10px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: top 0.2s;
}
.skip:focus { top: 12px; }

/* ---------- shared type roles ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
/* the skylight mark from the logo, carried through every section label */
.eyebrow::before {
  content: "";
  width: 14px;
  height: 9px;
  clip-path: polygon(28% 0, 100% 0, 72% 100%, 0 100%);
  background: currentColor;
}
.eyebrow--sun { color: var(--sun); }
.eyebrow--sky { color: var(--sky-strong); }

.microlabel {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.75;
  margin: 22px 0 10px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 15px 34px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  /* transform is owned by Motion's hover/press springs */
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
  touch-action: manipulation;
}

.btn--dark {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.btn--dark:hover { background: var(--ink-2); }

.btn--light {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}
.btn--light:hover {
  background: #ffffff;
  box-shadow: 0 0 34px rgba(240, 217, 176, 0.35);   /* buttons glow on dark */
}

.btn--ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #ffffff; }

.btn--big { padding: 18px 44px; font-size: 0.95rem; }

.btn__arrow {
  display: inline-block;
  margin-left: 10px;
  transition: transform 0.25s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(5px); }

/* ---------- intro curtain: the skylight opens ---------- */

.curtain {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--night);
  display: grid;
  place-items: center;
}
.curtain__inner { display: grid; justify-items: center; gap: 18px; }
.curtain__inner img { width: 150px; height: auto; }
.curtain__beam {
  width: 150px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sun), transparent);
  transform: scaleX(0);
}

/* ---------- reading progress: a line of light ---------- */

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 60;
  background: linear-gradient(90deg, var(--sun), var(--sun-soft));
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

/* ---------- word-cascade headings ---------- */

.w { display: inline-block; }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 243, 239, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.nav--scrolled { box-shadow: 0 12px 32px -20px rgba(23, 21, 15, 0.3); }

.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav__brand img { width: 34px; height: 34px; border-radius: 8px; }

.nav__name {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.nav__wordmark {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  border-left: 1px solid var(--line);
  padding-left: 14px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
}

.nav__links a {
  position: relative;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s, color 0.18s;
  touch-action: manipulation;
}
/* extend the hit area to ≥44px without moving the underline */
.nav__links a::after {
  content: "";
  position: absolute;
  inset: -10px -6px;
}
.nav__links a:hover,
.nav__links a[aria-current] { color: var(--ink); border-bottom-color: var(--sun); }

.nav__links .nav__cta {
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 12px 18px;
  transition: background 0.18s, color 0.18s;
}
.nav__links .nav__cta::after { inset: -4px 0; }
.nav__links .nav__cta:hover,
.nav__links .nav__cta[aria-current] {
  background: var(--ink);
  color: var(--cream);
  border-bottom-color: var(--ink);
}

/* ---------- photo bands (shared) ---------- */

.band,
.hero,
.cta {
  position: relative;
  overflow: hidden;
  background: var(--night);
}

/* ---------- the plate system ----------
   After the hero, every photograph is mounted: a framed dark plate
   floating in light space. No two image edges ever touch. */

.plate {
  position: relative;
  overflow: hidden;
  max-width: min(1360px, calc(100% - clamp(32px, 7vw, 120px)));
  margin-inline: auto;
  border-radius: var(--radius);
  background: var(--night);
  box-shadow: var(--shadow);
}

.cta-wrap {
  background: var(--paper);
  padding-block: clamp(56px, 8vw, 96px);
}

.how > .plate { margin-block: clamp(56px, 8vw, 96px) 0; }
.services > .plate { margin-block: 0; padding-block: 0; }
.services { padding-top: clamp(56px, 8vw, 96px); background: var(--paper); }

.band__media {
  position: absolute;
  inset: -12% 0;               /* headroom for parallax travel */
  z-index: 0;
}

.band__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.band__scrim,
.hero__scrim,
.cta__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.band__scrim {
  background: linear-gradient(rgba(15,14,10,0.42) 0%, rgba(15,14,10,0.5) 45%, rgba(15,14,10,0.72) 100%);
}

.band__inner {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--cream);
  padding-block: clamp(96px, 14vw, 170px);
}

.band__title {
  font-size: clamp(3rem, 8.4vw, 5.6rem);
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: 0.35em;
}

.band__title--sm {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  max-width: 17em;
  margin-inline: auto;
}

/* ---------- film grain on dark photo sections ---------- */

.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- the lantern: cursor-following light on dark sections ---------- */

@media (hover: hover) and (pointer: fine) {
  .lit::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(
      480px circle at var(--mx, 50%) var(--my, 35%),
      rgba(240, 217, 176, 0.17),
      rgba(240, 217, 176, 0.05) 45%,
      transparent 70%
    );
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.5s var(--ease);
  }
  .lit:hover::before { opacity: 1; }
}

/* ---------- hero ---------- */

.hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--cream);
}

/* slow settle on load (scale lives on the media wrapper so it can't
   fight the parallax translate on the img) */
.hero .band__media { animation: hero-zoom 2.6s var(--ease) both; }
@keyframes hero-zoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

.hero__scrim {
  background:
    linear-gradient(112deg, rgba(15,14,10,0.72) 20%, rgba(15,14,10,0.3) 58%, rgba(15,14,10,0.55) 100%),
    linear-gradient(rgba(15,14,10,0.18) 0%, rgba(15,14,10,0.34) 55%, rgba(15,14,10,0.94) 100%);
}

/* the beam — light pouring from the skylight, cut as a parallelogram
   like the logo mark, softened with blur */
.hero__beam {
  position: absolute;
  inset: -8% -4%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    168deg,
    rgba(244, 243, 239, 0.42) 0%,
    rgba(240, 217, 176, 0.2) 34%,
    rgba(240, 217, 176, 0.05) 62%,
    transparent 78%
  );
  clip-path: polygon(56% 0, 88% 0, 74% 100%, 22% 100%);
  filter: blur(38px);
  mix-blend-mode: screen;
  animation: beam-breathe 9s ease-in-out infinite alternate;
}

@keyframes beam-breathe {
  from { opacity: 0.66; }
  to   { opacity: 1; }
}

/* dust motes drifting in the beam */
.hero__motes { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero__motes i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(244, 240, 226, 0.85);
  box-shadow: 0 0 6px 1px rgba(240, 217, 176, 0.5);
  opacity: 0;
  animation: mote-drift var(--dur, 12s) linear var(--delay, 0s) infinite;
  left: var(--x, 50%);
  top: var(--y, 30%);
  transform: scale(var(--s, 1));
}

.hero__motes i:nth-child(1)  { --x: 46%; --y: 12%; --dur: 13s; --delay: 0s;    --s: 0.7; }
.hero__motes i:nth-child(2)  { --x: 55%; --y: 26%; --dur: 16s; --delay: -4s;   --s: 1; }
.hero__motes i:nth-child(3)  { --x: 63%; --y: 9%;  --dur: 12s; --delay: -8s;   --s: 0.55; }
.hero__motes i:nth-child(4)  { --x: 51%; --y: 44%; --dur: 18s; --delay: -2s;   --s: 0.8; }
.hero__motes i:nth-child(5)  { --x: 70%; --y: 20%; --dur: 15s; --delay: -10s;  --s: 0.65; }
.hero__motes i:nth-child(6)  { --x: 42%; --y: 58%; --dur: 20s; --delay: -6s;   --s: 1.1; }
.hero__motes i:nth-child(7)  { --x: 59%; --y: 66%; --dur: 14s; --delay: -12s;  --s: 0.6; }
.hero__motes i:nth-child(8)  { --x: 66%; --y: 40%; --dur: 17s; --delay: -3s;   --s: 0.9; }
.hero__motes i:nth-child(9)  { --x: 48%; --y: 30%; --dur: 19s; --delay: -14s;  --s: 0.5; }
.hero__motes i:nth-child(10) { --x: 74%; --y: 55%; --dur: 16s; --delay: -7s;   --s: 0.75; }
.hero__motes i:nth-child(11) { --x: 38%; --y: 22%; --dur: 21s; --delay: -11s;  --s: 0.6; }
.hero__motes i:nth-child(12) { --x: 57%; --y: 80%; --dur: 15s; --delay: -9s;   --s: 0.85; }

@keyframes mote-drift {
  0%   { transform: translate(0, 0) scale(var(--s, 1)); opacity: 0; }
  8%   { opacity: 0.9; }
  60%  { opacity: 0.55; }
  100% { transform: translate(-46px, 90px) scale(var(--s, 1)); opacity: 0; }
}

.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-block: clamp(120px, 16vw, 180px) clamp(40px, 5vw, 60px);
}

.hero__content .eyebrow { margin-bottom: 26px; }

.hero__title {
  font-size: clamp(2.9rem, 8.6vw, 6.4rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-bottom: 30px;
  max-width: 10.5em;
}

/* masked line reveal on load — transforms driven by Motion in script.js */
.h-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.h-line > span { display: inline-block; }

.hero__lede {
  max-width: 33em;
  font-size: 1.08rem;
  color: rgba(244, 243, 239, 0.9);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.hero__cue { display: inline-flex; align-items: center; gap: 8px; }
.hero__cue::after {
  content: "↓";
  animation: cue-bob 1.9s ease-in-out infinite;
}
@keyframes cue-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

.hero__baseline {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding-block: 22px;
  border-top: 1px solid rgba(244, 243, 239, 0.22);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 243, 239, 0.66);
}

/* ---------- idea: what is a skylight? ----------
   A dark room that brightens as you scroll — the section demonstrates
   its own subject. The veil's opacity is scroll-driven in script.js. */

.idea {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--cream);
}

.idea__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--night);
  opacity: 0.86;
  will-change: opacity;
}

.idea__inner {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 820px;
  padding-block: clamp(110px, 15vw, 180px);
}

.idea__inner h2 {
  font-size: clamp(2.4rem, 5.4vw, 3.6rem);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.6em;
}

.idea__def {
  font-size: 1.08rem;
  color: rgba(244, 243, 239, 0.82);
  max-width: 32em;
  margin-inline: auto;
}

.idea__aphorism {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.25;
  color: var(--cream);
  margin-block: clamp(36px, 5vw, 54px);
}
.idea__aphorism em { font-style: italic; color: var(--sun); }

.idea__apply {
  font-size: 1.05rem;
  color: rgba(244, 243, 239, 0.78);
  max-width: 36em;
  margin-inline: auto;
}

.idea .rule-sun { margin-top: clamp(28px, 4vw, 40px); }

.idea__close {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: rgba(244, 243, 239, 0.92);
  margin-top: 14px;
}

/* ---------- about ---------- */

.about {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-pad);
}

/* a quiet shaft of daylight across the paper — the skylight metaphor
   carried into the light section */
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    114deg,
    transparent 34%,
    rgba(224, 162, 74, 0.05) 45%,
    rgba(224, 162, 74, 0.1) 51%,
    rgba(224, 162, 74, 0.05) 57%,
    transparent 68%
  );
}
.about > .wrap { position: relative; }

.about__grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 1.1fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}

.about__figure {
  margin: 0;
  position: sticky;
  top: 110px;
}

.about__photo {
  border-radius: var(--radius);
  box-shadow:
    18px 18px 0 -1px var(--sun),
    var(--shadow);
}
.about__photo img {
  display: block;
  border-radius: inherit;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.about__body { padding-top: 0; }

.about__title {
  font-size: clamp(2.1rem, 3.8vw, 2.9rem);
  font-weight: 500;
  margin-bottom: 0.5em;
}

/* the arenas his work has lived in — from his own copy */
.about__specs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 34px 0 34px;
}
.about__specs i { font-style: normal; font-size: 0.6rem; color: var(--sun); }

/* editorial pull-quote, hung from an amber rule */
.pull {
  margin: 38px 0;
  padding: 6px 0 6px 28px;
  border-left: 3px solid var(--sun);
}
.pull p {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.7vw, 1.95rem);
  line-height: 1.35;
  color: var(--ink);
}
.pull em { font-style: italic; color: inherit; }

.about__sig {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--muted);
  margin-top: 26px;
}

/* ---------- definition set piece ---------- */

.band__title-break { display: none; }

.defn {
  max-width: 40em;
  margin: 8px auto 0;
  padding: 28px 34px 30px;
  text-align: left;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.defn__phon {
  font-family: var(--sans);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: var(--sun-soft);
  margin-bottom: 14px;
}
.defn__phon em {
  font-family: var(--body);
  font-style: italic;
  letter-spacing: 0;
  color: rgba(244, 243, 239, 0.75);
  margin-left: 12px;
}

.defn__text {
  font-size: 1.02rem;
  color: rgba(244, 243, 239, 0.9);
  margin: 0;
}

/* ---------- process: the timeline the light travels ---------- */

.how { background: var(--panel); }

.process { padding-block: var(--section-pad); }

.process__heading {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 500;
  max-width: 15em;
  margin-bottom: clamp(48px, 7vw, 80px);
}

.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 10px 0 10px clamp(34px, 5vw, 54px);
}

.timeline__rail,
.timeline__beam {
  position: absolute;
  left: 7px;
  top: 0;
  width: 2px;
  height: 100%;
  border-radius: 2px;
}
.timeline__rail { background: var(--line); }
.timeline__beam {
  height: 0%;
  background: linear-gradient(var(--sun-soft), var(--sun));
  box-shadow: 0 0 12px rgba(224, 162, 74, 0.55);
}

.t-step { position: relative; padding-bottom: clamp(44px, 6vw, 64px); }
.t-step:last-child { padding-bottom: 0; }

.t-step__dot {
  position: absolute;
  left: calc(8px - clamp(34px, 5vw, 54px));
  top: 6px;
  width: 16px;
  height: 16px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
  transition: background 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}
.t-step.lit .t-step__dot {
  background: var(--sun);
  border-color: var(--sun);
  box-shadow: 0 0 0 5px rgba(224, 162, 74, 0.18), 0 0 18px rgba(224, 162, 74, 0.55);
}

.t-step__num {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--muted);
  transition: color 0.45s;
}
.t-step.lit .t-step__num { color: var(--sun); }

.t-step h3 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 500;
  margin: 6px 0 10px;
}

.t-step p {
  max-width: 34em;
  color: var(--ink-2);
}

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

.services__body { padding-block: var(--section-pad); background: var(--paper); }

.services__intro { color: var(--ink-2); font-size: 1.1rem; }

.offers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: clamp(48px, 7vw, 72px);
}

.offer {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s var(--ease), box-shadow 0.22s;
}
.offer:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.offer__media {
  position: relative;
  aspect-ratio: 1 / 1;        /* both photos are near-square: show the whole story */
  overflow: hidden;
}
.offer__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.offer:hover .offer__media img { transform: scale(1.05); }
.offer__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(15, 14, 10, 0.6));
}
.offer__media .pill {
  position: absolute;
  left: 22px;
  bottom: 18px;
  z-index: 2;
}

.offer__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: clamp(28px, 4vw, 44px);
}

.offer h3 { font-size: clamp(1.6rem, 2.8vw, 2rem); font-weight: 500; margin-top: 0; }

.offer__specs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 2px 0 16px;
}
.offer__specs i { font-style: normal; font-size: 0.6rem; color: var(--sun); }
.offer--featured .offer__specs { color: rgba(244, 243, 239, 0.6); }

.offer__sub {
  font-style: italic;
  color: var(--muted);
}

.offer .btn { margin-top: auto; }
.offer .checklist { margin-bottom: 32px; }

.offer--featured {
  background: var(--night);
  border-color: var(--night);
  color: var(--cream);
  overflow: hidden;
}
/* a thin blade of light across the featured card's top edge */
.offer--featured::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 3;
  background: linear-gradient(90deg, transparent, var(--sun) 30%, var(--sun-soft) 55%, transparent 90%);
}
.offer--featured .offer__sub { color: rgba(244, 243, 239, 0.68); }
.offer--featured p { color: rgba(244, 243, 239, 0.9); }
.offer--featured .microlabel { opacity: 0.65; }

.pill {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
}
.pill--sky { background: var(--sky-soft); color: var(--sky-strong); }
.pill--sun { background: var(--sun); color: var(--ink); }

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 9px;
  font-size: 0.95rem;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--sans);
  font-weight: 600;
  color: var(--sky-strong);
}
.offer--featured .checklist li::before { color: var(--sun); }

/* ---------- topics marquee ---------- */

.topics { margin-top: clamp(64px, 9vw, 100px); }

.topics__title {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 500;
  margin-bottom: 38px;
}
.topics__title em { font-style: italic; color: var(--sun); }

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee:last-child { border-bottom: 1px solid var(--line-2); }

.marquee__track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  padding: 20px 0;
  animation: marquee 46s linear infinite;
}
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 52s; }
.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: var(--ink-2);
  white-space: nowrap;
}
.marquee__track i {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--sun);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- testimonials (unhide when quotes are real) ---------- */

.testimonials { background: var(--panel); padding-block: var(--section-pad); }

.bigquote { margin: 0; }
.bigquote blockquote {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.4;
}
.bigquote figcaption {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- faq: editorial two-column with sticky intro rail ---------- */

.faq { padding-block: var(--section-pad); background: var(--panel); }

.rule-sun {
  display: inline-block;
  width: 44px;
  height: 3px;
  background: var(--sun);
  border-radius: 2px;
  margin-top: 6px;
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}

.faq__intro { position: sticky; top: 110px; }
.faq__intro h2 {
  font-size: clamp(2.4rem, 4.6vw, 3.2rem);
  font-weight: 500;
  margin-bottom: 10px;
}

.faq__list { border-top: 1px solid var(--line); }

.faq__list details { border-bottom: 1px solid var(--line); }

.faq__list summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 500;
  padding: 26px 4px;
}
.faq__list summary::-webkit-details-marker { display: none; }

.faq__num {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted);
  transition: color 0.3s;
}
details[open] .faq__num { color: var(--sun); }

.faq__q { transition: color 0.18s; }
.faq__list summary:hover .faq__q { color: var(--sky-strong); }

.faq__mark {
  position: relative;
  width: 16px;
  height: 16px;
}
.faq__mark::before,
.faq__mark::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--sky);
  transition: transform 0.22s var(--ease);
}
.faq__mark::after { transform: rotate(90deg); }
details[open] .faq__mark::before { transform: rotate(45deg); }
details[open] .faq__mark::after { transform: rotate(135deg); }

.faq__list details p {
  padding: 0 40px 28px 46px;   /* answer aligns under the question text */
  max-width: 58ch;
  color: var(--ink-2);
  /* open/close height is animated by Motion in script.js */
}

/* ---------- cta ---------- */

.cta { color: var(--cream); }

.cta__scrim {
  background: linear-gradient(rgba(15,14,10,0.45) 0%, rgba(15,14,10,0.82) 100%);
}

.cta__inner {
  position: relative;
  z-index: 3;
  text-align: center;
  padding-block: clamp(100px, 14vw, 170px);
}

.cta__title {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: 0.5em;
}

.cta__lede {
  max-width: 32em;
  margin-inline: auto;
  margin-bottom: 38px;
  color: rgba(244, 243, 239, 0.88);
}

.cta__contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(24px, 5vw, 60px);
  margin-top: 52px;
  padding-top: 30px;
  border-top: 1px solid rgba(244, 243, 239, 0.25);
}

.cta__contacts a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.97rem;
}
.cta__contacts a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cta__contacts .microlabel {
  display: block;
  margin: 0 0 4px;
  opacity: 0.6;
}

/* ---------- footer ---------- */

.footer {
  background: var(--night);
  color: rgba(244, 243, 239, 0.85);
  padding-top: clamp(56px, 8vw, 84px);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  padding-bottom: clamp(40px, 6vw, 64px);
}

.footer__brand img { width: 120px; height: auto; margin-bottom: 22px; }

.footer__line {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(244, 243, 239, 0.72);
  margin: 0;
  max-width: 24em;
}

.footer__col { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.footer__col .microlabel { margin: 0 0 6px; opacity: 0.5; }
.footer__col a {
  color: rgba(244, 243, 239, 0.72);
  text-decoration: none;
  font-size: 0.95rem;
  padding-block: 8px;
  border-bottom: 1px solid transparent;
  transition: color 0.18s, border-color 0.18s;
  touch-action: manipulation;
}
.footer__col a:hover { color: var(--cream); border-bottom-color: var(--sun); }
.footer__note { font-size: 0.82rem; color: rgba(244, 243, 239, 0.45); }

.footer__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 22px;
  border-top: 1px solid rgba(244, 243, 239, 0.14);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(244, 243, 239, 0.5);
}

.footer__top {
  color: rgba(244, 243, 239, 0.72);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding-block: 12px;
  transition: color 0.18s;
  touch-action: manipulation;
}
.footer__top:hover { color: var(--sun); }

/* ---------- scroll reveal ----------
   .reveal elements are visible by default; Motion (script.js) sets the
   hidden initial state and animates them in view, so the page degrades
   gracefully without JS. */

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__beam { animation: none; opacity: 0.8; }
  .hero__motes { display: none; }
  .hero .band__media { animation: none; }
  .hero__cue::after { animation: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .band__img { transform: none !important; }
  .btn, .offer { transition: none; }
  .btn__arrow { transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .offers { grid-template-columns: 1fr; }

  .about__grid { grid-template-columns: 1fr; }
  .about__figure { max-width: 460px; position: static; }

  .faq__grid { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .faq__list details p { padding-left: 4px; }
}

@media (max-width: 640px) {
  .hero__scrim {
    background:
      linear-gradient(112deg, rgba(15,14,10,0.7) 30%, rgba(15,14,10,0.42) 65%, rgba(15,14,10,0.6) 100%),
      linear-gradient(rgba(15,14,10,0.3) 0%, rgba(15,14,10,0.48) 50%, rgba(15,14,10,0.95) 100%);
  }
  .nav__links { display: none; }        /* single-page site: sections flow in order */
  .nav__wordmark { font-size: 1rem; }
  .hero__actions .btn { width: 100%; text-align: center; }
  .hero__baseline { flex-direction: column; gap: 6px; }
  .band__title-break { display: inline; } /* let "collaboration." hyphenate cleanly */
  .defn { padding-inline: 14px; }
  .timeline { padding-left: 30px; }
  .t-step__dot { left: calc(8px - 30px); }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ---------- lead capture popup ---------- */

.capture {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
}
/* the display:grid above would otherwise defeat the hidden attribute,
   leaving an invisible full-page layer that blocks every click */
.capture[hidden] { display: none; }

.capture__scrim {
  position: absolute;
  inset: 0;
  background: rgba(15, 14, 10, 0.55);
  opacity: 0;
  transition: opacity 0.3s;
}
.capture.is-open .capture__scrim { opacity: 1; }

.capture__panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 42px);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.capture.is-open .capture__panel { opacity: 1; transform: none; }

/* the blade of light across the top edge — same as the featured offer */
.capture__panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, transparent, var(--sun) 30%, var(--sun-soft) 55%, transparent 90%);
}

.capture__x {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  font-family: var(--sans);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  touch-action: manipulation;
  transition: color 0.18s;
}
.capture__x:hover { color: var(--ink); }

.capture h3 {
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  font-weight: 500;
  margin-bottom: 10px;
}

.capture__sub {
  font-size: 0.98rem;
  color: var(--ink-2);
  margin-bottom: 24px;
}

.capture__hp { position: absolute; left: -9999px; opacity: 0; }

.capture__field { margin-bottom: 16px; }
.capture__field label {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.capture__field input {
  width: 100%;
  font-family: var(--body);
  font-size: 16px;               /* prevents iOS auto-zoom */
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  transition: border-color 0.18s;
}
.capture__field input:focus {
  outline: none;
  border-color: var(--sky-strong);
  box-shadow: 0 0 0 3px rgba(53, 112, 138, 0.15);
}
.capture__field input::placeholder { color: rgba(108, 103, 93, 0.55); }

.capture__submit { width: 100%; text-align: center; margin-top: 6px; }
.capture__submit[disabled] { opacity: 0.55; cursor: default; }

.capture__error {
  font-size: 0.9rem;
  color: var(--ink-2);
  margin-top: 14px;
  margin-bottom: 0;
}
.capture__error a { color: var(--sky-strong); }

.capture__dismiss {
  display: block;
  margin: 18px auto 0;
  border: 0;
  background: none;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  cursor: pointer;
  padding: 10px;
  touch-action: manipulation;
  transition: color 0.18s;
}
.capture__dismiss:hover { color: var(--ink); }

.capture__success { text-align: center; padding-block: 10px; }
.capture__mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--sun);
}
.capture__mark::after {
  content: "✓";
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ink);
}
.capture__success p { color: var(--ink-2); margin-bottom: 22px; }

@media (max-width: 640px) {
  .capture { padding: 0; align-items: end; }
  .capture__panel {
    max-width: none;
    border-radius: var(--radius) var(--radius) 0 0;
    transform: translateY(40px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .capture__scrim, .capture__panel { transition: none; }
}
