:root {
  --bg: #0b0b0d;
  --bg-2: #121216;
  --line: rgba(255, 255, 255, 0.09);
  --text: #ece8e1;
  --muted: #9a958d;
  --warm: #e8a76b;
  --cool: #8fb3ff;
  --rose: #d97a9a;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::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-family: var(--sans);
  font-weight: 300;
  font-size: clamp(16px, 1.05vw + 10px, 18px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* film grain */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.02; letter-spacing: -0.02em; }
h2 { font-family: var(--serif); font-size: clamp(40px, 6vw, 84px); }
h3 { font-family: var(--sans); font-weight: 500; font-size: 1.15em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--warm); color: var(--bg); }
:focus-visible { outline: 2px solid var(--warm); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4em;
}

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 11, 13, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--line);
}
.nav__mark { font-family: var(--serif); font-size: 26px; text-decoration: none; letter-spacing: 0.02em; }
.nav nav { display: flex; gap: clamp(14px, 2.2vw, 32px); font-size: 14px; }
.nav nav a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.nav nav a:hover { color: var(--text); }
.nav .nav__cta { color: var(--text); }
@media (max-width: 720px) {
  .nav nav a:not(.nav__cta) { display: none; }
}

/* HERO */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 120px var(--gutter) clamp(56px, 10vh, 120px);
  overflow: hidden;
  isolation: isolate;
}
.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: -1;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 40%, var(--bg) 100%),
              radial-gradient(ellipse at 20% 90%, rgba(11,11,13,0.85), transparent 60%);
  pointer-events: none;
}
.hero__inner { max-width: var(--max); width: 100%; margin: 0 auto; }
.hero__title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(64px, 14vw, 220px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  margin-bottom: 0.25em;
}
.hero__title em { font-weight: 400; letter-spacing: -0.02em; color: var(--warm); }
.hero__lede { max-width: 34ch; font-size: clamp(19px, 1.8vw, 26px); line-height: 1.4; color: #d8d3cb; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2em; }
.hero__hint {
  position: absolute; right: var(--gutter); bottom: 28px;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
  margin: 0;
}
@media (max-width: 720px) { .hero__hint { display: none; } }

.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  background: var(--text); color: var(--bg);
  font-size: 15px; font-weight: 500;
  text-decoration: none;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.btn:hover { transform: translateY(-2px); background: var(--warm); }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25); }
.btn--ghost:hover { background: rgba(255,255,255,0.08); }

/* STATEMENT */
.statement {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 12vw, 160px) var(--gutter);
}
.statement p {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.15;
  max-width: 24ch;
  letter-spacing: -0.01em;
}
.statement em { color: var(--warm); }
.path {
  list-style: none; padding: 0; margin: 2.5em 0 0;
  display: flex; flex-wrap: wrap; gap: 10px;
  font-size: 14px; color: var(--muted);
}
.path li { padding: 0.45em 1em; border: 1px solid var(--line); border-radius: 999px; }
.path li:last-child { color: var(--text); border-color: rgba(232,167,107,0.5); }

/* SECTIONS */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 10vw, 140px) var(--gutter); }
.section__head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 56ch; }
.section__head h2 em { color: var(--cool); }
.section__sub { color: var(--muted); margin-top: 1.2em; max-width: 46ch; }

/* WORK GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.card {
  grid-column: span 4;
  display: flex; flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.5s var(--ease);
}
.card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-4px); }
.card figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.6s; filter: saturate(0.85); }
.card:hover img { transform: scale(1.04); filter: saturate(1.05); }
.card__body { padding: 22px 22px 26px; }
.card__body p { color: var(--muted); font-size: 0.94em; margin-bottom: 0.6em; }
.card__body h3 { margin-bottom: 0.45em; }
.card__meta { font-size: 12px !important; letter-spacing: 0.06em; color: var(--warm) !important; opacity: 0.9; margin-bottom: 0.9em !important; }
.card--wide { grid-column: span 8; grid-row: span 2; }
.card--wide figure { aspect-ratio: auto; flex: 1; min-height: 320px; }
.card--wide h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.4vw, 48px); }
.card--type { grid-column: span 6; background: radial-gradient(circle at 100% 0%, rgba(143,179,255,0.12), transparent 55%), var(--bg-2); }
.card--type .card__body { padding: 32px; height: 100%; display: flex; flex-direction: column; }
.card--type h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 42px); }
.card__big { margin-top: auto !important; padding-top: 1em; font-family: var(--serif); font-size: clamp(64px, 8vw, 110px) !important; line-height: 0.9; color: var(--text) !important; }
.card__big span { font-family: var(--sans); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-left: 0.6em; }
.link { color: var(--text); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 2px; font-size: 0.95em; transition: border-color 0.2s, color 0.2s; margin-top: auto; align-self: flex-start; }
.link:hover { color: var(--warm); border-color: var(--warm); }

@media (max-width: 1000px) {
  .card, .card--type { grid-column: span 6; }
  .card--wide { grid-column: span 12; grid-row: auto; }
  .card--type:last-child { grid-column: span 12; }
}
@media (max-width: 640px) {
  .card, .card--type, .card--wide { grid-column: span 12; }
  .card--wide figure { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ART */
.section--art { position: relative; }
.section--art .section__head h2 em { color: var(--rose); }
.art {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(180px, 20vw, 280px);
  gap: clamp(12px, 1.6vw, 22px);
}
.art__item { position: relative; margin: 0; grid-column: span 3; border-radius: var(--radius); overflow: hidden; background: #000; }
.art__item--tall { grid-column: span 2; grid-row: span 2; }
.art__item:nth-child(2), .art__item:nth-child(3) { grid-column: span 4; }
.art__item--wide { grid-column: span 6; grid-row: span 1; }
.art__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.art__item:hover img { transform: scale(1.05); }
.art__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 48px 20px 18px;
  font-size: 14px; color: #cfcac2;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
}
.art__item figcaption strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--text); margin-bottom: 2px; }
@media (max-width: 760px) {
  .art { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .art__item, .art__item--tall, .art__item--wide, .art__item:nth-child(2), .art__item:nth-child(3) { grid-column: 1; grid-row: auto; }
  .art__item--tall { grid-row: span 2; }
}

/* HANDPAN */
.section--handpan { max-width: none; background: radial-gradient(ellipse at 80% 30%, rgba(232,167,107,0.10), transparent 55%), radial-gradient(ellipse at 10% 90%, rgba(143,179,255,0.08), transparent 50%); border-block: 1px solid var(--line); }
.handpan { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.handpan h2 em { color: var(--warm); }
.handpan__text > p:not(.eyebrow) { color: #cfcac2; max-width: 42ch; margin-top: 1.2em; }
.handpan__tags { color: var(--muted) !important; font-size: 14px; margin-bottom: 2em; }
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.4vw, 18px); }
.reel {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 16px;
  text-decoration: none;
  font-size: 13px; color: var(--muted);
  background: #0e0e11;
}
.reel::before {
  content: "";
  position: absolute; left: 50%; top: 42%;
  width: 62%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.12) 0 12%, transparent 13%),
              repeating-radial-gradient(circle, rgba(232,167,107,0.35) 0 1px, transparent 1px 14px);
  animation: ripple 6s linear infinite;
  opacity: 0.7;
}
.reel:nth-child(2)::before { animation-delay: -2s; background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.12) 0 12%, transparent 13%), repeating-radial-gradient(circle, rgba(143,179,255,0.35) 0 1px, transparent 1px 14px); }
.reel:nth-child(3)::before { animation-delay: -4s; background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.12) 0 12%, transparent 13%), repeating-radial-gradient(circle, rgba(217,122,154,0.35) 0 1px, transparent 1px 14px); }
.reel span { position: relative; }
.reel:hover { color: var(--text); border-color: rgba(255,255,255,0.22); }
.reels > :nth-child(2) { transform: translateY(32px); }
/* Reel stills (until real embeds go in) */
.reel--photo::before { display: none; }
.reel--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.6s; filter: saturate(0.9) brightness(0.9); }
.reel--photo::after {
  content: "\25B6"; position: absolute; inset: 0;
  display: flex; align-items: flex-start; justify-content: flex-end; padding: 16px 17px;
  font-size: 12px; color: rgba(255,255,255,0.92);
  background: linear-gradient(transparent 55%, rgba(0,0,0,0.7)),
              radial-gradient(circle at calc(100% - 22px) 24px, rgba(0,0,0,0.45) 0 16px, transparent 17px);
}
.reel--photo span { z-index: 1; color: var(--text); font-size: 14px; }
.reel--photo:hover img { transform: scale(1.05); filter: none; }
@keyframes ripple { from { transform: translate(-50%, -50%) scale(0.92); } 50% { transform: translate(-50%, -50%) scale(1.06); } to { transform: translate(-50%, -50%) scale(0.92); } }
@media (max-width: 860px) {
  .handpan { grid-template-columns: 1fr; }
  .reels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* PRODUCTS */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.product {
  display: flex; flex-direction: column;
  padding: clamp(28px, 3.5vw, 48px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255,255,255,0.04), transparent 60%), var(--bg-2);
  min-height: 300px;
}
.product h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4vw, 56px); margin-bottom: 0.4em; }
.product p:not(.card__meta) { color: #cfcac2; max-width: 40ch; }
.product strong { font-weight: 500; color: var(--text); }
@media (max-width: 760px) { .products { grid-template-columns: 1fr; } .product { min-height: 0; } .product .link { margin-top: 1em; } }

/* STUDIO STRIP */
.section--studio .section__head h2 { font-size: clamp(36px, 4.6vw, 64px); }
.strip {
  display: flex; gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 18px;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: #333 transparent;
}
.strip__item {
  flex: 0 0 clamp(220px, 26vw, 320px);
  scroll-snap-align: start;
  text-decoration: none;
}
.strip__item img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; border-radius: 10px; filter: grayscale(0.6) brightness(0.85); transition: filter 0.5s; }
.strip__item:hover img { filter: none; }
.strip__item span { display: block; margin-top: 12px; font-size: 13px; color: var(--muted); }
.strip__item strong { display: block; font-weight: 500; color: var(--text); font-size: 15px; }
.link--studio { display: inline-block; margin-top: 28px; }

/* ABOUT */
.about { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about h2 em { color: var(--warm); }
.about__text > p:not(.eyebrow) { margin-top: 1.4em; color: #cfcac2; max-width: 52ch; }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 6.5em 1fr; gap: 1em; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.timeline span { color: var(--muted); font-variant-numeric: tabular-nums; }
.awards { list-style: none; padding: 0; margin: clamp(48px, 7vw, 96px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.awards li { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; color: var(--muted); }
.awards strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--text); margin-bottom: 4px; line-height: 1.1; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .awards { grid-template-columns: 1fr 1fr; }
}

/* CONTACT */
.contact { text-align: left; padding-bottom: clamp(80px, 12vw, 160px); }
.contact__title { font-size: clamp(48px, 8vw, 120px); line-height: 0.95; }
.contact__title em { color: var(--warm); }
.form { margin-top: clamp(32px, 4vw, 48px); max-width: 760px; display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 13px; letter-spacing: 0.06em; color: var(--muted); }
.form input, .form textarea {
  width: 100%;
  font: inherit; font-size: 16px; letter-spacing: 0; color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  transition: border-color 0.2s, background 0.2s;
}
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--warm); background: #16161b; }
.form ::placeholder { color: #5f5b55; }
.form__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.form button { border: 0; cursor: pointer; font-family: inherit; }
.form button:disabled { opacity: 0.5; cursor: wait; transform: none; }
.form__status { margin: 0; font-size: 15px; color: var(--muted); }
.form__status.is-ok { color: var(--warm); }
.form__status.is-error { color: var(--rose); }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.links { list-style: none; padding: 0; margin: 2.4em 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.links a { display: inline-block; padding: 0.55em 1.1em; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 14px; color: var(--muted); transition: color 0.2s, border-color 0.2s; }
.links a:hover { color: var(--text); border-color: rgba(255,255,255,0.3); }

.footer {
  max-width: var(--max); margin: 0 auto;
  padding: 28px var(--gutter) 40px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  font-size: 13px; color: var(--muted);
  border-top: 1px solid var(--line);
}
.footer p { margin: 0; }

/* REVEAL */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reels.reveal.is-in > :nth-child(2) { transform: translateY(32px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .reel::before { animation: none; }
  .card, .card img, .art__item img { transition: none; }
}
