/* ==========================================================================
   Joanna Kong — Independent Art Director & Designer
   Base, navigation, hero, showreel, about
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("../fonts/dm-mono-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("../fonts/dm-mono-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #f2efe7;
  --paper-deep: #e9e4d8;
  --ink: #151412;
  --ink-soft: #57544d;
  --muted: #8b877d;
  --accent: #eb4a24;
  --accent-soft: #f7d9cf;
  --line: rgba(21, 20, 18, 0.16);
  --line-light: rgba(242, 239, 231, 0.18);
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "DM Mono", "Courier New", monospace;
  --gutter: clamp(18px, 2.6vw, 42px);
  --header-h: 78px;
  --hero-split: 49.3vw;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--paper); }
:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 4px; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: #c3beb1; border: 3px solid var(--paper); border-radius: 8px; }

/* Paper grain */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 400;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  will-change: transform;
}

/* ---------- Utilities ---------- */
.u-mono {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.055em;
  line-height: 1.4;
  text-transform: uppercase;
}
.u-serif { font-family: var(--serif); font-style: italic; font-weight: 400; }
.u-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.u-accent { color: var(--accent); }
.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 600;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  transform: translateY(-160%);
  transition: transform 0.25s;
}
.skip-link:focus { transform: translateY(0); }

.section-shell { padding: clamp(80px, 10vw, 160px) var(--gutter); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Reveal primitives */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

.img-reveal { position: relative; overflow: hidden; }
.img-reveal > img {
  transition: transform 1.25s var(--ease), filter 0.8s var(--ease);
}
.js .img-reveal {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.15s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .img-reveal > img { transform: scale(1.12); }
.js .img-reveal.is-in { clip-path: inset(0 0 0 0); }
.js .img-reveal.is-in > img { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal, .js .img-reveal, .js .img-reveal > img { opacity: 1; transform: none; clip-path: none; }
}

/* ---------- Cursor ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 500;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.cursor.is-active { opacity: 1; }
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 5px; height: 5px;
  background: var(--accent);
}
.cursor-ring {
  width: 32px; height: 32px;
  left: 50%; top: 50%;
  border: 1px solid var(--accent);
  background: transparent;
  display: grid;
  place-items: center;
  transition: width 0.35s var(--ease), height 0.35s var(--ease), background 0.3s, border-color 0.3s;
}
.cursor-label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.25s, transform 0.25s;
}
.cursor.is-hover .cursor-ring { width: 52px; height: 52px; background: var(--accent); border-color: var(--accent); }
.cursor.is-view .cursor-ring { width: 82px; height: 82px; background: var(--accent); border-color: var(--accent); }
.cursor.is-view .cursor-label { opacity: 1; transform: none; }
.cursor.is-hidden { opacity: 0 !important; }

@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}
@media (hover: hover) and (pointer: fine) {
  .js body, .js a, .js button { cursor: none; }
}

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 450;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 420;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(18px, 2.6vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.9s var(--ease-in-out);
}
.preloader.is-done { clip-path: inset(0 0 100% 0); }
.preloader.is-skipped { display: none; }
.preloader-top,
.preloader-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.preloader-top span:last-child,
.preloader-foot span:first-child { color: rgba(242, 239, 231, 0.55); }
.preloader-center {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4vw;
}
.preloader-mark {
  font-size: clamp(72px, 16vw, 250px);
  font-weight: 750;
  letter-spacing: -0.075em;
  line-height: 0.8;
  text-transform: uppercase;
  white-space: nowrap;
}
.preloader-mark .u-serif { color: var(--accent); font-size: 0.72em; letter-spacing: -0.02em; }
.preloader-count {
  font-family: var(--mono);
  font-size: clamp(22px, 4vw, 56px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--paper);
  align-self: flex-end;
  min-width: 3ch;
}
.preloader-line {
  height: 1px;
  background: rgba(242, 239, 231, 0.18);
  margin-top: 22px;
  overflow: hidden;
}
.preloader-line span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* Page transition */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 410;
  background: var(--ink);
  color: var(--paper);
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 0.55s var(--ease-in-out);
  display: grid;
  place-items: center;
}
.page-transition::before {
  content: "JK ✳";
  font-size: clamp(48px, 9vw, 130px);
  font-weight: 750;
  letter-spacing: -0.06em;
  opacity: 0.9;
}
.page-transition.is-on { transform: translateY(0); }
.page-transition.is-out { transform: translateY(-100%); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--gutter);
  transition: height 0.4s var(--ease), background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  height: 66px;
  background: rgba(242, 239, 231, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--paper);
  transition: color 0.4s;
  flex-shrink: 0;
}
.brand .brand-meta {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.62;
}
.site-header.is-scrolled .brand { color: var(--ink); }
.site-header.is-scrolled .header-right { color: var(--ink); }

.header-right {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  color: var(--ink);
  transition: color 0.4s;
}
.availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.availability .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(235, 74, 36, 0.4);
  animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(235, 74, 36, 0.4); }
  70% { box-shadow: 0 0 0 7px rgba(235, 74, 36, 0); }
  100% { box-shadow: 0 0 0 0 rgba(235, 74, 36, 0); }
}
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid currentColor;
  border-radius: 99px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.menu-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.site-header.is-scrolled .menu-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.burger {
  width: 15px;
  height: 7px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.burger span {
  display: block;
  height: 1px;
  width: 100%;
  background: currentColor;
  transition: transform 0.3s var(--ease), width 0.3s var(--ease);
}
.menu-btn:hover .burger span:last-child { width: 65%; }
body.has-dark-hero .site-header:not(.is-scrolled) .header-right { color: var(--paper); }
body.has-dark-hero .site-header:not(.is-scrolled) .brand { color: var(--paper); }
.case-page .site-header:not(.is-scrolled) .header-right { color: var(--paper); }

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  transform: translateY(-101%);
  visibility: hidden;
  transition: transform 0.8s var(--ease-in-out), visibility 0s linear 0.8s;
  overflow-y: auto;
}
.menu.is-open {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.8s var(--ease-in-out), visibility 0s;
}
.menu-top {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.menu-top .brand { color: var(--paper); }
.menu-close {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(242, 239, 231, 0.35);
  border-radius: 99px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.menu-close:hover { background: var(--accent); border-color: var(--accent); }
.menu-close svg { width: 10px; height: 10px; }
.menu-body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(220px, 0.45fr);
  gap: clamp(30px, 6vw, 100px);
  align-items: center;
  padding: 4vh 0 5vh;
  min-height: 0;
}
.menu-nav { display: flex; flex-direction: column; }
.menu-item { border-bottom: 1px solid rgba(242, 239, 231, 0.14); }
.menu-link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 0.22em 0;
  transition: color 0.35s, padding-left 0.45s var(--ease);
}
.menu-link .num {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--accent);
  letter-spacing: 0.06em;
  width: 24px;
  flex-shrink: 0;
}
.menu-link .word {
  font-size: clamp(44px, 7.7vw, 118px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.055em;
  line-height: 0.94;
}
.menu-link .hint {
  margin-left: auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 1.4vw, 21px);
  color: rgba(242, 239, 231, 0.4);
  transition: color 0.35s;
  white-space: nowrap;
}
.menu-link:hover { color: var(--accent); padding-left: 14px; }
.menu-link:hover .hint { color: var(--paper); }
.menu-parent { display: flex; align-items: center; gap: 14px; }
.menu-parent .menu-link { flex: 1 1 auto; min-width: 0; }
.menu-toggle {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(242, 239, 231, 0.35);
  border-radius: 50%;
  position: relative;
  color: inherit;
  transition: color 0.3s, border-color 0.3s, transform 0.45s var(--ease);
}
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}
.menu-toggle::before { width: 12px; height: 1.5px; transform: translate(-50%, -50%); }
.menu-toggle::after { width: 1.5px; height: 12px; transform: translate(-50%, -50%); }
.menu-toggle:hover { color: var(--accent); border-color: var(--accent); }
.menu-toggle[aria-expanded="true"] { transform: rotate(135deg); color: var(--accent); border-color: var(--accent); }
.menu-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.menu-sub-inner {
  overflow: hidden;
  min-height: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0s 0.5s;
}
.menu-sub.is-open { grid-template-rows: 1fr; }
.menu-sub.is-open .menu-sub-inner {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.4s 0.08s, transform 0.5s var(--ease) 0.05s, visibility 0s;
}
.menu-sub-link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0 10px 42px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(242, 239, 231, 0.65);
  border-top: 1px solid rgba(242, 239, 231, 0.08);
  transition: color 0.3s, padding-left 0.4s var(--ease);
}
.menu-sub-link .sub-num { color: var(--accent); font-size: 9px; flex-shrink: 0; }
.menu-sub-link:hover { color: var(--accent); padding-left: 52px; }
.menu-side {
  display: flex;
  flex-direction: column;
  gap: 26px;
  justify-content: flex-end;
  align-self: stretch;
  padding-top: 4vh;
}
.menu-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #242320;
}
.menu-preview img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.45s var(--ease), transform 1.2s var(--ease);
  filter: grayscale(0) contrast(1.02);
}
.menu-preview img.is-active { opacity: 1; transform: scale(1); }
.menu-side-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(242, 239, 231, 0.55);
}
.menu-side-meta a { color: var(--paper); border-bottom: 1px solid rgba(242, 239, 231, 0.25); width: fit-content; padding-bottom: 2px; }
.menu-side-meta a:hover { color: var(--accent); }
.menu-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(242, 239, 231, 0.14);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(242, 239, 231, 0.45);
  flex-shrink: 0;
}
.menu-bottom a:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  background: var(--paper);
}
.hero-media {
  position: absolute;
  inset: 0 auto 0 0;
  width: 49.3%;
  overflow: hidden;
  background: #1b1a18;
  clip-path: inset(0 0 0 0);
}
.js .hero-media { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease); }
body.is-ready .hero-media { clip-path: inset(0 0 0 0); }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  filter: contrast(1.06) brightness(0.82) saturate(1.05);
  transform: scale(1.03);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 11, 10, 0.72) 0%, rgba(12, 11, 10, 0.28) 26%, rgba(12, 11, 10, 0) 52%, rgba(12, 11, 10, 0.42) 100%);
  pointer-events: none;
}
.hero-title {
  position: absolute;
  top: clamp(82px, 10vh, 118px);
  left: var(--gutter);
  width: calc(100% - var(--gutter));
  z-index: 3;
  pointer-events: none;
  color: var(--ink);
  margin: 0;
}
.hero-title--light {
  z-index: 4;
  color: var(--paper);
  clip-path: inset(0 calc(100% - 49.3vw) 0 0);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line-1 {
  font-size: clamp(58px, 12.9vw, 202px);
  font-weight: 780;
  line-height: 0.79;
  letter-spacing: -0.068em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-left: -0.04em;
}
.hero-title .line-2 {
  font-size: clamp(31px, 6.4vw, 100px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  width: max-content;
  margin-left: auto;
  margin-top: 0.26em;
  padding-right: 0.1em;
}
.hero-title .line-inner {
  display: block;
  transform: translateY(116%);
  transition: transform 1.15s var(--ease);
}
body.is-ready .hero-title .line-inner { transform: translateY(0); }
body.is-ready .hero-title .line-2 .line-inner { transition-delay: 0.12s; }

.hero-copy {
  position: absolute;
  z-index: 5;
  left: 54.2%;
  top: clamp(350px, 44vh, 450px);
  width: min(330px, 29vw);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease) 0.45s, transform 0.9s var(--ease) 0.45s;
}
body.is-ready .hero-copy { opacity: 1; transform: none; }
.hero-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  font-size: 9px;
  letter-spacing: 0.045em;
  white-space: nowrap;
  color: var(--muted);
}
.hero-copy .eyebrow::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.hero-copy p {
  font-size: clamp(14px, 1.08vw, 16px);
  line-height: 1.55;
  letter-spacing: -0.012em;
  max-width: 32ch;
}
.hero-copy .hero-location {
  margin-top: 18px;
  color: var(--muted);
}
.hero-copy .hero-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.3s, border-color 0.3s, gap 0.35s var(--ease);
}
.hero-copy .hero-contact-link:hover { color: var(--accent); border-color: var(--accent); gap: 14px; }
.hero-caption {
  position: absolute;
  z-index: 5;
  left: var(--gutter);
  bottom: 34px;
  right: calc(100% - 46%);
  color: var(--paper);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.9s var(--ease) 0.8s;
}
body.is-ready .hero-caption { opacity: 1; }
.hero-caption .caption-main {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 1.7vw, 25px);
  line-height: 1.1;
}
.hero-caption .caption-sub {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(242, 239, 231, 0.55);
  text-align: right;
  line-height: 1.6;
}

/* Rotating roundel */
.roundel {
  --size: clamp(124px, 10.6vw, 168px);
  position: absolute;
  z-index: 7;
  right: calc(100% - var(--hero-split) - var(--size) / 2);
  bottom: clamp(28px, 7vh, 78px);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper);
  display: grid;
  place-items: center;
  transition: background 0.35s, color 0.35s, transform 0.5s var(--ease);
  opacity: 0;
}
body.is-ready .roundel { opacity: 1; transition: background 0.35s, color 0.35s, transform 0.5s var(--ease), opacity 0.6s 0.7s; }
.roundel:hover { background: var(--ink); transform: scale(1.05); }
.roundel-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 22s linear infinite;
}
.roundel-svg text {
  fill: currentColor;
  font-family: var(--mono);
  font-size: 8.1px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.roundel-arrow {
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 0.4s var(--ease);
}
.roundel:hover .roundel-arrow { transform: translate(3px, -3px); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-bottom {
  position: absolute;
  z-index: 5;
  left: 54.2%;
  right: var(--gutter);
  bottom: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.9s var(--ease) 0.9s;
}
body.is-ready .hero-bottom { opacity: 1; }
.hero-bottom .scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.scroll-cue .cue-line {
  display: block;
  width: 42px;
  height: 1px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.scroll-cue .cue-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: cue 2.4s var(--ease-in-out) infinite;
}
@keyframes cue {
  0% { transform: translateX(-100%); }
  45%, 55% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}
.hero-bottom .coords { text-align: right; }

/* ---------- Expertise ticker ---------- */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  background: var(--paper);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker:focus-within .ticker-track { animation-play-state: paused; }
a.ticker-item { color: inherit; text-decoration: none; transition: color 0.3s; }
a.ticker-item:hover { color: var(--accent); }
a.ticker-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 40px);
  padding-right: clamp(20px, 2.4vw, 40px);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-soft);
}
.ticker-item .star { color: var(--accent); }
.star {
  display: inline-block;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.star svg { width: 100%; height: 100%; display: block; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Showreel ---------- */
.showcase {
  padding: clamp(70px, 8vw, 130px) 0 clamp(90px, 11vw, 170px);
  overflow: hidden;
}
.showcase-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  padding: 0 var(--gutter);
  margin-bottom: clamp(38px, 5vw, 70px);
}
.showcase-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4vw;
  align-items: end;
  max-width: 700px;
}
.showcase-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(26px, 2.9vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 16ch;
}
.showcase-cue {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  padding-bottom: 5px;
  white-space: nowrap;
}
.showcase-cue svg { width: 26px; height: 10px; }
.reel-wrap { position: relative; }
.reel {
  display: flex;
  gap: clamp(14px, 1.8vw, 28px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 0 var(--gutter) 10px;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-y;
}
.reel::-webkit-scrollbar { display: none; }
.reel.is-dragging { cursor: grabbing; }
.reel-card {
  flex: 0 0 auto;
  width: clamp(215px, 22.5vw, 345px);
  transform: translateY(var(--offset, 0px));
}
.reel-link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  height: 100%;
}
.reel-link .reel-figure { flex: 0 0 auto; }
.reel-link .reel-meta { margin-top: 14px; }
.reel-card:nth-child(2n) { --offset: clamp(18px, 4vw, 56px); }
.reel-card:nth-child(3n) { --offset: clamp(8px, 1.6vw, 24px); }
.reel-figure {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-deep);
}
.reel-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
  transform: scale(1.01);
  transition: transform 1.1s var(--ease), filter 0.7s var(--ease);
  pointer-events: none;
}
.reel-card:hover .reel-figure img { transform: scale(1.045); filter: grayscale(0) contrast(1); }
.reel-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(21, 20, 18, 0.08);
  pointer-events: none;
}
.reel-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 10px;
}
.reel-meta span:first-child { color: var(--ink); }
.reel-progress {
  margin: 32px var(--gutter) 0;
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.reel-progress span {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 20%;
  background: var(--ink);
  transform-origin: 0 50%;
}

/* ---------- About ---------- */
.about {
  position: relative;
  padding: clamp(80px, 10vw, 160px) var(--gutter) clamp(90px, 11vw, 170px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.9fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}
.about-aside {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.about-label {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  color: var(--muted);
}
.about-portrait {
  width: min(78%, 310px);
  background: var(--paper);
  padding: 9px 9px 38px;
  border: 1px solid var(--line);
  transform: rotate(-2.6deg);
  box-shadow: 0 22px 40px -28px rgba(21, 20, 18, 0.6);
  transition: transform 0.7s var(--ease);
}
.about-portrait:hover { transform: rotate(0deg) translateY(-4px); }
.about-portrait img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(1) contrast(1.05);
}
.about-portrait figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-soft);
  padding: 11px 2px 0;
  line-height: 1.15;
}
.about-aside-note {
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 23ch;
}
.about-body { max-width: 980px; }
.about-lede {
  font-size: clamp(30px, 3.65vw, 62px);
  font-weight: 520;
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: pretty;
}
.about-lede .serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  font-size: 1.06em;
}
.about-lede .word { transition: opacity 0.35s; }
.js .about-lede .word { opacity: 0.3; }
.js .about-lede .word.is-in { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .about-lede .word { opacity: 1; } }
.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 70px);
  margin-top: clamp(50px, 6vw, 90px);
  max-width: 760px;
}
.about-cols p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: -0.01em;
}
.about-cols p strong { color: var(--ink); font-weight: 550; }
.about-cols .mini-label {
  display: block;
  margin-bottom: 16px;
  color: var(--muted);
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(56px, 7vw, 100px);
  padding-top: 22px;
  border-top: 1px solid var(--ink);
}
.stat b {
  display: block;
  font-size: clamp(40px, 5.6vw, 86px);
  font-weight: 560;
  letter-spacing: -0.055em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.stat > span {
  display: block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
