
  :root{
    --bg:#0b0a09;
    --bg-alt:#141210;
    --fg:#ede8de;
    --muted:#8a8378;
    --accent:#d7e3fb; /* soft ice-blue, close to white — change this one line for a different shade */
    --line: rgba(237,232,222,0.14);
    --line-strong: rgba(237,232,222,0.28);
  }
  *{ box-sizing:border-box; margin:0; padding:0; }
  html,body{
    background:var(--bg);
    color:var(--fg);
    font-family:'Inter', sans-serif;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  a{ color:inherit; text-decoration:none; }
  ::selection{ background:var(--accent); color:var(--fg); }

  a:focus-visible, .work-card:focus-visible, .menu-btn:focus-visible{
    outline:1px solid var(--accent);
    outline-offset:4px;
  }

  .grain{
    position:fixed; inset:0;
    pointer-events:none;
    z-index:50;
    opacity:0.05;
    mix-blend-mode:overlay;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grainShift 1.2s steps(4) infinite;
  }
  @keyframes grainShift{
    0%{ transform:translate(0,0); }
    25%{ transform:translate(-2%,-3%); }
    50%{ transform:translate(1%,2%); }
    75%{ transform:translate(-1%,1%); }
    100%{ transform:translate(0,0); }
  }

  .hero{
    position:relative;
    min-height:100svh;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding: clamp(20px,3vw,40px);
    overflow:hidden;
    border-bottom:1px solid var(--line);
  }

  /* video background — placeholder still until the showreel is edited */
  .hero-video-wrap{
    position:absolute; inset:0;
    z-index:0;
    background:var(--bg-alt);
    overflow:hidden;
  }
  .hero-video-still{
    position:absolute; inset:0;
    background-size:cover;
    background-position:center;
    animation: kenBurns 26s ease-in-out infinite alternate;
  }
  @keyframes kenBurns{
    from{ transform:scale(1); }
    to{ transform:scale(1.08); }
  }
  .hero-video{
    position:absolute; inset:0;
    width:100%; height:100%;
    object-fit:cover;
  }
  /* YouTube background embed — scaled up and centred so it always
     fills the hero regardless of screen shape, with no visible controls */
  .hero-yt-frame{
    position:absolute;
    top:50%; left:50%;
    width:177.78vh;      /* 16:9 scaled to always cover viewport height */
    height:56.25vw;      /* 16:9 scaled to always cover viewport width */
    min-width:100%;
    min-height:100%;
    transform:translate(-50%,-50%);
    border:none;
    pointer-events:none; /* stop clicks from opening/pausing the video */
  }
  .hero-video-overlay{
    position:absolute; inset:0;
    background:
      linear-gradient(0deg, rgba(11,10,9,0.96) 0px, rgba(11,10,9,0.9) 110px, rgba(11,10,9,0) 340px),
      linear-gradient(90deg, rgba(11,10,9,0.78) 0%, rgba(11,10,9,0.45) 32%, rgba(11,10,9,0) 62%),
      linear-gradient(180deg, rgba(11,10,9,0.35) 0px, rgba(11,10,9,0) 140px);
  }
  /* starts dark for a couple of seconds, then fades away so the showreel is full brightness */
  .hero-dim{ position:absolute; inset:0; background:#0b0a09; opacity:0.8; pointer-events:none; animation:heroDim 2s ease-out forwards; }
  @keyframes heroDim{ 0%,20%{ opacity:0.8; } 100%{ opacity:0; } }
  @media (prefers-reduced-motion: reduce){ .hero-dim{ animation:none; opacity:0; } }

  .hero-top, .hero-mid, .marquee-wrap{ position:relative; z-index:2; }

  .hero-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    padding: 4px 8px;
  }
  .brand-mark{
    font-size:11px;
    letter-spacing:0.14em;
    color:var(--muted);
  }

  .menu-wrap{ position:relative; z-index:60; }
  .menu-btn{
    background:rgba(11,10,9,0.4);
    border:1px solid var(--line-strong);
    color:var(--fg);
    font-family:'Inter', sans-serif;
    font-size:11px;
    letter-spacing:0.1em;
    padding:10px 14px;
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:10px;
    transition:border-color .2s ease;
  }
  .menu-btn:hover{ border-color:var(--accent); }
  .menu-icon{ display:flex; flex-direction:column; gap:3px; }
  .menu-icon span{ width:14px; height:1px; background:var(--fg); display:block; transition:transform .2s ease, opacity .2s ease; }
  .menu-btn.open .menu-icon span:nth-child(1){ transform:translateY(4px) rotate(45deg); }
  .menu-btn.open .menu-icon span:nth-child(2){ opacity:0; }
  .menu-btn.open .menu-icon span:nth-child(3){ transform:translateY(-4px) rotate(-45deg); }

  .menu-dropdown{
    position:absolute; top:calc(100% + 8px); right:0;
    background:var(--bg-alt);
    border:1px solid var(--line-strong);
    min-width:190px;
    opacity:0; pointer-events:none;
    transform:translateY(-6px);
    transition:opacity .2s ease, transform .2s ease;
  }
  .menu-dropdown.open{ opacity:1; pointer-events:auto; transform:translateY(0); }
  .menu-dropdown a{
    display:block;
    padding:13px 16px;
    font-size:12px;
    letter-spacing:0.06em;
    color:var(--fg);
    border-bottom:1px solid var(--line);
  }
  .menu-dropdown a:last-child{ border-bottom:none; }
  .menu-dropdown a:hover{ background:rgba(215,227,251,0.14); color:var(--accent); }

  .hero-mid{
    max-width: 900px;
    padding: 0 24px;
  }
  .eyebrow{
    font-size:12px;
    font-weight:600;
    letter-spacing:0.14em;
    color:var(--accent);
    margin-bottom:26px;
    display:block;
  }
  .logo-mark{
    height: clamp(64px, 10vw, 128px);
    margin-left: calc(clamp(64px, 10vw, 128px) * -0.093);
    width:auto;
    display:block;
  }
  .hero-cta{
    margin-top:36px;
    display:inline-flex;
    align-items:center;
    gap:10px;
    font-size:12px;
    letter-spacing:0.1em;
    color:var(--fg);
    border:1px solid var(--line-strong);
    padding:14px 22px;
    transition: border-color .25s ease, background .25s ease;
  }
  .hero-cta:hover{ border-color:var(--accent); background:rgba(215,227,251,0.12); }
  .hero-cta .arrow{ display:inline-flex; transition:transform .25s ease; }
  .hero-cta:hover .arrow{ transform:translateY(3px); }
  

  .marquee-wrap{
    border-top:1px solid var(--line);
    overflow:hidden;
    padding:16px 0;
    white-space:nowrap;
  }
  .marquee{
    display:inline-flex;
    animation: scroll 48s linear infinite;
  }
  .marquee span{
    font-size:12px;
    letter-spacing:0.08em;
    color:var(--muted);
    padding:0 28px;
    display:inline-flex;
    align-items:center;
    gap:28px;
  }
  .marquee span::after{ content:""; width:6px; height:6px; border-radius:50%; background:var(--accent); flex:none; }
  @keyframes scroll{
    from{ transform:translateX(0); }
    to{ transform:translateX(-50%); }
  }

  .work{
    padding: 90px clamp(20px,3vw,40px) 110px;
  }
  .work-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    flex-wrap:wrap;
    gap:20px;
    margin-bottom:48px;
    padding-bottom:24px;
    border-bottom:1px solid var(--line);
  }
  .work-head .eyebrow{ margin-bottom:12px; }
  .work-head h2{
    font-family:'Inter Tight','Inter',sans-serif;
    font-weight:400;
    text-transform:uppercase;
    letter-spacing:0.01em;
    font-size:clamp(30px,4vw,50px);
    color:var(--fg);
  }
  .work-count{
    font-size:12px;
    color:var(--muted);
    letter-spacing:0.08em;
  }

  .grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:8px; background:transparent;
  }
  @media (max-width:900px){
    .grid{ grid-template-columns:repeat(2,1fr); }
    .work-card.wide{ grid-column: span 2; }
  }
  @media (max-width:600px){
    .grid{ grid-template-columns:1fr; }
    .work-card.wide{ grid-column: span 1; }
  }

  .work-card{
    position:relative;
    background:var(--bg);
    aspect-ratio: 4/3;
    overflow:hidden;
    display:block;
    cursor:pointer;
  }
  .work-card.wide{
    grid-column: span 2;
    aspect-ratio: auto;
  }
  .work-card .plate{
    position:absolute; inset:0;
    background-size:cover;
    background-position:center;
    filter:saturate(1) brightness(0.96);
    transform:scale(1.02);
    transition: filter .5s ease, transform .6s ease;
  }
  .work-card:hover .plate{
    filter:saturate(1.08) brightness(1.06);
    transform:scale(1.08);
  }
  .work-card::after{
    content:"";
    position:absolute; inset:0;
    background:linear-gradient(180deg, rgba(11,10,9,0) 50%, rgba(11,10,9,0.78) 100%);
  }

  .card-body{
    position:absolute; left:16px; right:16px; bottom:16px;
    z-index:2;
  }
  .card-cat{
    font-size:10px;
    letter-spacing:0.12em;
    color:var(--accent);
    display:block;
    margin-bottom:8px;
  }
  .card-title{
    font-family:'Inter Tight','Inter',sans-serif;
    text-transform:uppercase;
    letter-spacing:0.01em;
    font-size:17px;
    color:var(--fg);
    line-height:1.3;
  }
  .work-card.wide .card-title{ font-size:22px; }
  .card-director{
    display:block;
    margin-top:7px;
    font-size:10px;
    letter-spacing:0.08em;
    color:var(--muted);
  }
  .card-play{
    position:absolute; top:14px; right:14px;
    z-index:2;
    font-size:10px;
    letter-spacing:0.1em;
    color:var(--fg);
    opacity:0;
    transform:translateY(-4px);
    transition:opacity .3s ease, transform .3s ease;
    display:flex; align-items:center; gap:6px;
  }
  .work-card:hover .card-play{ opacity:0.85; transform:translateY(0); }
  .card-play .dot{ width:5px; height:5px; border-radius:50%; background:var(--accent); }

  .work-card.more{
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--bg-alt);
  }
  .work-card.more .plate, .work-card.more::after{ display:none; }
  .more-inner{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:14px;
    color:var(--muted);
    transition:color .3s ease, transform .3s ease;
  }
  .work-card.more:hover .more-inner{ color:var(--fg); transform:translateY(-3px); }
  .more-plus{
    width:44px; height:44px;
    border:1px solid var(--line-strong);
    border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    font-size:20px;
    font-weight:300;
    transition:border-color .3s ease;
  }
  .work-card.more:hover .more-plus{ border-color:var(--accent); color:var(--accent); }
  .more-label{ font-size:11px; letter-spacing:0.14em; }

  @media (prefers-reduced-motion: reduce){
    .grain, .marquee, .hero-video-still{ animation:none !important; }
  }

  /* ---------- footer ---------- */
  footer{
    padding: 50px clamp(20px,3vw,40px);
    border-top:1px solid var(--line);
    display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:20px;
  }
  .footer-signup{ display:flex; gap:0; }
  .footer-signup input{
    background:transparent; border:1px solid var(--line-strong); border-right:none; color:var(--fg);
    font-family:'Inter', sans-serif; font-size:12px; padding:11px 14px; width:220px;
  }
  .footer-signup input::placeholder{ color:var(--muted); }
  .footer-signup button{
    background:transparent; border:1px solid var(--line-strong); color:var(--fg);
    font-family:'Inter', sans-serif; font-size:11px; letter-spacing:0.08em;
    padding:11px 16px; cursor:pointer; transition:border-color .2s ease, color .2s ease;
  }
  .footer-signup button:hover{ border-color:var(--accent); color:var(--accent); }
  .footer-meta{ display:flex; align-items:center; gap:24px; flex-wrap:wrap; }
  .footer-social{ display:flex; gap:16px; font-size:11px; letter-spacing:0.06em; color:var(--muted); }
  .footer-social a:hover{ color:var(--accent); }
  .footer-copy{ font-size:11px; color:var(--muted); letter-spacing:0.04em; }

/* ---- added for the hosted version ---- */
.footer-email{ font-size:12px; font-weight:500; letter-spacing:0.08em; color:var(--muted); transition:color .2s ease; }
.footer-email:hover{ color:var(--accent); }
.form-status{ font-size:13px; line-height:1.6; color:var(--accent); min-height:1.2em; }
.meta.solo{ grid-template-columns:1fr; }
.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
footer{ display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:28px; }
.footer-email{ justify-self:start; }
.footer-meta{ justify-self:end; }
.footer-graphic{ width:clamp(150px,15vw,220px); height:auto; display:block; justify-self:center; }
@media (max-width:860px){
  footer{ grid-template-columns:1fr; justify-items:center; text-align:center; }
  .footer-email, .footer-meta{ justify-self:center; }
  .footer-meta{ flex-direction:column; gap:14px; }
}
.topnav{ display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:8px 28px; }
.topnav a{ font-size:12px; font-weight:500; letter-spacing:0.1em; color:var(--muted); padding:6px 0; border-bottom:1px solid transparent; transition:color .2s ease, border-color .2s ease; }
.topnav a:hover{ color:var(--fg); }
.topnav a.is-active{ color:var(--fg); border-bottom-color:var(--accent); }
@media (max-width:760px){
  .topbar{ flex-direction:column; align-items:flex-start; gap:14px; }
  .topnav{ justify-content:flex-start; gap:6px 20px; }
  .topnav a{ font-size:11px; }
}
.video-soon{ position:absolute; left:0; right:0; bottom:24px; text-align:center; font-size:11px; font-weight:600; letter-spacing:0.16em; color:var(--fg); text-shadow:0 1px 12px rgba(0,0,0,0.6); }

.more-plus svg{ transition:transform .25s ease; }
.work-card.more:hover .more-plus svg{ transform:translateX(3px); }

.card-body{ text-shadow:0 1px 14px rgba(0,0,0,0.55); }
/* showreel stays hidden until it is really playing (no YouTube buttons ever show) */
.hero-yt-frame{ opacity:0; transition:opacity 1.2s ease; }
.hero-yt-frame.is-playing{ opacity:1; }
/* client ticker: centred between its two lines, full width */
.hero{ padding-bottom:0; }
.marquee-wrap{ padding:22px 0; margin-left:calc(-1 * clamp(20px,3vw,40px)); margin-right:calc(-1 * clamp(20px,3vw,40px)); }
/* tablet + phone: keep the grid tidy with the wide tiles */
@media (max-width:900px){
  .work-card.wide{ grid-column:auto; aspect-ratio:4/3; }
  .grid .work-card:last-child:nth-child(odd){ grid-column:1 / -1; aspect-ratio:8/3; }
}
@media (max-width:600px){
  .grid .work-card:last-child{ grid-column:auto !important; aspect-ratio:4/3 !important; }
}

.hero-file{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; pointer-events:none; }

html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

/* sticky header: logo + menu stay at the top once you scroll past the showreel */
.hero-top{ position:fixed; top:0; left:0; right:0; z-index:70; display:flex; justify-content:space-between; align-items:center; padding:14px calc(clamp(20px,3vw,40px) + 8px); }
.hero-top::before{ content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background:#0b0a09; border-bottom:1px solid var(--line); opacity:var(--hdr,0); }
.head-brand{ display:grid; align-items:center; }
.head-brand > *{ grid-area:1 / 1; }
.hero-top .brand-mark{ opacity:calc(1 - var(--brand,0)); }
.head-logo{ opacity:var(--swap,0); pointer-events:none; display:block; }
.hero-top.is-stuck .head-logo{ pointer-events:auto; }
.head-logo img{ display:block; height:clamp(30px,3.2vw,40px); width:auto; }
.hero-top-spacer{ height:44px; flex:none; }

/* ===== brand line: the gradient from the logo, used as bars and hover lines ===== */
:root{ --brand-line: linear-gradient(90deg, rgba(225,52,39,0.45) 0%, rgba(229,65,37,1.00) 8%, rgba(244,117,33,1.00) 15%, rgba(225,53,40,1.00) 23%, rgba(225,53,40,1.00) 31%, rgba(225,53,40,1.00) 38%, rgba(162,75,157,1.00) 46%, rgba(130,80,160,0.92) 54%, rgba(115,131,192,0.99) 62%, rgba(101,176,225,0.99) 69%, rgba(100,178,227,0.93) 77%, rgba(100,178,227,0.92) 85%, rgba(151,217,240,0.97) 92%, rgba(98,197,180,0.24) 100%); }
/* 3. a short bar under every main heading, echoing the logo (wordmark + bar) */
.intro-title h1::after, .services-head h2::after, .press-head h2::after, .team-head h2::after,
.page-head h1::after, .contact-hero h1::after, .meta-left h1::after, .work-head h2::after{
  content:""; display:block; width:clamp(140px,18vw,260px); height:3px; margin-top:18px; border-radius:3px; background:var(--brand-line);
}
/* 4. a line that draws across a tile when you hover it */
.work-card::before, .service::before, .press-card::before{
  content:""; position:absolute; left:0; bottom:0; height:3px; width:0; background:var(--brand-line); z-index:3; transition:width .5s ease;
}
.work-card:hover::before, .service:hover::before, .press-card:hover::before{ width:100%; }

/* ===== glisten: the line itself catches the light. A brighter copy of the artwork is revealed through small moving masks,
   so the shine only ever appears ON the line. (To switch off: add  .fx{ display:none; }  at the bottom of each css file.) ===== */
.fx{ position:absolute; inset:0; background-size:100% 100%; background-repeat:no-repeat; background-position:center; filter:brightness(2.2) saturate(1.1); mix-blend-mode:screen; opacity:0; pointer-events:none;
  -webkit-mask-image:radial-gradient(ellipse var(--rx,6%) var(--ry,100%) at var(--x,50%) var(--y,50%), #000 0%, transparent 100%);
          mask-image:radial-gradient(ellipse var(--rx,6%) var(--ry,100%) at var(--x,50%) var(--y,50%), #000 0%, transparent 100%);
  animation:glint var(--d,5s) ease-in-out infinite; animation-delay:var(--w,0s); }
@keyframes glint{ 0%,100%{ opacity:0; } 28%{ opacity:calc(var(--o,0.8) * 0.2); } 46%{ opacity:var(--o,0.8); } 63%{ opacity:calc(var(--o,0.8) * 0.3); } }
.fx.sweep{ -webkit-mask-image:linear-gradient(90deg, transparent 0%, #000 50%, transparent 100%); mask-image:linear-gradient(90deg, transparent 0%, #000 50%, transparent 100%);
  -webkit-mask-size:26% 100%; mask-size:26% 100%; -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat; animation:sweep 11s ease-in-out infinite; animation-delay:1s; --o:0.75; }
@keyframes sweep{ 0%{ opacity:0; -webkit-mask-position:0% 0; mask-position:0% 0; } 8%{ opacity:0.75; } 50%{ opacity:0.75; -webkit-mask-position:100% 0; mask-position:100% 0; } 58%,100%{ opacity:0; -webkit-mask-position:100% 0; mask-position:100% 0; } }
@media (prefers-reduced-motion: reduce){ .fx{ animation:none; opacity:0; } }
.footer-art{ position:relative; display:block; width:clamp(150px,15vw,220px); justify-self:center; }
.footer-art .footer-graphic{ width:100%; height:auto; display:block; }
.footer-art .fx{ background-image:url('/images/footer-graphic.webp'); }

/* big logo glides up into the header as you scroll (smooth, scroll-driven) */
.fly-logo{ display:none; position:fixed; top:0; left:0; z-index:75; transform-origin:0 0; pointer-events:none; will-change:transform, opacity; }
.fly-logo > img{ display:block; height:100%; width:auto; }
html.js-fly .fly-logo{ display:block; }
html.js-fly .hero-mid .logo-mark{ visibility:hidden; }
/* glisten on the bar under the big logo: sits exactly over the bar in the logo image */

.hero-mid .eyebrow{ opacity:var(--eb,1); }

/* the shine lives on the bar of the big logo (the bar sits at 63-85% of the image height) */
.bar-fx{ position:absolute; inset:0; pointer-events:none; opacity:var(--glint,1); }
.bar-fx .fx{ background-image:url('/images/logo.png'); clip-path:inset(63% 0 15% 0); --y:74%; }
.hero-cta{ opacity:var(--cta,1); }

/* ---- portfolio tiles: text sits on the photo; hover just brightens it a touch ---- */
.work-card .plate{ filter:saturate(1) brightness(0.72); }
.work-card::after{ background:linear-gradient(180deg, rgba(11,10,9,0) 45%, rgba(11,10,9,0.8) 100%); }
.work-card:hover .plate, .work-card:focus-visible .plate{ filter:saturate(1.05) brightness(0.9); transform:scale(1.06); }
.work-card .card-body{ opacity:1; transform:none; }


/* glisten removed */
.fx, .bar-fx{ display:none !important; }

/* round 18: lighter home thumbnails */
.work-card .plate{ filter:saturate(1) brightness(1); }
.work-card::after{ background:linear-gradient(180deg, rgba(11,10,9,0) 62%, rgba(11,10,9,0.55) 100%); }
.work-card:hover .plate, .work-card:focus-visible .plate{ filter:saturate(1.05) brightness(1.06); }
.work-card:hover::after, .work-card:focus-visible::after{ background:linear-gradient(180deg, rgba(11,10,9,0) 62%, rgba(11,10,9,0.55) 100%); }
