@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@300;400;500;600&family=Instrument+Serif:ital@0;1&family=Geist+Mono:wght@400;500&display=swap");

/* v2: sky & clouds. Blue sky tops with a cloud bank, condensed serif headlines, mono chips, rounded cards. */
:root {
  --bg: #f8fcff;
  --surface: #ffffff;
  --text: #475263;
  --strong: #0b1220;
  --muted: #8a94a3;
  --line: #e3ebf2;
  --sky: #2bb8ff;
  --sky-deep: #0b8fe6;
  --sky-top: #0b9ff0;
  --sky-mid: #29b9ff;
  --sky-low: #8fd9ff;
  --glow: rgba(43, 184, 255, .35);
  --cloud-opacity: 1;
  --mono: "Geist Mono", ui-monospace, monospace;
  --shadow: 0 1px 2px rgba(18, 20, 15, .04), 0 12px 32px -12px rgba(18, 20, 15, .12);
  --sans: "Inter Tight", Inter, system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070d14;
    --surface: #0f1822;
    --text: #b9c4d2;
    --strong: #eef5ff;
    --muted: #73808f;
    --line: #1d2a38;
    --sky-deep: #5cc8ff;
    --sky-top: #03101c;
    --sky-mid: #0a2a45;
    --sky-low: #12466e;
    --glow: rgba(43, 184, 255, .18);
    --cloud-opacity: .22;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  position: relative; min-height: 100vh; overflow-x: hidden;
  background: var(--bg); color: var(--text);
  font: 300 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
/* Sky at the top of every page, fading through a cloud bank into the page */
body::before, body::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 720px; z-index: -1; pointer-events: none;
}
body::before {
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(255, 255, 255, .1), transparent 70%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 38%, var(--sky-low) 68%, var(--bg) 100%);
}
body::after {
  background:
    url("clouds.png") center bottom / max(1800px, 130%) auto no-repeat;
  opacity: var(--cloud-opacity);
}

a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .15s, background .15s, border-color .15s; }
a:hover { color: var(--strong); }
b, strong { font-weight: 600; color: var(--strong); }
u { text-decoration-color: var(--sky-deep); text-decoration-thickness: 2px; text-underline-offset: 4px; }
i, em { font-family: var(--serif); font-style: italic; font-size: 1.12em; color: var(--strong); }
img { max-width: 100%; }

/* ---------- Header ---------- */
.top {
  position: relative; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1160px; margin: 0 auto; padding: 20px 24px;
}
.brand { font: italic 28px/1 var(--serif); color: #fff; text-decoration: none; white-space: nowrap; }
.top ul {
  list-style: none; display: flex; gap: 4px; padding: 4px;
  background: rgba(255, 255, 255, .16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 24px -10px rgba(0, 60, 120, .35);
}
.top ul a {
  display: block; padding: 7px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 400; color: rgba(255, 255, 255, .85); text-decoration: none;
}
.top ul a:hover { color: #fff; }
.top ul a[aria-current] { background: rgba(255, 255, 255, .92); color: #0b1220; }

/* ---------- Main column ---------- */
main { display: block; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
main > * + * { margin-top: 20px; }

.hero { padding: 72px 0 40px; text-align: center; }
.hero > * + * { margin-top: 20px; }
h1 {
  font: 400 clamp(56px, 10vw, 128px)/.95 var(--serif); letter-spacing: -.02em; color: var(--strong);
}
.hero h1, .hero .lede, .hero .lede u { color: #fff; }
.hero h1 { text-shadow: 0 2px 30px rgba(0, 70, 140, .25); }
.hero .lede { text-shadow: 0 1px 12px rgba(0, 70, 140, .3); }
.hero .lede u { text-decoration-color: rgba(255, 255, 255, .7); }
h1 .serif, .serif { display: block; font: italic 400 1.08em/.95 var(--serif); letter-spacing: -.02em; }
.lede { max-width: 620px; margin-left: auto; margin-right: auto; font-size: 18px; }

h2 {
  font: 400 clamp(40px, 6vw, 68px)/1 var(--serif); letter-spacing: -.01em; color: var(--strong);
  text-align: center; margin-top: 120px !important; scroll-margin-top: 96px;
}
h2::before {
  content: ""; display: block; width: 36px; height: 6px; margin: 0 auto 18px;
  border-radius: 6px; background: var(--sky);
}
h3 { font-size: 20px; font-weight: 500; letter-spacing: -.015em; color: var(--strong); line-height: 1.3; }
h3 a { text-decoration: none; }
h3 a:hover { text-decoration: underline; }
h3 span {
  display: inline-block; vertical-align: 2px; margin-left: 10px; padding: 2px 10px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--muted);
}

/* Cards */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px;
  box-shadow: var(--shadow); padding: 32px;
}

/* ---------- About ---------- */
.logos {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 18px 44px; padding: 28px 0 8px; margin-top: 40px !important;
}
.logos img { display: block; height: 30px; width: auto; max-width: 120px; object-fit: contain; filter: grayscale(1); opacity: .55; transition: opacity .2s, filter .2s; }
.logos a:hover img { opacity: 1; filter: none; }
@media (prefers-color-scheme: dark) { .logos img { filter: grayscale(1) invert(1) brightness(1.4); } .logos a:hover img { filter: grayscale(1) invert(1) brightness(1.8); } }

.who {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center;
  margin-top: 96px !important;
}
.portrait {
  display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%;
  border-radius: 28px; filter: grayscale(1) contrast(1.05); color: transparent;
  background: linear-gradient(160deg, var(--line), var(--surface));
  box-shadow: var(--shadow);
}
.who-text > * + * { margin-top: 18px; }
.who-text .ask { font-size: 15px; }
.who-text .ask b { font: italic 400 22px var(--serif); color: var(--muted); }
.statement {
  font: 400 clamp(32px, 3.8vw, 46px)/1.1 var(--serif); letter-spacing: -.005em; color: var(--strong);
}
.statement i { font-size: 1em; color: var(--muted); }


/* Call to action band */
.cta {
  position: relative; overflow: hidden; margin-top: 120px !important; padding: 72px 24px;
  text-align: center; border-radius: 36px;
  background: url("clouds.png") center bottom / max(1400px, 120%) auto no-repeat,
    linear-gradient(180deg, var(--sky-top), var(--sky-mid) 50%, var(--sky-low));
  border: 0;
}
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.links a {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px;
  background: var(--strong); color: var(--bg); text-decoration: none; font-size: 15px; font-weight: 400;
}
.links a + a { background: var(--surface); color: var(--strong); border: 1px solid var(--line); }
.links a::before { content: "→"; }
.links a:hover { color: var(--bg); background: #2a2e23; }
.links a + a:hover { color: var(--strong); background: var(--bg); }

/* ---------- Footer ---------- */
.foot { max-width: 1160px; margin: 0 auto; padding: 80px 24px 0; overflow: hidden; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--strong); }
.bigname {
  display: block; margin-top: 8px; white-space: nowrap; text-align: center;
  font: italic 400 clamp(64px, 17.5vw, 220px)/1 var(--serif); letter-spacing: -.03em; color: var(--strong);
  transform: translateY(14%);
}

/* ---------- Work ---------- */
.jobs { list-style: none; display: grid; gap: 16px; max-width: 880px; margin-left: auto; margin-right: auto; }
.job { display: grid; grid-template-columns: 64px 1fr; gap: 24px; align-items: start; }
.logo {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px;
  background: var(--bg); border: 1px solid var(--line);
}
.logo img { width: 36px; height: 36px; object-fit: contain; border-radius: 6px; filter: grayscale(1) contrast(1.15); transition: filter .2s; }
.logo:hover img, .job:hover .logo img { filter: none; }
@media (prefers-color-scheme: dark) { .logo { background: #f2f5ea; } }

/* Hover descriptions on inline links */
.tip { position: relative; text-decoration-color: var(--sky-deep); text-decoration-thickness: 2px; color: var(--strong); font-weight: 400; }
.tip span {
  position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 30;
  width: max-content; max-width: 260px; padding: 10px 12px;
  background: var(--strong); color: var(--bg); border-radius: 12px;
  font: 400 13px/1.45 var(--sans); text-align: left; white-space: normal;
  opacity: 0; pointer-events: none; transform: translate(-50%, 4px);
  transition: opacity .15s, transform .15s;
}
.tip span::after {
  content: ""; position: absolute; top: 100%; left: 50%; margin-left: -6px;
  border: 6px solid transparent; border-top-color: var(--strong);
}
.tip:hover span, .tip:focus-visible span { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Sidequests ---------- */
.jump { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.jump a {
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  text-decoration: none; font-size: 14px; color: var(--strong);
}
.jump a:hover { background: var(--sky); color: #fff; border-color: var(--sky); }

.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px !important; }
.project { padding: 14px 14px 28px; }
.project > * + * { margin-top: 12px; }
.project > :not(.shot) { margin-left: 14px; margin-right: 14px; }
.shot {
  display: block; overflow: hidden; border-radius: 18px; aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, var(--sky-top), var(--sky-low)); padding: 18px 18px 0;
}
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; border-radius: 10px 10px 0 0; transition: transform .4s; }
.shot:hover img { transform: scale(1.02); }
.project .logo { width: 44px; height: 44px; border-radius: 12px; margin-top: 22px; }
.project .logo img { width: 26px; height: 26px; }
.project .logo + h3 { margin-top: 14px; }

.banner { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: 28px; margin-top: 48px !important; box-shadow: var(--shadow); }
.artist { text-align: center; color: var(--muted); font-size: 15px; }
.artist a { color: var(--strong); font-weight: 500; }

.song {
  display: grid; grid-template-columns: 260px minmax(0, 1fr); column-gap: 40px; align-items: start;
  margin-top: 24px !important;
}
.artist + .song { margin-top: 40px !important; }
.song > * { grid-column: 2; }
.song > * + * { margin-top: 16px; }
.song > .cover { grid-column: 1; grid-row: 1 / span 12; margin: 0; }
.song > h3 { margin-top: 0; }
.cover { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }

.lyric {
  margin: 20px 0 0 !important; padding: 18px 22px; border-radius: 18px;
  background: var(--bg); border: 1px solid var(--line); transition: border-color .2s, background .2s;
}
.lyric p { font: italic 22px/1.35 var(--serif); color: var(--strong); }
.lyric button {
  margin-top: 12px; padding: 5px 12px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  font: 400 12px var(--sans); color: var(--text); font-variant-numeric: tabular-nums;
}
.lyric button::before { content: "▶  "; font-size: 9px; }
.lyric button:hover { box-shadow: inset 0 0 0 1px var(--strong); color: var(--strong); }
.lyric.playing { border-color: var(--sky-deep); background: color-mix(in srgb, var(--sky) 14%, var(--bg)); }
.lyric.playing button { background: var(--sky); color: #fff; box-shadow: none; }

.player { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.player .toggle {
  width: 40px; height: 40px; flex: none; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--sky); color: #fff; font-size: 11px;
}
.player .toggle:hover { filter: brightness(.94); }
.player .bar {
  flex: 1; height: 18px; cursor: pointer; display: flex; align-items: center;
  background: linear-gradient(var(--line), var(--line)) center / 100% 4px no-repeat;
}
.player .fill { height: 4px; width: 0; border-radius: 4px; background: var(--strong); }
.player .time { font-variant-numeric: tabular-nums; min-width: 84px; text-align: right; }
.player a { color: var(--strong); }
.inspired { font: italic 19px var(--serif); color: var(--muted); }

/* Cameras */
.videography > * + * { margin-top: 18px; }
.videography > h3.center { margin-top: 48px; font-size: 26px; }
.stat { text-align: center; margin-top: 40px !important; }
.stat strong { display: block; font: 400 clamp(64px, 10vw, 120px)/1 var(--serif); letter-spacing: -.01em; }
.stat span { color: var(--muted); }
.center { text-align: center; max-width: 680px; margin-left: auto; margin-right: auto; }
.group { margin-top: 72px !important; }
.group > header { text-align: center; }
.group > header p { color: var(--muted); margin-top: 6px; }
.reels { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 28px; }
.reel { padding: 12px 12px 20px; }
.reel > :not(.embed) { margin: 14px 8px 0; }
.reel h3 { font-size: 17px; }
.reel h3 span { margin-left: 6px; }
.reel .role, .tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line);
  font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
}
.reel .watch { display: block; font-size: 14px; }
.embed {
  position: relative; height: 470px; overflow: hidden; border-radius: 18px;
  background: var(--bg); border: 1px solid var(--line);
}
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.placeholder { display: grid; place-items: center; height: 100%; color: var(--muted); font-size: 13px; }

.contract { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.contract a { display: block; text-decoration: none; }
.contract a > * + * { margin-top: 10px; }
.contract a:hover { border-color: var(--sky-deep); }
.contract .go { color: var(--strong); text-decoration: underline; }
.podcast { max-width: 720px; margin-left: auto; margin-right: auto; margin-top: 72px !important; }
.podcast > * + * { margin-top: 10px; }

/* ---------- Thoughts ---------- */
.posts { list-style: none; max-width: 760px; margin-left: auto; margin-right: auto; }
.posts li + li { margin-top: 12px; }
.posts a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
  text-decoration: none; color: var(--strong); font-size: 20px; font-weight: 400; letter-spacing: -.01em;
}
.posts a:hover { border-color: var(--sky-deep); }
.posts span { flex: none; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }

.postpage { max-width: 720px; margin-left: auto; margin-right: auto; }
.back {
  display: inline-block; margin-top: 56px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); font-size: 14px; color: var(--muted); text-decoration: none;
}
.postpage h1 { font: italic 400 clamp(48px, 8vw, 88px)/1 var(--serif); letter-spacing: -.02em; margin-top: 32px; }
.date { color: var(--muted); font-size: 14px; margin: 12px 0 48px !important; }
.post p, .post li { font-size: 18px; line-height: 1.8; }
.post > * + * { margin-top: 22px; }
.post ul, .post ol { padding-left: 22px; }
.post blockquote { padding-left: 18px; border-left: 3px solid var(--sky); font: italic 22px/1.5 var(--serif); color: var(--strong); }

/* ---------- Phone ---------- */
@media (max-width: 860px) {
  .who, .projects, .contract { grid-template-columns: 1fr; }
  .who { gap: 32px; }
  .portrait { max-width: 420px; margin: 0 auto; }
  .song { grid-template-columns: 1fr; }
  .song > *, .song > .cover { grid-column: 1; grid-row: auto; }
  .song > .cover { max-width: 300px; margin-bottom: 4px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .top { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 16px; }
  .brand { text-align: center; }
  .top ul { justify-content: space-between; }
  .top ul a { padding: 7px 10px; font-size: 13px; }
  main, .foot { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 40px 0 24px; }
  .lede { font-size: 16px; }
  h2 { margin-top: 88px !important; }
  .card { padding: 22px; border-radius: 22px; }
  .job { grid-template-columns: 1fr; gap: 16px; }
  .cta { padding: 48px 16px; border-radius: 26px; }
  .lyric p { font-size: 20px; }
  .player .time { min-width: 0; }
  .posts a { padding: 18px 20px; font-size: 17px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .tip span { left: 0; transform: translateY(4px); max-width: min(260px, 80vw); }
  .tip span::after { left: 20px; }
  .tip:hover span, .tip:focus-visible span { transform: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* =====================================================================
   Home: clone of the green template (placeholder words, Emilio to edit)
   ===================================================================== */
@property --p { syntax: "<percentage>"; inherits: true; initial-value: 110%; }

.home body, body.home { --ink-soft: #c5d0dc; }
@media (prefers-color-scheme: dark) { body.home { --ink-soft: #2e3b4a; } }
body.home::before, body.home::after { height: 1020px; }
body.home::before { background: radial-gradient(60% 50% at 50% 0%, rgba(255, 255, 255, .1), transparent 70%), linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 40%, var(--sky-low) 72%, var(--bg) 100%); }
body.home::after { background-position: center 88%; }
.home main > * + * { margin-top: 0; }

.h-kicker { width: fit-content; margin: 0 auto; padding: 4px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--strong); }
.h-title { text-align: center; margin-top: 18px !important; font: 400 clamp(44px, 6vw, 76px)/1 var(--serif); letter-spacing: -.01em; color: var(--strong); }
.h-title::before { display: none; }
.h-soft { color: var(--muted); font-style: italic; }
.h-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  background: var(--strong); color: var(--bg); text-decoration: none; font-size: 15px; font-weight: 400;
  transition: transform .2s, box-shadow .2s;
}
.h-btn::before { content: "→"; }
.h-btn:hover { color: var(--bg); transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(0, 40, 80, .45); }

/* Hero */
.h-hero {
  position: relative; display: grid; grid-template-columns: 1fr minmax(0, 520px) 1fr;
  grid-template-rows: auto auto 1fr auto; min-height: 760px; padding-top: 24px; text-align: center;
}
.h-badge {
  grid-column: 1 / -1; justify-self: center; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .45); font-size: 13px; color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.h-badge-icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--sky-deep); font-size: 12px; }
.h-hero h1 { grid-column: 1 / -1; position: relative; z-index: 2; margin-top: 22px; pointer-events: none; }
.h-line1 { display: block; font: 400 clamp(60px, 9vw, 120px)/.95 var(--serif); letter-spacing: -.01em; color: #fff; }
.h-line2 {
  display: block; position: relative; z-index: 3; margin-top: 2px;
  font: italic 400 clamp(64px, 10.5vw, 150px)/.9 var(--serif); letter-spacing: -.02em; color: #fff;
  text-shadow: 0 2px 30px rgba(0, 70, 140, .35);
}
.h-cutout {
  grid-column: 2; grid-row: 3 / span 2; align-self: end; justify-self: center; z-index: 1;
  width: var(--w, 440px); max-width: none; margin-top: -190px; translate: var(--x, 0px) var(--y, 0px);
  -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent);
}
.h-hero h1 { grid-row: 2; }
.h-avail {
  grid-column: 1; grid-row: 3; align-self: center; justify-self: start;
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 14px; color: var(--strong);
}
.h-dot { width: 8px; height: 8px; border-radius: 50%; background: #35c759; box-shadow: 0 0 0 4px rgba(53, 199, 89, .2); animation: h-pulse 2s infinite; }
.h-intro { grid-column: 3; grid-row: 3; align-self: center; justify-self: end; max-width: 240px; text-align: left; font-size: 15px; color: var(--strong); position: relative; z-index: 3; }
.h-trust { grid-column: 1; grid-row: 4; align-self: end; display: flex; align-items: center; gap: 12px; text-align: left; max-width: 300px; padding-bottom: 40px; font-size: 13px; }
.h-avatars { display: flex; flex: none; }
.h-avatars span { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -10px; background: linear-gradient(135deg, #f6c6a0, #8a5a3b); }
.h-avatars span:first-child { margin-left: 0; background: linear-gradient(135deg, #d7e0f5, #34405c); }
.h-avatars span:last-child { background: linear-gradient(135deg, #f1e3c6, #3a3a3a); }
.h-hero > .h-btn { grid-column: 3; grid-row: 4; align-self: end; justify-self: end; margin-bottom: 40px; }

/* Logo strip */
.h-marquee {
  overflow: hidden; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.h-track { list-style: none; display: flex; gap: 64px; width: max-content; animation: h-marquee 28s linear infinite; }
.h-track li { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 500; letter-spacing: -.02em; color: var(--muted); opacity: .7; white-space: nowrap; }
.h-mark { font-size: 22px; }

/* Showcase */
.h-showcase {
  position: relative; height: clamp(360px, 52vw, 640px); margin-top: 64px !important; overflow: hidden;
  border-radius: 32px;
  background: url("clouds.png") center bottom / max(1600px, 120%) auto no-repeat, linear-gradient(180deg, var(--sky-top), var(--sky-mid) 55%, var(--sky-low));
}
.h-showcase img { position: absolute; object-fit: cover; object-position: center 35%; border-radius: 14px; box-shadow: 0 20px 40px -12px rgba(0, 50, 100, .45); }
.h-showcase .s1 { left: 4%; top: 12%; width: 36%; aspect-ratio: 16 / 10; transform: rotate(-4deg); }
.h-showcase .s2 { right: 4%; top: 6%; width: 40%; aspect-ratio: 16 / 10; transform: rotate(3deg); }
.h-showcase .s3 { left: 29%; bottom: 7%; width: 42%; aspect-ratio: 16 / 10; z-index: 2; transform: rotate(-1deg); }
.h-showcase .s6 { left: 38%; top: 4%; width: 24%; aspect-ratio: 16 / 10; transform: rotate(2deg); }
.h-showcase .s4 { left: 6%; bottom: 6%; width: 18%; aspect-ratio: 1; transform: rotate(5deg); }
.h-showcase .s5 { right: 8%; bottom: 8%; width: 18%; aspect-ratio: 1; transform: rotate(-6deg); }

/* Hallo + scroll reveal */
.h-hallo { position: relative; padding: 140px 0 120px; }
.h-statement {
  max-width: 640px; margin: 22px auto 0; text-align: center;
  font: 400 clamp(34px, 4.4vw, 56px)/1.08 var(--serif); letter-spacing: -.005em;
  view-timeline: --stmt block;
}
.h-reveal {
  color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(90deg, var(--strong) calc(var(--p) - 10%), var(--sky) calc(var(--p) - 3%), var(--ink-soft) var(--p));
}
.h-pill {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: 14px; color: var(--strong); white-space: nowrap; animation: h-float 6s ease-in-out infinite alternate;
}
.h-ico { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--c); color: #fff; font-size: 10px; }
.p1 { left: 2%; top: 22%; }
.p2 { left: 5%; top: 48%; animation-delay: -2s; }
.p3 { left: 0; top: 72%; animation-delay: -4s; }
.p4 { right: 2%; top: 24%; animation-delay: -1s; }
.p5 { right: 3%; top: 50%; animation-delay: -3s; }
.p6 { right: 0; top: 74%; animation-delay: -5s; }

/* How it works */
.h-how { padding-top: 40px; }
.h-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; padding: 40px 0; }
.h-path { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; pointer-events: none; }
.h-path path { fill: none; stroke: var(--sky-deep); stroke-width: 2.5; stroke-dasharray: 600; stroke-dashoffset: 0; }
.h-path circle { fill: var(--surface); stroke: var(--sky-deep); stroke-width: 2.5; }
.h-step {
  position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 28px;
  border-radius: 24px; background: linear-gradient(170deg, var(--surface), color-mix(in srgb, var(--line) 60%, var(--surface)));
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.st1 { transform: rotate(-3deg) translateY(30px); }
.st2 { transform: rotate(2deg) translateY(-10px); }
.st3 { transform: rotate(-2deg) translateY(40px); }
.h-num { font: 400 64px/1 var(--serif); color: var(--strong); }
.h-step h3 { margin-top: auto; font: 400 36px/1 var(--serif); letter-spacing: 0; }
.h-step p { margin-top: 8px; font-size: 14px; color: var(--muted); max-width: 240px; }

.h-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 110px; }
.h-quote { position: relative; padding-right: 40px; }
.h-quote.q2 { margin-top: 80px; }
.h-quote::after { content: "“"; position: absolute; right: 0; top: -14px; font: 400 64px/1 var(--serif); color: var(--strong); }
.h-quote blockquote { font-size: 16px; color: var(--strong); }
.h-quote figcaption { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; margin-top: 18px; font-size: 14px; }
.h-quote figcaption span:last-child { grid-column: 2; color: var(--muted); font-size: 13px; }
.h-av { grid-row: 1 / span 2; width: 36px; height: 36px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #f3d2b3 30%, var(--c) 32%); }
.h-quote figcaption img.h-av { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: none; overflow: hidden; }

/* Selected works */
.h-works { padding-top: 140px; }
.h-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; }
.h-work { display: block; text-decoration: none; }
.h-thumb { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 22px; background: var(--line); padding: 22px; }
.h-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.h-work:hover .h-thumb img { transform: scale(1.04) rotate(-.5deg); }
.h-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; }
.h-meta b { font-weight: 500; font-size: 17px; }
.h-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.h-tags span { padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 12px; color: var(--muted); }

/* Who am I */
.h-who { padding-top: 140px; }
.h-who-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; margin-top: 48px; align-items: start; }
.h-photo {
  position: relative; overflow: hidden; aspect-ratio: 5 / 4; border-radius: 26px;
  background: radial-gradient(70% 80% at 50% 30%, #4a4d48, #191a18);
}
.h-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; filter: grayscale(1) contrast(1.05); transition: filter .6s; }
.h-photo:hover img { filter: none; }
.h-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); pointer-events: none; }
.h-social, .h-name { z-index: 1; }
.h-social { position: absolute; left: 20px; bottom: 18px; display: flex; gap: 14px; }
.h-social a { color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; }
.h-name { position: absolute; right: 22px; bottom: 16px; text-align: right; color: #fff; font-size: 14px; line-height: 1.3; }
.h-name b { display: block; color: #fff; font-weight: 500; }
.h-name span { color: rgba(255, 255, 255, .65); font-size: 12px; }
.h-who-text > p { color: var(--strong); }
.h-xp { list-style: none; margin-top: 40px; }
.h-xp li { display: grid; grid-template-columns: 1.2fr 1.2fr auto; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 14px; }
.h-xp li:last-child { border-bottom: 1px solid var(--line); }
.h-xp b { font-weight: 500; }
.h-xp span, .h-xp time { color: var(--muted); }

/* CTA + footer */
.h-cta {
  margin-top: 140px !important; padding: 110px 24px 90px; text-align: center; border-radius: 36px;
  background: url("clouds.png") center bottom / max(1600px, 120%) auto no-repeat, linear-gradient(180deg, var(--sky-top), var(--sky-mid) 50%, var(--sky-low));
}
.h-cta p { max-width: 460px; margin: 14px auto 28px; font-size: 15px; color: #fff; }
.h-cta .h-title { color: #fff; text-shadow: 0 2px 30px rgba(0, 70, 140, .3); }
.h-foot nav { align-items: center; }
.h-copy { margin-left: auto; color: var(--muted); font-size: 13px; }

/* Motion */
@keyframes h-marquee { to { transform: translateX(calc(-50% - 32px)); } }
@keyframes h-float { from { transform: translateY(-6px); } to { transform: translateY(8px); } }
@keyframes h-pulse { 50% { box-shadow: 0 0 0 7px rgba(53, 199, 89, 0); } }
@keyframes h-rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes h-up { from { opacity: 0; translate: 0 48px; } }
@keyframes h-fill { from { --p: -10%; } to { --p: 110%; } }
@keyframes h-draw { from { stroke-dashoffset: 600; } }

@media (prefers-reduced-motion: no-preference) {
  .h-badge { animation: h-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .h-line1 { animation: h-rise .9s .1s cubic-bezier(.2, .7, .2, 1) both; }
  .h-line2 { animation: h-rise .9s .25s cubic-bezier(.2, .7, .2, 1) both; }
  .h-cutout { animation: h-rise 1.1s .35s cubic-bezier(.2, .7, .2, 1) both; }
  .h-avail, .h-intro { animation: h-rise .9s .6s cubic-bezier(.2, .7, .2, 1) both; }
  .h-trust, .h-hero > .h-btn { animation: h-rise .9s .75s cubic-bezier(.2, .7, .2, 1) both; }

  @supports (animation-timeline: view()) {
    .h-reveal { animation: h-fill linear both; animation-timeline: --stmt; animation-range: entry 40% cover 62%; }
    .h-up { animation: h-up linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .h-path path { animation: h-draw linear both; animation-timeline: view(); animation-range: entry 20% cover 50%; }
    .h-showcase img { animation: h-up linear both; animation-timeline: view(); animation-range: entry 0% cover 25%; }
  }
}
@media (prefers-reduced-motion: reduce) { .h-track, .h-pill, .h-dot { animation: none; } }

@media (max-width: 860px) {
  .h-hero { grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; }
  .h-hero > * { grid-column: 1 !important; grid-row: auto !important; justify-self: center !important; }
  .h-cutout { width: 100%; max-width: 300px; margin-top: -40px; translate: none; }
  .h-avail { margin-top: 24px; }
  .h-intro { text-align: center; max-width: 360px; margin-top: 14px; color: var(--strong); text-shadow: none; }
  .h-trust { padding-bottom: 0; margin-top: 24px; }
  .h-hero > .h-btn { margin: 20px 0 40px; }
  .h-hallo { padding: 100px 0 60px; }
  .h-pill { position: static; margin: 6px 4px 0; animation: none; }
  .h-hallo { text-align: center; }
  .h-statement { margin-bottom: 28px; }
  .h-steps { grid-template-columns: 1fr; gap: 20px; }
  .h-path { display: none; }
  .st1, .st2, .st3 { transform: none; }
  .h-step { min-height: 220px; }
  .h-quotes, .h-grid, .h-who-grid { grid-template-columns: 1fr; }
  .h-quotes { margin-top: 64px; gap: 40px; }
  .h-quote.q2 { margin-top: 0; }
  .h-works, .h-who { padding-top: 100px; }
}
@media (max-width: 600px) {
  .h-line2 { margin-top: 4px; }
  .h-showcase { margin-top: 40px !important; border-radius: 22px; }
  .h-thumb { padding: 12px; border-radius: 18px; }
  .h-meta { flex-direction: column; align-items: flex-start; }
  .h-tags { justify-content: flex-start; }
  .h-xp li { grid-template-columns: 1fr auto; }
  .h-xp span { grid-column: 1; grid-row: 2; }
  .h-xp time { grid-row: 1 / span 2; align-self: center; }
  .h-photo { aspect-ratio: 4 / 5; }
  .h-cta { margin-top: 100px !important; padding: 72px 18px; border-radius: 26px; }
  .h-copy { margin-left: 0; width: 100%; }
}
.p3 .h-ico { background: var(--strong); color: var(--bg); }
@media (prefers-color-scheme: dark) {
  .h-cutout { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .35)) drop-shadow(0 0 48px rgba(43, 184, 255, .3)); }
}

/* ---------- Sky & clouds: mono chips ---------- */
.reel .role, .tag, h3 span {
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
}
.jump a, .back { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.posts a { font-family: var(--serif); font-size: 26px; letter-spacing: 0; }
.h3, h3 { letter-spacing: -.01em; }
.hero .jump a { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .45); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero .jump a:hover { background: #fff; color: #0b1220; }
.back { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .45); color: #fff; }
.postpage h1 { color: #fff; text-shadow: 0 2px 30px rgba(0, 70, 140, .25); }
.postpage .date { color: rgba(255, 255, 255, .85); }

/* ---------- Inner pages: same sky hero as home (14 Nov 2026) ---------- */
body:not(.home)::before, body:not(.home)::after { height: 880px; }
body:not(.home)::before { background: radial-gradient(60% 50% at 50% 0%, rgba(255, 255, 255, .1), transparent 70%), linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 40%, var(--sky-low) 72%, var(--bg) 100%); }
body:not(.home)::after { background-position: center 92%; }
.hero { padding: 120px 0 230px; }
.hero h1 {
  font: italic 400 clamp(76px, 12vw, 172px)/.9 var(--serif); letter-spacing: -.02em;
  text-shadow: 0 2px 30px rgba(0, 70, 140, .35);
}
.hero .lede { font-size: 19px; }
.postpage .hero, .postpage > header { padding-bottom: 120px; }
body::after { -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
body:has(.postpage)::before { height: 520px; }
body:has(.postpage)::after { display: none; }
.postpage .date { margin-bottom: 90px; }
h2 { font: 400 clamp(44px, 6vw, 76px)/1 var(--serif); }
@media (max-width: 860px) {
  body:not(.home)::before, body:not(.home)::after { height: 620px; }
  .hero { padding: 72px 0 140px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero h1 { animation: h-rise .9s .1s cubic-bezier(.2, .7, .2, 1) both; }
  .hero > :not(h1) { animation: h-rise .9s .3s cubic-bezier(.2, .7, .2, 1) both; }
  @supports (animation-timeline: view()) {
    .job, .song, .projects > *, .reel, .posts li, .videography .card, main > .card {
      animation: h-up linear both; animation-timeline: view(); animation-range: entry 0% entry 60%;
    }
  }
}

/* ---------- Work: expandable photo galleries ---------- */
.job { position: relative; }
.gallery { grid-column: 1 / -1; }
.gallery summary {
  position: absolute; top: 20px; right: 20px; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer; list-style: none;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 2px 8px -4px rgba(0, 60, 120, .25);
  transition: background .2s, border-color .2s;
}
.gallery summary::-webkit-details-marker { display: none; }
.gallery summary::after {
  content: ""; width: 9px; height: 9px; margin-top: -4px;
  border-right: 2px solid var(--strong); border-bottom: 2px solid var(--strong);
  rotate: 45deg; transition: rotate .3s, margin .3s;
}
.gallery summary:hover { background: var(--sky); border-color: var(--sky); }
.gallery summary:hover::after { border-color: #fff; }
.gallery[open] summary::after { rotate: 225deg; margin-top: 4px; }
.job:has(.gallery) > p { padding-right: 48px; }
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-top: 4px; }
.g-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }
@media (prefers-reduced-motion: no-preference) {
  .gallery[open] .g-grid img { animation: h-rise .5s cubic-bezier(.2, .7, .2, 1) both; }
  .gallery[open] .g-grid img:nth-child(2) { animation-delay: .06s; }
  .gallery[open] .g-grid img:nth-child(3) { animation-delay: .12s; }
  .gallery[open] .g-grid img:nth-child(4) { animation-delay: .18s; }
}
@media (max-width: 860px) {
  .gallery summary { top: 16px; right: 16px; }
  .job:has(.gallery) > p { padding-right: 0; }
  .g-grid { grid-template-columns: 1fr 1fr; }
}

/* Photos on the photography & contracted work cards */
.contract .shot { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; margin-bottom: 6px; transition: scale .4s; }
.contract a:hover .shot { scale: 1.02; }

/* Real logos in the home marquee */
.h-logo { width: 26px; height: 26px; object-fit: contain; border-radius: 6px; filter: grayscale(1); opacity: .7; }
.h-track li:hover .h-logo { filter: none; opacity: 1; }
@media (prefers-color-scheme: dark) { .h-logo { background: #f2f5ea; padding: 2px; } }

/* Who is this guy: two buttons instead of bio and experience */
.h-who-links { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; }
.h-who-links .h-btn { font-size: 17px; padding: 16px 26px; }
.h-btn.h-ghost { background: var(--surface); color: var(--strong); border: 1px solid var(--line); box-shadow: var(--shadow); }
.h-btn.h-ghost:hover { border-color: var(--sky); color: var(--sky-deep); }
@media (max-width: 860px) { .h-who-links { flex-direction: row; flex-wrap: wrap; justify-content: center; } }

/* Hallo pills: two on each side, mirrored */
@media (min-width: 861px) {
  .h-hallo .p1 { left: 3%; right: auto; top: 26%; }
  .h-hallo .p2 { left: 6%; right: auto; top: 60%; }
  .h-hallo .p3 { right: 3%; left: auto; top: 26%; }
  .h-hallo .p4 { right: 6%; left: auto; top: 60%; }
}
.h-who-links { align-self: center; }

/* Reactor Podcast card with photo */
.podcast { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: center; }
.pod-shot { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.pod-text > * + * { margin-top: 10px; }
@media (max-width: 860px) { .podcast { grid-template-columns: 1fr; gap: 18px; } }

/* "Looking for a role" as a puffy cloud */
.h-hero .h-avail {
  position: relative; isolation: isolate; gap: 12px; white-space: nowrap;
  padding: 14px 24px 14px 16px; border: 0; border-radius: 999px; box-shadow: none;
  background: linear-gradient(180deg, #fff 55%, #eef7ff);
  font-size: 15px; font-weight: 500; color: #0b1220;
  filter: drop-shadow(0 10px 18px rgba(0, 70, 140, .18)) drop-shadow(0 1px 1px rgba(0, 70, 140, .08));
  animation: h-float 6s ease-in-out infinite;
}
.h-hero .h-avail::before, .h-hero .h-avail::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; background: #fff;
}
.h-hero .h-avail::before { width: 54px; height: 54px; left: 26px; top: -22px; }
.h-hero .h-avail::after { width: 74px; height: 74px; left: 64px; top: -34px; }
.h-cloud-ico { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(160deg, var(--sky-mid), var(--sky-deep)); flex: none; }
.h-cloud-ico svg { width: 20px; height: 14px; fill: #fff; }
.h-cloud-ico .h-dot { position: absolute; right: -2px; bottom: -1px; border: 2px solid #fff; width: 11px; height: 11px; box-shadow: none; }
@keyframes h-float { 50% { translate: 0 -6px; } }
@media (prefers-reduced-motion: reduce) { .h-hero .h-avail { animation: none; } }
@media (max-width: 860px) { .h-hero .h-avail { margin-top: 44px; white-space: normal; text-align: left; } }
