/* =====================================================================
   ROBERT REDDRICK — Official Site
   Design system: cinematic, editorial, luxurious
   Palette: Deep Black, Charcoal, Gold, Ivory, Burgundy, Deep Navy
   Type: Cormorant Garamond / Playfair Display (headings), Inter (body)
   ===================================================================== */

:root {
  /* Core palette */
  --black:     #0E0E0E;
  --charcoal:  #1D1D1D;
  --gold:      #B99745;
  --gold-soft: #d9bd7e;
  --ivory:     #F7F4EC;
  --burgundy:  #5C1F28;
  --navy:      #18222E;

  /* Functional */
  --bg:        #0E0E0E;
  --bg-alt:    #141414;
  --surface:   #1D1D1D;
  --line:      rgba(185,151,69,0.22);
  --line-soft: rgba(247,244,236,0.10);
  --text:      #EDEAE0;
  --text-dim:  #A8A49A;
  --text-mute: #7C7970;

  /* Type */
  --serif:  "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans:   "Inter", "Source Sans Pro", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Rhythm */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(64px, 9vw, 140px);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
h4 { font-size: 1.25rem; }
p  { color: var(--text-dim); }
strong { color: var(--text); font-weight: 600; }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.1rem;
  display: inline-block;
}
.lede { font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--text); line-height: 1.6; font-family: var(--serif); font-style: italic; }

.gold { color: var(--gold); }
.serif { font-family: var(--serif); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section--navy { background: linear-gradient(180deg, var(--navy), #0f161f); }
.center { text-align: center; }
.narrow { max-width: 760px; }
.divider { width: 60px; height: 2px; background: var(--gold); margin: 1.6rem 0; border: none; }
.center .divider { margin-inline: auto; }

.section-head { max-width: 720px; margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.center.section-head { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-size: .8rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 1.05rem 2.1rem; border-radius: var(--radius);
  cursor: pointer; border: 1px solid var(--gold);
  transition: all .35s var(--ease); position: relative;
}
.btn--primary { background: var(--gold); color: var(--black); }
.btn--primary:hover { background: var(--gold-soft); border-color: var(--gold-soft); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ivory); border-color: rgba(247,244,236,0.35); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn--block { width: 100%; justify-content: center; }
.btn-arrow { transition: transform .35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.link-more { color: var(--gold); font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; display: inline-flex; gap: .5rem; align-items: center; }
.link-more:hover { color: var(--gold-soft); }
.link-more::after { content: "→"; transition: transform .3s var(--ease); }
.link-more:hover::after { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 1.1rem 0; transition: all .4s var(--ease);
  /* soft scrim so nav + CTA stay readable over photo banners */
  background: linear-gradient(180deg, rgba(10,10,10,.72) 0%, rgba(10,10,10,.35) 60%, transparent 100%);
}
.site-header.scrolled { background: rgba(14,14,14,0.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); padding: .7rem 0; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .02em; color: var(--ivory); display: flex; align-items: baseline; gap: .55rem; }
.brand b { font-weight: 600; }
.brand .brand-mark { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 1.3rem; }
.nav-links a { font-family: var(--sans); font-size: .84rem; letter-spacing: .04em; color: #EDEAE0; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.nav-links a:hover, .nav-links a.active { color: var(--gold-soft); }
/* Header CTA — larger, bolder, tighter tracking, and lifted off busy backgrounds */
/* Header CTA — quiet outlined button. Readable, but doesn't shout over the nav.
   NOTE: must out-specify `.nav-links a`, which sets the ivory link colour. */
.nav-links a.nav-cta,
.nav-cta {
  padding: .72rem 1.4rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--gold-soft);
  background: transparent;
  border: 1px solid var(--gold);
  box-shadow: none;
  text-shadow: none;
}
/* Fills in on hover — the moment of emphasis, not a permanent one. */
.nav-links a.nav-cta:hover,
.nav-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #0B0B0B;
  transform: translateY(-1px);
}
.nav-toggle { display: none; background: none; border: none; color: var(--ivory); cursor: pointer; padding: .3rem; }
.nav-toggle svg { width: 28px; height: 28px; }

/* Mobile nav */
@media (max-width: 940px) {
  /* CRITICAL: `backdrop-filter` (and `filter`/`transform`) turns an element into a
     containing block for its position:fixed children. The drawer lives inside the
     header, so once .scrolled applied the blur, the drawer measured itself against
     the ~66px header instead of the viewport — collapsing it to a strip. Never
     apply backdrop-filter to the header at mobile widths. */
  .site-header,
  .site-header.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .site-header.scrolled { background: rgba(14,14,14,.97); }

  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: auto;
    height: 100dvh;                       /* full height, even with phone browser chrome */
    width: min(82vw, 340px);
    z-index: 120;                         /* above the header bar itself */
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 1.35rem;
    padding: 5.5rem var(--gutter) 2rem;   /* clears the hamburger */
    background: #191919;                  /* fully opaque — no page showing through */
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    box-shadow: -30px 0 60px rgba(0,0,0,.55);
    overflow-y: auto;                     /* long menus scroll inside the drawer */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;         /* scrolling the menu won't scroll the page */
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.05rem; width: 100%; }
  .nav-links a.nav-cta { margin-top: .5rem; text-align: center; }

  .nav-toggle { display: inline-flex; z-index: 130; position: relative; }

  /* Dim the page behind the drawer, and let a tap outside close it. */
  .nav-backdrop {
    position: fixed; inset: 0; z-index: 110;
    background: rgba(0,0,0,.6);
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav-backdrop.show { opacity: 1; visibility: visible; }

  /* Lock the page while the menu is open, so it can't scroll underneath. */
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,14,14,.55) 0%, rgba(14,14,14,.35) 40%, rgba(14,14,14,.92) 100%),
    radial-gradient(1200px 600px at 70% 20%, rgba(92,31,40,0.35), transparent 60%);
}
/* Placeholder texture used until a real photo is dropped in */
.img-slot {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, #14202c 0%, #1d1d1d 45%, #0e0e0e 100%);
  background-size: cover; background-position: center;
}
.img-slot::before {
  content: attr(data-label);
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 1rem;
  font-family: var(--sans); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(185,151,69,0.55); border: 1px dashed rgba(185,151,69,0.28);
}
.hero .img-slot::before { align-items: flex-end; padding-bottom: 2rem; color: rgba(185,151,69,0.35); }

.hero-inner { position: relative; z-index: 2; padding-block: 8rem 4rem; max-width: 900px; }
.hero h1 { color: var(--ivory); margin: .4rem 0 1.4rem; }
.hero h1 .accent { color: var(--gold); font-style: italic; }
.hero-roles { font-family: var(--sans); letter-spacing: .26em; text-transform: uppercase; font-size: clamp(.7rem, 1.4vw, .85rem); color: var(--gold-soft); margin-bottom: 1.6rem; font-weight: 600; }
.hero-sub { max-width: 560px; font-size: 1.15rem; color: var(--text); margin-bottom: 2.4rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.scroll-cue { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--text-mute); font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.scroll-cue::after { content: ""; width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0%,100%{ opacity:.3; transform: scaleY(.6);} 50%{opacity:1; transform: scaleY(1);} }

/* ---------- Hero variant: full branded photo ---------- */
.hero--photo {
  min-height: 0; display: block; align-items: stretch;
  background: radial-gradient(1200px 700px at 60% 20%, #241a12, #0b0b0b 70%);
  padding-top: 66px; /* clear the fixed header */
}
.hero--photo picture { display: block; }
.hero--photo .hero-photo {
  width: 100%; height: auto; display: block;
  max-height: calc(100svh - 66px); object-fit: contain; object-position: center;
  margin-inline: auto;
}
.hero-photo-fallback { display: none; position: relative; height: 60vh; }
.hero-photo-fallback .img-slot { position: absolute; inset: 0; }
.hero-photo-cta {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  padding: clamp(1.4rem, 3vw, 2.2rem) var(--gutter);
  background: linear-gradient(180deg, #0b0b0b, var(--bg));
}
@media (max-width: 640px){
  .hero--photo .hero-photo { max-height: none; }
}

/* ---------- Hero story line (under the branded portrait) ---------- */
.hero-story {
  max-width: 780px; margin: 0 auto; text-align: center;
  padding: 0 var(--gutter);
}
.hero-story h2 {
  font-size: clamp(1.5rem, 3vw, 2.3rem); color: var(--ivory);
  margin-bottom: .9rem; line-height: 1.25;
}
.hero-story h2 em { color: var(--gold); font-style: italic; }
.hero-story p { font-size: clamp(1rem, 1.5vw, 1.12rem); color: var(--text-dim); }

/* ---------- Full-bleed cinematic band ---------- */
.bleed {
  position: relative; min-height: clamp(440px, 68vh, 720px);
  display: grid; place-items: center; overflow: hidden;
}
.bleed-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  transform: scale(1.06);
  animation: kenburns 22s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(0, -1.5%, 0); }
}
.bleed::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,.72), rgba(10,10,10,.55) 45%, rgba(10,10,10,.88));
}
.bleed-inner {
  position: relative; z-index: 2; text-align: center;
  max-width: 900px; padding: clamp(2rem, 6vw, 4rem) var(--gutter);
}
.bleed-inner blockquote {
  font-family: var(--serif); font-style: italic; color: var(--ivory);
  font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.35; margin-bottom: 1.4rem;
}
.bleed-inner cite {
  font-style: normal; font-family: var(--sans); font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
@media (prefers-reduced-motion: reduce){ .bleed-img { animation: none; transform: none; } }

/* ---------- Cinematic feature tiles (productions) ---------- */
.tile {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line-soft);
  aspect-ratio: 3 / 4; background: var(--surface);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease), filter .6s var(--ease); filter: saturate(.92); }
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,0) 35%, rgba(10,10,10,.55) 62%, rgba(10,10,10,.94) 100%);
  transition: opacity .5s var(--ease);
}
.tile:hover img { transform: scale(1.08); filter: saturate(1.05); }
.tile:hover { border-color: var(--gold); }
.tile-body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 1.6rem 1.4rem; }
.tile-tag { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: .45rem; }
.tile-body h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--ivory); margin-bottom: .3rem; }
.tile-body p { font-size: .88rem; color: rgba(247,244,236,.75); margin: 0; }

/* Reveal-on-hover ONLY where a real pointer exists. On phones and tablets there is
   no hover, so the description must always be visible — otherwise it's dead content. */
@media (hover: hover) and (pointer: fine) {
  .tile-body p { max-height: 0; opacity: 0; overflow: hidden;
    transition: max-height .5s var(--ease), opacity .5s var(--ease); }
  .tile:hover .tile-body p { max-height: 90px; opacity: 1; }
}
/* Shorter tiles on phones so four of them don't become an endless scroll. */
@media (max-width: 560px){
  .tile { aspect-ratio: 4 / 3; }
  .tile-body { padding: 1.2rem 1.1rem; }
}

/* ---------- Video testimonial ---------- */
.video-frame {
  position: relative; max-width: 980px; margin: 0 auto;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #000;
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
}
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; background: #000; }
.video-caption { text-align: center; margin-top: 1.2rem; font-size: .84rem; color: var(--text-mute); }

/* ---------- Prestige award cards ---------- */
.award-card {
  position: relative; padding: 2.2rem 1.8rem; border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(185,151,69,.13), rgba(29,29,29,.85) 55%);
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .5s var(--ease), border-color .5s var(--ease);
  height: 100%;
}
.award-card::before {
  content: ""; position: absolute; top: -60%; left: -20%; width: 60%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent);
  transform: rotate(18deg); transition: left .9s var(--ease);
}
.award-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.award-card:hover::before { left: 120%; }
.award-card .award-num {
  font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.6rem);
  color: var(--gold); line-height: 1; margin-bottom: .6rem; display: block;
}
.award-card h3 { color: var(--ivory); font-size: 1.35rem; margin-bottom: .6rem; }
.award-card p { font-size: .94rem; }
.award-card .award-for {
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line-soft);
  font-size: .84rem; color: var(--gold-soft); font-style: italic;
}

/* ---------- Trust strip (logos) ---------- */
.trust { border-block: 1px solid var(--line-soft); background: var(--bg-alt); }
.trust .wrap { padding-block: 2.2rem; }
.trust-label { text-align: center; font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 1.4rem; }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(1.4rem, 4vw, 3.4rem); }
.trust-logos span { font-family: var(--serif); font-size: clamp(1rem, 2vw, 1.35rem); color: var(--text-mute); letter-spacing: .02em; transition: color .3s var(--ease); }
.trust-logos span:hover { color: var(--gold-soft); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 3vw, 2.5rem); }
.stat { text-align: center; padding: 1.5rem 1rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: rgba(255,255,255,0.015); }
.stat-num { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.8rem); color: var(--gold); line-height: 1; }
.stat-num .plus { font-size: .6em; vertical-align: super; }
.stat-label { font-family: var(--sans); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); margin-top: .7rem; }
@media (max-width: 720px){ .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: clamp(1.4rem, 3vw, 2.4rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--wide-text { grid-template-columns: 1.1fr .9fr; }
@media (max-width: 900px){
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .split--wide-text { grid-template-columns: 1fr; }
}
@media (max-width: 560px){ .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; transition: transform .4s var(--ease), border-color .4s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); border-color: var(--line); }
.card-media { position: relative; aspect-ratio: 4 / 3; }
.card-body { padding: 1.6rem 1.5rem 1.8rem; flex: 1; display: flex; flex-direction: column; }
.card-tag { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .7rem; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .96rem; }
.card .meta { margin-top: auto; padding-top: 1rem; font-size: .8rem; color: var(--text-mute); }

/* ---------- Season / Now Playing ---------- */
.badge-now {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--sans); font-size: .62rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  background: var(--gold); color: var(--black);
  padding: .34rem .72rem; border-radius: 40px;
}
.badge-now::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--black); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100%{ opacity:.35 } 50%{ opacity:1 } }
.badge-soon {
  display: inline-block; font-family: var(--sans); font-size: .62rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--gold);
  padding: .32rem .7rem; border-radius: 40px;
}
.card-media .badge-now, .card-media .badge-soon { position: absolute; top: .8rem; left: .8rem; z-index: 3; }
.card-dates { font-family: var(--sans); font-size: .84rem; color: var(--gold-soft); margin-bottom: .5rem; letter-spacing: .02em; }
.card--now { border-color: var(--line); box-shadow: 0 0 0 1px rgba(185,151,69,.18); }

/* ---------- Feature (image + text) ---------- */
.feature-media { position: relative; aspect-ratio: 4/5; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature-media.landscape { aspect-ratio: 3/2; }

/* Real photos dropped into media containers */
.fill-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.img-slot.has-photo { background-size: cover; background-position: center; }
.img-slot.has-photo::before { display: none; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 900px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 18px; top: 0; bottom: 0; width: 1px; background: linear-gradient(var(--gold), var(--line-soft)); }
.tl-item { position: relative; padding: 0 0 2.8rem 60px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: 10px; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--black); border: 2px solid var(--gold); transition: all .4s var(--ease); }
.tl-item.in .tl-dot { background: var(--gold); box-shadow: 0 0 0 5px rgba(185,151,69,0.15); }
.tl-year { font-family: var(--serif); color: var(--gold); font-size: 1.5rem; line-height: 1; margin-bottom: .4rem; }
.tl-item h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.tl-item p { font-size: .98rem; }
@media (min-width: 860px){
  .timeline--alt::before { left: 50%; }
  .timeline--alt .tl-item { width: 50%; padding-left: 0; padding-right: 48px; text-align: right; }
  .timeline--alt .tl-item:nth-child(even) { margin-left: 50%; padding-left: 48px; padding-right: 0; text-align: left; }
  .timeline--alt .tl-dot { left: auto; right: -8px; }
  .timeline--alt .tl-item:nth-child(even) .tl-dot { left: -9px; right: auto; }
}

/* ---------- Filters (portfolio) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.6rem; }
.filter-btn {
  font-family: var(--sans); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .6rem 1.2rem; border: 1px solid var(--line-soft); background: transparent; color: var(--text-dim);
  border-radius: 40px; cursor: pointer; transition: all .3s var(--ease); font-weight: 600;
}
.filter-btn:hover { color: var(--gold); border-color: var(--line); }
.filter-btn.active { background: var(--gold); color: var(--black); border-color: var(--gold); }
.search-box { margin-bottom: 1.6rem; }
.search-box input {
  width: 100%; max-width: 420px; padding: .9rem 1.1rem; background: var(--surface);
  border: 1px solid var(--line-soft); border-radius: var(--radius); color: var(--text);
  font-family: var(--sans); font-size: .95rem;
}
.search-box input:focus { outline: none; border-color: var(--gold); }
.is-hidden { display: none !important; }
.no-results { color: var(--text-mute); font-style: italic; padding: 1.5rem 0; }

/* ---------- Awards ---------- */
.award-row { display: flex; align-items: baseline; gap: 1.4rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line-soft); }
.award-row:last-child { border-bottom: none; }
.award-count { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--gold); line-height: 1; min-width: 90px; }
.award-info h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.award-info p { font-size: .92rem; }

/* ---------- Services ---------- */
.service { padding: 2rem 1.8rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--surface); transition: border-color .4s var(--ease), transform .4s var(--ease); height: 100%; }
.service:hover { border-color: var(--line); transform: translateY(-4px); }
.service-icon { width: 44px; height: 44px; color: var(--gold); margin-bottom: 1.2rem; }
.service h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.service p { font-size: .96rem; }
.service ul { margin-top: 1rem; }
.service ul li { font-size: .9rem; color: var(--text-dim); padding-left: 1.3rem; position: relative; margin-bottom: .45rem; }
.service ul li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: .7rem; top: .25rem; }

/* ---------- Testimonials ---------- */
.quote-card { padding: clamp(2rem, 4vw, 3.2rem); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(92,31,40,.14), rgba(29,29,29,.4)); position: relative; }
.quote-card::before { content: "\201C"; font-family: var(--serif); font-size: 6rem; color: var(--gold); opacity: .3; position: absolute; top: -.4rem; left: 1.4rem; line-height: 1; }
.quote-card blockquote { font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-style: italic; color: var(--ivory); line-height: 1.5; margin-bottom: 1.4rem; }
.quote-card cite { font-style: normal; font-family: var(--sans); font-size: .82rem; letter-spacing: .1em; color: var(--gold); text-transform: uppercase; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-grid .g-item { position: relative; overflow: hidden; border-radius: var(--radius); }
.gallery-grid .g-item .img-slot { position: relative; aspect-ratio: 1; transition: transform .6s var(--ease); }
.gallery-grid .g-item.tall .img-slot { aspect-ratio: 3/4; }
.gallery-grid .g-item.wide { grid-column: span 2; }
.gallery-grid .g-item.wide .img-slot { aspect-ratio: 16/9; }
.gallery-grid .g-item:hover .img-slot { transform: scale(1.05); }
@media (max-width: 720px){ .gallery-grid { grid-template-columns: repeat(2, 1fr); } .gallery-grid .g-item.wide { grid-column: span 2; } }

/* ---------- Press kit ---------- */
.kit-item { display: flex; align-items: center; gap: 1.2rem; padding: 1.4rem 1.6rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--surface); transition: border-color .3s var(--ease); }
.kit-item:hover { border-color: var(--gold); }
.kit-icon { width: 40px; height: 40px; color: var(--gold); flex-shrink: 0; }
.kit-item .kit-body { flex: 1; }
.kit-item h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: .15rem; }
.kit-item p { font-size: .84rem; margin: 0; }
.kit-item .dl { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; white-space: nowrap; }

/* ---------- News ---------- */
.news-item { padding: 1.8rem 0; border-bottom: 1px solid var(--line-soft); display: grid; grid-template-columns: 140px 1fr; gap: 1.5rem; align-items: baseline; }
.news-item:first-child { padding-top: 0; }
.news-date { font-family: var(--sans); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.news-item h3 { font-size: 1.5rem; margin-bottom: .5rem; }
@media (max-width: 640px){ .news-item { grid-template-columns: 1fr; gap: .5rem; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.2rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); font-weight: 600; }
.field input, .field select, .field textarea {
  padding: .95rem 1.1rem; background: var(--bg); border: 1px solid var(--line-soft);
  border-radius: var(--radius); color: var(--text); font-family: var(--sans); font-size: .98rem;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
@media (max-width: 560px){ .form-grid { grid-template-columns: 1fr; } }

/* Newsletter */
.newsletter { text-align: center; }
.newsletter-form { display: flex; gap: .6rem; max-width: 480px; margin: 1.6rem auto 0; }
.newsletter-form input { flex: 1; padding: 1rem 1.2rem; background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--radius); color: var(--text); font-family: var(--sans); }
.newsletter-form input:focus { outline: none; border-color: var(--gold); }
@media (max-width: 480px){ .newsletter-form { flex-direction: column; } }

/* Contact meta */
.contact-line { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.2rem; color: var(--text-dim); }
.contact-line svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.contact-line a:hover { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { background: #0a0a0a; border-top: 1px solid var(--line-soft); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand { font-family: var(--serif); font-size: 1.8rem; color: var(--ivory); margin-bottom: 1rem; }
.footer-col h5 { font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.footer-col a, .footer-col p { display: block; font-size: .92rem; color: var(--text-dim); margin-bottom: .6rem; }
.footer-col a:hover { color: var(--gold); }
.socials { display: flex; gap: 1rem; margin-top: 1.2rem; }
.socials a { width: 40px; height: 40px; border: 1px solid var(--line-soft); border-radius: 50%; display: grid; place-items: center; color: var(--text-dim); transition: all .3s var(--ease); }
.socials a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.8rem; border-top: 1px solid var(--line-soft); font-size: .8rem; color: var(--text-mute); flex-wrap: wrap; }
@media (max-width: 780px){ .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand-col { grid-column: 1 / -1; } }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--burgundy), #2a1116 55%, var(--black)); text-align: center; }
.cta-band h2 { color: var(--ivory); margin-bottom: 1rem; }
.cta-band p { color: rgba(247,244,236,.8); max-width: 560px; margin: 0 auto 2rem; }

/* ---------- Page hero (interior) ---------- */
.page-hero { position: relative; padding: clamp(8rem, 13vw, 10.5rem) 0 clamp(2rem, 3.5vw, 2.8rem); overflow: hidden; }
.page-hero .img-slot { opacity: 1; }
/* Dark scrim so titles stay crisp over busy banner photos */
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(12,12,12,.66) 0%, rgba(12,12,12,.80) 55%, rgba(12,12,12,.95) 100%);
}
.page-hero .wrap { position: relative; z-index: 2; }
/* A banner already gives the page plenty of breathing room — the section that
   follows it doesn't need the full 140px section padding on top as well.
   (Declared first so the --building / --plain rules below can still override.) */
.page-hero + .section { padding-top: clamp(2rem, 3.5vw, 2.8rem); }
/* About/building banner: no title now — a slim image band with just the "Biography" label,
   so the biography itself starts high on the page. */
.page-hero--building {
  display: flex; align-items: flex-end;
  min-height: clamp(260px, 34vh, 380px);
  padding-top: clamp(5rem, 8vw, 6.5rem);
  padding-bottom: clamp(1.2rem, 2.5vw, 1.8rem);
}
.page-hero--building .eyebrow { margin-bottom: 0; }
/* The biography follows straight on from the "Biography" label — close the gap
   left by the standard section padding (which is up to 140px). */
.page-hero--building + .section { padding-top: clamp(1.8rem, 3.5vw, 3rem); }

/* Text-only page header — used where there is no banner photo.
   Compact, so the page doesn't open with a big hollow box. */
.page-hero--plain {
  padding-top: clamp(6.5rem, 10vw, 8.5rem);
  padding-bottom: clamp(1.6rem, 3vw, 2.4rem);
  background: linear-gradient(180deg, #16181c 0%, #121212 60%, var(--bg) 100%);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero--plain::after { display: none; }
.page-hero--plain + .section { padding-top: clamp(2.4rem, 4.5vw, 3.6rem); }

/* h1 that should read at h2 scale (used where the page title sits inside a section) */
h1.h2-size { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { color: var(--ivory); }
.page-hero p { max-width: 620px; margin-top: 1rem; font-size: 1.1rem; }
.breadcrumb { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 1.4rem; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.breadcrumb a { color: var(--gold); font-weight: 600; }
.breadcrumb a:hover { color: var(--gold-soft); text-decoration: underline; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce){
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Mobile fixes ---------- */
/* iOS zooms the whole page when a focused field is under 16px. Force 16px on phones. */
@media (max-width: 640px) {
  input, select, textarea, .search-box input, .newsletter-form input { font-size: 16px; }
  /* Comfortable thumb targets */
  .socials a { width: 44px; height: 44px; }
  .btn { padding: 1rem 1.6rem; }
  /* Long words / URLs must never push the layout sideways */
  h1, h2, h3, p, blockquote, .contact-line { overflow-wrap: anywhere; }
}
/* Nothing may ever cause a horizontal scrollbar on a phone. */
html, body { max-width: 100%; overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; }

/* ---------- Accessibility ---------- */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--black); padding: .7rem 1.2rem; z-index: 200; font-weight: 600; }
.skip-link:focus { left: 8px; top: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Utility ---------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.text-dim { color: var(--text-dim); }
.flex-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
