/* ============================================================
   Halfmill Studios — Cinematic banded layout
   ============================================================ */

:root {
  /* Palette */
  --color-bg:             #fafaf7;
  --color-bg-pure:        #ffffff;
  --color-surface:        #f2f1ec;
  --color-surface-2:      #e8e6df;
  --color-textured:       #ede8de;
  --color-ink:            #161617;
  --color-dark:           #0e0d0c;
  --color-dark-soft:      #1a1815;
  --color-text:           #1d1d1f;
  --color-text-secondary: #6e6e73;
  --color-text-muted:     #8a8a8f;
  --color-accent:         #8c6a4a;
  --color-accent-light:   #d4a574;
  --color-on-dark:        rgba(255, 255, 255, 0.95);
  --color-on-dark-soft:   rgba(255, 255, 255, 0.72);
  --color-on-dark-muted:  rgba(255, 255, 255, 0.45);
  --color-border:         rgba(0, 0, 0, 0.08);
  --color-border-soft:    rgba(0, 0, 0, 0.05);
  --color-border-on-dark: rgba(255, 255, 255, 0.14);

  --font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  --font-display: "Fraunces", "Times New Roman", Georgia, serif;

  --ease-out-soft: cubic-bezier(.22, 1, .36, 1);
  --ease-spring:   cubic-bezier(.34, 1.56, .64, 1);

  --radius-card: 16px;
  --radius-btn:  8px;

  --header-h: 80px;
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: transparent; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

main { position: relative; z-index: 1; }

/* ─── Loader (windmill) ─────────────────────────────────────── */
#loader {
  position: fixed; inset: 0;
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-bg);
  transition: opacity 0.7s var(--ease-out-soft);
}
#loader.is-hidden { opacity: 0; pointer-events: none; }
.loader-inner {
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  color: var(--color-ink);
}
.loader-wordmark {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.42em;
  font-weight: 500;
  color: var(--color-text);
  padding-left: 0.42em;
}
.loader-wordmark span { font-style: italic; font-weight: 400; color: var(--color-text-secondary); }

.windmill { width: 100%; height: 100%; color: var(--color-ink); }
.windmill-rotor { fill: currentColor; transform-origin: center; transform-box: fill-box; }
.windmill-lg { width: 96px; height: 96px; }
#loader .windmill-rotor { animation: mill-spin 2.4s linear infinite; }
@keyframes mill-spin { to { transform: rotate(360deg); } }

/* ─── Header (theme-aware) ──────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.45s var(--ease-out-soft),
              border-color 0.45s var(--ease-out-soft),
              backdrop-filter 0.45s var(--ease-out-soft);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header-logo img {
  height: 44px;
  width: auto;
  display: block;
  transition: filter 0.4s ease;
}
.header-nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  font-size: 14px;
  font-weight: 400;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}
.windmill-progress {
  width: 36px; height: 36px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  transition: background 0.2s ease, transform 0.3s var(--ease-spring);
}
.windmill-progress:hover { transform: scale(1.08); }

/* On DARK band */
#site-header.is-on-dark {
  background: rgba(14, 13, 12, 0.32);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
          backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
#site-header.is-on-dark .header-logo img { filter: brightness(0) invert(1); }
#site-header.is-on-dark .nav-link { color: rgba(255, 255, 255, 0.7); }
#site-header.is-on-dark .nav-link:hover { color: #fff; background: rgba(255,255,255,0.08); }
#site-header.is-on-dark .nav-link.is-active { color: #fff; background: rgba(255,255,255,0.14); font-weight: 500; }
#site-header.is-on-dark .windmill { color: rgba(255,255,255,0.92); }
#site-header.is-on-dark .windmill-progress:hover { background: rgba(255,255,255,0.1); }

/* On LIGHT band */
#site-header.is-on-light {
  background: rgba(250, 250, 247, 0.88);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
          backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--color-border-soft);
}
#site-header.is-on-light .nav-link { color: var(--color-text-secondary); }
#site-header.is-on-light .nav-link:hover { color: var(--color-text); background: rgba(0,0,0,0.04); }
#site-header.is-on-light .nav-link.is-active { color: var(--color-text); background: rgba(0,0,0,0.06); font-weight: 500; }
#site-header.is-on-light .windmill { color: var(--color-ink); }
#site-header.is-on-light .windmill-progress:hover { background: rgba(0,0,0,0.05); }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn-primary, .btn-secondary, .btn-ghost-light {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  font-size: 15px; font-weight: 500;
  font-family: var(--font-sans);
  letter-spacing: -0.01em;
  border-radius: var(--radius-btn);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s var(--ease-out-soft),
              border-color 0.2s var(--ease-out-soft),
              transform 0.25s var(--ease-spring),
              box-shadow 0.25s var(--ease-out-soft);
}
.btn-primary {
  background: var(--color-ink);
  color: #fff;
  border: none;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.btn-primary:hover { background: #2a2a2c; transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0,0,0,0.16); }
.btn-on-dark { background: #fff; color: var(--color-ink); }
.btn-on-dark:hover { background: #f2f1ec; transform: translateY(-1px); box-shadow: 0 12px 32px rgba(0,0,0,0.35); }
.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid rgba(0,0,0,0.18);
}
.btn-secondary:hover { border-color: var(--color-text); background: rgba(0,0,0,0.025); transform: translateY(-1px); }
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); transform: translateY(-1px); }

/* ─── Type ─────────────────────────────────────────────────── */
.display-xl {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.028em;
}
.display-xl em { font-style: italic; font-weight: 400; }
.display-lg {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144;
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.024em;
}
.display-lg em { font-style: italic; font-weight: 400; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 18px;
}
.eyebrow-on-dark { color: var(--color-on-dark-muted); }
.eyebrow-center { text-align: center; }

.container         { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-narrow  { max-width: 760px;  margin: 0 auto; padding: 0 32px; }

section[id], div[id], footer[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

/* ─── Bands ─────────────────────────────────────────────────── */
.band { position: relative; padding: 120px 0; }
.band-cream { background: var(--color-bg); color: var(--color-text); }
.band-dark  { background: var(--color-dark); color: var(--color-on-dark); }
.band-textured { background: var(--color-textured); color: var(--color-text); }
.band-soft  { background: var(--color-surface); color: var(--color-text); }

.band-dark .eyebrow { color: var(--color-on-dark-muted); }
.band-dark p { color: var(--color-on-dark-soft); }
.band-dark em { color: var(--color-accent-light); font-style: italic; }

/* ─── Hero (full-bleed photograph) ──────────────────────────── */
.hero-photo {
  min-height: 100vh;
  padding: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-photo-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  animation: hero-zoom 22s ease-in-out infinite alternate;
}
@keyframes hero-zoom {
  from { transform: scale(1.05) translate(0, 0); }
  to   { transform: scale(1.14) translate(-1.5%, -1%); }
}
.hero-photo-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 35%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.hero-photo-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 140px 48px 120px;
  color: #fff;
}
.hero-photo .eyebrow-on-dark { color: rgba(255,255,255,0.7); margin-bottom: 22px; }
.hero-display {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144;
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 28px;
  max-width: 14ch;
}
.hero-display em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-accent-light);
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hero-ctas .btn-on-dark,
.hero-ctas .btn-ghost-light { font-size: 16px; padding: 16px 32px; }

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  z-index: 2;
  color: rgba(255,255,255,0.55);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.scroll-cue-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,0.5), rgba(255,255,255,0));
  animation: scroll-cue-pulse 2.4s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scroll-cue-pulse {
  0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
  50%      { transform: scaleY(1);   opacity: 1; }
}

/* ─── Word rotator (works on both light + dark) ─────────────── */
.rotator {
  display: flex;
  align-items: baseline;
  gap: 0.32em;
  flex-wrap: nowrap;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0;
  max-width: 100%;
}
.rotator-on-dark { color: rgba(255,255,255,0.85); }
.rotator-static { flex-shrink: 0; }
.rotator-words {
  display: inline-grid;
  position: relative;
}
.rotator-word {
  grid-area: 1 / 1;
  white-space: nowrap;
  color: var(--color-accent);
  font-style: italic;
  font-weight: 600;
  opacity: 0;
  transform: translateY(0.65em);
  transition: opacity 0.55s var(--ease-out-soft), transform 0.7s var(--ease-spring);
  will-change: transform, opacity;
}
.rotator-on-dark .rotator-word { color: var(--color-accent-light); }
.rotator-word.is-active { opacity: 1; transform: translateY(0); }
.rotator-word.is-exit {
  opacity: 0;
  transform: translateY(-0.65em);
  transition: opacity 0.4s var(--ease-out-soft), transform 0.55s cubic-bezier(.4, 0, .2, 1);
}

/* ─── Intro band (Who we are + 2 service tiles) ─────────────── */
.intro-header {
  max-width: 820px;
  margin: 0 auto 80px;
  text-align: center;
}
.intro-lede {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--color-text-secondary);
  margin-top: 24px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.service-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.service-tile {
  display: block;
  color: inherit;
  background: var(--color-bg-pure);
  border: 1px solid var(--color-border-soft);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-soft),
              box-shadow 0.4s var(--ease-out-soft);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.service-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.12);
}
.service-tile-img {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--color-surface);
}
.service-tile-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-soft);
}
.service-tile:hover .service-tile-img img { transform: scale(1.06); }
.service-tile-meta { padding: 28px 32px 32px; }
.service-tile-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 6px 0 18px;
}
.service-tile-cta {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.01em;
}

/* ─── Case band ─────────────────────────────────────────────── */
.case-band { padding: 140px 0; }
.case-header { max-width: 920px; margin: 0 auto 64px; text-align: center; }
.case-title {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.028em;
  color: #fff;
  margin: 0;
}
.case-title-dark { color: var(--color-text); }
.case-meta-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 32px;
  margin-top: 28px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--color-on-dark-muted);
  text-transform: uppercase;
}
.case-meta-row-dark { color: var(--color-text-muted); }
.case-meta-row strong { font-weight: 600; color: rgba(255,255,255,0.6); margin-right: 8px; }
.case-meta-row-dark strong { color: var(--color-text-secondary); }

.case-hero {
  max-width: 1100px;
  margin: 0 auto 56px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 72px rgba(0,0,0,0.5);
}
.case-hero img { width: 100%; height: auto; display: block; }
.case-hero-light { box-shadow: 0 24px 64px rgba(0,0,0,0.16); }
/* Portrait variant — cap at near-native res so portrait product shots render sharp */
.case-hero-portrait { max-width: 560px; }

.case-body {
  max-width: 720px;
  margin: 0 auto 64px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--color-on-dark-soft);
  text-align: center;
}
.case-body-dark { color: var(--color-text-secondary); }

.case-photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 72px;
}
.case-photo {
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: var(--color-dark-soft);
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
  transition: transform 0.4s var(--ease-out-soft);
}
.case-photo:hover { transform: translateY(-3px); }
.case-photo img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }

.case-pull-quote {
  max-width: 760px;
  margin: 32px auto 0;
  text-align: center;
}
.case-pull-quote blockquote { margin: 0; }
.case-pull-quote p {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  color: var(--color-on-dark);
  margin: 0 0 18px;
}
.case-pull-quote footer {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-on-dark-muted);
}
.quote-attribution-placeholder { font-style: italic; opacity: 0.7; }

/* Full-bleed strip: scroll-driven horizontal pan */
.full-bleed-strip {
  margin: 88px 0 56px;
  overflow: hidden;
  position: relative;
}
.eyebrow-strip {
  max-width: 1200px;
  margin: 0 auto 28px;
  padding: 0 32px;
  color: var(--color-on-dark-muted);
}
.photo-strip {
  display: flex;
  gap: 14px;
  padding: 0 32px;
  will-change: transform;
  width: max-content;
}
.strip-cell {
  flex: 0 0 clamp(220px, 22vw, 320px);
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.3);
}
.strip-cell img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform 0.5s var(--ease-out-soft); }
.strip-cell:hover img { transform: scale(1.05); }

/* Reduced-motion / no-JS fallback: manual horizontal scroll */
.full-bleed-strip.is-scroll-fallback {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}
.full-bleed-strip.is-scroll-fallback::-webkit-scrollbar { height: 6px; }
.full-bleed-strip.is-scroll-fallback::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 999px; }
.full-bleed-strip.is-scroll-fallback .photo-strip { transform: none !important; }
.full-bleed-strip.is-scroll-fallback .strip-cell { scroll-snap-align: start; }

.case-cta-row { text-align: center; margin-top: 32px; }

/* ─── Websites: site grid (reused on case band cream) ───────── */
.more-sites { margin-top: 88px; }
.more-sites > .eyebrow { text-align: center; margin-bottom: 36px; }
.site-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
}
.site-card {
  display: block;
  color: inherit;
  transition: transform 0.35s var(--ease-out-soft);
}
.site-card:hover { transform: translateY(-3px); }
.site-chrome {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transition: box-shadow 0.35s var(--ease-out-soft);
}
.site-card:hover .site-chrome { box-shadow: 0 18px 48px rgba(0,0,0,0.14); }
.chrome-viewport img { width: 100%; height: auto; display: block; }
.site-meta { margin-top: 18px; padding: 0 4px; }
.site-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 4px;
}
.site-sub { font-size: 13px; letter-spacing: 0.02em; color: var(--color-text-secondary); margin: 0; }
.site-body { font-size: 14px; color: var(--color-text-secondary); margin: 10px 0 0; line-height: 1.55; }

/* ─── Process band ──────────────────────────────────────────── */
.process-band { padding: 130px 0; }
.process-header { text-align: center; margin-bottom: 80px; max-width: 820px; margin-left: auto; margin-right: auto; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.process-card {
  background: var(--color-bg-pure);
  border: 1px solid var(--color-border-soft);
  border-radius: 18px;
  padding: 40px 32px;
  position: relative;
}
.process-num {
  display: block;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144;
  font-size: 64px;
  font-weight: 300;
  font-style: italic;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.process-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--color-text);
}
.process-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin: 0;
}

/* ─── Testimonials band ─────────────────────────────────────── */
.testimonial-band { padding: 130px 0; }
.testimonial-band .eyebrow { margin-bottom: 56px; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.testimonial {
  margin: 0;
  padding: 36px 32px;
  border-left: 2px solid var(--color-accent-light);
}
.testimonial-quote {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: var(--color-on-dark);
  margin: 0 0 24px;
}
.testimonial-attr {
  display: flex; flex-direction: column; gap: 2px;
  font-size: 13px;
  color: var(--color-on-dark-muted);
}
.testimonial-name { color: var(--color-on-dark-soft); font-weight: 500; }
.testimonial-role { font-size: 12px; letter-spacing: 0.04em; }
.testimonial-note {
  text-align: center;
  margin-top: 56px;
  font-size: 12px;
  color: var(--color-on-dark-muted);
  font-style: italic;
}

/* ─── About band ────────────────────────────────────────────── */
.about-band { padding: 130px 0 110px; }
.about-story { max-width: 760px; margin: 0 auto 100px; padding: 0 32px; text-align: left; }
.about-headline { margin: 14px 0 36px; }
.about-lede {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.6;
  color: var(--color-text);
  margin: 0 0 24px;
  font-weight: 400;
}
.about-lede::first-letter {
  font-family: var(--font-display);
  font-size: 3.2em;
  font-style: italic;
  font-weight: 400;
  float: left;
  line-height: 0.85;
  margin: 0.05em 0.12em 0 0;
  color: var(--color-accent);
}
.about-p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: 0 0 20px;
}

.founders-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.founders-container > .eyebrow { margin-bottom: 36px; }
.founders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.founder-card { text-align: left; }
.founder-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-2) 100%);
  margin-bottom: 18px;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 2; }
.founder-placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 84px;
  font-weight: 400;
  font-style: italic;
  color: var(--color-text-muted);
  z-index: 1;
}
.founder-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 4px;
}
.founder-role {
  font-size: 12px;
  color: var(--color-text-muted);
  margin: 0 0 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.founder-bio { font-size: 15px; color: var(--color-text-secondary); line-height: 1.6; margin: 0; }

/* ─── FAQ band ─────────────────────────────────────────────── */
.faq-band { padding: 120px 0 130px; }
.faq-header { text-align: center; margin-bottom: 64px; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-border-soft);
}
.faq-item {
  border-bottom: 1px solid var(--color-border-soft);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--color-text);
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 300;
  color: var(--color-accent);
  transition: transform 0.3s var(--ease-spring);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--color-accent); }
.faq-content { padding: 0 0 28px; }
.faq-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: 0;
  max-width: 60ch;
}

/* ─── Contact band (closing chapter) ────────────────────────── */
.contact-band { padding: 120px 0 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.contact-left .eyebrow-on-dark { margin-bottom: 22px; }
.contact-headline { margin: 0 0 24px; color: #fff; }
.contact-lede {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--color-on-dark-soft);
  margin: 0 0 36px;
  max-width: 480px;
}
.contact-promises {
  margin: 36px 0 32px;
  padding: 28px 0;
  border-top: 1px solid var(--color-border-on-dark);
  border-bottom: 1px solid var(--color-border-on-dark);
  display: flex; flex-direction: column; gap: 16px;
}
.contact-promises li {
  display: flex; align-items: baseline; gap: 18px;
  font-size: 15px;
  color: var(--color-on-dark-soft);
}
.promise-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--color-accent-light);
  min-width: 50px;
  letter-spacing: -0.02em;
}
.contact-direct {
  font-size: 14px;
  color: var(--color-on-dark-muted);
}
.contact-direct a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.contact-right {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border-on-dark);
  border-radius: 18px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important; height: 1px !important;
  opacity: 0 !important;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-on-dark-soft);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.optional { color: var(--color-on-dark-muted); font-weight: 400; }
.form-input {
  width: 100%;
  font-size: 15px;
  font-family: var(--font-sans);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  outline: none;
  padding: 12px 14px;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.form-input::placeholder { color: rgba(255,255,255,0.3); }
.form-input:focus {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}
select.form-input { cursor: pointer; }
textarea.form-input { resize: vertical; min-height: 110px; }

.form-submit {
  font-size: 15px;
  padding: 15px;
  width: 100%;
  margin-top: 8px;
  position: relative;
}
.form-submit .submit-spinner {
  display: none;
  position: absolute;
  width: 16px; height: 16px;
  border: 2px solid rgba(0,0,0,0.3);
  border-top-color: var(--color-ink);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.form-submit.is-submitting .submit-label { opacity: 0.4; }
.form-submit.is-submitting .submit-spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status {
  min-height: 1.2em;
  font-size: 13px;
  text-align: center;
  color: var(--color-on-dark-soft);
}
.form-status.is-success { color: #6dd58a; }
.form-status.is-error   { color: #ff6b6b; }

.footer-bottom {
  border-top: 1px solid var(--color-border-on-dark);
  margin-top: 88px;
  padding: 28px 0 36px;
  font-size: 12px;
  color: var(--color-on-dark-muted);
  text-align: center;
}

/* ─── Lightbox ──────────────────────────────────────────────── */
#lightbox {
  position: fixed; inset: 0;
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}
#lightbox[hidden] { display: none; }
#lightbox-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.92);
  cursor: pointer;
}
#lightbox-img {
  position: relative; z-index: 1;
  max-width: min(90vw, 1100px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
#lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  z-index: 2;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 16px;
  display: grid; place-items: center;
  transition: background 0.2s;
}
#lightbox-close:hover { background: rgba(255,255,255,0.22); }

/* ─── Reveal animations ─────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease-out-soft) var(--animate-delay, 0s),
              transform 1.1s var(--ease-out-soft) var(--animate-delay, 0s);
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 960px) {
  .band, .case-band, .process-band, .testimonial-band, .about-band, .faq-band, .contact-band {
    padding: 88px 0;
  }
  .hero-photo-inner { padding: 130px 28px 100px; }
  .service-tiles { grid-template-columns: 1fr; gap: 20px; }
  .case-photo-row { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 20px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
  .founders-grid { grid-template-columns: 1fr; gap: 24px; max-width: 480px; margin-left: auto; margin-right: auto; }
  .site-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .contact-right { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .case-meta-row { gap: 20px; font-size: 12px; }
}
@media (max-width: 600px) {
  :root { --header-h: 68px; }
  .header-inner { padding: 0 18px; }
  .header-logo img { height: 36px; }
  .nav-link { padding: 6px 10px; font-size: 13px; }
  .windmill-progress { width: 32px; height: 32px; }
  .case-photo-row { grid-template-columns: 1fr; }
  .container, .container-narrow { padding: 0 20px; }
  .hero-photo-inner { padding: 120px 20px 90px; }
  .hero-display { max-width: 11ch; }
  .rotator { font-size: clamp(18px, 4.5vw, 26px); }
  .scroll-cue { bottom: 24px; }
}

/* ─── Reduced motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-animate] { opacity: 1 !important; transform: none !important; }
  #loader .windmill-rotor { animation: none; }
  .windmill-rotor { transform: none !important; }
  .hero-photo-bg { animation: none; transform: scale(1.05); }
  .scroll-cue-line { animation: none; opacity: 0.7; transform: scaleY(0.8); }
}
