:root {
    --bg:#faf9fc; --text:#1b1a1f; --muted:#6b6976; --accent:#7259c4; --onaccent:#ffffff;
    --lav:#ece6fa; --lav-bright:#a98bef; --ink:#1b1a1f; --line:rgba(27,26,31,.16); --radius:2px;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  section[id], div[id] { scroll-margin-top: 24px; }
  body { margin: 0; font-family: 'Hanken Grotesk', sans-serif; background: var(--bg); color: var(--text); }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  .container { max-width: 1000px; margin: 0 auto; padding: 0 28px; }

  header.site { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 30px 0 24px; }
  .brand { font-weight: 800; font-size: 1.25rem; letter-spacing: .01em; text-transform: uppercase; font-family: 'Hanken Grotesk', sans-serif; }
  .brand i { font-style: normal; color: var(--accent); }
  nav.main { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; line-height: 1.5; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
  nav.main a { transition: color .15s ease; color: var(--muted); }
  nav.main a:hover, nav.main a.active { color: var(--accent); }
  .btn { display: inline-block; padding: .95em 1.7em; border-radius: 999px; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; background: var(--accent); color: var(--onaccent); border: 1px solid var(--accent); transition: background .15s ease, color .15s ease; }
  .btn:hover { background: var(--text); border-color: var(--text); }
  .btn--ghost { background: transparent; color: var(--accent); }
  .btn--ghost:hover { background: transparent; color: var(--text); }
  .btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
  .nav-toggle { display: none; margin-left: auto; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 8px; }
  .nav-toggle span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .section { padding: 96px 0; }
  .eyebrow { font-family: 'Hanken Grotesk', sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
  h1 { font-family: 'Hanken Grotesk', sans-serif; font-style: normal; font-weight: 800; text-transform: uppercase; line-height: .98; margin: 0 0 18px; font-size: clamp(2.4rem,5.5vw,4rem); letter-spacing: -.02em; }
  h2 { font-family: 'Hanken Grotesk', sans-serif; font-weight: 800; text-transform: uppercase; line-height: 1; margin: 0 0 18px; font-size: clamp(1.8rem,4vw,2.7rem); letter-spacing: -.015em; }
  h2 i { color: var(--accent); font-style: normal; }
  h1 i { color: var(--accent); font-style: normal; }
  p.copy { color: var(--muted); font-size: 1rem; line-height: 1.65; max-width: 480px; margin: 0 0 20px; }
  .center { text-align: center; }
  .center p.copy { margin-left: auto; margin-right: auto; }

  .hero-reed { position: relative; background: var(--ink); color: #fff; min-height: 86vh; display: flex; align-items: flex-end; overflow: hidden; }
  /* The hero holds a wall of frames from the portfolio, sunk into the gradient:
     the darkening layers sit on top of the image, heaviest where the headline is. */
  .hero-reed-media { position: absolute; inset: 0;
    background:
      linear-gradient(100deg, rgba(19,18,23,.93) 0%, rgba(19,18,23,.70) 30%, rgba(19,18,23,.16) 62%, rgba(19,18,23,.30) 100%),
      linear-gradient(0deg, rgba(19,18,23,.90) 0%, rgba(19,18,23,.08) 48%, rgba(19,18,23,.26) 100%),
      radial-gradient(120% 90% at 72% 18%, rgba(169,139,239,.28), rgba(27,26,31,0) 55%),
      url('img/hero-timeline.jpg?v=4e9a4562') center/cover no-repeat,
      linear-gradient(180deg, #26232e 0%, #131217 100%);
  }
  .hero-reed-inner { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 40px 9vh; }
  .hero-title { font-size: clamp(3rem,9.5vw,7.4rem); font-weight: 900; line-height: .9; letter-spacing: -.025em; text-transform: uppercase; margin: 0 0 30px; color: #fff; }
  .hero-title span { color: var(--lav-bright); }
  .hero-reed .btn-row { justify-content: flex-start; }
  .btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
  .btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
  .scroll-cue { position: absolute; right: 38px; bottom: 9vh; z-index: 3; writing-mode: vertical-rl; text-orientation: mixed; text-transform: uppercase; letter-spacing: .18em; font-size: .68rem; font-weight: 700; color: rgba(255,255,255,.7); display: inline-flex; align-items: center; gap: 16px; }
  .scroll-cue::after { content: ''; width: 1px; height: 66px; background: rgba(255,255,255,.55); }
  @media (max-width: 720px) { .scroll-cue { display: none; } .hero-reed-inner { padding: 0 24px 12vh; } }

  .about-wrap { display: flex; gap: 44px; align-items: center; flex-wrap: wrap; }
  .about-photo { flex: 0 0 210px; width: 210px; height: 210px; border-radius: 50%; overflow: hidden; box-shadow: 0 14px 34px rgba(27,26,31,.14); }
  .about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
  .about-text { flex: 1; min-width: 260px; }

  .reel-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 24px; }
  .reel-card { aspect-ratio: 1; border-radius: 2px; overflow: hidden; background: var(--line); }
  .reel-card img { width: 100%; height: 100%; object-fit: cover; }

  .portfolio-band { background: var(--accent); padding: 6px; margin-top: 8px; }
  .project-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin: 0; }
  @media (max-width: 820px) { .project-grid { grid-template-columns: repeat(2,1fr); } }
  @media (max-width: 540px) { .project-grid { grid-template-columns: 1fr; } }
  .project-card { position: relative; aspect-ratio: 4/3; overflow: hidden; cursor: pointer; background: #201e26; }
  .project-card .thumb { position: absolute; inset: 0; margin: 0; }
  .project-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
  .project-card:hover .thumb img { transform: scale(1.05); }
  .project-card .thumb--empty { background: linear-gradient(150deg, #2b2833, #17151d); }
  .project-card .overlay { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 22px; background: linear-gradient(to top, rgba(14,12,19,.85) 0%, rgba(14,12,19,.12) 55%, rgba(14,12,19,0) 100%); }
  .cats { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
  .project-card .cat { align-self: flex-start; background: var(--accent); color: #fff; font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .5em .75em; }
  .project-card .title { color: #fff; font-weight: 800; font-size: 1.32rem; letter-spacing: -.01em; line-height: 1.05; margin: 0; }
  .project-card .view { margin-top: 12px; color: #fff; font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease; }
  .project-card:hover .view { opacity: .9; transform: translateY(0); }
  .thumb-badge { position: absolute; top: 12px; right: 12px; z-index: 4; display: inline-flex; align-items: center; gap: .5em; font-family: 'Hanken Grotesk', sans-serif; font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--accent); color: #fff; padding: .55em .8em; border-radius: 2px; box-shadow: 0 3px 12px rgba(14,12,19,.5); }
  .thumb-badge .tb-icon { font-size: 1.05em; line-height: 1; margin-top: -1px; }
  /* Stacked-card affordance so multi-video projects read as a set at a glance.
     Box-shadow slivers sit in the grid gap (not clipped by the card's overflow). */
  .project-card--multi { box-shadow: 0 -3px 0 rgba(169,139,239,.6), 0 -6px 0 rgba(169,139,239,.3); }
  .portfolio-count { font-family: 'Hanken Grotesk', sans-serif; font-size: .72rem; color: var(--muted); margin-top: -8px; margin-bottom: 4px; }

  .contact-block { text-align: center; padding: 60px 0 70px; }
  .agency-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:44px; }
  .agency-card { border:1px solid var(--line);border-radius:2px;padding:26px 22px;background:transparent; }
  .agency-card .t { font-weight:700;margin-bottom:6px; }
  .agency-card .d { font-size: .86rem;color:var(--muted); }

  .services { padding: 90px 0; }
  .service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 40px; margin-top: 48px; counter-reset: svc; }
  .service-item { counter-increment: svc; }
  .service-item::before { content: counter(svc, decimal-leading-zero); display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; color: var(--accent); margin-bottom: 14px; }
  .service-item h3 { font-size: 1.32rem; font-weight: 700; letter-spacing: -.01em; margin: 0 0 10px; color: var(--text); }
  .service-item p { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--muted); }
  @media (max-width: 720px) { .service-list { grid-template-columns: 1fr; gap: 36px; } }

  .reel-section { padding: 20px 0 60px; }
  .reel-player { position: relative; border-radius: 2px; overflow: hidden; aspect-ratio: 16/8; background: #000; box-shadow: 0 20px 50px rgba(27,26,31,.20); }
  .reel-player video { width: 100%; height: 100%; object-fit: cover; }
  .reel-player--empty { display: flex; align-items: center; justify-content: center; aspect-ratio: 16/8; background: linear-gradient(135deg, rgba(114,89,196,.18), rgba(114,89,196,.05)); box-shadow: none; }
  .reel-player--empty span { font-family: 'Hanken Grotesk', sans-serif; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); opacity: .8; }
  .reel-caption { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
  .reel-caption .rc-title { font-family: 'Hanken Grotesk', sans-serif; font-style: normal; font-weight: 600; font-size: 1.15rem; }
  .reel-caption .rc-note { font-size: .86rem; color: var(--muted); }

  .modal-overlay { display: none; position: fixed; inset: 0; background: rgba(20,12,14,.86); z-index: 100; align-items: center; justify-content: center; padding: 30px; }
  .modal-overlay.open { display: flex; }
  .modal-box { background: var(--bg); border-radius: 2px; max-width: 780px; width: 100%; max-height: 92vh; overflow: auto; position: relative; }
  .modal-media { position: relative; aspect-ratio: 16/10; background: #000; }
  .modal-media video { width: 100%; height: 100%; object-fit: contain; background: #000; }
  .modal-media iframe { display: none; position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
  .modal-media-empty { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(114,89,196,.22), rgba(114,89,196,.06)); }
  .modal-media-empty span { font-family: 'Hanken Grotesk', sans-serif; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); opacity: .9; }
  .modal-thumbs { display: none; flex-wrap: wrap; gap: 12px; padding: 16px 28px 0; }
  .modal-thumb { display: flex; flex-direction: column; gap: 5px; width: 100px; background: none; border: none; padding: 0; cursor: pointer; }
  .modal-thumb .mt-img { width: 100px; height: 60px; object-fit: cover; border-radius: 2px; border: 2px solid transparent; display: block; background: linear-gradient(135deg, rgba(114,89,196,.14), rgba(114,89,196,.03)); }
  .modal-thumb.active .mt-img { border-color: var(--accent); }
  .modal-thumb .mt-cap { font-size: .68rem; color: var(--muted); line-height: 1.3; text-align: left; }
  .modal-thumb.active .mt-cap { color: var(--accent); }
  .modal-media-caption { font-family: 'Hanken Grotesk', sans-serif; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: -2px 0 10px; }
  .modal-info { padding: 24px 28px 28px; }
  .modal-cat { font-family: 'Hanken Grotesk', sans-serif; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
  .modal-title { font-family: 'Hanken Grotesk', sans-serif; font-style: normal; font-weight: 800; font-size: 1.6rem; letter-spacing: -.01em; margin-bottom: 8px; }
  .modal-desc { color: var(--muted); font-size: .95rem; line-height: 1.6; }
  .modal-meta { display: flex; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .86rem; line-height: 1.5; }
  .modal-meta:first-of-type { border-top: 1px solid var(--line); }
  .modal-meta-label { flex: 0 0 auto; font-family: 'Hanken Grotesk', sans-serif; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 2px; min-width: 68px; }
  .modal-meta span:last-child { color: var(--text); }
  .modal-close { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; border: none; font-size: 18px; cursor: pointer; z-index: 3; }
  .modal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; border: none; font-size: 20px; cursor: pointer; z-index: 3; }
  .modal-prev { left: 12px; } .modal-next { right: 12px; }
  .modal-nav:hover, .modal-close:hover { background: var(--accent); }
  .modal-counter { position: absolute; bottom: 14px; left: 18px; font-family: 'Hanken Grotesk', sans-serif; font-size: .72rem; color: rgba(255,255,255,.75); z-index: 3; }

  .contact-form { max-width: 480px; display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
  .contact-form .field { display: flex; flex-direction: column; gap: 6px; text-align: left; }
  .contact-form label { font-size: .86rem; font-weight: 600; color: var(--text); }
  .contact-form .req { color: var(--accent); }
  .contact-form input, .contact-form select, .contact-form textarea {
    font-family: 'Hanken Grotesk', sans-serif; font-size: .95rem; padding: .7em .9em;
    border: 1px solid var(--line); border-radius: 2px; background: #fff; color: var(--text);
  }
  .contact-form textarea { min-height: 110px; resize: vertical; }
  .contact-form button.btn { border: none; cursor: pointer; align-self: flex-start; }
  .contact-form .form-note { font-size: .78rem; color: var(--muted); margin: 0; }

  footer.site { background: radial-gradient(120% 130% at 78% 15%, rgba(169,139,239,.20), rgba(27,26,31,0) 55%), linear-gradient(180deg, #26232e 0%, #131217 100%); color: #fff; padding: 72px 0 58px; margin-top: 90px; }
  footer.site .container { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; font-size: .86rem; color: #fff; }
  .foot-logo { font-size: 1.15rem; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: 1.1; }
  .foot-logo i { font-style: normal; color: var(--lav-bright); }
  .foot-tag { text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; margin-top: 3px; color: rgba(255,255,255,.85); }
  footer.site .copy { color: rgba(255,255,255,.65); margin-top: 22px; font-size: .78rem; }
  .foot-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
  footer.site .socials { font-size: .78rem; letter-spacing: .08em; }
  footer.site a { color: #fff; }
  footer.site a:hover { color: var(--lav-bright); }

  @media (max-width: 720px) {
    header.site { flex-wrap: wrap; }
    .nav-toggle { display: flex; }
      nav.main { order: 3; flex-basis: 100%; flex-direction: column; gap: 4px; margin: 0; max-height: 0; overflow: hidden; transition: max-height .25s ease; }
    nav.main.open { max-height: 320px; margin-top: 14px; }
    nav.main a { padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: .95rem; }
  }

  .filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
  .filter-chip { font-family: 'Hanken Grotesk', sans-serif; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: .5em .9em; border-radius: 2px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; transition: all .15s ease; }
  .filter-chip:hover { border-color: var(--accent); color: var(--accent); }
  .filter-chip.active { background: var(--accent); border-color: var(--accent); color: var(--onaccent); }
  .thumb--empty { display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px; background: linear-gradient(135deg, rgba(114,89,196,.10), rgba(114,89,196,.02)); }
  .thumb--empty span { font-family: 'Hanken Grotesk', sans-serif; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); opacity: .8; line-height: 1.5; }
  .modal-tags { display: flex; flex-wrap: wrap; gap: 6px; }
  .modal-tag { font-family: 'Hanken Grotesk', sans-serif; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; padding: .35em .7em; border-radius: 2px; border: 1px solid var(--line); color: var(--muted); cursor: pointer; transition: all .15s ease; }
  .modal-tag:hover { border-color: var(--accent); color: var(--accent); }

  /* ---------- Tablet ---------- */
  @media (max-width: 1024px) {
    .section { padding: 72px 0; }
    .services { padding: 68px 0; }
    .hero-reed { min-height: 72vh; }
  }

  /* ---------- Phone ---------- */
  @media (max-width: 640px) {
    .container { padding: 0 20px; }
    .section { padding: 56px 0; }
    .services { padding: 52px 0; }
    /* svh accounts for the browser's collapsing address bar; vh does not */
    .hero-reed { min-height: 78svh; }
    .hero-reed-inner { padding: 0 20px 10vh; }
    header.site { padding: 20px 0 16px; }
    .about-wrap { gap: 26px; }
    .about-photo { margin: 0 auto; }
    .modal-info { padding: 20px 18px 24px; }
    .modal-thumbs { padding: 14px 18px 0; }
    .modal-nav { width: 38px; height: 38px; }
    .modal-prev { left: 6px; }
    .modal-next { right: 6px; }
    .modal-box { max-height: 94vh; }
    .mt-img { width: 82px; height: 50px; }
    .modal-thumb { width: 82px; }
  }

  /* iOS zooms the page when a focused field is under 16px — keep them at 16 */
  @media (max-width: 820px) {
    .contact-form input, .contact-form textarea { font-size: 16px; }
  }

  /* Touch devices: tap targets need real size, and hover styles never fire */
  @media (hover: none) {
    .filter-chip { padding: .72em 1.05em; font-size: .72rem; }
    nav.main a { padding: 12px 2px; }
    .btn { padding: 1em 1.6em; }
  }

  /* Keyboard focus — there was no visible focus anywhere before this */
  a:focus-visible, button:focus-visible, input:focus-visible,
  textarea:focus-visible, select:focus-visible, .project-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
  }
  .hero-reed a:focus-visible, footer.site a:focus-visible { outline-color: var(--lav-bright); }

  /* ---------- Blog ---------- */
  .post-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
  .post-item { border-bottom: 1px solid var(--line); }
  .post-item a { display: block; padding: 26px 0; transition: opacity .15s ease; }
  .post-item a:hover { opacity: .62; }
  .post-date { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
  .post-title { font-family: 'Hanken Grotesk', sans-serif; font-weight: 800; text-transform: uppercase; line-height: 1.05; letter-spacing: -.015em; font-size: clamp(1.4rem,3vw,2rem); margin: 8px 0 8px; }
  .post-excerpt { color: var(--muted); font-size: .95rem; line-height: 1.6; max-width: 620px; margin: 0; }

  .article { max-width: 680px; }
  .article p { font-size: 1.02rem; line-height: 1.72; color: var(--text); margin: 0 0 22px; }
  .article h3 { font-family: 'Hanken Grotesk', sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; font-size: 1.15rem; margin: 38px 0 14px; }
  .article ul { margin: 0 0 22px; padding-left: 20px; color: var(--text); }
  .article li { font-size: 1.02rem; line-height: 1.66; margin-bottom: 9px; }
  .article strong { font-weight: 700; }
  .article .lede { font-size: 1.14rem; line-height: 1.6; color: var(--muted); }
  .article-meta { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
  .back-link { display: inline-block; margin-top: 40px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

  /* ---------- Language switcher ---------- */
  .lang-switch { display: flex; align-items: center; gap: 10px; font-size: .68rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase; margin-left: auto; margin-right: 18px; align-self: baseline; }
  .lang-switch a { color: var(--muted); transition: color .15s ease; }
  .lang-switch a:hover { color: var(--accent); }
  .lang-current { color: var(--text); }
  .hero-reed .lang-switch a { color: rgba(255,255,255,.6); }
  @media (max-width: 720px) {
    .lang-switch { order: 2; margin-right: 10px; }
  }
