/* Jade Matthew
   Same system as sessionwithjade.com and Slowdance, in a warm stone and brown palette. */

:root {
  --bg: #E4DCD6;
  --ink: #0E0B0A;
  --mute: #6E625C;
  --soft: #CFC4BC;
  --brown: #2A1D1A;
  --cream: #EFE8E3;
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --g: clamp(16px, 2.6vw, 40px);
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 700; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--g); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--g); top: var(--g); background: var(--ink); color: var(--bg); padding: 8px 12px; z-index: 100; }
.cap { text-transform: uppercase; font-weight: 700; letter-spacing: -.01em; }
.u { border-bottom: 2px solid currentColor; }
.mute { color: var(--mute); }

/* ---------- Header ---------- */
.head { position: fixed; inset: 0 0 auto 0; z-index: 50; background: var(--bg); }
.head .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; }
.head nav { display: flex; gap: 10px; align-items: center; font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; font-size: 17px; }
.head nav.r { justify-content: flex-end; }
.head nav span { padding: 0 4px; }
.head .name { font-weight: 700; text-transform: uppercase; font-size: 17px; letter-spacing: -.01em; }
.menu-btn { display: none; background: none; border: 0; font: inherit; font-weight: 700; text-transform: uppercase; justify-self: end; cursor: pointer; padding: 8px 0; color: inherit; }
.menu { position: fixed; inset: 0; z-index: 60; background: var(--bg); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.menu.open { opacity: 1; visibility: visible; }
.menu .top { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.menu ul { list-style: none; margin: 0; padding: 0 var(--g); flex: 1; display: flex; flex-direction: column; justify-content: center; }
.menu li a { font-size: clamp(34px, 9vw, 64px); font-weight: 700; text-transform: uppercase; line-height: 1.05; letter-spacing: -.03em; }
body.locked { overflow: hidden; }

.float { position: fixed; right: 22px; bottom: 22px; z-index: 40; background: var(--ink); color: var(--bg); padding: 14px 22px; font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; transition: opacity .2s; }
.float.hide { opacity: 0; pointer-events: none; }

/* ---------- Hero collage ---------- */
.hero { position: relative; min-height: 100vh; padding: 92px 0 40px; }
.hero .stage { position: relative; max-width: var(--max); margin: 0 auto; height: calc(100vh - 132px); min-height: 640px; }
.hero .pic { position: absolute; overflow: hidden; }
.hero .pic img { width: 100%; height: 100%; object-fit: cover; }
.hero .p1 { left: var(--g); top: 0; width: 25%; aspect-ratio: 1.08; }
.hero .p2 { right: var(--g); top: 14%; width: 28%; aspect-ratio: .95; }
.hero .p3 { left: 13%; bottom: 0; width: 22%; aspect-ratio: 1.06; }
.hero .p1 img, .hero .p3 img { animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero .copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.hero h1 { font-size: clamp(42px, 6.4vw, 104px); line-height: .93; letter-spacing: -.035em; text-transform: uppercase; position: relative; z-index: 2; }
.hero h1 em { display: block; font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.03em; font-size: .62em; margin: .06em 0 .12em; }
.hero h1 .small { display: block; font-size: .5em; max-width: 13em; margin: 0 auto; }
.hero .play-hero { pointer-events: auto; margin-top: 34px; display: inline-flex; align-items: center; gap: 12px; font-weight: 700; text-transform: uppercase; background: none; border: 0; font-family: inherit; font-size: 17px; cursor: pointer; color: inherit; position: relative; z-index: 2; }
.play-hero .dot { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-size: 15px; transition: transform .25s; }
.play-hero:hover .dot { transform: scale(1.08); }
.hero .base { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font-weight: 700; text-transform: uppercase; line-height: 1.2; font-size: 15px; letter-spacing: -.01em; }

/* ---------- Sections ---------- */
section { padding: clamp(90px, 11vw, 160px) 0 0; scroll-margin-top: 60px; }
.lr { display: grid; grid-template-columns: 240px 1fr; gap: 30px; }
.lab { font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; margin: 0 0 18px; }
.big { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.04; letter-spacing: -.03em; font-weight: 700; text-transform: uppercase; margin: 0 0 30px; }
.big em { font-style: italic; font-weight: 400; text-transform: none; }
.lede { font-size: 19px; line-height: 1.45; max-width: 720px; }

/* ---------- Demos ---------- */
.demos { background: var(--brown); color: var(--cream); margin-top: clamp(40px, 6vw, 80px); padding: clamp(60px, 8vw, 110px) 0; }
.demos .lab { color: var(--cream); }
.demos h2 { font-size: clamp(40px, 6vw, 92px); line-height: .92; letter-spacing: -.035em; text-transform: uppercase; margin-bottom: 50px; }
.demos h2 em { font-style: italic; font-weight: 400; text-transform: none; }
.player { display: grid; grid-template-columns: 70px 1fr auto; gap: 22px; align-items: center; padding: 26px 0; border-top: 1px solid rgba(239,232,227,.3); }
.player:last-child { border-bottom: 1px solid rgba(239,232,227,.3); }
.pbtn { width: 70px; height: 70px; border-radius: 50%; border: 0; background: var(--cream); color: var(--brown); cursor: pointer; display: grid; place-items: center; transition: transform .2s; }
.pbtn:hover { transform: scale(1.06); }
.pbtn svg { width: 22px; height: 22px; }
.pbtn .i-pause { display: none; }
.player.playing .pbtn .i-play { display: none; }
.player.playing .pbtn .i-pause { display: block; }
.pinfo h3 { font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -.02em; text-transform: uppercase; line-height: 1; }
.pinfo p { margin: 6px 0 12px; color: #c9bab2; font-size: 15px; }
.bar { position: relative; height: 34px; cursor: pointer; display: flex; align-items: center; gap: 3px; }
.bar i { flex: 1; background: rgba(239,232,227,.28); border-radius: 1px; transition: background .2s; }
.bar i.on { background: var(--cream); }
.ptime { font-variant-numeric: tabular-nums; font-size: 14px; color: #c9bab2; text-align: right; min-width: 110px; }
.ptime a { display: block; margin-top: 8px; color: var(--cream); text-transform: uppercase; font-weight: 700; font-size: 12px; }
.badges { display: flex; gap: 40px; align-items: center; margin-top: 50px; flex-wrap: wrap; }
.badges img { height: 84px; width: auto; }
.badges .ova { filter: invert(1) brightness(1.4); mix-blend-mode: screen; }
.badges p { margin: 0; max-width: 360px; font-size: 15px; color: #c9bab2; }

/* ---------- Video work ---------- */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.vcard { position: relative; display: block; text-align: left; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: default; }
.vcard .th { aspect-ratio: 16 / 9; overflow: hidden; background: var(--brown); position: relative; }
.vcard .th img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.vcard .pl { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: var(--bg); display: none; place-items: center; }
.vcard .pl svg { width: 18px; height: 18px; }
.vcard.ready { cursor: pointer; }
.vcard.ready .pl { display: grid; }
.vcard.ready:hover .th img { transform: scale(1.04); }
.vcard .vt { margin-top: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.15; }
.vcard .vs { color: var(--mute); font-size: 14px; margin-top: 2px; }
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(14,11,10,.92); display: none; align-items: center; justify-content: center; padding: 4vw; }
.modal.open { display: flex; }
.modal video { max-width: 100%; max-height: 86vh; background: #000; }
.modal button { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: var(--cream); font: 700 16px var(--sans); text-transform: uppercase; cursor: pointer; }

/* ---------- Client band ---------- */
.band { background: var(--ink); color: var(--cream); margin-top: clamp(90px, 11vw, 150px); padding: 30px 0; overflow: hidden; }
.band p { text-align: center; text-transform: uppercase; font-weight: 700; margin: 0 0 20px; font-size: 14px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.track { display: flex; width: max-content; animation: slide 60s linear infinite; }
.track span { font-size: clamp(30px, 3.6vw, 52px); font-weight: 700; text-transform: uppercase; letter-spacing: -.03em; padding: 0 28px; white-space: nowrap; }
.track span:nth-child(even) { font-style: italic; font-weight: 400; text-transform: none; }
.band:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Studio strip ---------- */
.strip { padding-inline: max(var(--g), calc((100vw - var(--max)) / 2 + var(--g))) !important; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 22%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--g) 10px; margin-top: 40px; scrollbar-width: thin; }
.strip figure { margin: 0; scroll-snap-align: start; }
.strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.strip figcaption { margin-top: 10px; font-size: 13px; text-transform: uppercase; font-weight: 700; color: var(--mute); }

/* ---------- Split with image ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.split.rev { grid-template-columns: 7fr 5fr; }
.split img { width: 100%; object-fit: cover; }
.credits { list-style: none; margin: 0 0 30px; padding: 0; border-top: 2px solid var(--ink); }
.credits li { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--soft); align-items: baseline; }
.credits b { text-transform: uppercase; letter-spacing: -.01em; }
.credits span { color: var(--mute); font-size: 15px; }
.art { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.art img { aspect-ratio: 1; object-fit: cover; }
.tick { list-style: none; padding: 0; margin: 0 0 30px; }
.tick li { padding: 10px 0; border-bottom: 1px solid var(--soft); }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(30px, 6vw, 90px); }
.agent { border-top: 2px solid var(--ink); padding-top: 18px; margin-bottom: 30px; }
.agent h3 { text-transform: uppercase; font-size: 22px; letter-spacing: -.02em; }
.agent p { margin: 6px 0 0; color: var(--mute); }
.agent a { color: var(--ink); }
.enq { display: grid; gap: 18px; }
.enq .f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.enq label { display: grid; gap: 6px; font-size: 13px; text-transform: uppercase; font-weight: 700; }
.enq input, .enq select, .enq textarea { font: 16px/1.4 var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; padding: 10px 0; text-transform: none; font-weight: 400; }
.enq select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") no-repeat right 4px center; }
.enq textarea { border: 2px solid var(--ink); padding: 12px; resize: vertical; }
.enq input:focus, .enq select:focus, .enq textarea:focus { outline: none; border-color: var(--mute); }
.btn { display: inline-block; background: var(--ink); color: var(--bg); padding: 15px 26px; font: 700 16px var(--sans); text-transform: uppercase; border: 0; cursor: pointer; justify-self: start; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.cta { display: block; margin-top: clamp(100px, 12vw, 170px); background: var(--ink); color: var(--cream); text-align: center; padding: 16px; font-weight: 700; text-transform: uppercase; }
.foot { background: var(--brown); color: var(--cream); padding: 70px 0 30px; }
.foot .grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.foot .fname { font-size: clamp(34px, 4vw, 56px); font-weight: 700; text-transform: uppercase; letter-spacing: -.035em; line-height: .95; }
.foot .fname em { font-style: italic; font-weight: 400; text-transform: none; display: block; }
.foot h4 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; color: #b9a89f; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 6px; font-weight: 700; text-transform: uppercase; font-size: 14px; }
.foot li.plain { text-transform: none; font-weight: 400; }
.foot .base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 70px; font-size: 13px; text-transform: uppercase; color: #b9a89f; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .track, .hero img { animation: none !important; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .lr, .split, .split.rev, .contact-wrap { grid-template-columns: 1fr; }
  .vgrid { grid-template-columns: repeat(2, 1fr); }
  .foot .grid { grid-template-columns: 1fr 1fr; }
  .foot .grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .head nav { display: none; }
  .head .wrap { grid-template-columns: 1fr auto; }
  .head .name { justify-self: start; }
  .menu-btn { display: block; }
  .hero { min-height: auto; }
  .hero .stage { height: auto; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 var(--g); }
  .hero .pic { position: static; width: auto !important; }
  .hero .p2 { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: auto; }
  .hero .copy { position: static; grid-column: 1 / -1; grid-row: 3; padding: 40px 0 20px; }
  .hero .base { position: static; grid-column: 1 / -1; grid-row: 4; }
  .vgrid, .enq .f2 { grid-template-columns: 1fr; }
  .player { grid-template-columns: 56px 1fr; }
  .pbtn { width: 56px; height: 56px; }
  .ptime { grid-column: 2; text-align: left; }
  .credits li { grid-template-columns: 1fr; gap: 2px; }
  .float { right: 12px; bottom: 12px; padding: 12px 16px; font-size: 14px; }
  .foot .grid { grid-template-columns: 1fr; }
}

.split > div:first-child.reveal img { position: sticky; top: 96px; }
#screen .split > div:first-child { align-self: stretch; }
#screen .split > div:first-child img { position: sticky; top: 96px; }

/* Brand spots: smaller players in two columns */
.spots-lab { margin: 46px 0 6px; font-weight: 700; text-transform: uppercase; font-size: 14px; color: #c9bab2; }
.spots { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.player.sm { grid-template-columns: 48px 1fr auto; gap: 16px; padding: 18px 0; }
.player.sm .pbtn { width: 48px; height: 48px; }
.player.sm .pbtn svg { width: 16px; height: 16px; }
.player.sm .pinfo h3 { font-size: 20px; }
.player.sm .pinfo p { margin: 2px 0 8px; font-size: 13px; }
.player.sm .bar { height: 22px; }
.player.sm .ptime { min-width: 80px; font-size: 13px; }
.spots .player:last-child { border-bottom: 0; }
.spots { border-bottom: 1px solid rgba(239,232,227,.3); }
@media (max-width: 900px) { .spots { grid-template-columns: 1fr; } }
