/* Rivet — site styles. Colours, type and spacing come from the Rivet design system. */
:root {
  --paper: #F4F2EC;
  --surface: #FFFFFF;
  --ink: #0E0E12;
  --muted: #4A4A50;
  --muted-on-dark: #B5B5BD;
  --line: #DEDBD2;
  --coral: #FF5A3C;
  --volt: #C6F432;
  --electric: #3D8BFF;
  --gold: #FFB020;
  --violet: #9B6BFF;
  --display: "Space Grotesk", system-ui, sans-serif;
  --sans: Inter, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--muted); }
:focus-visible { outline: 3px solid var(--electric); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(36px, 4.5vw, 56px); line-height: 1; letter-spacing: -0.04em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; z-index: 10; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 16px 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform .2s var(--ease), background-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { color: var(--paper); }
.btn-coral { background: var(--coral); color: var(--ink); }
.btn-coral:hover { color: var(--ink); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { color: var(--ink); }
.btn-sm { padding: 12px 20px; font-size: 15px; }

/* Header */
.site-header { padding-block: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-header .logo img { height: 34px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
.navlink { text-decoration: none; color: var(--ink); }
.navlink:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* Hero */
.hero { padding-block: 48px 96px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(48px, 7vw, 104px); line-height: .95; letter-spacing: -0.045em; }
.rotator-clip { display: inline-block; overflow: hidden; padding-bottom: .08em; vertical-align: bottom; }
.rotator { display: inline-flex; align-items: flex-end; }
.rotator.swap { animation: swap .6s var(--ease) both; }
.rotator-dot { display: inline-block; width: .22em; height: .22em; border-radius: 50%; background: var(--coral); margin: 0 0 .1em .04em; transition: background-color .3s; }
.rotator.swap .rotator-dot { animation: pop .5s .25s var(--ease) both; }
.hero-lede { margin: 0; max-width: 520px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.launch-pill {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px; border-radius: 999px; background: var(--surface);
  font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink);
  border: 2px solid var(--surface); transition: border-color .25s;
}
.launch-pill:hover { color: var(--ink); border-color: var(--ink); }
.launch-pill .tag { background: var(--gold); color: var(--ink); font-size: 12px; letter-spacing: 1px; padding: 3px 9px; border-radius: 999px; }

.stage { flex: 1 1 380px; min-width: 0; height: 460px; border-radius: 24px; background: var(--ink); position: relative; overflow: hidden; }
.stage-note { position: absolute; left: 24px; bottom: 20px; margin: 0; font-size: 13px; color: var(--muted-on-dark); }
.float {
  position: absolute; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: transform .35s var(--ease);
}
.float .orb { position: absolute; inset: 0; border-radius: 50%; animation: float 6s ease-in-out infinite; }
.float.f1 { left: 10%; top: 12%; width: clamp(104px, 11vw, 150px); height: clamp(104px, 11vw, 150px); }
.float.f2 { left: 58%; top: 8%; width: clamp(76px, 7.5vw, 104px); height: clamp(76px, 7.5vw, 104px); }
.float.f3 { left: 64%; top: 52%; width: clamp(88px, 9vw, 124px); height: clamp(88px, 9vw, 124px); }
.float.f4 { left: 18%; top: 58%; width: clamp(80px, 8vw, 112px); height: clamp(80px, 8vw, 112px); }
.float.f5 { left: 44%; top: 36%; width: clamp(48px, 4.5vw, 64px); height: clamp(48px, 4.5vw, 64px); }
.float.f2 .orb { animation-duration: 7s; animation-delay: -2s; }
.float.f3 .orb { animation-duration: 5s; animation-delay: -1s; }
.float.f4 .orb { animation-duration: 8s; animation-delay: -3s; }
.float.f5 .orb { animation-duration: 6.5s; animation-delay: -4s; }
.float:hover { transform: scale(1.12); }
.float .label { position: relative; z-index: 1; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--ink); opacity: 0; transition: opacity .25s; text-align: center; padding: 0 8px; }
.float:hover .label, .float:focus-visible .label { opacity: 1; }

/* Marquee */
.marquee-band { background: var(--ink); color: var(--paper); padding: 22px 0; overflow: hidden; }
.marquee { display: flex; width: max-content; animation: marquee 28s linear infinite; font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -0.5px; }
.marquee-band:hover .marquee { animation-play-state: paused; }
.marquee-set { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.marquee-set i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }

/* Sections */
.section { padding-block: 96px; display: flex; flex-direction: column; gap: 40px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head > div:first-child { display: flex; flex-direction: column; gap: 12px; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  font: 600 15px var(--sans); padding: 12px 20px; min-height: 44px; border-radius: 999px;
  border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color .2s, color .2s;
}
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.card {
  background: var(--surface); border: 2px solid var(--surface); border-radius: 24px; padding: 16px;
  display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 24px;
  transition: transform .35s var(--ease), border-color .35s, opacity .35s;
}
.card:hover { transform: translateY(-8px); border-color: var(--ink); }
.card[hidden] { display: none; }
.card.enter { animation: up .5s var(--ease) both; }
.shot {
  aspect-ratio: 16 / 9; border-radius: 16px; background: var(--tint, #EEE); position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 16px;
}
.shot.wide { aspect-ratio: 16 / 10; }
.shot-dot { position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: var(--dot); transition: transform .5s var(--ease); }
.card:hover .shot-dot, .work-card:hover .shot-dot { transform: scale(1.25); }
.shot-label { position: relative; font-size: 13px; font-weight: 600; color: #3A3A40; background: var(--surface); padding: 6px 12px; border-radius: 999px; }
.shot video, .shot > img.poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
/* Video controls */
.vctrl {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  display: flex; align-items: center; gap: 4px; padding: 4px;
  border-radius: 999px; background: rgba(14, 14, 18, .78);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--paper);
}
.vbtn {
  width: 44px; height: 44px; border: 0; border-radius: 50%; padding: 11px;
  background: transparent; color: var(--paper); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .2s;
}
.vbtn:hover { background: rgba(244, 242, 236, .14); }
.vbtn svg { width: 22px; height: 22px; display: block; }
.vvol {
  -webkit-appearance: none; appearance: none; width: 96px; height: 44px; margin: 0 12px 0 4px;
  background: transparent; cursor: pointer; --fill: 60%;
}
.vvol::-webkit-slider-runnable-track { height: 4px; border-radius: 999px; background: linear-gradient(to right, var(--coral) var(--fill), rgba(244, 242, 236, .3) var(--fill)); }
.vvol::-moz-range-track { height: 4px; border-radius: 999px; background: rgba(244, 242, 236, .3); }
.vvol::-moz-range-progress { height: 4px; border-radius: 999px; background: var(--coral); }
.vvol::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); margin-top: -6px; border: 0; }
.vvol::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 0; }
@media (max-width: 420px) { .vvol { width: 64px; } }

.card-body { display: flex; flex-direction: column; gap: 10px; padding: 0 8px 8px; }
.card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.card-head .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--dot); }
.card-head h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.03em; }
.status { margin-left: auto; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }
.card-body p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.card-link { align-self: flex-start; font-weight: 600; font-size: 15px; text-decoration-color: var(--dot); text-decoration-thickness: 3px; text-underline-offset: 5px; padding: 10px 0; }

/* Selected work */
.band-white { background: var(--surface); }
.work-card { background: var(--paper); border: 2px solid var(--paper); border-radius: 24px; padding: 16px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; transition: transform .35s var(--ease), border-color .35s; }
.work-card:hover { transform: translateY(-8px); border-color: var(--ink); }
.work-card .shot { flex: 1 1 480px; min-width: 0; }
.work-card .shot-dot { left: -60px; right: auto; top: auto; bottom: -60px; width: 220px; height: 220px; }
.work-card .shot-label { margin-left: auto; }
.work-text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 8px 16px 16px; }
.work-text h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 32px; letter-spacing: -0.03em; line-height: 1.1; }
.work-text p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* About */
.about { padding-block: 96px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.about .h2 { flex: 1 1 360px; }
.about-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.65; color: var(--muted); }
.about-copy p { margin: 0; }

/* Contact */
.contact { padding: 0 var(--gutter) 96px; }
.contact-box { max-width: 1200px; margin: 0 auto; background: var(--ink); border-radius: 32px; padding: clamp(40px, 7vw, 88px); display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; position: relative; overflow: hidden; }
.contact-box .pulse { position: absolute; right: -80px; bottom: -80px; width: 320px; height: 320px; border-radius: 50%; background: var(--coral); animation: pulse 3s ease-in-out infinite; }
.contact-text { position: relative; display: flex; flex-direction: column; gap: 16px; max-width: 620px; }
.contact-text h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(40px, 5.5vw, 72px); line-height: .98; letter-spacing: -0.045em; color: var(--paper); }
.contact-text p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted-on-dark); }
.contact-box .btn { position: relative; font-size: 17px; padding: 18px 30px; }

/* Footer */
.site-footer { padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-end; font-size: 14px; color: var(--muted); }
.site-footer .foot-brand { display: flex; flex-direction: column; gap: 12px; }
.site-footer .foot-brand img { height: 26px; width: auto; align-self: flex-start; }
.site-footer p { margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px 24px; font-weight: 600; }
.foot-links a[hidden] { display: none; }

/* Reveal on load / scroll */
.up { animation: up .8s var(--ease) both; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .25s; } .d3 { animation-delay: .4s; }
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@keyframes up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes swap { from { opacity: 0; transform: translateY(60%); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }

@media (max-width: 640px) {
  .nav { gap: 16px; }
  .nav .navlink { display: none; }
  .stage { height: 360px; }
  .marquee { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
