/* ==========================================================================
   keelerai.com  |  Randy Keeler, Generative AI Designer
   Hand-built rebuild of the Framer site. No framework, no build step.
   ========================================================================== */

/* Self-hosted fonts (SIL Open Font License), latin subset */
@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/host-grotesk-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/host-grotesk-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/host-grotesk-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/inter-latin-700-normal.woff2) format("woff2"); }

:root {
  --bg: #1a1a1a;
  --bg-deep: #0d0d0d;
  --black: #000;
  --ink: #fff;
  --soft: #d4d4d4;
  --muted: #a3a3a3;
  --dim: #8a8a8a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.2);
  --red: #FF2F01;         /* the one brand red, used everywhere */
  --red-hover: #FF5A33;
  --red-deep: #3A1006;    /* top of the footer wordmark gradient */

  --display: "Host Grotesk", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1328px;
  --header-h: 78px;            /* logo is the trimmed signature, 56px, centered */
  --statement-size: clamp(34px, 5.4vw, 80px);
  --h-section: clamp(40px, 5vw, 72px); /* every section header, sized from the About page */
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--red); color: #000; padding: 10px 14px; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  /* V12: frosted translucent bar at all times, including the very top of the page */
  background: rgba(10, 10, 10, .78);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition: background .3s var(--ease);
}
.logo { display: block; }
.logo img { display: block; height: 56px; width: auto; }
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .logo img { height: 42px; }
}

.nav { display: flex; gap: clamp(18px, 2.4vw, 34px); }
.nav a {
  font-size: 15px; font-weight: 500; letter-spacing: -0.2px;
  color: var(--red); text-transform: uppercase;
  position: relative; padding: 6px 0;
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.menu-btn { display: none; width: 44px; height: 44px; position: relative; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s;
}
.menu-btn span { top: 21px; }
.menu-btn span::before, .menu-btn span::after { content: ""; left: 0; }
.menu-btn span::before { top: -7px; }
.menu-btn span::after { top: 7px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 6px; padding: 0 var(--gutter);
    background: rgba(8, 8, 8, .97);
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav a { font-family: var(--display); font-size: clamp(36px, 10vw, 56px); font-weight: 700; letter-spacing: -0.02em; text-transform: none; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
}

/* ---------- Hero slideshow ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh;
  display: flex; align-items: flex-end;
  background: var(--black); overflow: hidden; isolation: isolate;
}
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }
.hero--short { min-height: 78vh; }
@supports (min-height: 100svh) { .hero--short { min-height: 78svh; } }
/* Desktop: inner-page heroes take the image's own 16:9 shape (capped at the
   screen height) so heads aren't cropped; any trim comes off the bottom. */
@media (min-width: 861px) {
  .hero--short { min-height: min(56.25vw, 100vh); }
  @supports (min-height: 100svh) { .hero--short { min-height: min(56.25vw, 100svh); } }
  .hero--short .slide img, .hero--short .slide video { object-position: center top; }
}

.slides { position: absolute; inset: 0; z-index: -2; }
.slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transition: opacity 1.4s var(--ease);
}
.slide img, .slide video { width: 100%; height: 100%; object-fit: cover; }
.slide.is-active { opacity: 1; }
/* 12% black over all hero media (images and video) for text legibility */
.slides::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .12); pointer-events: none; }

/* Ken Burns (Images page hero). Zooms OUT from 1.08 to 1.0 so every slide
   settles at native resolution, pin sharp. Each slide drifts a different way. */
.hero--kb .slide img { transform-origin: 50% 50%; }
.hero--kb .slide.kb-run img { animation: kenburns 8s cubic-bezier(.3, .1, .3, 1) both; }
.hero--kb .slide:nth-child(4n+1) { --kb-x: -1.6%; --kb-y: 0%; }
.hero--kb .slide:nth-child(4n+2) { --kb-x: 1.4%;  --kb-y: -1%; }
.hero--kb .slide:nth-child(4n+3) { --kb-x: 0%;    --kb-y: 1.6%; }
.hero--kb .slide:nth-child(4n+4) { --kb-x: -1%;   --kb-y: -1.4%; }
@keyframes kenburns {
  from { transform: scale(1.08) translate(var(--kb-x, 0), var(--kb-y, 0)); }
  to   { transform: scale(1) translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) { .hero--kb .slide.kb-run img { animation: none; } }
.hero { touch-action: pan-y; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    /* Bottom blend: melts the hero into the page background (--bg) over a
       short band, capped at 140px so it never reaches far into the media */
    linear-gradient(to top, var(--bg) 0, rgba(26,26,26,.75) min(5%, 44px), rgba(26,26,26,0) min(16%, 140px)),
    /* Legibility for the title and thumbs */
    linear-gradient(to top, rgba(0,0,0,.6) 0%, rgba(0,0,0,.25) 26%, rgba(0,0,0,0) 48%),
    linear-gradient(to right, rgba(0,0,0,.25), rgba(0,0,0,0) 45%);
}

.hero-copy { width: 100%; padding: 0 var(--gutter) clamp(28px, 5vh, 56px); }
.eyebrow {
  margin: 0; font-family: var(--display); font-weight: 400;
  font-size: clamp(20px, 3vw, 44px); line-height: 1.1; color: var(--muted);
}
.display {
  margin: 0; font-family: var(--display); font-weight: 700;
  font-size: clamp(58px, 9.4vw, 150px); line-height: .98; letter-spacing: -0.01em;
  color: var(--red);
}
/* Hero type (V12, gap 30px since V13): white eyebrow, a touch smaller, set ~30px above the title
   cap height. The margin cancels the fonts' built-in space below the eyebrow
   baseline and above the title caps (measured from Host Grotesk). */
.hero {
  --eb-size: clamp(18px, 2.6vw, 38px);
  --title-size: clamp(58px, 9.4vw, 150px);
}
.hero .eyebrow { font-size: var(--eb-size); color: #fff; letter-spacing: -0.01em; margin-bottom: calc(30px - .284 * var(--eb-size) - .117 * var(--title-size)); }
.hero .display { font-size: var(--title-size); letter-spacing: -0.022em; }

.thumbs { display: flex; gap: 12px; margin-top: clamp(20px, 3vh, 36px); flex-wrap: wrap; }
.thumb {
  width: clamp(76px, 8vw, 116px); aspect-ratio: 16 / 9;
  border-radius: 2px; overflow: hidden; position: relative;
  opacity: .5; transition: opacity .3s, transform .3s var(--ease);
  outline: 1px solid var(--line-strong);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
/* Phones: one even row however many slides (no lone thumb on a second row) */
@media (max-width: 520px) {
  .thumbs { flex-wrap: nowrap; gap: 8px; }
  .thumb { flex: 1 1 0; width: auto; min-width: 0; max-width: 96px; }
}
.thumb:hover { opacity: .85; }
.thumb.is-active { opacity: 1; outline: 2px solid var(--red); }
/* Progress along the bottom of the active thumb; JS sets --p from 0 to 1 */
.thumb-bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--red); transform: scaleX(var(--p, 0)); transform-origin: left;
  opacity: 0; transition: opacity .3s;
}
.thumb.is-active .thumb-bar { opacity: 1; }
.thumb-caption {
  margin: 12px 0 0; font-size: 13px; color: var(--soft); letter-spacing: .01em; min-height: 1.4em;
}

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 180px) 0; }
.section--tight { padding: clamp(56px, 8vw, 110px) 0; }

.h-section {
  margin: 0 0 .35em; font-family: var(--display); font-weight: 700;
  font-size: var(--h-section); line-height: 1.06; letter-spacing: -0.01em;
  color: var(--red); text-wrap: balance;
}
.h-sub {
  margin: 0; font-family: var(--display); font-weight: 300;
  font-size: clamp(20px, 2.2vw, 32px); line-height: 1.25; color: var(--soft);
}
.h-section--lead { font-size: var(--statement-size); line-height: 1.08; }
.h-sub--gap { margin-bottom: 1em; color: var(--muted); }
.back-home { margin-top: 24px; }
.back-home a { color: var(--red); }
.prose p { margin: 0 0 1.1em; color: var(--soft); font-size: clamp(16px, 1.25vw, 18px); max-width: 68ch; }
.prose p:last-child { margin-bottom: 0; }

.offset { margin-left: clamp(0px, 22vw, 380px); }
@media (max-width: 860px) { .offset { margin-left: 0; } }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); }
.split--center { align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Word reveal statement */
.statement {
  margin: 0; font-family: var(--display); font-weight: 700;
  font-size: var(--statement-size); line-height: 1.08; letter-spacing: -0.01em;
}
.statement .w { color: rgba(255,255,255,.14); transition: color .5s var(--ease); }
.statement .w.on { color: var(--ink); }
.statement .w.hl.on { color: var(--red); }

/* Full-bleed-ish blocks: 90% of the screen width */
.wide { width: 75vw; margin-left: auto; margin-right: auto; }
@media (max-width: 1024px) { .wide { width: calc(100% - var(--gutter) * 2); } }

/* Figures */
.figure { margin: clamp(28px, 4vw, 56px) auto 0; }
.figure img { width: 100%; height: auto; border-radius: var(--radius); }

/* Page-specific spacing */
.process { padding-bottom: clamp(40px, 5vw, 72px); }
.tiles-section { padding: 0 0 clamp(56px, 8vw, 110px); }
.intro-copy { padding-bottom: clamp(32px, 4vw, 56px); }
.gallery-section { padding: 0 0 clamp(64px, 9vw, 130px); }

/* ---------- Responsive video embed (the Show Reel fix) ----------
   The Framer embed was a fixed 1920px-tall box with a stretching width,
   so the 16:9 video letterboxed and floated at most sizes.
   Here the frame owns the ratio; the iframe just fills it.            */
.reel-section { padding: clamp(56px, 8vw, 120px) 0; }

.video-frame {
  position: relative; width: 100%;
  aspect-ratio: 16 / 9;
  background: #000; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8);
}
@supports not (aspect-ratio: 16 / 9) {
  .video-frame { height: 0; padding-top: 56.25%; }
}
.video-frame iframe, .video-frame > img, .video-frame > picture, .video-frame > picture img, .video-frame .yt-launch {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.video-frame > img, .video-frame > picture img { object-fit: cover; }

.yt-launch { display: grid; place-items: center; background: transparent; }
.yt-launch::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0) 30%, rgba(0,0,0,.35) 100%);
  transition: background .3s;
}
.play {
  position: relative; width: clamp(64px, 8vw, 104px); aspect-ratio: 1; border-radius: 50%;
  background: var(--red); display: grid; place-items: center;
  box-shadow: 0 10px 40px rgba(255, 47, 1, .45);
  transition: transform .35s var(--ease), background .2s;
}
.play svg { width: 34%; margin-left: 7%; fill: #fff; }
.yt-launch:hover .play, .yt-launch:focus-visible .play { transform: scale(1.08); background: var(--red-hover); }

/* ---------- Category tiles (home) ---------- */
.tiles { display: grid; gap: clamp(20px, 3vw, 40px); max-width: 1205px; }
@media (min-width: 1025px) { .tiles { width: 75vw; max-width: none; padding: 0; } }
.tile {
  position: relative; display: grid; place-items: center; overflow: hidden;
  border-radius: 16px; aspect-ratio: 16 / 10; background: #000; isolation: isolate;
}
@media (max-width: 700px) { .tile { aspect-ratio: 4 / 3; border-radius: 12px; } }
.tile video, .tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform 1.2s var(--ease);
}
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .28); transition: background .4s; }
.tile:hover video, .tile:hover img { transform: scale(1.04); }
.tile:hover::after { background: rgba(0, 0, 0, .15); }
.tile-word {
  font-family: var(--display); font-weight: 700; color: var(--ink);
  font-size: clamp(48px, 8vw, 120px); line-height: 1; letter-spacing: -0.02em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .45);
}

/* ---------- Talking-head video (home) ---------- */
.talk-section { padding: clamp(40px, 8vw, 120px) 0; }
.talk {
  position: relative; max-width: 1205px; margin: 0 auto;
  aspect-ratio: 16 / 9; background: #000; overflow: hidden;
}
.talk video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.talk-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.12); transition: opacity .3s; }
.talk-play:hover .play { transform: scale(1.08); }
.talk.is-playing .talk-play { opacity: 0; pointer-events: none; }

/* ---------- Quote (home): same word-reveal as the intro statement ---------- */
.quote-section {
  min-height: 80vh; display: flex; align-items: center;
  padding: clamp(80px, 12vw, 160px) 0;
}
@supports (min-height: 80svh) { .quote-section { min-height: 80svh; } }
.quote { margin: 0 auto; max-width: 1100px; text-align: center; }
.statement--center { margin: 0 auto; text-wrap: balance; }
/* Home "Limitless Possibilities." statement (V12): centered, measure capped so
   lines stay even; pretty-wrap avoids a lone last word at every width */
.statement--lead { margin: 0 auto; max-width: 22ch; text-align: center; text-wrap: pretty; }
.h-section--center { text-align: center; }
.quote-cite {
  display: block; margin-top: 1.4em; font-style: normal;
  font-size: clamp(15px, 1.4vw, 20px); color: var(--muted);
}

/* ---------- Media grids ---------- */
/* Video/avatar cards: 3 / 2 / 1 across. Flex (not grid) so a short last row
   centers instead of leaving a lone card on the left (V12). */
.grid { --cols: 3; --gap: clamp(14px, 1.6vw, 20px); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.grid > * { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
@media (max-width: 1000px) { .grid { --cols: 2; } }
@media (max-width: 560px) { .grid { --cols: 1; } }

.card {
  position: relative; display: block; width: 100%; text-align: left;
  border-radius: var(--radius); overflow: hidden; background: #111;
  aspect-ratio: 16 / 9;
}
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,0) 50%); opacity: .9; transition: opacity .3s; }
.card:hover img { transform: scale(1.05); }
.card-label {
  position: absolute; left: 14px; right: 60px; bottom: 12px; z-index: 1;
  font-size: 14px; line-height: 1.35; color: var(--ink); font-weight: 500;
}
.card .mini-play {
  position: absolute; right: 12px; bottom: 10px; z-index: 1;
  width: 38px; height: 38px; border-radius: 50%; background: var(--red);
  display: grid; place-items: center; transition: transform .3s var(--ease);
}
.card .mini-play svg { width: 13px; margin-left: 2px; fill: #fff; }
.card:hover .mini-play { transform: scale(1.12); }

.masonry { columns: 3 320px; column-gap: clamp(14px, 1.6vw, 20px); }
.masonry .shot {
  break-inside: avoid; margin: 0 0 clamp(14px, 1.6vw, 20px); display: block; width: 100%;
  border-radius: var(--radius); overflow: hidden; position: relative; background: #111;
}
.masonry .shot img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.masonry .shot:hover img { transform: scale(1.03); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  padding: clamp(56px, 7vh, 80px) clamp(12px, 4vw, 72px);
  background: rgba(0, 0, 0, .94);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-body { display: flex; flex-direction: column; align-items: center; max-width: 100%; }
.lightbox-stage { width: min(92vw, 1400px, calc((100vh - 170px) * 16 / 9)); }
@supports (height: 100dvh) { .lightbox-stage { width: min(92vw, 1400px, calc((100dvh - 170px) * 16 / 9)); } }
.lightbox-stage.is-image { width: auto; max-width: 92vw; }
.lightbox-stage img { max-width: 100%; max-height: calc(100vh - 160px); width: auto; height: auto; margin: 0 auto; border-radius: var(--radius); }
.lightbox-caption { margin: 14px 0 0; color: var(--soft); font-size: 14px; text-align: center; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--ink);
  transition: background .2s;
}
.lb-btn:hover { background: var(--red); }
.lb-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}

/* ---------- About ---------- */
.kicker { display: inline-block; margin-bottom: 18px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }

/* ---------- Contact ---------- */
.contact-hero { padding: calc(var(--header-h) + clamp(60px, 10vw, 140px)) 0 clamp(60px, 8vw, 120px); }
.contact-list { list-style: none; margin: clamp(32px, 5vw, 64px) 0 0; padding: 0; border-top: 1px solid var(--line-strong); }
.contact-list li { border-bottom: 1px solid var(--line-strong); }
.contact-list a, .contact-list .row {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: clamp(20px, 2.6vw, 32px) 0;
  font-family: var(--display); font-size: clamp(22px, 3.4vw, 48px); font-weight: 700; line-height: 1.1;
  overflow-wrap: anywhere;
}
.contact-list .label { font-family: var(--body); font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); flex: 0 0 auto; }
.contact-list a { transition: color .2s, padding .3s var(--ease); }
.contact-list a:hover { color: var(--red); padding-left: 10px; }
.contact-list .contact-email { padding: 0; text-align: right; }
.contact-list .contact-email:hover { padding-left: 0; }
.copy-btn {
  font-family: var(--body); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 100px; color: var(--soft); flex: 0 0 auto;
}
.copy-btn:hover { border-color: var(--red); color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-deep); text-align: center; overflow: hidden;
  padding: clamp(56px, 7vw, 96px) 0 clamp(24px, 3vw, 36px);
}
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px clamp(20px, 3.2vw, 48px); }
.foot-nav a { color: var(--red); font-size: 14px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; transition: color .2s; }
.foot-nav a:hover { color: var(--ink); }
.foot-legal { margin: clamp(20px, 3vw, 36px) 0 0; color: var(--dim); font-size: 13px; }
.wordmark {
  margin: clamp(12px, 2vw, 28px) 0 0;
  font-weight: 700; color: var(--red);
  font-size: clamp(72px, 19vw, 300px); line-height: .9; letter-spacing: -0.03em;
  white-space: nowrap; user-select: none;
  background: linear-gradient(180deg, var(--red-deep) 0%, var(--red) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.on { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .statement .w { opacity: 1 !important; transform: none !important; transition: none !important; }
  .statement .w { color: var(--ink); }
}

/* Intro panel (Videos, Images, Avatars): one bordered box, red top rule,
   headline beside the copy; stacks on tablets and phones. */
.intro-panel {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr);
  column-gap: clamp(32px, 5vw, 80px); align-items: start;
  padding: clamp(28px, 5vw, 72px);
  border: 1px solid var(--line-strong); border-top: 3px solid var(--red);
  border-radius: var(--radius); background: rgba(255, 255, 255, 0.025);
}
.intro-panel .h-section { margin: 0; text-wrap: balance; font-size: clamp(40px, 4.4vw, 68px); }
@media (min-width: 861px) {
  .intro-panel--lines .hl-line { display: block; white-space: nowrap; } /* Images + Avatars: one phrase per line */
}
.intro-panel .prose { padding-top: .4em; }
@media (max-width: 860px) {
  .intro-panel { grid-template-columns: 1fr; row-gap: 24px; }
  .intro-panel .prose { padding-top: 0; }
}
@media (max-width: 520px) {
  .intro-panel .h-section { font-size: clamp(28px, 8.4vw, 40px); }
}

/* About page: two bordered panels, photo filling one half, text the other. */
.about-stack { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.about-panel {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden;
  border: 1px solid var(--line-strong); border-top: 3px solid var(--red);
  border-radius: var(--radius); background: rgba(255, 255, 255, 0.025);
}
.about-panel--flip .about-photo { order: 2; }
.about-photo { min-height: 100%; }
.about-photo img, .about-photo video { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-photo--studio img { object-position: right bottom; } /* keeps the copyright stamp in frame */
.about-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 64px); }
.about-h { margin-top: 0; font-size: min(56px, 3.9vw); }
.about-h--one-line { white-space: nowrap; }
@media (max-width: 860px) {
  .about-panel { grid-template-columns: 1fr; }
  .about-panel--flip .about-photo { order: 0; }
  .about-photo { aspect-ratio: 16 / 9; min-height: 0; }
  .about-h { font-size: clamp(26px, 7.4vw, 56px); }
}

/* V14: the KEELER wordmark text box overlapped the footer links and swallowed clicks */
.wordmark { pointer-events: none; }
/* V14: seven nav links; tighten the bar between tablet and desktop so it never touches the logo */
@media (min-width: 861px) and (max-width: 1180px) {
  .logo img { height: 46px; }
  .nav { gap: 16px; }
  .nav a { font-size: 13.5px; }
}
@media (min-width: 861px) and (max-width: 960px) {
  .logo img { height: 38px; }
  .nav { gap: 12px; }
  .nav a { font-size: 12.5px; }
}

/* V14/V22 fix: the header blur made the fixed phone menu size itself to the 64px header. Drop the blur while the menu is open so it covers the screen. */
.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
@media (max-width: 860px) { .nav { padding-top: var(--header-h); padding-bottom: 16px; } }
