/* Take Your Shot Productions, example site
   Design: dark, modern, editorial. Built to feel top-tier. */

/* Cross-document page transitions. Chrome/Edge 111+ and Safari 18+ smoothly
   cross-fade between pages on link clicks. Browsers without support ignore
   this rule and rely on the body fade-in defined further down for a softer
   page-load feel. */
@view-transition { navigation: auto; }

:root {
  --bg-dark: #101011;
  --bg-darker: #0b0b0c;
  --bg-cream: #f4f1ea;
  --bg-cream-2: #ebe6da;
  --gold: #c7a576;
  --gold-bright: #d8b988;
  --on-dark: #f4f1ea;
  --on-dark-mute: #97948c;
  --on-light: #16150f;
  --on-light-mute: #6b6760;
  --line-dark: rgba(244, 241, 234, 0.14);
  --line-light: rgba(22, 21, 15, 0.14);
  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-dark);
  color: var(--on-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  animation: page-enter 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes page-enter {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
/* Respect users who would rather not see the page slide in. */
@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

/* layout */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.section { padding: 72px 0; }
.dark { background: var(--bg-dark); color: var(--on-dark); }
.cream { background: var(--bg-cream); color: var(--on-light); }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.cream .eyebrow { color: #9a7d4e; }

/* header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 0;
  background: linear-gradient(to bottom, rgba(11,11,12,0.85) 0%, rgba(11,11,12,0.55) 55%, rgba(11,11,12,0) 100%);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 11, 12, 0.97);
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
}
.nav { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font-size: 15px; font-weight: 700; letter-spacing: 0.14em; }
.brand span { font-size: 9.5px; letter-spacing: 0.34em; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--on-dark-mute);
  transition: color 0.25s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--on-dark); }
.nav-cta {
  border: 1px solid var(--line-dark); border-radius: 100px;
  padding: 11px 22px !important; color: var(--on-dark) !important;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease) !important;
}
.nav-cta:hover { background: var(--gold); border-color: var(--gold); color: #16150f !important; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--on-dark); margin: 5px 0; transition: 0.3s var(--ease); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  padding: 16px 28px; border-radius: 100px; cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #16150f; }
.btn-gold:hover { background: var(--gold-bright); }
.btn-ghost { border: 1px solid var(--line-dark); color: var(--on-dark); }
.btn-ghost:hover { background: rgba(244,241,234,0.06); }
.cream .btn-ghost { border-color: var(--line-light); color: var(--on-light); }
.cream .btn-ghost:hover { background: rgba(22,21,15,0.04); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold);
}
.text-link .arrow { transition: transform 0.25s var(--ease); }
.text-link:hover .arrow { transform: translateX(4px); }

/* hero */
.hero { position: relative; padding: 200px 0 110px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(46px, 6vw, 88px); }
.hero h1 .gold { color: var(--gold); font-style: italic; }
.hero-sub {
  font-size: 18px; color: var(--on-dark-mute); max-width: 460px;
  margin: 30px 0 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-available { margin-top: 46px; }
.hero-available .label {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--on-dark-mute); margin-bottom: 14px;
}
.tag-row { display: flex; gap: 10px; flex-wrap: wrap; }
.tag {
  font-size: 12px; letter-spacing: 0.04em; color: var(--on-dark);
  border: 1px solid var(--line-dark); border-radius: 100px;
  padding: 8px 15px; display: flex; align-items: center; gap: 7px;
}
.tag .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* showreel visual */
.reel {
  position: relative; aspect-ratio: 4 / 5; border-radius: 14px;
  background:
    radial-gradient(120% 90% at 70% 20%, rgba(199,165,118,0.22), transparent 60%),
    linear-gradient(160deg, #232220, #0d0d0e 70%);
  border: 1px solid var(--line-dark);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px; overflow: hidden;
}
.reel::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 4px 4px; pointer-events: none;
}
.reel .reel-top { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-mute); }
.reel .play {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--gold); align-self: center; margin: auto 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease);
}
.reel:hover .play { transform: scale(1.08); }
.reel .play svg { margin-left: 4px; }
.reel .reel-bottom { font-family: 'Instrument Serif', serif; font-size: 26px; color: var(--on-dark); }
.reel .reel-bottom span { display: block; font-family: 'Inter', sans-serif; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-mute); margin-top: 4px; }

/* section heads */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; gap: 30px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(34px, 4vw, 54px); }
.sec-head p { color: var(--on-light-mute); max-width: 380px; font-size: 16px; }
.dark .sec-head p { color: var(--on-dark-mute); }

/* work grid */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.work-card { cursor: pointer; }
.work-thumb {
  position: relative; aspect-ratio: 16 / 10; border-radius: 12px;
  overflow: hidden; border: 1px solid var(--line-light);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.4s var(--ease);
}
.work-card:hover .work-thumb { transform: translateY(-6px); }
.work-thumb .play-sm {
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(16,16,17,0.55); backdrop-filter: blur(4px);
  border: 1px solid rgba(244,241,234,0.3);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease);
}
.work-card:hover .play-sm { background: var(--gold); }
.work-thumb .ghost {
  position: absolute; right: 18px; bottom: 8px;
  font-family: 'Instrument Serif', serif; font-size: 110px; color: rgba(244,241,234,0.06);
  line-height: 1;
}
.t1 { background: linear-gradient(150deg, #2d2a26, #14130f); }
.t2 { background: linear-gradient(150deg, #2a2622, #15110d); }
.t3 { background: linear-gradient(150deg, #26282b, #101113); }
.t4 { background: linear-gradient(150deg, #2b2520, #14100c); }
.work-meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; }
.work-meta h3 { font-size: 21px; }
.work-meta .cat { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-light-mute); }
.work-card .tag-cat { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #9a7d4e; margin-top: 6px; }

/* about + stats */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: center; }
.about-portrait {
  aspect-ratio: 4 / 5; border-radius: 12px; border: 1px solid var(--line-dark);
  background: radial-gradient(110% 80% at 30% 20%, rgba(199,165,118,0.16), transparent 55%), linear-gradient(160deg, #232120, #0e0e0f);
  display: flex; align-items: flex-end; padding: 24px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-mute);
}
.about-grid h2 { font-size: clamp(32px, 3.6vw, 48px); margin-bottom: 22px; }
.about-grid p { color: var(--on-dark-mute); font-size: 17px; margin-bottom: 18px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.dark .stats, .cream .stats { border-top-color: var(--line-light); }
.dark .stats { border-top-color: var(--line-dark); }
.stat .num { font-family: 'Instrument Serif', serif; font-size: clamp(44px, 5vw, 64px); color: var(--gold); line-height: 1; letter-spacing: -0.01em; }
.stat .lbl { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-mute); margin-top: 10px; }
.cream .stat .lbl { color: var(--on-light-mute); }

/* Key Results block at the top of project pages.
   Lead-with-outcomes lift, sized to read as the headline number it is. */
.key-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line-dark); max-width: 900px; }
.dark .key-results { border-top-color: var(--line-dark); }
.cream .key-results { border-top-color: var(--line-light); }
.kr-stat .kr-num { font-family: 'Instrument Serif', serif; font-size: clamp(44px, 5.6vw, 76px); color: var(--gold); line-height: 0.95; letter-spacing: -0.02em; }
.kr-stat .kr-lbl { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-mute); margin-top: 12px; line-height: 1.3; }
.cream .kr-stat .kr-lbl { color: var(--on-light-mute); }
@media (max-width: 700px) {
  .key-results { grid-template-columns: 1fr; gap: 18px; padding-top: 22px; margin-top: 26px; }
  .kr-stat .kr-num { font-size: clamp(28px, 7.2vw, 38px); line-height: 1; }
  .kr-stat .kr-lbl { font-size: 11px; letter-spacing: 0.16em; margin-top: 8px; }
  .stat .num { font-size: clamp(30px, 8vw, 44px); line-height: 1; }
  .stat .lbl { font-size: 11px; letter-spacing: 0.14em; }
}

/* Type label that sits next to the hero video's play button, sets expectation. */
.hero-video-meta { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-top: 14px; font-weight: 600; }
.hero-video-meta .dot { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--gold); margin: 0 10px 2px; vertical-align: middle; }

/* Local self-hosted video card: short motion graphics that loop inline so the
   visitor sees the work without clicking. Click opens the same lightbox the
   YouTube cards use, but with a <video> element instead of an iframe. */
.local-video-thumb { position: relative; overflow: hidden; }
.local-video-thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.local-video-thumb .vplay { background: rgba(16,16,17,0.62); }
.local-video-card:hover .vplay { background: var(--gold); }

/* Type chip in the top-left of the hero video card. Pairs with the brand badge
   at the bottom so the viewer reads "what" and "who" before they hit play. */
.summary-hero-video .video-type-chip {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(16,16,17,0.78); color: var(--gold);
  font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 4px; backdrop-filter: blur(2px);
  border: 1px solid rgba(199,165,118,0.3);
}

/* logo strip */
.logos { padding: 64px 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.logos .label { text-align: center; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-light-mute); margin-bottom: 30px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 46px; }
.logo-row span {
  font-family: 'Instrument Serif', serif; font-size: 22px; color: var(--on-light);
  opacity: 0.55; transition: opacity 0.25s var(--ease);
}
.logo-row span:hover { opacity: 1; }

/* services preview */
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line-light); }
.cream .svc-list { border-color: var(--line-light); }
.svc-item {
  padding: 36px 30px 36px 0; border-bottom: 1px solid var(--line-light);
  display: flex; gap: 24px; align-items: flex-start;
  transition: padding-left 0.3s var(--ease);
}
.svc-item:hover { padding-left: 14px; }
.svc-item .no { font-family: 'Instrument Serif', serif; font-size: 15px; color: var(--gold); padding-top: 6px; }
.svc-item h3 { font-size: 24px; margin-bottom: 8px; }
.svc-item p { font-size: 15px; color: var(--on-light-mute); }

/* ai band */
.ai-band {
  background: linear-gradient(140deg, #1b1a17, #0c0c0d);
  border-radius: 16px; border: 1px solid var(--line-dark);
  padding: 70px; display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 50px; align-items: center;
}
.ai-band .badge {
  display: inline-block; font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: #16150f; background: var(--gold);
  padding: 6px 13px; border-radius: 100px; margin-bottom: 20px;
}
.ai-band h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 18px; }
.ai-band p { color: var(--on-dark-mute); font-size: 16px; margin-bottom: 28px; }

/* cta */
.cta { text-align: center; }
.cta h2 { font-size: clamp(40px, 5.2vw, 78px); max-width: 14ch; margin: 0 auto 34px; }
.cta h2 .gold { color: var(--gold); font-style: italic; }

/* footer */
.footer { background: var(--bg-darker); padding: 70px 0 36px; border-top: 1px solid var(--line-dark); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 44px; border-bottom: 1px solid var(--line-dark); }
.footer .brand b { font-size: 18px; }
.footer-tag { color: var(--on-dark-mute); font-size: 15px; max-width: 280px; margin-top: 14px; }
.footer-cols { display: flex; gap: 70px; flex-wrap: wrap; }
.footer-col h4 { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-mute); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--on-dark); margin-bottom: 10px; opacity: 0.78; transition: opacity 0.2s var(--ease), color 0.2s; }
.footer-col a:hover { opacity: 1; color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 12.5px; color: var(--on-dark-mute); flex-wrap: wrap; gap: 16px 24px; }
.footer-status { color: var(--gold); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; }
.footer-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; animation: footerDotPulse 1.9s ease-in-out infinite; }
@keyframes footerDotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(199,165,118,0.35), 0 0 4px 1px rgba(199,165,118,0.25); transform: scale(1); }
  50% { box-shadow: 0 0 0 9px rgba(199,165,118,0), 0 0 14px 3px rgba(199,165,118,0.7); transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) { .footer-status .dot { animation: none; } }

/* page hero (interior pages). Condensed so the next section peeks into view. */
.page-hero { padding: 130px 0 38px; position: relative; }
.page-hero h1 { font-size: clamp(38px, 5.2vw, 68px); }
.page-hero p { color: var(--on-dark-mute); font-size: 17px; max-width: 540px; margin-top: 18px; }
@media (max-width: 900px) { .page-hero { padding: 110px 0 30px; } }

/* "See more below" scroll cue. Sits at the bottom of the hero. Button reset. */
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--on-dark-mute); background: none; border: 0; padding: 0; font-family: inherit; cursor: pointer; transition: color 0.25s var(--ease); }
.scroll-cue:hover { color: var(--gold); }
.scroll-cue .arrow-down { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-dark); display: inline-flex; align-items: center; justify-content: center; color: var(--gold); animation: scrollNudge 2.2s ease-in-out infinite; transition: border-color 0.25s var(--ease); }
.scroll-cue:hover .arrow-down { border-color: var(--gold); }
.cream .scroll-cue { color: var(--on-light-mute); }
.cream .scroll-cue .arrow-down { border-color: var(--line-light); }
@keyframes scrollNudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue .arrow-down { animation: none; } }

/* reveal animation (only hides content when JavaScript is running) */
.reveal { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 900px) {
  .wrap { padding: 0 24px; }
  .section { padding: 60px 0; }
  .hero { padding: 150px 0 80px; }
  .hero-grid, .about-grid, .ai-band { grid-template-columns: 1fr; gap: 40px; }
  .ai-band { padding: 44px 30px; }
  .work-grid, .svc-list { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: 78%; max-width: 320px;
    background: var(--bg-darker); flex-direction: column; align-items: flex-start;
    justify-content: center; gap: 26px; padding: 40px; transform: translateX(100%);
    transition: transform 0.4s var(--ease); border-left: 1px solid var(--line-dark);
  }
  .nav-links.open { transform: none; }
  .nav-toggle { display: block; z-index: 110; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* feature rows */
.feature-row { margin-bottom: 96px; }
.feature-row.about-grid { grid-template-columns: 1fr 1.04fr; gap: 56px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row.flip .feature-img { order: 2; }
.feature-img {
  aspect-ratio: 4 / 3; border-radius: 12px; border: 1px solid var(--line-dark);
  background: radial-gradient(110% 80% at 70% 25%, rgba(199,165,118,0.16), transparent 55%), linear-gradient(155deg, #2a2723, #100f0d);
  display: flex; align-items: flex-end; padding: 24px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-mute);
}
.feature-row .feature-no { font-family: 'Instrument Serif', serif; font-size: 14px; color: var(--gold); margin-bottom: 14px; }
.feature-row h2 { font-size: clamp(28px, 3.2vw, 42px); margin-bottom: 18px; }
.feature-row p { color: var(--on-dark-mute); font-size: 16px; margin-bottom: 14px; }
.feature-result { display: flex; gap: 38px; margin-top: 26px; flex-wrap: wrap; }
.feature-result .num { font-family: 'Instrument Serif', serif; font-size: 30px; color: var(--gold); }
.feature-result .lbl { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-mute); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { border: 1px solid var(--line-light); border-radius: 12px; padding: 34px 30px; }
.dark .step { border-color: var(--line-dark); }
.step .step-no { font-family: 'Instrument Serif', serif; font-size: 32px; color: var(--gold); margin-bottom: 14px; }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--on-light-mute); }
.dark .step p { color: var(--on-dark-mute); }

/* card grid */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card { border: 1px solid var(--line-light); border-radius: 12px; padding: 36px 32px; transition: transform 0.35s var(--ease), border-color 0.35s var(--ease); }
.dark .card { border-color: var(--line-dark); }
.card:hover { transform: translateY(-6px); border-color: var(--gold); }
.card .card-no { font-family: 'Instrument Serif', serif; font-size: 14px; color: var(--gold); }
.card h3 { font-size: 22px; margin: 14px 0 10px; }
.card p { font-size: 15px; color: var(--on-light-mute); }
.dark .card p { color: var(--on-dark-mute); }

/* client grid */
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: 12px; overflow: hidden; }
.client-cell {
  background: var(--bg-cream); padding: 30px 18px; text-align: center;
  font-family: 'Instrument Serif', serif; font-size: 18px; color: var(--on-light);
  display: flex; align-items: center; justify-content: center; min-height: 104px;
  transition: background 0.25s var(--ease);
}
.client-cell:hover { background: var(--bg-cream-2); }
.marquee-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 52px; }
.marquee { border: 1px solid var(--line-light); border-radius: 12px; padding: 42px; background: var(--bg-cream-2); }
.marquee h3 { font-size: 28px; margin-bottom: 12px; }
.marquee p { font-size: 15px; color: var(--on-light-mute); }

/* contact form */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-mute); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(244,241,234,0.04); border: 1px solid var(--line-dark);
  border-radius: 8px; padding: 14px 16px; color: var(--on-dark);
  font-family: 'Inter', sans-serif; font-size: 15px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13px; color: var(--on-dark-mute); margin-top: 8px; }
.info-list { border-top: 1px solid var(--line-dark); }
.info-item { padding: 24px 0; border-bottom: 1px solid var(--line-dark); }
.info-item .k { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-mute); margin-bottom: 6px; }
.info-item .v { font-size: 18px; font-family: 'Instrument Serif', serif; color: var(--on-dark); }
.info-item a.v { color: var(--gold); }
.form-sent { padding: 40px; border: 1px solid var(--gold); border-radius: 12px; text-align: center; }
.form-sent h3 { font-size: 24px; margin-bottom: 8px; }
.form-sent p { color: var(--on-dark-mute); font-size: 15px; }

@media (max-width: 900px) {
  .steps, .card-grid, .card-grid.two { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .marquee-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .feature-row.flip .feature-img { order: 0; }
  .feature-row { margin-bottom: 64px; }
  /* Specificity fix: .feature-row.about-grid keeps a 2-col rule above the @media .about-grid 1-col rule, so explicitly collapse it on mobile. Without this, featured-projects.html, work.html, and services.html overflow horizontally. */
  .feature-row.about-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.flip .hub-img,
  .feature-row.flip .hub-logo,
  .feature-row.flip .hub-image { order: 0; }
  /* Additional mobile collapses that were missing. */
  .video-grid { grid-template-columns: 1fr; gap: 24px; }
  .service-work .video-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .acc-list { grid-template-columns: 1fr; }
  .footer-cols { gap: 32px; }
  .footer-top { gap: 28px; }
  /* Inline 2-col list on the live-streaming page, flatten on mobile so each
     bullet gets a full row instead of squeezing two columns at 155px each. */
  .where-live-grid { grid-template-columns: 1fr !important; gap: 8px 0 !important; }
}

/* video portfolio */
.vp-cat { margin-bottom: 84px; }
.vp-cat:last-child { margin-bottom: 0; }
.vp-cat-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 28px; }
.vp-cat-head h2 { font-size: clamp(26px, 3.2vw, 40px); }
.vp-cat-head .count { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-light-mute); }
.dark .vp-cat-head .count { color: var(--on-dark-mute); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-card { cursor: pointer; border: 0; background: none; padding: 0; text-align: left; font-family: inherit; color: inherit; }
.video-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-light); background: #18171a; }
.dark .video-thumb { border-color: var(--line-dark); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.video-card:hover .video-thumb img { transform: scale(1.05); }
.video-thumb .vplay {
  position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%;
  background: rgba(16,16,17,0.62); border: 1px solid rgba(244,241,234,0.4);
  display: flex; align-items: center; justify-content: center; transition: background 0.3s var(--ease);
}
.video-card:hover .vplay { background: var(--gold); }
.vc-title { font-family: 'Instrument Serif', serif; font-size: 18px; margin-top: 14px; }
.vc-client { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-light-mute); margin-top: 5px; }
.dark .vc-client { color: var(--on-dark-mute); }

/* Vertical shorts variant. Use on .video-grid for an all-shorts page,
   or .video-card.shorts for a single short inside a 16:9 grid. */
.video-grid.shorts { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.video-grid.shorts .video-thumb,
.video-grid.shorts .video-cell .video-thumb,
.video-card.shorts .video-thumb { aspect-ratio: 9 / 16; }
@media (max-width: 900px) {
  .video-grid.shorts { grid-template-columns: repeat(2, 1fr); }
}

/* Per-video bullets. Render below the title to describe what each piece
   showcases and the role it played. Sits inside a .video-cell wrapper so
   it shares one grid cell with the clickable video-card. */
.video-cell { display: flex; flex-direction: column; }
.vc-bullets { list-style: none; padding: 0; margin: 12px 0 0 0; }
.vc-bullets li { font-size: 13px; color: var(--on-light-mute); padding-left: 14px; position: relative; line-height: 1.55; margin-top: 6px; }
.vc-bullets li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 1px; background: var(--gold); }
.dark .vc-bullets li { color: var(--on-dark-mute); }
.vc-bullets li strong { color: var(--on-light); font-weight: 600; }
.dark .vc-bullets li strong { color: var(--on-dark); }

/* Project page hero-summary band. Strongest bullets immediately under the title. */
.summary-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; margin-top: 24px; }
@media (max-width: 900px) { .summary-grid { grid-template-columns: 1fr; gap: 32px; } }
.summary-grid .hub-logo { aspect-ratio: 4 / 3; }

/* Project page hero video. Replaces the logo tile in the summary grid.
   Click-to-play YouTube thumbnail pattern, hooked into the lightbox via data-yt. */
.summary-hero-video { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-dark); background: #0e0e0f; cursor: pointer; display: block; }
.summary-hero-video > img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.summary-hero-video:hover > img { transform: scale(1.04); }
.summary-hero-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.summary-hero-video .vplay { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; background: rgba(16,16,17,0.7); border: 1px solid rgba(244,241,234,0.45); display: flex; align-items: center; justify-content: center; transition: background 0.3s var(--ease); pointer-events: none; }
.summary-hero-video:hover .vplay { background: var(--gold); }
.summary-hero-video .brand-badge { position: absolute; bottom: 14px; left: 14px; background: rgba(244,241,234,0.94); padding: 8px 14px; border-radius: 8px; display: flex; align-items: center; justify-content: center; min-height: 40px; max-width: 180px; backdrop-filter: blur(2px); }
.summary-hero-video .brand-badge img { max-height: 30px; max-width: 150px; min-height: 0; width: auto; height: auto; display: block; object-fit: contain; transform: none !important; }
.summary-bullets { list-style: none; padding: 0; margin: 18px 0 26px 0; }
.summary-bullets li { font-size: 16px; color: var(--on-dark-mute); padding-left: 22px; position: relative; line-height: 1.6; margin-top: 12px; }
.summary-bullets li::before { content: ""; position: absolute; left: 0; top: 12px; width: 12px; height: 1px; background: var(--gold); }
.summary-bullets li strong { color: var(--on-dark); font-weight: 600; }
.cream .summary-bullets li { color: var(--on-light-mute); }
.cream .summary-bullets li strong { color: var(--on-light); }

/* Service page hero pattern. Left column high-level info, right column hero media. */
.service-hero-media { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-dark); }
.service-hero-media img, .service-hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-hero-media .play-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.35)); cursor: pointer; }
.service-hero-media .play-overlay .vplay { width: 72px; height: 72px; }
.service-cross-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 12px 18px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--on-dark); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; transition: border-color 0.25s var(--ease), color 0.25s var(--ease); }
.service-cross-link:hover { border-color: var(--gold); color: var(--gold); }
.cream .service-cross-link { border-color: var(--line-light); color: var(--on-light); }
.cream .service-cross-link:hover { border-color: var(--gold); color: var(--gold); }

/* Service page secondary video grid with bullets has a slightly wider column treatment */
.service-work .video-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .service-work .video-grid { grid-template-columns: 1fr; } }

/* Skill block: video on one side, capability bullets on the other.
   Used on featured project pages to mirror the live site's video+block pattern. */
.skill-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-top: 48px; }
.skill-block:first-of-type { margin-top: 24px; }
.skill-block.flip > :first-child { order: 2; }
@media (max-width: 900px) { .skill-block { grid-template-columns: 1fr; gap: 28px; } .skill-block.flip > :first-child { order: 0; } }
.skill-block .video-cell { display: flex; flex-direction: column; }
.skill-block .video-card { display: block; position: relative; }
.skill-block .video-thumb { aspect-ratio: 16 / 9; }
.skill-block.shorts-video .video-thumb { aspect-ratio: 9 / 16; max-width: 320px; }
.skill-block .skill-eyebrow { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; display: block; }
.skill-block h3 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 14px; line-height: 1.2; }
.skill-block .skill-sub { font-family: 'Instrument Serif', serif; font-size: 18px; color: var(--on-light); margin-top: 22px; margin-bottom: 8px; }
.dark .skill-block .skill-sub { color: var(--on-dark); }
.skill-block ul { list-style: none; padding: 0; margin: 8px 0 0 0; }
.skill-block ul li { font-size: 14.5px; color: var(--on-light-mute); padding-left: 18px; position: relative; line-height: 1.55; margin-top: 8px; }
.dark .skill-block ul li { color: var(--on-dark-mute); }
.skill-block ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 1px; background: var(--gold); }

/* Image media item, used when a skill block features a still image instead of a video. */
.media-cell { display: flex; flex-direction: column; }
.media-thumb { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-light); background: #18171a; }
.dark .media-thumb { border-color: var(--line-dark); }
.media-thumb.media-portrait { aspect-ratio: 3 / 4 !important; max-width: 440px; margin-left: auto; margin-right: auto; }
.media-thumb.media-portrait img { object-position: center 40%; }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.media-cell:hover .media-thumb img { transform: scale(1.04); }
.media-cell .vc-title { font-family: 'Instrument Serif', serif; font-size: 18px; margin-top: 14px; }
.media-cell .vc-client { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-light-mute); margin-top: 5px; }
.dark .media-cell .vc-client { color: var(--on-dark-mute); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(8,8,9,0.95);
  display: flex; align-items: center; justify-content: center; padding: 6vw;
  opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-inner { width: 100%; max-width: 1280px; aspect-ratio: 16 / 9; position: relative; }
.lb-inner iframe { width: 100%; height: 100%; border: 0; border-radius: 10px; }
.lb-close { position: absolute; top: -48px; right: 0; background: none; border: 0; color: var(--on-dark); font-size: 32px; line-height: 1; cursor: pointer; }
/* Vertical lightbox for YouTube Shorts: switches to 9:16 with a portrait
   max-width so the iframe loads in the correct orientation immediately. */
.lightbox.shorts .lb-inner { aspect-ratio: 9 / 16; max-width: min(480px, calc(86vh * 9 / 16)); }
@media (max-height: 700px) {
  .lightbox.shorts .lb-inner { max-width: calc(80vh * 9 / 16); }
}

/* featured project grid */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card { border: 1px solid var(--line-light); border-radius: 12px; overflow: hidden; transition: transform 0.35s var(--ease), border-color 0.35s var(--ease); }
.dark .project-card { border-color: var(--line-dark); }
.project-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.project-logo { height: 180px; display: flex; align-items: center; justify-content: center; padding: 38px; background: #f6f3ec; }
.project-logo img { max-height: 100%; max-width: 100%; object-fit: contain; }
.project-info { padding: 24px 26px 28px; }
.project-info h3 { font-size: 20px; margin-bottom: 8px; }
.project-info p { font-size: 14px; color: var(--on-light-mute); }
.dark .project-info p { color: var(--on-dark-mute); }

/* services accordion */
.accordion { border-top: 1px solid var(--line-light); }
.dark .accordion { border-color: var(--line-dark); }
.acc-item { border-bottom: 1px solid var(--line-light); }
.dark .acc-item { border-bottom-color: var(--line-dark); }
.acc-head { width: 100%; background: none; border: 0; cursor: pointer; font-family: inherit; color: inherit; display: flex; align-items: center; gap: 22px; padding: 32px 4px; text-align: left; }
.acc-head .acc-no { font-family: 'Instrument Serif', serif; font-size: 15px; color: var(--gold); }
.acc-head h3 { font-size: clamp(20px, 2.3vw, 30px); flex: 1; }
.acc-head .acc-ico { font-size: 28px; color: var(--gold); transition: transform 0.3s var(--ease); line-height: 1; }
.acc-item.open .acc-ico { transform: rotate(45deg); }
.acc-body { overflow: hidden; transition: max-height 0.45s var(--ease); }
.js .acc-body { max-height: 0; }
.acc-body-inner { padding: 0 4px 34px 52px; }
.acc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px 34px; }
.acc-list li { list-style: none; font-size: 15px; color: var(--on-light-mute); padding-left: 18px; position: relative; }
.dark .acc-list li { color: var(--on-dark-mute); }
.acc-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 1px; background: var(--gold); }

/* work card real image */
.work-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.work-card:hover .work-thumb img { transform: scale(1.05); }
.work-thumb .play-sm { position: relative; z-index: 2; }

@media (max-width: 900px) {
  .video-grid, .project-grid { grid-template-columns: 1fr; }
  .acc-list { grid-template-columns: 1fr; }
  .acc-body-inner { padding-left: 4px; }
}

/* hub option blocks */
.hub-img { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-dark); background: #18171a; }
.hub-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-row.flip .hub-img { order: 2; }
.hub-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.hub-bullets { list-style: none; margin: 16px 0 28px; }
.hub-bullets li { font-size: 15px; color: var(--on-dark-mute); padding-left: 20px; position: relative; margin-bottom: 9px; }
.hub-bullets li::before { content: ""; position: absolute; left: 0; top: 11px; width: 9px; height: 1px; background: var(--gold); }
.hub-logo { aspect-ratio: 4 / 3; border-radius: 12px; border: 1px solid var(--line-dark); background: #f6f3ec; display: flex; align-items: center; justify-content: center; padding: 12% 14%; }
.hub-logo img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
.hub-image { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #0d0d0e; border: 1px solid var(--line-dark); }
.hub-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-banner { background: #0d0d0e; padding: 0 0 30px; }
.service-banner img { width: 100%; height: clamp(240px, 30vw, 380px); object-fit: cover; border-radius: 12px; display: block; }
.hub-placeholder { aspect-ratio: 4 / 3; border-radius: 12px; border: 1px solid var(--line-dark); background: radial-gradient(120% 90% at 70% 20%, rgba(199,165,118,0.18), transparent 60%), linear-gradient(160deg, #232220, #0d0d0e); display: flex; align-items: center; justify-content: center; }
.hub-placeholder span { font-family: 'Instrument Serif', serif; font-size: 72px; color: rgba(199,165,118,0.55); }

/* back link */
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-mute); margin-bottom: 24px; }
.back-link:hover { color: var(--gold); }

/* spoke detail list */
.detail-list { list-style: none; columns: 2; column-gap: 40px; margin-top: 8px; }
.detail-list li { font-size: 16px; color: var(--on-dark-mute); padding-left: 20px; position: relative; margin-bottom: 13px; break-inside: avoid; }
.detail-list li::before { content: ""; position: absolute; left: 0; top: 12px; width: 9px; height: 1px; background: var(--gold); }

@media (max-width: 900px) {
  .feature-row.flip .hub-img { order: 0; }
  .detail-list { columns: 1; }
}

/* video hero */
.video-hero { position: relative; background: #0d0d0e; padding: 124px 0 80px; }
.hero-split { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 56px; align-items: center; }
.video-hero h1 { font-size: clamp(38px, 4.8vw, 68px); line-height: 1.04; margin-top: 6px; }
.video-hero h1 .gold { color: var(--gold); font-style: italic; }
.video-hero .hero-sub { max-width: 420px; margin-top: 18px; }
.hero-actions { margin-top: 28px; }
.hero-media { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--line-dark); }
.hero-media video { width: 100%; height: 100%; display: block; object-fit: cover; }
.scroll-cue { margin-top: 46px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-mute); display: flex; align-items: center; gap: 10px; }
.scroll-cue::before { content: ""; width: 40px; height: 1px; background: var(--gold); }

/* small logo grid */
.logo-grid-sm { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 980px; margin: 0 auto; }
.logo-grid-sm .lt { aspect-ratio: 5 / 3; border: 1px solid var(--line-light); border-radius: 10px; background: #f6f3ec; display: flex; align-items: center; justify-content: center; padding: 10% 14%; overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease); }
.logo-grid-sm .lt:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(16,15,12,0.08); border-color: var(--gold); }
.dark .logo-grid-sm .lt { border-color: var(--line-dark); }
.dark .logo-grid-sm .lt:hover { border-color: var(--gold); box-shadow: 0 12px 28px rgba(0,0,0,0.4); }
/* Cap the image at the card box. Using width/height auto with max-width/height
   100% keeps the natural aspect ratio and guarantees no overflow on cards. */
.logo-grid-sm img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.4s var(--ease); }
.logo-grid-sm .lt:hover img { transform: scale(1.05); }
/* Apogee's source PNG has more transparent padding around the mark than the
   other logos, so it reads smaller in the grid. Scale it up to match. */
.logo-grid-sm .lt img[src*="apogee"] { transform: scale(1.45); }
.logo-grid-sm .lt:hover img[src*="apogee"] { transform: scale(1.52); }

@media (max-width: 700px) {
  /* Constrain the strip to a comfortable column width and center it. Without
     the max-width the cards stretch edge to edge and 7 items leaves an awkward
     single-card last row. With this rule plus the :last-child override below,
     odd item counts read as a tidy centered block. */
  .logo-grid-sm { grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 320px; margin: 0 auto; }
  .logo-grid-sm .lt { aspect-ratio: 4 / 3; padding: 12% 16%; }
  /* If the final card is an orphan in a 2-column grid, let it span both
     columns and re-center it so the row reads as one centered tile. */
  .logo-grid-sm .lt:last-child:nth-child(odd) { grid-column: span 2; max-width: 154px; margin: 0 auto; }
}
@media (max-width: 900px) {
  .video-hero { padding: 96px 0 56px; }
  .hero-split { grid-template-columns: 1fr; gap: 32px; }
  .hero-media { -webkit-mask-image: none; mask-image: none; border-radius: 12px; }
}

/* category cards */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card { display: block; color: inherit; }
.cat-img { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-dark); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease); }
.cat-card:hover .cat-img img { transform: scale(1.05); }
.cat-row { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.cat-row h3 { font-size: 21px; }
.cat-row .arrow { color: var(--gold); transition: transform 0.25s var(--ease); }
.cat-card:hover .cat-row .arrow { transform: translateX(5px); }

/* accomplishment list with icons */
.accomplishments { list-style: none; margin: 18px 0 26px; }
.accomplishments li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.ac-ico { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; background: rgba(199,165,118,0.1); border: 1px solid var(--line-dark); display: flex; align-items: center; justify-content: center; }
.cream .ac-ico { border-color: var(--line-light); }
.ac-text { font-size: 15px; color: var(--on-dark-mute); padding-top: 10px; }
.cream .ac-text { color: var(--on-light-mute); }

/* service cards with icons */
.card .card-ico { width: 34px; height: 34px; color: var(--gold); margin-bottom: 14px; display: block; }

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

/* ============================================================
   Subtle motion cues
   ============================================================ */

/* Service cards on home and AI cards lift on hover */
.card:hover { transform: translateY(-4px); border-color: var(--gold); }
.dark .card { border-color: var(--line-dark); transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease); }
.dark .card:hover { transform: translateY(-4px); border-color: var(--gold); background: rgba(199,165,118,0.04); }

/* Featured-projects hub logos and project rows */
.hub-logo { transition: transform 0.4s var(--ease), border-color 0.4s var(--ease); }
.hub-logo:hover { transform: translateY(-3px); border-color: var(--gold); }
.hub-logo img { transition: transform 0.5s var(--ease); }
.hub-logo:hover img { transform: scale(1.04); }

/* Hub image on services hub */
.hub-image { transition: transform 0.4s var(--ease); overflow: hidden; }
.hub-image img { transition: transform 0.6s var(--ease); }
.hub-image:hover img { transform: scale(1.04); }

/* Reel tile on home (AI block) */
.reel { transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.reel:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,0.35); }

/* Stat numbers get a small drift on entry */
.stat .num { transition: transform 0.5s var(--ease), color 0.35s var(--ease); display: inline-block; }
.stats:hover .stat .num { color: var(--gold); }
.stat:hover .num { transform: translateY(-2px); }

/* Eyebrow gold underline on hover (anywhere a text-link is) */
.text-link { position: relative; }
.text-link::after { content: ""; position: absolute; left: 0; right: 22px; bottom: -4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left center; transition: transform 0.35s var(--ease); }
.text-link:hover::after { transform: scaleX(1); }

/* Nav links: gold underline grows on hover */
.nav-links a { position: relative; }
.nav-links a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: center; transition: transform 0.3s var(--ease); }
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-links a.active:not(.nav-cta)::after { transform: scaleX(0.6); }

/* Feature-row image lift on hover (project list pages) */
.feature-img { transition: transform 0.45s var(--ease); }
.feature-row:hover .feature-img { transform: translateY(-3px); }

/* Brand mark in header gets a tiny tilt on hover */
.brand { transition: opacity 0.3s var(--ease); }
.brand:hover { opacity: 0.85; }

/* Buttons: gold pulse on hover */
.btn-gold { transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(199,165,118,0.25); }
.btn-ghost { transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Honor reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .card, .hub-logo, .reel, .feature-img, .hub-image img, .btn-gold, .btn-ghost { transition: none !important; }
  .card:hover, .hub-logo:hover, .reel:hover, .feature-row:hover .feature-img, .btn-gold:hover { transform: none !important; }
}
