@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/bricolage-grotesque.woff2") format("woff2-variations"), url("fonts/bricolage-grotesque.woff2") format("woff2");
}
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/dm-mono-400.woff2") format("woff2");
}

:root {
  --paper: #f2eee5;
  --paper2: #e8e3d6;
  --sheet: #fbf9f3;
  --ink: #15141a;
  --soft: #46444c;
  --mute: #6f6d75;
  --line: rgba(21, 20, 26, .16);
  --accent: #ff5a2c;
  --ui: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --bar: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 16px); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2 { margin: 0; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
p { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}
.skip:focus { left: 16px; }

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(242, 238, 229, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; justify-content: space-between; height: var(--bar); }
.mark {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -.03em;
  text-decoration: none;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 30px); font-size: .95rem; font-weight: 500; }
.nav a { text-decoration: none; }
.nav a:not(.pill) { color: var(--soft); }
.nav a:not(.pill):hover { color: var(--ink); }
.pill {
  background: var(--ink);
  color: var(--paper);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 600 1rem/1 var(--ui);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background-color .15s;
}
.btn:hover { background: rgba(21, 20, 26, .05); }
.btn-accent { background: var(--accent); box-shadow: 3px 3px 0 var(--ink); }
.btn-accent:hover { background: var(--accent); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn-accent:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
  min-height: calc(100svh - var(--bar));
  padding-block: 56px;
}
.who { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.avatar {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--paper2);
  object-fit: cover;
  box-shadow: 2px 2px 0 var(--accent);
}
.who strong { display: block; font-weight: 700; line-height: 1.25; }
.role { display: block; color: var(--soft); font-size: .9rem; line-height: 1.3; }
h1 {
  font-size: clamp(2.75rem, 6.1vw, 5.25rem);
  line-height: 1;
  letter-spacing: -.025em;
  max-width: 13ch;
  text-wrap: balance;
}
.lede { margin-top: 24px; max-width: 42ch; color: var(--soft); font-size: clamp(1.05rem, 1.4vw, 1.2rem); }

.hero-visual { display: flex; justify-content: center; }
.device {
  display: block;
  width: min(330px, 100%);
  padding: 12px 14px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 30px;
  background: var(--sheet);
  box-shadow: 10px 10px 0 var(--ink);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transform: rotate(2.5deg);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  animation: settle 1s var(--ease) .3s backwards;
}
.device:hover { transform: rotate(1deg) translate(-2px, -2px); box-shadow: 13px 13px 0 var(--ink); }
.device:focus-visible { outline-offset: 6px; }
.device-top { display: flex; align-items: center; justify-content: center; gap: 10px; height: 18px; margin-bottom: 10px; }
.device-top i { width: 9px; height: 9px; border: 1.5px solid var(--ink); border-radius: 50%; }
.device-top b { width: 44px; height: 9px; border: 1.5px solid var(--ink); border-radius: 999px; }
.screen {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  background: var(--ink);
}
.screen video { width: 100%; height: 100%; object-fit: cover; }
.progress {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(251, 249, 243, .35);
}
.progress span { display: block; width: 100%; height: 100%; background: var(--sheet); transform: scaleX(0); transform-origin: left; }
.unmute {
  position: absolute;
  left: 50%;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 2px 2px 0 var(--ink);
  font-weight: 600;
  font-size: .85rem;
  white-space: nowrap;
  transform: translateX(-50%);
}
.device-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-inline: 4px;
  color: var(--mute);
  font-family: var(--mono);
  font-size: .75rem;
}

/* One load sequence: hero copy rises, phone settles into place */
.load { animation: rise .7s var(--ease) backwards; animation-delay: calc(var(--d) * 90ms + 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes settle { from { opacity: 0; transform: translateY(48px) rotate(10deg); } }

/* Sections */
.section { padding-top: clamp(64px, 9vw, 112px); }
.section-last { padding-bottom: clamp(64px, 9vw, 112px); }
.section h2 { font-size: clamp(2.25rem, 4.4vw, 3.4rem); }

.reels {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(32px, 5vw, 64px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1.5px solid var(--ink);
}
.reels-intro { position: sticky; top: calc(var(--bar) + 32px); align-self: start; }
.reels-intro p { margin-top: 16px; max-width: 30ch; color: var(--soft); }
.reels-intro .count { margin-top: 20px; color: var(--mute); font-family: var(--mono); font-size: .85rem; }

.reel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(20px, 3vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.reel {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.reel:focus-visible { outline: none; }
.thumb {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: var(--ink);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.reel:hover .thumb, .reel:focus-visible .thumb { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--accent); }
.reel:focus-visible .thumb { outline: 2px solid var(--ink); outline-offset: 4px; }
.thumb img, .thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb video { opacity: 0; transition: opacity .25s; }
.reel.previewing .thumb video { opacity: 1; }
.play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 2px 2px 0 var(--ink);
  transition: opacity .2s, transform .2s var(--ease);
}
.play::before {
  content: "";
  margin-left: 4px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--ink);
}
.reel.previewing .play { opacity: 0; transform: scale(.85); }
.dur {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(21, 20, 26, .78);
  color: var(--sheet);
  font-family: var(--mono);
  font-size: .75rem;
  line-height: 1.3;
}
.reel-title { display: block; margin-top: 16px; font-weight: 600; font-size: 1.15rem; line-height: 1.25; letter-spacing: -.01em; }
.reel-meta { display: block; margin-top: 4px; color: var(--mute); font-size: .92rem; }

/* About + contact */
.split {
  display: grid;
  grid-template-columns: minmax(150px, 210px) minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1.5px solid var(--ink);
}
.portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  margin-top: 6px;
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  background: var(--paper2);
  object-fit: cover;
  box-shadow: 8px 8px 0 var(--accent);
  transform: rotate(-2deg);
}
.bio { margin-top: 20px; max-width: 56ch; color: var(--soft); font-size: 1.05rem; }
.bio-list { margin: 22px 0 0; padding: 0; list-style: none; }
.bio-list li { position: relative; padding-left: 24px; }
.bio-list li + li { margin-top: 14px; }
.bio-list li::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 2px;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--accent);
}
.bio h3 { margin: 30px 0 0; color: var(--ink); font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.tags li {
  padding: 6px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--sheet);
  color: var(--ink);
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.3;
}
.bio-close { margin-top: 26px; }
#contact { position: sticky; top: calc(var(--bar) + 32px); align-self: start; }
.contact-list { margin: 20px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.contact-list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 6px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background-color .15s;
}
.contact-list a:hover { background: rgba(21, 20, 26, .04); }
.ic {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--accent);
}
.contact-list small { display: block; color: var(--mute); font-size: .82rem; }
.contact-list strong { display: block; font-weight: 600; font-size: 1.08rem; overflow-wrap: anywhere; }
.arr { color: var(--mute); }

/* Closing call to action */
.end { background: var(--ink); color: var(--paper); }
.end-in { padding-block: clamp(80px, 11vw, 140px) clamp(64px, 9vw, 112px); text-align: center; }
.end h2 { max-width: 14ch; margin-inline: auto; font-size: clamp(2.75rem, 7vw, 5.5rem); text-wrap: balance; }
.end p { max-width: 44ch; margin: 20px auto 0; color: rgba(242, 238, 229, .7); font-size: 1.1rem; }
.end .actions { justify-content: center; }
.end .btn-accent { color: var(--ink); box-shadow: 3px 3px 0 var(--paper); }
.end .btn-accent:hover { box-shadow: 4px 4px 0 var(--paper); }
.end .btn-accent:active { box-shadow: 1px 1px 0 var(--paper); }
.btn-ghost { border-color: rgba(242, 238, 229, .5); color: var(--paper); }
.btn-ghost:hover { background: rgba(242, 238, 229, .08); }
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 24px 28px;
  border-top: 1px solid rgba(242, 238, 229, .14);
  color: rgba(242, 238, 229, .6);
  font-size: .88rem;
}
.foot a { text-decoration: none; }
.foot a:hover { color: var(--paper); }

/* Player */
.player {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}
.player[open] { display: grid; place-items: center; }
.player::backdrop { background: rgba(21, 20, 26, .95); }
.player-in { width: min(92vw, calc((100svh - 150px) * 9 / 16)); }
#player-video {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  background: #000;
  object-fit: contain;
}
.player-cap { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; color: var(--paper); }
.player-cap strong { display: block; font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
.player-cap span { color: rgba(242, 238, 229, .65); font-size: .88rem; }
.pnav { display: flex; gap: 8px; }
.pbtn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid rgba(242, 238, 229, .6);
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.pbtn:hover { border-color: var(--accent); background: var(--accent); color: var(--ink); }
.close { position: fixed; top: 16px; right: 16px; z-index: 2; border-color: var(--ink); background: var(--accent); color: var(--ink); }

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-block: 40px 72px; }
  .device { width: min(290px, 80vw); }
  .reels { grid-template-columns: 1fr; }
  .reels-intro { position: static; }
  .split { grid-template-columns: 1fr; }
  #contact { position: static; }
  .portrait { width: min(200px, 55%); margin-top: 8px; }
}
@media (max-width: 560px) {
  .nav a:not(.pill) { display: none; }
  .reel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .play { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
  .play::before { border-width: 8px 0 8px 13px; margin-left: 3px; }
  .reel-title { margin-top: 12px; font-size: 1rem; }
  .reel-meta { font-size: .85rem; }
  .actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .load, .device { animation: none; }
  .device, .thumb, .btn, .play { transition: none; }
}
