/* ============================================================
   TAMARA HAMDALLA — Portfolio
   Design system: deep electric blue + white, sleek/premium/minimal
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* palette (from brief) */
  --navy-1: #0E1F50;
  /* dark blue background */
  --navy-2: #0E1F50;
  /* dark blue background */
  --navy-3: #1a2c5e;
  /* raised navy       */
  --navy-4: #2e3f72;
  /* border / line     */
  --blue-1: #2b4867;
  --blue-2: #305073;
  --steel: #8ea3bd;
  /* muted text on dark */
  --steel-dim: #5d7693;
  --paper: #ffffff;
  --paper-2: #eef3f9;
  /* cool white section */
  --paper-line: #dde6f1;
  --ink: #0b1c30;
  /* text on light */
  --ink-dim: #516076;

  /* accent (tweakable) */
  --accent: #8492B0;
  --accent-soft: rgba(132, 146, 176, .14);

  /* fonts (tweakable via [data-*] on :root) */
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Assistant', 'Helvetica Neue', Arial, sans-serif;
  --font-accent: 'Newsreader', Georgia, serif;
  --display-weight: 800;
  --display-stretch: 100%;

  /* rhythm */
  --pad-x: clamp(20px, 5.5vw, 96px);
  --maxw: 1480px;
  --radius: 14px;

  /* motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --marquee-speed: 38s;
}

/* ---------- Accent presets ---------- */
:root[data-accent="royal"] {
  --accent: #2746e0;
  --accent-soft: rgba(39, 70, 224, .15);
}

:root[data-accent="electric"] {
  --accent: #8492B0;
  --accent-soft: rgba(132, 146, 176, .14);
}

:root[data-accent="sky"] {
  --accent: #3d8bff;
  --accent-soft: rgba(61, 139, 255, .16);
}

/* ---------- Color modes ---------- */
:root[data-mode="light"] {
  --navy-1: #13294a;
  --navy-2: #1a335a;
  --navy-3: #21426f;
  --navy-4: #33538a;
}

:root[data-mode="contrast"] {
  --navy-1: #050d18;
  --navy-2: #07111f;
  --navy-3: #0e2238;
  --navy-4: #1a3a5e;
}

/* ---------- Font presets ---------- */
:root[data-display="space"] {
  --font-display: 'Space Grotesk', sans-serif;
  --display-weight: 700;
}

:root[data-display="oswald"] {
  --font-display: 'Oswald', sans-serif;
  --display-weight: 600;
  --display-stretch: 100%;
}

:root[data-display="helvetica"] {
  --font-display: 'Helvetica Neue', Arial, sans-serif;
  --display-weight: 700;
}

:root[data-display="archivo"] {
  --font-display: 'Archivo', sans-serif;
  --display-weight: 800;
}

:root[data-body="alata"] {
  --font-body: 'Alata', sans-serif;
}

:root[data-body="k2d"] {
  --font-body: 'K2D', sans-serif;
}

:root[data-body="assistant"] {
  --font-body: 'Assistant', sans-serif;
}

:root[data-accentface="sans"] {
  --font-accent: var(--font-body);
}

:root[data-accentface="serif"] {
  --font-accent: 'Newsreader', Georgia, serif;
}

/* ---------- Base ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--navy-1);
  color: #eaf1fa;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* subtle film grain over the whole page — inline SVG noise, no network request */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: .32;
  mix-blend-mode: overlay;
  background-size: 150px 150px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27140%27%20height%3D%27140%27%3E%3Cfilter%20id%3D%27n%27%3E%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%270.8%27%20numOctaves%3D%272%27%20stitchTiles%3D%27stitch%27/%3E%3CfeColorMatrix%20type%3D%27saturate%27%20values%3D%270%27/%3E%3C/filter%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20filter%3D%27url%28%23n%29%27/%3E%3C/svg%3E");
}

:root[data-motion="off"] body::before {
  display: none;
}

/* reduced-motion / motion-off */
:root[data-motion="off"] * {
  animation: none !important;
  transition: none !important;
}

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* eyebrow / mono label */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  opacity: .8;
}

.eyebrow.no-tick::before {
  display: none;
}

.serif {
  font-family: var(--font-accent);
  font-style: italic;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad-x);
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}

.nav[data-scrolled="1"] {
  background: rgba(8, 18, 32, .72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: rgba(255, 255, 255, .08);
  padding-top: 13px;
  padding-bottom: 13px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand .spark {
  width: 22px;
  height: 22px;
  color: #fff;
  flex: none;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: .02em;
  font-size: 15px;
  line-height: 1;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 3px;
}

.brand-lock {
  display: flex;
  flex-direction: column;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 9px 15px;
  border-radius: 999px;
  color: #cdd9e8;
  transition: color .25s, background .25s;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .07);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 9px 16px 9px 18px;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: #fff;
  transition: border-color .25s, background .25s, transform .25s;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .38);
  transform: translateY(-1px);
}

.nav-cta .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #41d28a;
  box-shadow: 0 0 0 4px rgba(65, 210, 138, .18);
}

.nav-burger {
  display: none;
}

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--navy-2);
  display: grid;
  place-items: center;
  transition: opacity .7s var(--ease), visibility .7s;
}

.preloader[data-done="1"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.pre-inner {
  text-align: center;
  padding: 0 24px;
  overflow: hidden;
}

.pre-name {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(34px, 8vw, 104px);
  letter-spacing: .01em;
  line-height: .96;
  text-transform: uppercase;
  color: #fff;
  display: flex;
  gap: .28em;
  justify-content: center;
  flex-wrap: wrap;
}

.pre-name .w {
  display: inline-block;
  overflow: hidden;
}

.pre-name .w>span {
  display: inline-block;
  transform: translateY(105%);
}

.preloader[data-go="1"] .pre-name .w>span {
  transform: translateY(0);
  transition: transform .9s var(--ease);
}

.preloader[data-go="1"] .pre-name .w:nth-child(2)>span {
  transition-delay: .08s;
}

.pre-bar {
  height: 2px;
  width: 0;
  margin: 26px auto 0;
  background: var(--accent);
  max-width: 280px;
}

.preloader[data-go="1"] .pre-bar {
  width: 280px;
  transition: width 1.3s var(--ease);
}

.pre-role {
  margin-top: 16px;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(14px, 2vw, 20px);
  color: var(--steel);
  opacity: 0;
}

.preloader[data-go="1"] .pre-role {
  opacity: 1;
  transition: opacity .7s ease .5s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(132, 146, 176, .20), transparent 55%),
    radial-gradient(80% 70% at 0% 100%, rgba(132, 146, 176, .10), transparent 60%),
    linear-gradient(180deg, var(--navy-2), var(--navy-1));
  display: flex;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 60px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  width: 100%;
}

.hero-copy {
  max-width: 760px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-stretch: var(--display-stretch);
  font-size: calc(clamp(40px, 6.8vw, 112px) * var(--name-scale, 1));
  line-height: .9;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: .18em 0 0;
  color: #fff;
}

.hero h1 .ln {
  display: block;
  overflow: hidden;
}

.hero h1 .ln>span {
  display: block;
}

.hero-role {
  margin-top: clamp(18px, 2.4vw, 30px);
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  align-items: center;
  gap: 8px 12px;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(13px, 1.5vw, 21px);
  color: #dbe6f4;
}

.hero-role .sep {
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--accent);
  flex: none;
}

.hero-lede {
  margin-top: clamp(18px, 2vw, 26px);
  max-width: 46ch;
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--steel);
  line-height: 1.65;
}

.hero-actions {
  margin-top: clamp(26px, 3vw, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 15px 24px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -12px var(--accent);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
}

.btn-ghost:hover {
  border-color: #fff;
  transform: translateY(-2px);
}

.btn .arrow {
  width: 16px;
  height: 16px;
  transition: transform .25s var(--ease);
}

.btn:hover .arrow {
  transform: translate(3px, -3px);
}

/* hero "live" grid — two auto-scrolling columns */
.hero-reel {
  position: relative;
  height: min(74vh, 640px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}

.hero-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  will-change: transform;
}

.hero-col.up {
  animation: scrollUp 26s linear infinite;
}

.hero-col.down {
  animation: scrollDown 30s linear infinite;
}

@keyframes scrollUp {
  from {
    transform: translateY(0)
  }

  to {
    transform: translateY(-50%)
  }
}

@keyframes scrollDown {
  from {
    transform: translateY(-50%)
  }

  to {
    transform: translateY(0)
  }
}

.hero-reel:hover .hero-col {
  animation-play-state: running;
}

/* ---------- Placeholder tiles (decorative) ---------- */
.ph {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  flex: none;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 11px),
    linear-gradient(160deg, var(--navy-3), var(--navy-2));
  border: 1px solid rgba(255, 255, 255, .07);
  color: var(--steel);
}

.ph::after {
  content: attr(data-label);
  position: absolute;
  left: 12px;
  bottom: 11px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 10.5px;
  letter-spacing: .08em;
  color: rgba(190, 206, 228, .66);
  text-transform: uppercase;
}

.ph .play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(10, 22, 38, .45);
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(2px);
}

.ph .play svg {
  width: 16px;
  height: 16px;
  transform: translateX(1px);
  fill: #fff;
}

.ph.v {
  aspect-ratio: 9/16;
}

.ph.h {
  aspect-ratio: 16/9;
}

.ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.95) contrast(1.05);
}

.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 16, 28, .06), rgba(8, 16, 28, .78));
}

.ph::after {
  z-index: 2;
}

.showcase-tile {
  cursor: default;
}

.ph-title {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 34px;
  z-index: 2;
  color: #fff;
  pointer-events: none;
}

.ph-title span {
  display: block;
  margin-bottom: 6px;
  color: rgba(219, 230, 244, .78);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
}

.ph-title strong {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(16px, 1.4vw, 23px);
  line-height: 1.02;
  text-transform: uppercase;
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.strip {
  border-block: 1px solid var(--navy-4);
  background: var(--navy-1);
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
}

.strip-track {
  display: inline-flex;
  gap: 0;
  animation: marq var(--marquee-speed) linear infinite;
}

.strip:hover .strip-track {
  animation-play-state: paused;
}

@keyframes marq {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

.strip-item {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(22px, 3vw, 40px);
  text-transform: uppercase;
  letter-spacing: .01em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(190, 206, 228, .55);
  padding: 0 36px;
  display: inline-flex;
  align-items: center;
  gap: 36px;
}

.strip-item .s {
  color: var(--accent);
  -webkit-text-stroke: 0;
}

.strip-item:nth-child(even) {
  color: #dce6f3;
  -webkit-text-stroke: 0;
}

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.section {
  padding-block: clamp(72px, 10vw, 140px);
  position: relative;
}

.section--light {
  background: var(--paper);
  color: var(--ink);
}

.section--paper {
  background: var(--paper-2);
  color: var(--ink);
}

/* over a light background, use the deep navy as the accent instead of the pale blue */
.section--light,
.section--paper {
  --accent: #0E1F50;
  --accent-soft: rgba(14, 31, 80, .08);
}

.section--dark {
  background: var(--navy-1);
  color: #eaf1fa;
}

.section--deep {
  background: linear-gradient(180deg, var(--navy-2), var(--navy-1));
  color: #eaf1fa;
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.sec-head .eyebrow {
  margin-bottom: 18px;
}

.sec-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(32px, 5.4vw, 76px);
  line-height: .96;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 0;
  max-width: 16ch;
}

.section--light .eyebrow,
.section--paper .eyebrow {
  color: var(--accent);
}

.sec-note {
  max-width: 38ch;
  color: inherit;
  opacity: .72;
  font-size: 15.5px;
}

.section--dark .sec-note,
.section--deep .sec-note {
  color: var(--steel);
  opacity: 1;
}

/* ============================================================
   SKILLS
   ============================================================ */
.skills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--paper-line);
}

.section--dark .skills,
.section--deep .skills {
  border-top-color: var(--navy-4);
}

.skill {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  padding: 30px 8px;
  border-bottom: 1px solid var(--paper-line);
  transition: background .3s, padding .3s var(--ease);
  position: relative;
}

.section--dark .skill,
.section--deep .skill {
  border-bottom-color: var(--navy-4);
}

.skill:nth-child(odd) {
  border-right: 1px solid var(--paper-line);
  padding-right: 30px;
}

.section--dark .skill:nth-child(odd),
.section--deep .skill:nth-child(odd) {
  border-right-color: var(--navy-4);
}

.skill .no {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  color: var(--accent);
  padding-top: 6px;
}

.skill h3 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(20px, 2vw, 27px);
  text-transform: uppercase;
  margin: 0 0 8px;
  letter-spacing: -.005em;
}

.skill p {
  margin: 0;
  font-size: 15px;
  opacity: .7;
  line-height: 1.6;
  max-width: 40ch;
}

.skill:hover {
  background: var(--accent-soft);
}

.skill .tools {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid currentColor;
  opacity: .55;
}

/* ============================================================
   SELECTED WORK
   ============================================================ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}

.work-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--navy-3);
  border: 1px solid var(--navy-4);
  isolation: isolate;
}

.work-card.lg {
  grid-column: span 8;
  aspect-ratio: 16/9;
}

.work-card.sm {
  grid-column: span 4;
  aspect-ratio: 4/5;
}

.work-card.md {
  grid-column: span 6;
  aspect-ratio: 16/10;
}

.work-card image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.work-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 16, 28, 0) 30%, rgba(8, 16, 28, .82) 100%);
}

.work-meta {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 22px 24px;
  pointer-events: none;
}

.work-cat {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.work-card h3 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(19px, 1.8vw, 28px);
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
  color: #fff;
}

.work-role {
  margin-top: 8px;
  font-family: var(--font-accent);
  font-style: italic;
  color: #c4d3e6;
  font-size: 15px;
}

.work-card .corner {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(10, 22, 38, .5);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(4px);
  transform: scale(.85);
  opacity: 0;
  transition: .3s var(--ease);
}

.work-card .corner svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
}

.work-card:hover .corner {
  opacity: 1;
  transform: scale(1);
}

.work-card:hover {
  border-color: var(--accent);
}

.work-card .scrim-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-family: ui-monospace, monospace;
  color: #cfe;
  background: rgba(10, 22, 38, .5);
  padding: 5px 9px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, .16);
}

/* ============================================================
   REELS — vertical phone cards in pairs
   ============================================================ */
.reels-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.7fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}

.reels-aside {
  position: sticky;
  top: 120px;
}

.reels-aside .sec-title {
  max-width: 12ch;
}

.reels-aside .reels-note {
  margin-top: 22px;
  color: var(--steel);
  max-width: 34ch;
}

.reels-aside .platforms {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.plat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 2px;
  border-top: 1px solid var(--navy-4);
  font-size: 14px;
}

.plat:last-child {
  border-bottom: 1px solid var(--navy-4);
}

.plat b {
  font-weight: 600;
  letter-spacing: .02em;
}

.plat span {
  color: var(--steel);
  font-family: ui-monospace, monospace;
  font-size: 12px;
}

.reels-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: stretch;
  gap: clamp(26px, 3.4vw, 52px) clamp(22px, 2.6vw, 40px);
  align-items: start;
}

/* stagger the right column so the two columns read as one scrollable gallery */
.reels-stack .reel-item:nth-child(even) {
  margin-top: clamp(40px, 6vw, 92px);
}

.phone {
  position: relative;
  aspect-ratio: 9/19.5;
  border-radius: 30px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--navy-4);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7);
}

.phone image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.phone .notch {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 78px;
  height: 20px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .55);
}

.phone .ui {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .25), transparent 22% 70%, rgba(0, 0, 0, .6));
}

.phone .rmeta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  z-index: 3;
  pointer-events: none;
}

.phone .rhandle {
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone .rcap {
  margin-top: 6px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .82);
  line-height: 1.4;
}

.phone .rside {
  position: absolute;
  right: 14px;
  bottom: 74px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.phone .rside .ic {
  width: 30px;
  height: 30px;
  opacity: .92;
  fill: #fff;
}

.phone-tall {
  margin-top: 38px;
}

/* offset every 2nd column for masonry feel */
.phone iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
  background: #000;
}

.reel-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.reel-label {
  font-size: 13px;
  line-height: 1.38;
  color: var(--ink);
  font-weight: 500;
}

.reel-label .views {
  display: block;
  margin-top: 5px;
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

/* ============================================================
   PODCASTS — carousel
   ============================================================ */
.pods {
  position: relative;
}

.pods-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
  padding-bottom: 4px;
  align-items: start;
}

.pods-track::-webkit-scrollbar {
  display: none;
}

.pod {
  min-width: 0;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-3);
  border: 1px solid var(--navy-4);
  cursor: pointer;
  transition: border-color .3s, transform .3s var(--ease);
}

.pod:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.pod .cover {
  position: relative;
  aspect-ratio: 16/10;
}

.pod .cover image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pod .cover .play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(10, 22, 38, .5);
  border: 1px solid rgba(255, 255, 255, .25);
  z-index: 2;
}

.pod .cover .play svg {
  width: 18px;
  height: 18px;
  fill: #fff;
  transform: translateX(1px);
}

.pod-body {
  padding: 20px 22px 24px;
}

.pod-ep {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.pod h3 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 21px;
  text-transform: uppercase;
  margin: 10px 0 6px;
  line-height: 1.05;
  color: #fff;
}

.pod p {
  margin: 0;
  font-size: 14px;
  color: var(--steel);
}

.pods-nav {
  display: flex;
  gap: 10px;
}

.pods-nav button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--navy-4);
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: .25s;
}

.pods-nav button:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.pods-nav svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* ============================================================
   ABOUT teaser
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.about-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  border: 1px solid var(--navy-4);
  background: var(--navy-2);
}

.about-photo image-slot,
.about-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.about-photo img {
  display: block;
  object-fit: cover;
  object-position: 46% 48%;
  filter: grayscale(0.8) contrast(1.03) brightness(0.9);
  transform: scale(1.02);
}

.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: #0E1F50;
  mix-blend-mode: color;
  opacity: .34;
}

.about-copy h2 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(28px, 3.6vw, 52px);
  text-transform: uppercase;
  line-height: 1;
  margin: 18px 0 0;
}

.about-copy .lead {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 24px);
  color: #dbe6f4;
  margin: 22px 0 0;
  line-height: 1.5;
}

.about-copy p {
  color: var(--steel);
  margin: 18px 0 0;
  max-width: 52ch;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.facts--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 340px;
}

.fact {
  border-top: 1px solid var(--navy-4);
  padding-top: 14px;
}

.fact b {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(26px, 3vw, 40px);
}

.fact span {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ============================================================
   CONTACT / FOOTER
   ============================================================ */
.contact {
  background: radial-gradient(110% 120% at 50% 0%, rgba(132, 146, 176, .22), transparent 55%), var(--navy-1);
  padding-block: clamp(80px, 11vw, 150px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact .spark-big {
  width: 54px;
  height: 54px;
  color: #fff;
  margin: 0 auto 26px;
}

.contact .pre {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--steel);
  font-size: clamp(16px, 1.8vw, 22px);
}

.contact .big {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(40px, 8vw, 128px);
  line-height: .92;
  text-transform: uppercase;
  margin: 16px 0 0;
  letter-spacing: -.01em;
}

.contact .mail {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(18px, 2.4vw, 34px);
  text-transform: lowercase;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 6px;
  transition: .3s;
}

.contact .mail:hover {
  color: var(--accent);
}

.contact .links {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact .links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--navy-4);
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 13px;
  letter-spacing: .06em;
  transition: .25s;
}

.contact .links a:hover {
  border-color: var(--accent);
  background: var(--accent);
}

.foot {
  border-top: 1px solid var(--navy-4);
  padding: 30px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--steel);
}

.foot .brand-name {
  color: #eaf1fa;
}

/* ============================================================
   MODAL (video popup)
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}

.modal[data-open="1"] {
  opacity: 1;
  visibility: visible;
}

.modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(5, 11, 20, .78);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  width: min(1040px, 94vw);
  max-height: calc(100svh - 48px);
  overflow: hidden auto;
  overscroll-behavior: contain;
  background: var(--navy-2);
  border: 1px solid var(--navy-4);
  border-radius: 18px;
  transform: translateY(24px) scale(.98);
  transition: transform .45s var(--ease);
}

.modal[data-open="1"] .modal-card {
  transform: none;
}

.modal-video {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
}

.modal-video image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.modal-video .play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(132, 146, 176, .85);
  z-index: 2;
}

.modal-video .play svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  transform: translateX(2px);
}

.modal-info {
  padding: 26px 30px 30px;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
}

.modal-info>div:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

.modal-info .cat {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
}

.modal-info h3 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(24px, 3vw, 40px);
  text-transform: uppercase;
  margin: 10px 0 0;
}

.modal-info p {
  color: var(--steel);
  margin: 12px 0 0;
  max-width: 52ch;
}

.modal-info .m-meta {
  flex: 0 0 190px;
  min-width: 170px;
  font-size: 13.5px;
}

.modal-info .m-meta div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--navy-4);
}

.modal-info .m-meta span:first-child {
  color: var(--steel);
}

.modal-x {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(10, 22, 38, .6);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: .25s;
}

.modal-x:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.modal-x svg {
  width: 16px;
  height: 16px;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s 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;
}

:root[data-motion="off"] .reveal {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ============================================================
   TWEAK VARIANTS
   ============================================================ */
:root[data-hero="center"] .hero-grid {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

:root[data-hero="center"] .hero-copy {
  max-width: 880px;
}

:root[data-hero="center"] .hero-role {
  justify-content: center;
}

:root[data-hero="center"] .hero-actions {
  justify-content: center;
}

:root[data-hero="center"] .hero-lede {
  margin-inline: auto;
}

:root[data-hero="center"] .hero-reel {
  display: none;
}

:root[data-hero="minimal"] .hero-grid {
  grid-template-columns: 1fr;
}

:root[data-hero="minimal"] .hero-reel {
  display: none;
}

:root[data-reelstyle="bare"] .phone {
  border-radius: 12px;
}

:root[data-reelstyle="bare"] .phone .notch {
  display: none;
}

:root[data-reelstyle="bordered"] .phone {
  border: 2px solid var(--accent);
}

@media (max-width:980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-reel {
    height: 420px;
  }

  .reels-layout {
    grid-template-columns: 1fr;
  }

  .reels-aside {
    position: static;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .work-card.lg,
  .work-card.md,
  .work-card.sm {
    grid-column: span 12;
  }

  .skills {
    grid-template-columns: 1fr;
  }

  .skill:nth-child(odd) {
    border-right: none;
    padding-right: 8px;
  }
}

@media (max-width:680px) {
  .pods-track {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .nav-burger {
    display: grid;
  }

  .reels-stack {
    grid-template-columns: 1fr;
  }

  .reels-stack .reel-item:nth-child(even) {
    margin-top: 0;
  }

  .phone-tall {
    margin-top: 0;
  }

  .modal-info {
    flex-direction: column;
  }
}

/* standalone helpers (replaces the old bundled image loader) */
image-slot {
  display: block;
}

image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   MAIN REEL — responsive 16:9 Vimeo facade (click to play w/ sound)
   ============================================================ */
.reel-main .sec-head {
  margin-bottom: clamp(26px, 3.5vw, 44px);
}

.reel-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-2) center/cover no-repeat;
  border: 1px solid var(--navy-4);
  cursor: pointer;
  box-shadow: 0 44px 100px -46px rgba(0, 0, 0, .85);
}

.reel-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity .5s var(--ease);
  background: linear-gradient(180deg, rgba(8, 16, 28, .18), rgba(8, 16, 28, .58));
}

.reel-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 3;
}

.reel-play {
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 2;
  width: clamp(72px, 6.5vw, 104px);
  height: clamp(72px, 6.5vw, 104px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(132, 146, 176, .92);
  box-shadow: 0 22px 54px -14px var(--accent);
  transition: transform .3s var(--ease), opacity .4s;
}

.reel-frame:hover .reel-play {
  transform: scale(1.07);
}

.reel-play svg {
  width: 34%;
  height: 34%;
  fill: #fff;
  transform: translateX(3px);
}

.reel-cap {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 2;
  color: #fff;
  pointer-events: none;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.reel-frame.playing::after,
.reel-frame.playing .reel-play,
.reel-frame.playing .reel-cap {
  opacity: 0;
  pointer-events: none;
}

/* ============================================================
   FEATURED ENTRY CARDS — three ways into the work
   ============================================================ */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.entry {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--navy-4);
  background: var(--navy-3);
  text-decoration: none;
  color: inherit;
  transition: border-color .3s, transform .3s var(--ease);
}

.entry:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.entry .thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.entry .thumb image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.entry .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 16, 28, 0) 45%, rgba(8, 16, 28, .72));
}

.entry-k {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.entry-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.entry-body h3 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  text-transform: uppercase;
  font-size: clamp(19px, 1.55vw, 25px);
  line-height: 1.02;
  color: #fff;
  margin: 12px 0 9px;
}

.entry-body p {
  margin: 0;
  color: var(--steel);
  font-size: 14.5px;
  line-height: 1.5;
}

.entry-go {
  margin-top: auto;
  padding-top: 18px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.entry-go svg {
  width: 15px;
  height: 15px;
  transition: transform .25s var(--ease);
}

.entry:hover .entry-go svg {
  transform: translate(3px, -3px);
}

/* short-form grouping labels */
.sf-tag {
  display: inline-block;
  margin-top: 6px;
  font-family: ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ============================================================
   PRODUCTION & LIVE-EVENT — supporting capability groups
   ============================================================ */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
  border-top: 1px solid var(--navy-4);
}

.prod-col {
  padding-top: 26px;
  border-top: 2px solid var(--accent);
  margin-top: -1px;
}

.prod-col h3 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  text-transform: uppercase;
  font-size: clamp(15px, 1.2vw, 18px);
  margin: 0 0 14px;
  letter-spacing: .01em;
}

.prod-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prod-col li {
  font-size: 12.5px;
  letter-spacing: .02em;
  color: var(--steel);
  border: 1px solid var(--navy-4);
  border-radius: 999px;
  padding: 6px 12px;
}

/* dark-outline button + inline "more" link, for use on light sections */
.btn-line {
  border-color: var(--paper-line);
  color: var(--ink);
}

.btn-line:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}

.more svg {
  width: 15px;
  height: 15px;
  transition: transform .25s var(--ease);
}

.more:hover svg {
  transform: translate(3px, -3px);
}

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

  .prod-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .prod-col {
    padding-bottom: 26px;
  }
}