:root {
  --bg: #0d0d0d;
  --bg-2: #141414;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f2f0eb;
  --muted: #9a978f;
  --accent: #ff4d2e;
  --radius: 4px;
  --pad: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 15px/1.6 var(--body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.display {
  font-family: var(--display); font-weight: 700; font-stretch: 118%;
  letter-spacing: -0.02em; line-height: 0.98; margin: 0;
}
.eyebrow {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.solid {
  background: rgba(13, 13, 13, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-color: var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: var(--display); font-weight: 700; font-stretch: 118%; letter-spacing: 0.06em; font-size: 19px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 13px; }
.nav a:not(.pill) { opacity: .8; transition: opacity .2s; }
.nav a:not(.pill):hover { opacity: 1; }
.nav-toggle { display: none; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 13px; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.pill:hover { border-color: var(--text); }
.pill.solid { background: var(--text); color: #0d0d0d; border-color: var(--text); }
.pill.solid:hover { background: #fff; }
.pill svg { width: 14px; height: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media .vbg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-media .slide { opacity: 0; transform: scale(1.12); transition: opacity 1.8s ease-in-out, transform 7s linear; }
.hero-media .slide.on { opacity: 1; transform: scale(1.02); }
.hero-media .vbg { border: 0; pointer-events: none; opacity: 0; transition: opacity 1s; }
.hero-media .vbg.ready { opacity: 1; }
/* make a 16:9 iframe cover the hero */
.hero-media .vbg {
  width: max(100%, 177.78svh); height: max(100%, 56.25vw);
  left: 50%; top: 50%; inset: auto; transform: translate(-50%, -50%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(13,13,13,.72) 0%, rgba(13,13,13,.35) 45%, rgba(13,13,13,0) 75%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,.55) 0%, rgba(13,13,13,0) 30%, rgba(13,13,13,.25) 55%, rgba(13,13,13,.95) 100%);
}
.hero-content { position: relative; z-index: 2; padding-bottom: clamp(36px, 7vh, 72px); width: 100%; }
.live { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; color: var(--text); opacity: .85; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255,77,46,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255,77,46,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,46,0); } }
.hero h1 { font-size: clamp(48px, 8.4vw, 136px); text-shadow: 0 2px 40px rgba(0,0,0,.6), 0 2px 8px rgba(0,0,0,.45), 0 1px 2px rgba(0,0,0,.4); }
.hero p.lead { max-width: 520px; font-size: clamp(15px, 1.3vw, 18px); color: rgba(242,240,235,.85); margin: 26px 0 30px; }
.hero-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-caption { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--muted); }
.round {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; transition: border-color .2s, transform .3s;
}
.round:hover { border-color: var(--text); }
.round svg { width: 14px; height: 14px; }
.hero .reveal { opacity: 0; transform: translateY(24px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hero .reveal:nth-child(2) { animation-delay: .1s; }
.hero .reveal:nth-child(3) { animation-delay: .2s; }
.hero .reveal:nth-child(4) { animation-delay: .3s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.still-caption { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(242,240,235,.75); text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.still-caption i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 0 0 rgba(255,77,46,.6); animation: pulse 2s infinite; }
.still-caption b { font-weight: 500; color: var(--text); transition: opacity .4s; }
.still-caption b.swap { opacity: 0; }

/* ---------- Clients ---------- */
.clients { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.clients .wrap { display: flex; align-items: center; gap: 40px; height: 76px; }
.clients .eyebrow { flex: none; color: var(--text); font-weight: 600; }
.marquee { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 48px; padding-right: 48px; width: max-content; animation: scroll 45s linear infinite; will-change: transform; }
.marquee-track span { font-family: var(--display); font-weight: 600; font-stretch: 110%; font-size: 15px; white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }

/* ---------- Sections ---------- */
section.block { padding: clamp(72px, 11vw, 140px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.section-head h2 { font-size: clamp(36px, 5vw, 64px); }
.section-head .hint { font-size: 12px; color: var(--muted); }

/* ---------- Work grid ---------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(36px, 4vw, 56px) clamp(16px, 2.4vw, 32px); }
.card { position: relative; }
.card-media {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius);
  background: var(--bg-2); cursor: pointer;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1), opacity .5s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.card-media .preview { opacity: 0; transition: opacity .5s; pointer-events: none; }
.card-media .preview.ready { opacity: 1; }
.play-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.9);
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(13,13,13,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.35); opacity: 0; transition: opacity .3s, transform .3s;
}
.play-btn svg { width: 20px; height: 20px; margin-left: 3px; }
.card:hover .play-btn, .card-media:focus-visible .play-btn { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.badge {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  font-size: 11px; font-weight: 600; padding: 3px 7px; border-radius: 3px;
  background: rgba(13,13,13,.75); font-variant-numeric: tabular-nums;
}
.card-media.playing .play-btn, .card-media.playing .badge { display: none; }
.card-meta { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; margin-top: 16px; align-items: baseline; }
.card-meta h3 { margin: 0; font-family: var(--display); font-weight: 700; font-stretch: 112%; font-size: clamp(17px, 1.5vw, 21px); letter-spacing: -0.01em; }
.card-meta .num { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.card-meta .sub { font-size: 13px; color: var(--muted); }
.more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px;
  padding-bottom: 3px; border-bottom: 1px solid var(--line); transition: border-color .2s, gap .25s;
}
.more:hover { border-color: var(--text); gap: 12px; }
.more svg { width: 13px; height: 13px; }
.soon {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 3;
  background: rgba(13,13,13,.7); font-size: 13px; color: var(--muted); opacity: 0; transition: opacity .3s; pointer-events: none;
}
.soon.show { opacity: 1; }

/* ---------- What I do ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service { border-top: 1px solid var(--line); padding-top: 22px; }
.service h3 { margin: 0 0 10px; font-family: var(--display); font-stretch: 112%; font-size: 17px; font-weight: 700; }
.service p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- About ---------- */
.about { background: var(--bg-2); }
.about-grid { display: grid; grid-template-columns: minmax(220px, 4fr) 8fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-photo figure { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); filter: grayscale(1) contrast(1.05); }
.about-photo figcaption { margin-top: 10px; font-size: 11px; color: var(--muted); }
.about h2 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 26px; }
.about-text { font-size: clamp(17px, 1.6vw, 22px); line-height: 1.5; max-width: 760px; margin: 0 0 44px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; max-width: 760px; }
.facts dt { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.facts dd { margin: 0; font-size: 14px; }
.facts a { border-bottom: 1px solid var(--line); }
.facts a:hover { border-color: var(--text); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact h2 { font-size: clamp(42px, 6.5vw, 96px); }
.mail {
  display: inline-block; margin: 34px 0 30px; font-family: var(--display); font-weight: 600; font-stretch: 112%;
  font-size: clamp(20px, 2.6vw, 34px); border-bottom: 2px solid var(--text); transition: color .2s, border-color .2s;
  word-break: break-all;
}
.mail:hover { color: var(--accent); border-color: var(--accent); }
.links { display: flex; gap: 10px; flex-wrap: wrap; }

form.contact-form { display: grid; gap: 14px; }
.field label { display: block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; background: transparent; color: var(--text); font: inherit; font-size: 15px;
  border: 0; border-bottom: 1px solid var(--line); padding: 8px 0 10px; border-radius: 0; transition: border-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--text); }
.form-row { display: flex; align-items: center; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.form-status { font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; justify-content: space-between; height: 72px; align-items: center; font-size: 12px; color: var(--muted); }
.site-footer a:hover { color: var(--text); }

/* ---------- Video modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: var(--pad);
  background: rgba(0,0,0,.92); opacity: 0; pointer-events: none; transition: opacity .3s;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal-frame { width: min(1280px, 100%); aspect-ratio: 16 / 9; position: relative; }
.modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal-close { position: absolute; top: 18px; right: 18px; }
.modal-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); border: 1px dashed var(--line); text-align: center; padding: 20px; }

/* ---------- Project page ---------- */
.project-top { padding-top: 96px; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.player img { width: 100%; height: 100%; object-fit: cover; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player .play-btn { opacity: 1; transform: translate(-50%, -50%); width: 88px; height: 88px; }
.player .play-btn svg { width: 24px; height: 24px; }
.player:hover .play-btn { background: rgba(13,13,13,.65); }
.player-poster { position: absolute; inset: 0; cursor: pointer; }
.tabs { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.tabs .pill { height: 34px; font-size: 12px; }
.tabs .pill[aria-selected="true"] { background: var(--text); color: #0d0d0d; border-color: var(--text); }
.tabs .pill span { opacity: .6; }
.project-head { padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 48px); }
.project-head .eyebrow { margin-bottom: 16px; }
.project-head h1 { font-size: clamp(38px, 6vw, 84px); }
.project-head p { font-size: clamp(16px, 1.5vw, 20px); max-width: 620px; margin: 20px 0 0; color: rgba(242,240,235,.85); }
.project-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-facts div { padding: 22px 20px 22px 0; }
.project-facts dt { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.project-facts dd { margin: 0; font-size: 15px; }
.did { display: grid; grid-template-columns: 4fr 8fr; gap: 40px; padding: clamp(36px, 5vw, 56px) 0; border-bottom: 1px solid var(--line); }
.did h2 { font-family: var(--display); font-stretch: 112%; font-size: 22px; margin: 0; }
.did p { margin: 0 0 20px; font-size: 16px; max-width: 720px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-size: 12px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); padding: clamp(56px, 8vw, 96px) 0; }
.pager a { display: block; }
.pager .label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: flex; gap: 8px; align-items: center; }
.pager .next .label { justify-content: flex-end; }
.pager .card-media { cursor: pointer; }
.pager h3 { margin: 14px 0 0; font-family: var(--display); font-stretch: 112%; font-size: 20px; }
.pager .next h3 { text-align: right; }
.pager a:hover img { transform: scale(1.04); }

/* ---------- Scroll reveal ---------- */
.fade { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.fade.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .services { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .project-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav a:not(.pill) { display: none; }
  .nav .pill { height: 34px; padding: 0 14px; font-size: 12px; }
  .grid { grid-template-columns: 1fr; }
  .play-btn { opacity: 1; transform: translate(-50%, -50%) scale(.85); width: 60px; height: 60px; }
  .clients .wrap { gap: 20px; height: 64px; }
  .clients .eyebrow { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 320px; }
  .facts { grid-template-columns: 1fr; gap: 20px; }
  .did { grid-template-columns: 1fr; gap: 16px; }
  .hero-caption span { display: none; }
  .pager { grid-template-columns: 1fr; }
  .pager .next .label, .pager .next h3 { justify-content: flex-start; text-align: left; }
  .hero-ctas .pill { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 420px) { .services { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fade, .hero .reveal { opacity: 1; transform: none; }
}
.pager .label svg, .pill svg, .more svg { width: 13px; height: 13px; flex: none; }
@media (max-width: 720px) {
  .hero h1 { font-size: 10.6vw; font-stretch: 106%; }
  .clients .eyebrow { display: block; }
  .hero-caption { display: none; }
  .hero::after { background: linear-gradient(180deg, rgba(13,13,13,.6) 0%, rgba(13,13,13,.2) 25%, rgba(13,13,13,.55) 50%, rgba(13,13,13,.97) 100%); }
}

@media (max-width: 720px) {
  .hero::before { background: linear-gradient(180deg, rgba(13,13,13,0) 30%, rgba(13,13,13,.55) 60%, rgba(13,13,13,.85) 100%); }
  .logo { font-size: 17px; }
}

@media (max-width: 720px) { .still-caption { width: 100%; justify-content: center; margin-top: 4px; } }

.section-head.stacked { flex-direction: column; align-items: flex-start; gap: 12px; }
.section-head.stacked .hint { margin: 0; font-size: 14px; }
.did p + p { margin-top: -6px; }

/* ---------- Social First page ---------- */
.site-header.solid-always { background: rgba(13,13,13,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.social { padding: 100px 18px 18px; max-width: 1600px; margin: 0 auto; }
.social-head { padding: clamp(24px, 5vw, 56px) 4px clamp(28px, 4vw, 48px); max-width: 760px; }
.social-head h1 { font-size: clamp(44px, 7vw, 104px); }
.social-intro { margin: 18px 0 0; color: var(--muted); font-size: clamp(15px, 1.3vw, 18px); }
.wall { display: flex; gap: 9px; align-items: flex-start; }
.wall .col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.tile { margin: 0; position: relative; cursor: pointer; border-radius: 5px; overflow: hidden; background: var(--bg-2); }
.tile-media { position: relative; aspect-ratio: 1 / var(--ar); width: 100%; background: #1a1a1a; }
.tile-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s, transform .8s cubic-bezier(.2,.7,.2,1); }
.tile-media img.in { opacity: 1; }
.tile:hover .tile-media img { transform: scale(1.035); }
.tile-info {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 11px; font-size: 12px; line-height: 1.35;
  background: linear-gradient(0deg, rgba(0,0,0,.75), rgba(0,0,0,0)); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s;
}
.tile-info b { display: block; font-weight: 600; }
.tile-info span { color: rgba(242,240,235,.75); }
.tile:hover .tile-info, .tile:focus-visible .tile-info { opacity: 1; transform: none; }
.tile.ph .tile-media { background: linear-gradient(160deg, #222, #161616); }
.ph-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-size: 12px; color: #6b6963; gap: 2px; }
.ph-label small { font-size: 10px; letter-spacing: .1em; }
.tile.quote { background: transparent; cursor: default; padding: 22px 10px 18px; }
.tile.quote blockquote { margin: 0; font-size: 15px; line-height: 1.45; }
.tile.quote figcaption { margin-top: 26px; text-align: right; font-size: 11px; font-style: italic; color: var(--muted); }

.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,.94); display: flex; align-items: center; justify-content: center; gap: 18px; padding: 56px 16px 24px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-stage { display: flex; flex-direction: column; align-items: center; gap: 12px; max-height: 100%; }
.lb-frame { position: relative; height: min(82svh, calc((100vw - 140px) * var(--ar))); aspect-ratio: 1 / var(--ar); max-width: calc(100vw - 140px); border-radius: 6px; overflow: hidden; background: #000; }
.lb-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lb-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--muted); font-size: 13px; }
.lb-meta { font-size: 13px; color: var(--muted); }
.lb-meta b { color: var(--text); font-weight: 600; margin-right: 6px; }
.lb-close { position: absolute; top: 14px; right: 14px; }
.lb-prev, .lb-next { flex: none; }
@media (max-width: 600px) {
  .social { padding: 84px 5px 5px; }
  .wall, .wall .col { gap: 7px; }
  .social-head { padding-left: 11px; padding-right: 11px; }
  .lb-prev, .lb-next { display: none; }
  .lb-frame { height: min(78svh, calc((100vw - 32px) * var(--ar))); max-width: calc(100vw - 32px); }
  .tile-info { opacity: 1; transform: none; padding: 22px 9px 8px; font-size: 11px; }
}

.tile.label { background: transparent; cursor: default; padding: 20px 10px 26px; display: flex; flex-direction: column; gap: 6px; }
.label-name { font-family: var(--display); font-weight: 700; font-stretch: 112%; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.1; }
.label-sub { font-size: 12px; color: var(--muted); }
.tile-dur { position: absolute; top: 8px; right: 8px; z-index: 2; font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 3px; background: rgba(13,13,13,.6); font-variant-numeric: tabular-nums; }

.tile-info span { display: block; }
.tile-info em { display: block; margin-top: 5px; font-style: normal; font-size: 11px; color: rgba(242,240,235,.6); }

.formats { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.formats li { font-size: 12px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: rgba(242,240,235,.8); }
.tile.quote blockquote { font-size: clamp(14px, 1.15vw, 17px); }

.formats-strip { margin: 0 -18px 18px; }
.formats-strip .marquee { mask-image: none; -webkit-mask-image: none; }
.formats-strip .marquee-track { animation-duration: 50s; }
.formats-strip .marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.formats-strip .marquee-track span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.formats-strip .marquee-track { gap: 48px; padding: 0 0 0 0; }
.formats-strip { height: 64px; display: flex; align-items: center; }
.formats-strip .marquee { width: 100%; }
@media (max-width: 600px) { .formats-strip { margin: 0 -5px 7px; height: 56px; } }

/* orange dot between every name on both scrolling strips */
.clients .marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.clients .marquee-track span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---------- Phone swipe feed (Social-First) ---------- */
.feed { position: fixed; inset: 0; z-index: 130; background: #000; overflow: hidden; opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity .25s, visibility 0s linear .25s;
  --vw: min(100vw, calc((100svh - 150px) * 9 / 16)); --vh: calc(var(--vw) * 16 / 9); --vtop: max(52px, calc((100svh - var(--vh) - 96px) / 2)); }
.feed.open { opacity: 1; pointer-events: auto; visibility: visible; transition: opacity .25s, visibility 0s; }
.feed-track { position: absolute; left: 0; right: 0; top: 0; will-change: transform; }
.feed-slide { position: relative; height: 100svh; }
.feed-video { position: absolute; left: 50%; top: var(--vtop); width: var(--vw); height: var(--vh); transform: translateX(-50%); border-radius: 8px; overflow: hidden; background: #111; }
.feed-video img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.feed.playing .feed-video img { opacity: 0; }
.feed-meta { position: absolute; left: 50%; transform: translateX(-50%); width: var(--vw); top: calc(var(--vtop) + var(--vh) + 12px); padding: 0 4px; font-size: 13px; line-height: 1.35; }
.feed-meta b { display: block; font-weight: 600; }
.feed-meta span { display: block; color: rgba(242,240,235,.75); }
.feed-meta em { display: block; margin-top: 4px; font-style: normal; font-size: 11px; color: rgba(242,240,235,.55); }
.feed-player { position: absolute; left: 50%; top: var(--vtop); width: var(--vw); height: var(--vh); transform: translateX(-50%); border-radius: 8px; overflow: hidden; z-index: 1; opacity: 0; transition: opacity .3s; background: #000; pointer-events: none; }
.feed-player.on { opacity: 1; pointer-events: auto; }
.feed-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.feed-zone { position: absolute; left: 0; right: 0; z-index: 3; touch-action: none; -webkit-user-select: none; user-select: none; }
.feed-zone.z-top { top: 0; height: var(--vtop); }
.feed-zone.z-mid { top: calc(var(--vtop) + 60px); height: calc(var(--vh) - 120px); }
.feed-zone.z-bot { top: calc(var(--vtop) + var(--vh)); bottom: 0; }
.feed-close { position: absolute; top: 10px; right: 10px; z-index: 5; background: rgba(13,13,13,.6); }
.feed-hint { position: absolute; left: 50%; top: calc(var(--vtop) + var(--vh) - 130px); transform: translate(-50%, 10px); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 13px; color: var(--text); background: rgba(13,13,13,.72); padding: 9px 16px 11px; border-radius: 999px; opacity: 0; transition: opacity .4s, transform .4s; pointer-events: none; white-space: nowrap; }
.feed-hint.show { opacity: 1; transform: translate(-50%, 0); }
.feed-hint svg { width: 16px; height: 16px; animation: nudge 1.2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(-5px); } }

/* desktop player: role above the video */
.lb-role { font-size: 12px; letter-spacing: .04em; color: rgba(242,240,235,.7); }

.about-text + .about-text { margin-top: -26px; }
.facts .dim { color: var(--muted); }
.mail { display: inline-flex; align-items: center; gap: .45em; }
.mail svg { width: .95em; height: .95em; flex: none; }

/* hero intro: three separate lines; on laptops the first line never breaks */
.hero p.lead { max-width: none; }
.hero p.lead span { display: block; }
@media (min-width: 900px) { .hero p.lead span { white-space: nowrap; } }

.about-cv { margin: -10px 0 44px; }

.about-photo figcaption a { color: var(--text); border-bottom: 1px solid var(--line); transition: border-color .2s; }
.about-photo figcaption a:hover { border-color: var(--text); }

/* hover colour = the highlight colour, on outlined buttons and the CV button */
.pill:not(.solid):hover { border-color: var(--accent); color: var(--text); }
.pill.about-cv:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.facts .gap { display: block; margin-top: 8px; }

.form-note { margin: 2px 0 0; font-size: 12px; color: var(--muted); }

.contact-grid.solo { grid-template-columns: 1fr; }

/* Client strip: Safari can freeze animations inside a CSS mask, so the soft edges are
   drawn with two gradient overlays instead (looks the same, no mask). */
.clients .marquee { mask-image: none !important; -webkit-mask-image: none !important; position: relative; }
.clients:not(.formats-strip) .marquee::before, .clients:not(.formats-strip) .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 6%; z-index: 1; pointer-events: none; }
.clients:not(.formats-strip) .marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), rgba(13,13,13,0)); }
.clients:not(.formats-strip) .marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), rgba(13,13,13,0)); }
.marquee-track { animation-name: scroll; -webkit-animation: scroll 45s linear infinite; transform: translate3d(0,0,0); }
.formats-strip .marquee-track { -webkit-animation-duration: 50s; }
@keyframes scroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }

.clients:not(.formats-strip) .marquee-track { animation: none !important; -webkit-animation: none !important; will-change: transform; }

.hero-media .slide { transform: scale(calc(1.12 * var(--z, 1))); }
.hero-media .slide.on { transform: scale(calc(1.02 * var(--z, 1))); }

.social-intro { margin: 18px 0 0; max-width: 640px; color: var(--muted); font-size: clamp(14px, 1.2vw, 16px); line-height: 1.55; }
.social-intro p { margin: 0 0 6px; }
.social-intro .lbl { color: var(--text); font-weight: 500; }

.social-intro { max-width: none; }
@media (min-width: 900px) { .social-intro .one-line { white-space: nowrap; } }

.social-intro .lead-line { margin-bottom: 1.4em; }

/* swipe feed: every size comes from --fh, the feed's measured height, so slides, video and text always line up */
.feed { --fh: 100svh; --vw: min(100vw, calc((var(--fh) - 150px) * 9 / 16)); --vh: calc(var(--vw) * 16 / 9); --vtop: max(52px, calc((var(--fh) - var(--vh) - 96px) / 2)); }
.feed-slide { height: var(--fh); }
.feed-track { transform: translate3d(0,0,0); backface-visibility: hidden; }
