/* ============================================================
   AuddiV — Audio & Video
   "Life. Visualized."
   Slick metallic refresh.
   ============================================================ */

:root {
  --bg: #050505;
  --bg-2: #0c0c0c;
  --bg-3: #111;
  --fg: #f3f0ea;
  --muted: #8c877f;
  --muted-2: #6c6862;

  /* Gold ramp */
  --gold-1: #fbe79a;
  --gold-2: #e9c168;
  --gold-3: #caa14a;   /* primary accent (replaces --accent) */
  --gold-4: #9d6e1e;
  --gold-5: #5e4310;
  --accent: var(--gold-3);

  /* Silver ramp */
  --silver-1: #f8f8fa;
  --silver-2: #d8d8de;
  --silver-3: #b6b6be;
  --silver-4: #6e6e76;

  --line: rgba(243,240,234,0.10);
  --line-strong: rgba(243,240,234,0.18);
  --line-gold: rgba(202,161,74,0.32);

  --maxw: 1480px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: #030303; }
body {
  color: var(--fg);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "kern";
  scroll-behavior: smooth;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(202,161,74,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 110%, rgba(184,184,200,0.05) 0%, transparent 70%),
    linear-gradient(180deg, #0a0a0a 0%, #050505 50%, #020202 100%);
  background-attachment: fixed;
  background-color: #030303;
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  /* Subtle film grain */
  content: '';
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8'><circle cx='1' cy='1' r='0.6' fill='%23ffffff' opacity='0.05'/><circle cx='5' cy='3' r='0.4' fill='%23ffffff' opacity='0.04'/></svg>");
  opacity: 0.5;
  mix-blend-mode: overlay;
}
a { color: inherit; text-decoration: none; }
img, video, iframe, svg { max-width: 100%; display: block; }
::selection { background: var(--gold-4); color: #0a0a0a; }

/* ---------- Typography utilities ---------- */
.serif { font-family: 'Big Shoulders Display', 'Cormorant Garamond', serif; }
.brand { font-family: 'Cinzel', 'Cormorant Garamond', serif; letter-spacing: 0.06em; }
.italic-serif { font-family: 'Cormorant Garamond', 'Big Shoulders Display', serif; font-style: italic; }

/* Metallic text gradient — gold (luxury cinematic) */
.gold-text,
.gold-text * {
  background-image: linear-gradient(135deg,
    #fbe79a 0%,
    #e9c168 22%,
    #9d6e1e 48%,
    #d6a84a 62%,
    #fbe79a 78%,
    #a3771f 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transition: background-position 1.4s var(--ease);
}
.gold-text:hover { background-position: 100% 50%; }

/* Metallic text gradient — silver (cool brushed) */
.silver-text,
.silver-text * {
  background-image: linear-gradient(135deg,
    #ffffff 0%,
    #d8d8de 30%,
    #6e6e76 55%,
    #c8c8d0 75%,
    #ededf0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Eyebrow / labels */
.eyebrow,
.label-eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-3);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before,
.eyebrow::after {
  content: '';
  width: 32px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-3));
}
.eyebrow::after { background: linear-gradient(90deg, var(--gold-3), transparent); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .18s; }
.reveal.delay-3 { transition-delay: .28s; }

/* ---------- Navigation ---------- */
nav.site {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 44px;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(5,5,5,0.55);
  border-bottom: 1px solid var(--line);
  transition: padding .35s var(--ease), background .35s var(--ease);
}
nav.site.scrolled { padding: 10px 44px; background: rgba(5,5,5,0.85); }
nav.site .logo {
  display: flex; align-items: center; gap: 14px;
  font-family: 'Big Shoulders Display', 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 22px;
  text-transform: none;
}
nav.site .logo img { height: 36px; width: auto; display: block; }
nav.site .logo .word .a { color: var(--silver-1); }
nav.site .logo .word .v {
  background: linear-gradient(135deg, #fbe79a 0%, #caa14a 50%, #9d6e1e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
nav.site ul { list-style: none; display: flex; gap: 36px; }
nav.site ul a {
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted); transition: color .25s var(--ease);
  padding: 8px 0; position: relative; font-weight: 500;
}
nav.site ul a:hover, nav.site ul a.active { color: var(--fg); }
nav.site ul a.active::after,
nav.site ul a:hover::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-3), transparent);
}
@media (max-width: 700px) {
  nav.site { padding: 12px 20px; }
  nav.site.scrolled { padding: 8px 20px; }
  nav.site .logo img { height: 28px; }
  nav.site .logo { font-size: 17px; gap: 10px; letter-spacing: 0.02em; }
  nav.site ul { gap: 14px; }
  nav.site ul a { font-size: 10px; letter-spacing: 0.20em; }
}

/* ---------- Page Layout ---------- */
main { padding-top: 80px; position: relative; z-index: 2; }
section {
  padding: 120px 44px;
  max-width: var(--maxw);
  margin: 0 auto;
}
section.full { max-width: none; padding-left: 0; padding-right: 0; }
section.tight { padding: 70px 44px; }
@media (max-width: 700px) {
  section { padding: 60px 22px; }
  section.tight { padding: 44px 22px; }
}

/* ---------- Section Headers ---------- */
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 80px; gap: 50px; flex-wrap: wrap;
}
.section-head .label {
  font-size: 10.5px; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--gold-3); font-weight: 500;
}
.section-head h2 {
  font-family: 'Big Shoulders Display', 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(44px, 6.5vw, 96px);
  line-height: 0.96; letter-spacing: -0.025em;
  margin-top: 14px;
}
.section-head h2 em {
  font-style: italic; font-weight: 500;
  background: linear-gradient(135deg, #fbe79a, #caa14a 50%, #9d6e1e);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section-head p {
  max-width: 460px; color: var(--muted);
  font-size: 15px; line-height: 1.75;
}

/* ---------- Page Header (sub-pages) ---------- */
.page-header {
  padding: 200px 44px 110px;
  border-bottom: 1px solid var(--line);
  max-width: var(--maxw); margin: 0 auto;
  position: relative;
}
.page-header::after {
  content: ''; position: absolute; left: 50%; bottom: -1px;
  transform: translateX(-50%);
  width: 240px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-3), transparent);
}
.page-header--compact { padding: 80px 44px 16px; border-bottom: none; }
@media (max-width: 700px) {
  .page-header { padding: 130px 22px 60px; }
  .page-header--compact { padding: 70px 22px 8px; }
}
.page-header .label {
  font-size: 10.5px; letter-spacing: 0.42em;
  text-transform: uppercase; color: var(--gold-3);
  margin-bottom: 28px; font-weight: 500;
}
.page-header h1 {
  font-family: 'Big Shoulders Display', 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(64px, 11vw, 180px);
  line-height: 0.92; letter-spacing: -0.025em;
}
.page-header h1 em {
  font-style: italic; font-weight: 500;
  background: linear-gradient(135deg, #fbe79a 0%, #caa14a 50%, #9d6e1e 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.page-header h1 .silver {
  background: linear-gradient(135deg, #ffffff 0%, #b6b6be 55%, #ededf0 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-style: normal;
}
.page-header .lede {
  margin-top: 36px; max-width: 720px;
  font-size: 18px; line-height: 1.75; color: var(--muted);
  font-family: 'Cormorant Garamond', 'Big Shoulders Display', serif;
  font-style: italic;
  font-size: 22px;
}

/* ---------- HERO (Home) ---------- */
.hero {
  min-height: calc(100vh - 80px);
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  margin-top: -80px;
  /* Extra bottom padding (was 100px) so the absolutely-positioned .scroll
     indicator at bottom: 30px doesn't crowd the meta strip above it. */
  padding: 160px 44px 180px;
}
.hero .reel-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(202,161,74,0.14) 0%, transparent 50%),
    radial-gradient(circle at 82% 72%, rgba(216,216,222,0.08) 0%, transparent 55%),
    radial-gradient(circle at 50% 50%, #181818 0%, #050505 75%);
}
.hero .reel-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, transparent 60%, rgba(3,3,3,0.92) 100%);
}
/* Faint scanlines */
.hero .reel-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    0deg, rgba(255,255,255,0.015) 0 1px, transparent 1px 4px);
  pointer-events: none;
}
.hero .inner {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto;
  width: 100%;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 72px; align-items: center;
}
/* Stacked variant — logo on top, descriptive blurb beneath, centered */
.hero--stacked .inner {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 0;
  max-width: 980px;
}
.hero--stacked .eyebrow { margin-bottom: 36px; }
.hero--stacked .hero-logo {
  max-width: 624px;
  margin: 0 auto 18px;
}
.hero--stacked .hero-lede {
  margin: 12px auto 0; max-width: 640px;
}
.hero--stacked .meta {
  margin: 56px auto 0; width: 100%;
}
.hero--stacked .meta::before {
  left: 50%; transform: translateX(-50%);
  width: 120px;
  background: linear-gradient(90deg, transparent, var(--gold-3), transparent);
}
.hero .hero-logo {
  width: 100%; max-width: 580px;
  margin: 0 auto; display: block;
}
/* The hero logo is an animated WebP with true alpha, so no blend tricks
   are needed — the transparent regions render directly against the page
   background. Float animation removed per design preference. */
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}
.hero .eyebrow { margin-bottom: 28px; }
.hero h1 {
  font-family: 'Big Shoulders Display', 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(60px, 10vw, 150px);
  line-height: 0.92; letter-spacing: -0.025em;
}
.hero h1 .silver {
  background: linear-gradient(135deg, #ffffff 0%, #b6b6be 55%, #ededf0 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero h1 .gold {
  font-style: italic;
  background: linear-gradient(135deg, #fbe79a 0%, #e9c168 22%, #9d6e1e 50%, #d6a84a 70%, #fbe79a 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero .hero-lede {
  margin-top: 32px; max-width: 540px;
  font-size: 19px; line-height: 1.75; color: var(--muted);
  font-family: 'Cormorant Garamond', 'Big Shoulders Display', serif;
  font-style: italic;
  font-size: 22px;
}
.hero .meta {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; max-width: 660px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  position: relative;
}
.hero .meta::before {
  content: ''; position: absolute; top: -1px; left: 0; width: 80px; height: 1px;
  background: linear-gradient(90deg, var(--gold-3), transparent);
}
.hero .meta div span:first-child {
  display: block; font-size: 10px; letter-spacing: 0.32em;
  color: var(--muted-2); text-transform: uppercase; margin-bottom: 8px;
}
.hero .meta div span:last-child {
  font-size: 13px; color: var(--fg); letter-spacing: 0.04em;
}
@media (max-width: 980px) {
  .hero { padding: 130px 22px 150px; }
  .hero .inner { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .hero .hero-logo { max-width: 380px; order: -1; }
  .hero .meta { margin-left: auto; margin-right: auto; }
  .hero .hero-lede { margin-left: auto; margin-right: auto; }
  .hero .eyebrow { justify-content: center; }
}
.hero .scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  font-size: 9.5px; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--muted); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.hero .scroll::after {
  content: ''; width: 1px; height: 48px;
  background: linear-gradient(180deg, var(--gold-3), transparent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50%     { opacity: 0.25; transform: scaleY(0.6); }
}

/* ---------- SLIDESHOW TICKER ---------- */
.ticker {
  position: relative;
  overflow: hidden;
  padding: 38px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(202,161,74,0.05), transparent 40%, rgba(216,216,222,0.03)),
    #040404;
}
.ticker::before, .ticker::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 180px;
  z-index: 2; pointer-events: none;
}
.ticker::before { left: 0;  background: linear-gradient(90deg, #040404 10%, transparent); }
.ticker::after  { right: 0; background: linear-gradient(270deg, #040404 10%, transparent); }
.ticker-track {
  display: flex; gap: 16px;
  width: max-content;
  animation: ticker-scroll 110s linear infinite;
  will-change: transform;
  transform: translateZ(0); /* force a GPU compositor layer for crisp animation */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-tile {
  display: block;
  text-decoration: none;
  flex: 0 0 auto;
  width: 320px; height: 180px;
  /* No static border — produced subpixel artifacts under continuous transform.
     Border now only appears on hover, when the tile is paused/static. */
  background-color: #0c0c0c;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.35) contrast(1.06) brightness(0.85);
  transition: filter .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
  position: relative;
  cursor: pointer;
  /* Promote each tile to its own compositor layer too — eliminates the
     occasional flicker that shows up between sibling animated layers. */
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.ticker-tile::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.65)),
    radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,0.45));
  pointer-events: none;
}
/* Play affordance — gold circle with a play triangle, appears on hover */
.ticker-tile::before {
  content: '\25B6'; /* ▶ */
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  padding-left: 4px; /* optical centering of the triangle */
  border-radius: 50%;
  background: linear-gradient(135deg, #fbe79a 0%, #caa14a 50%, #9d6e1e 100%);
  color: #050505;
  font-size: 22px;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 10px 28px rgba(202,161,74,0.45);
  opacity: 0;
  transition: opacity .35s var(--ease), transform .45s var(--ease);
  z-index: 1;
  pointer-events: none;
}
.ticker-tile[href]:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.ticker-tile:hover {
  filter: none;
  transform: translateZ(0) scale(1.025);
  box-shadow: 0 0 0 1px var(--gold-3), 0 12px 30px rgba(202,161,74,0.20);
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 700px) {
  .ticker { padding: 24px 0; }
  .ticker-tile { width: 220px; height: 124px; }
  .ticker::before, .ticker::after { width: 80px; }
}

/* ---------- Work Filters ---------- */
.work-filters {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 60px;
}
.work-filters button {
  background: transparent; color: var(--muted);
  border: 1px solid var(--line);
  padding: 12px 22px;
  font-size: 10.5px; letter-spacing: 0.32em; text-transform: uppercase;
  cursor: pointer; transition: all .3s var(--ease);
  font-family: 'Inter', sans-serif; font-weight: 500;
  position: relative;
}
.work-filters button:hover {
  color: var(--fg); border-color: var(--gold-3);
}
.work-filters button.active {
  color: #050505;
  background: linear-gradient(135deg, #fbe79a, #caa14a 50%, #9d6e1e);
  border-color: var(--gold-3);
  box-shadow: 0 6px 20px rgba(202,161,74,0.20);
}

/* ---------- Work Grid ---------- */
.work-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px;
}
@media (max-width: 800px) { .work-grid { grid-template-columns: 1fr; } }

.project {
  position: relative; overflow: hidden; cursor: pointer;
  background: #0a0a0a; border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.project::before {
  content: ''; position: absolute; inset: 0;
  border: 1px solid transparent;
  pointer-events: none; z-index: 4;
  transition: border-color .35s var(--ease);
}
.project:hover { border-color: var(--gold-3); }
.project:hover::before { border-color: rgba(202,161,74,0.35); }
.project .thumb {
  position: relative;
  aspect-ratio: 16/9;
  background-size: cover; background-position: center;
  overflow: hidden;
  transition: filter .55s var(--ease);
  filter: grayscale(0.35) contrast(1.05) brightness(0.92);
}
.project:hover .thumb { filter: none; }
.project .thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.55));
  pointer-events: none;
  z-index: 1;
}
.project .thumb img.thumb-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.project:hover .thumb img.thumb-img { transform: scale(1.05); }
.project .info {
  padding: 26px 28px 28px;
  display: flex; flex-direction: column; gap: 10px;
  background: #080808;
  border-top: 1px solid var(--line);
  position: relative;
}
.project .info::before {
  content: ''; position: absolute; top: 0; left: 0; width: 60px; height: 1px;
  background: linear-gradient(90deg, var(--gold-3), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.project:hover .info::before { transform: scaleX(1); }
.project .info .row1 {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold-3); font-weight: 500;
}
.project .info .row1 .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); flex-shrink: 0; }
.project .info h3 {
  font-family: 'Big Shoulders Display', 'Cormorant Garamond', serif; font-weight: 500;
  font-size: clamp(22px, 2.4vw, 32px); line-height: 1.12;
  color: var(--fg);
  margin-top: 4px;
  letter-spacing: -0.005em;
}
.project .project-logo {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: flex-start;
}
.project .project-logo img {
  height: 40px; width: auto; max-width: 70%;
  filter: brightness(0) saturate(100%) invert(74%) sepia(33%) saturate(520%) hue-rotate(7deg) brightness(94%) contrast(86%);
  opacity: 0.92;
  transition: opacity .25s var(--ease);
}
.project:hover .project-logo img { opacity: 1; }
.project .play {
  position: absolute; top: 18px; right: 18px; z-index: 3;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.45);
  display: flex; align-items: center; justify-content: center;
  background: rgba(8,8,8,0.55); backdrop-filter: blur(8px);
  transition: all .3s var(--ease);
  opacity: 0; transform: scale(0.85);
}
.project:hover .play {
  opacity: 1; transform: scale(1);
  background: linear-gradient(135deg, #fbe79a, #caa14a 50%, #9d6e1e);
  border-color: var(--gold-3);
  box-shadow: 0 8px 24px rgba(202,161,74,0.30);
}
.project .play svg { width: 14px; height: 14px; fill: var(--fg); transition: fill .25s; }
.project:hover .play svg { fill: #050505; }

.project .thumb .inline-player,
.project .thumb iframe.inline-player,
.project .thumb video.inline-player {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; z-index: 5;
  background: #000;
  object-fit: contain; /* preserve full frame even for non-16:9 sources */
}

.project.playing { cursor: default; border-color: var(--gold-3); }
.project.playing .thumb { filter: none; }
.project.playing .play { display: none; }

/* Highlight the project tile that was deep-linked from a ticker click on
   the home page. Pulsing gold ring + de-grayed thumbnail draws the eye. */
.project.highlighted {
  border-color: var(--gold-3);
  animation: highlightPulse 1.4s ease-in-out infinite;
}
.project.highlighted .thumb { filter: none; }
.project.highlighted .play { opacity: 1; transform: scale(1); }
@keyframes highlightPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(202,161,74,0.45), 0 14px 36px rgba(202,161,74,0.18); }
  50%      { box-shadow: 0 0 0 4px rgba(202,161,74,0.65), 0 18px 48px rgba(202,161,74,0.32); }
}

/* ---------- Marquee (clients) ---------- */
.marquee {
  overflow: hidden; padding: 56px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  position: relative;
  background: linear-gradient(180deg, rgba(202,161,74,0.04), transparent 40%, rgba(216,216,222,0.03));
}
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 160px;
  z-index: 2; pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, #030303 5%, transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, #030303 5%, transparent); }
.marquee-track {
  display: flex; gap: 36px; white-space: nowrap;
  animation: scroll 64s linear infinite;
  font-family: 'Big Shoulders Display', 'Cormorant Garamond', serif;
  font-size: 52px;
  font-style: italic; font-weight: 400;
  color: var(--silver-3);
  letter-spacing: -0.01em;
}
.marquee-track .star {
  font-style: normal; margin: 0 14px;
  background: linear-gradient(135deg, #fbe79a 0%, #caa14a 50%, #9d6e1e 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 700px) {
  .marquee { padding: 30px 0; }
  .marquee-track { font-size: 32px; gap: 22px; }
  .marquee::before, .marquee::after { width: 70px; }
}

/* ---------- Networks lockup ---------- */
.networks { padding-top: 20px; }
.networks h3 {
  font-size: 10.5px; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--muted); text-align: center;
  margin-bottom: 50px; font-weight: 500;
  display: flex; align-items: center; justify-content: center; gap: 18px;
}
.networks h3::before, .networks h3::after {
  content: ''; width: 80px; height: 1px;
}
.networks h3::before { background: linear-gradient(90deg, transparent, var(--gold-3)); }
.networks h3::after  { background: linear-gradient(90deg, var(--gold-3), transparent); }
.networks-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, 170px);
  justify-content: center;
  border-top: 1px solid var(--line);
  max-width: 1400px;
  margin: 0 auto;
}
.networks-row span {
  display: flex; align-items: center; justify-content: center;
  width: 170px; height: 100px; padding: 14px 18px;
  border-left: 1px solid var(--line);
  background: rgba(10,10,10,0.4);
  font-family: 'Cinzel', 'Inter', sans-serif;
  font-style: normal;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  transition: all .4s var(--ease);
  text-align: center; line-height: 1.3;
  position: relative; overflow: hidden;
}
.networks-row span:last-child { border-right: 1px solid var(--line); }
.networks-row span::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(202,161,74,0.18), transparent 70%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.networks-row span:hover {
  color: var(--gold-1);
  letter-spacing: 0.32em;
  background: rgba(202,161,74,0.04);
}
.networks-row span:hover::before { opacity: 1; }
@media (max-width: 700px) {
  .networks-row {
    grid-template-columns: repeat(3, 1fr);
    border-left: 1px solid var(--line);
  }
  .networks-row span {
    width: auto; height: 64px;
    padding: 8px 6px;
    font-size: 10px; letter-spacing: 0.14em;
  }
  .networks-row span:hover { letter-spacing: 0.20em; }
}
@media (max-width: 420px) {
  .networks-row { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- About / Bios ---------- */
.bios { display: grid; grid-template-columns: 1fr; gap: 90px; }
.bio {
  display: grid; grid-template-columns: 0.85fr 1.4fr; gap: 70px;
  align-items: start;
  padding-bottom: 70px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.bio:last-child { border-bottom: none; padding-bottom: 0; }
.bio-portrait {
  aspect-ratio: 4/5;
  background-color: #0a0a0a;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
}
/* Each portrait gets its background-image set inline (e.g. assets/img/adam.jpg)
   for the most reliable cross-browser resolution of the relative URL. */
/* Subtle warm vignette that grades the photo into the dark page */
.bio-portrait::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.55)),
    radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.45));
  pointer-events: none;
  z-index: 2;
}
/* Decorative gold/silver bar pinned at the bottom */
.bio-portrait .bar {
  display: block;
  position: absolute; bottom: 22px; left: 22px; right: 22px;
  height: 1px; z-index: 3;
  background: linear-gradient(90deg, transparent, var(--gold-3), transparent);
}
.bio.silver-portrait .bio-portrait .bar {
  background: linear-gradient(90deg, transparent, var(--silver-2), transparent);
}
/* Initials are no longer visible — photos show directly. Kept the rule out
   for backward compat: data-initials remains in the markup but renders as
   nothing because no ::before content is generated. */
.bio-text .role {
  font-size: 10.5px; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--gold-3); margin-bottom: 18px; font-weight: 500;
}
.bio.silver-portrait .bio-text .role {
  background: linear-gradient(135deg, #ffffff, #b6b6be 60%, #6e6e76);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.bio-text h2 {
  font-family: 'Big Shoulders Display', 'Cormorant Garamond', serif; font-weight: 500;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.98; letter-spacing: -0.025em;
  margin-bottom: 28px;
}
.bio-text p {
  font-size: 17px; line-height: 1.78; color: #d8d4cc;
  margin-bottom: 22px; font-weight: 300;
}
.bio-text p.lead {
  font-size: 26px; font-family: 'Cormorant Garamond', 'Big Shoulders Display', serif; font-weight: 500;
  font-style: italic; color: var(--fg); line-height: 1.4;
  margin-bottom: 32px;
}
@media (max-width: 900px) {
  .bio { grid-template-columns: 1fr; gap: 28px; }
  .bio-portrait {
    aspect-ratio: 1/1; max-width: 220px; width: 60%;
    margin: 0 auto;
  }
  .bio-portrait::before { font-size: 130px; }
  .bio-text p { font-size: 15.5px; line-height: 1.72; }
  .bio-text p.lead { font-size: 21px; line-height: 1.45; }
}

/* ---------- Contact ---------- */
.contact-hero {
  text-align: center; padding: 200px 44px 120px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
/* Solo variant — when contact page has only the hero and nothing else,
   stretch it so the email anchor sits comfortably above the fold. */
.contact-hero--solo {
  min-height: calc(100vh - 80px);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  border-bottom: none;
  padding: 120px 44px 60px;
}
.contact-hero--solo::after { display: none; }
.contact-hero--solo a.email { margin-top: 56px; display: inline-block; }
.contact-hero::after {
  content: ''; position: absolute; left: 50%; bottom: -1px;
  transform: translateX(-50%);
  width: 240px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-3), transparent);
}
.contact-hero .label {
  font-size: 10.5px; letter-spacing: 0.42em;
  text-transform: uppercase; color: var(--gold-3); font-weight: 500;
}
.contact-hero h1 {
  font-family: 'Big Shoulders Display', 'Cormorant Garamond', serif; font-weight: 500;
  font-size: clamp(52px, 9vw, 170px); line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 36px 0 64px;
}
.contact-hero h1 em {
  font-style: italic; font-weight: 500;
  background: linear-gradient(135deg, #fbe79a 0%, #caa14a 50%, #9d6e1e 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.contact-hero h1 .silver {
  background: linear-gradient(135deg, #ffffff 0%, #b6b6be 55%, #ededf0 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.contact-hero a.email {
  font-family: 'Cormorant Garamond', 'Big Shoulders Display', serif; font-style: italic;
  font-size: clamp(28px, 4vw, 60px);
  border-bottom: 1px solid var(--gold-3); padding-bottom: 10px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.contact-hero a.email:hover {
  color: var(--gold-2);
  border-color: var(--gold-2);
}

.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 6px; max-width: var(--maxw); margin: 0 auto;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  padding: 64px 44px; border: 1px solid var(--line);
  background: #080808; min-height: 260px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: background .3s var(--ease), border-color .3s var(--ease);
  position: relative; overflow: hidden;
}
.contact-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 0; height: 1px;
  background: linear-gradient(90deg, var(--gold-3), transparent);
  transition: width .5s var(--ease);
}
.contact-card:hover { background: #0d0d0d; border-color: rgba(202,161,74,0.3); }
.contact-card:hover::before { width: 100%; }
.contact-card .label {
  font-size: 10px; letter-spacing: 0.42em;
  text-transform: uppercase; color: var(--muted); font-weight: 500;
}
.contact-card .value {
  font-family: 'Big Shoulders Display', 'Cormorant Garamond', serif; font-weight: 500;
  font-size: 26px; line-height: 1.3; color: var(--fg);
}
.contact-card .value a {
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.contact-card .value a:hover { border-color: var(--gold-3); color: var(--gold-2); }

/* ---------- Footer ---------- */
footer {
  padding: 44px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10.5px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted); flex-wrap: wrap; gap: 18px;
  position: relative;
  font-weight: 500;
}
footer::before {
  content: ''; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-3), transparent);
}
footer a:hover { color: var(--gold-2); }
footer .foot-mark { display: flex; align-items: center; gap: 12px; }
footer .foot-mark img { height: 26px; width: auto; }

/* ---------- Disclaimer ---------- */
.disclaimer {
  background: linear-gradient(180deg, rgba(202,161,74,0.05), rgba(202,161,74,0.02));
  border: 1px solid rgba(202,161,74,0.18);
  padding: 18px 22px; font-size: 11.5px; color: var(--muted); line-height: 1.7;
  margin-top: 50px; max-width: 720px;
}
.disclaimer strong { color: var(--gold-2); letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600; }

/* ---------- CTA buttons ---------- */
.featured-cta {
  display: flex; gap: 22px; margin-top: 70px; flex-wrap: wrap;
}
.btn-cta {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 20px 36px; border: 1px solid var(--gold-3);
  color: var(--gold-2); font-size: 10.5px; letter-spacing: 0.42em;
  text-transform: uppercase; transition: all .35s var(--ease);
  position: relative; overflow: hidden;
  font-family: 'Inter', sans-serif; font-weight: 500;
}
.btn-cta::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, #fbe79a 0%, #caa14a 50%, #9d6e1e 100%);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
  z-index: -1;
}
.btn-cta:hover { color: #050505; border-color: var(--gold-1); }
.btn-cta:hover::before { transform: translateY(0); }
.btn-cta.solid {
  color: #050505;
  background: linear-gradient(135deg, #fbe79a 0%, #caa14a 50%, #9d6e1e 100%);
}
.btn-cta.solid::before {
  background: transparent; transform: translateY(0);
  transition: opacity .35s var(--ease);
  opacity: 0;
}
.btn-cta.solid:hover {
  color: var(--gold-2);
  background: transparent;
  border-color: var(--gold-3);
}

/* ---------- Bio meta strip ---------- */
.bio-meta {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; max-width: 940px; margin: 0 auto;
  padding-top: 36px; border-top: 1px solid var(--line);
  text-align: center;
  position: relative;
}
.bio-meta::before {
  content: ''; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-3), transparent);
}
.bio-meta div span:first-child {
  display: block; font-size: 10px; letter-spacing: 0.32em;
  color: var(--muted-2); text-transform: uppercase; margin-bottom: 10px; font-weight: 500;
}
.bio-meta div span:last-child {
  font-size: 14px; color: var(--fg);
  font-family: 'Cormorant Garamond', 'Big Shoulders Display', serif;
  font-style: italic;
  font-size: 19px; letter-spacing: 0.01em;
}
@media (max-width: 700px) {
  .bio-meta { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- About intro paragraph ---------- */
.intro-block {
  max-width: 980px; margin: 0 auto;
  text-align: center;
}
.intro-block p {
  font-family: 'Cormorant Garamond', 'Big Shoulders Display', serif;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.5; font-weight: 400; font-style: italic;
  color: var(--fg);
}
.intro-block p em {
  font-style: italic; font-weight: 500;
  background: linear-gradient(135deg, #fbe79a, #caa14a 50%, #9d6e1e);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.intro-block .stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  margin-top: 70px; padding-top: 40px; border-top: 1px solid var(--line);
  position: relative;
}
.intro-block .stats::before {
  content: ''; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-3), transparent);
}
.intro-block .stats div .num {
  display: block;
  font-family: 'Big Shoulders Display', 'Cormorant Garamond', serif;
  font-size: 64px; font-weight: 500; line-height: 1; margin-bottom: 12px;
  background: linear-gradient(135deg, #fbe79a 0%, #e9c168 25%, #9d6e1e 60%, #d6a84a 85%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  letter-spacing: -0.02em;
}
.intro-block .stats div .label {
  font-size: 10px; letter-spacing: 0.42em;
  text-transform: uppercase; color: var(--muted); font-weight: 500;
}
@media (max-width: 700px) {
  .intro-block .stats { grid-template-columns: 1fr; gap: 22px; padding-top: 30px; margin-top: 40px; }
  .intro-block .stats div .num { font-size: 44px; }
}

/* ============================================================
   Big Shoulders Display — typography polish
   Bank Gothic-flavored display font tweaks.
   ============================================================ */

/* Display headlines: bump weight + tighter spacing for the geometric/credits feel */
.section-head h2,
.page-header h1,
.contact-hero h1,
.bio-text h2,
.hero h1,
.intro-block .stats div .num {
  font-weight: 600;
  letter-spacing: -0.005em;
}
.contact-card .value { font-weight: 600; letter-spacing: 0; }

/* Italic emphasis inside Big Shoulders headlines uses a real italic serif
   instead of faking oblique on a geometric sans. */
.section-head h2 em,
.page-header h1 em,
.contact-hero h1 em,
.bio-text h2 em,
.hero h1 em,
.intro-block p em {
  font-family: 'Cormorant Garamond', 'Bodoni 72', serif;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0;
}

/* Project tile titles benefit from a slight weight bump */
.project .info h3 { font-weight: 600; letter-spacing: -0.005em; }

/* Marquee — keep it elegant italic via Cormorant rather than Big Shoulders oblique */
.marquee-track { font-family: 'Cormorant Garamond', 'Big Shoulders Display', serif; font-weight: 500; }
