/* Reyne.Media — site.css
   Palette sampled from the master logo: magenta #D40E56, amber #F5AC3A. */
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --ink: #0b0a0c;
  --ink-2: #141216;
  --ink-3: #1d1a20;
  --paper: #f4efe9;
  --mute: #a9a1a6;
  --line: rgba(244, 239, 233, .12);
  --magenta: #d40e56;
  --rose: #e8406b;
  --amber: #f5ac3a;
  --grad: linear-gradient(100deg, var(--magenta) 0%, #ea4a4f 48%, var(--amber) 100%);
  /* Montserrat is the closest open match to the geometric REYNE wordmark */
  --sans: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--ink); }
body {
  margin: 0; color: var(--paper); background: var(--ink);
  font: 400 16.5px/1.65 var(--sans); letter-spacing: 0;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* film grain over everything, non-interactive */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .07;
  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, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
/* gradient highlight, same magenta-to-amber sweep as the R mark */
.hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.02; letter-spacing: -.03em; }
p { margin: 0; }
::selection { background: var(--magenta); color: #fff; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--mute);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--grad); }

/* ---------- top bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--pad); padding-top: max(14px, env(safe-area-inset-top));
  transition: background .4s var(--ease), border-color .4s var(--ease), padding .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.bar.is-scrolled { background: rgba(11, 10, 12, .72); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border-color: var(--line); padding-block: 10px; }
.bar__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.bar__r { width: 24px; height: auto; }
.bar__word { width: 92px; height: auto; }
.bar__nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.bar__nav a { text-decoration: none; color: var(--mute); transition: color .2s; }
.bar__nav a:hover { color: var(--paper); }
.bar__nav .pill { color: var(--paper); padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.bar__nav .pill:hover { border-color: transparent; background: var(--grad); color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  padding: 120px var(--pad) 110px; overflow: clip; isolation: isolate;
}
.hero__glow { position: absolute; inset: 0; z-index: -1; filter: blur(70px) saturate(1.15); }
.hero__glow i { position: absolute; border-radius: 50%; opacity: .55; mix-blend-mode: screen; will-change: transform; }
.hero__glow i:nth-child(1) { width: 52vmax; height: 52vmax; left: -14vmax; top: -18vmax; background: radial-gradient(circle, var(--magenta), transparent 62%); animation: drift1 22s ease-in-out infinite alternate; }
.hero__glow i:nth-child(2) { width: 44vmax; height: 44vmax; right: -16vmax; bottom: -20vmax; background: radial-gradient(circle, var(--amber), transparent 60%); opacity: .38; animation: drift2 26s ease-in-out infinite alternate; }
.hero__glow i:nth-child(3) { width: 30vmax; height: 30vmax; left: 40%; top: 30%; background: radial-gradient(circle, #7a1240, transparent 65%); opacity: .5; animation: drift3 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate3d(12vmax, 10vmax, 0) scale(1.1); } }
@keyframes drift2 { to { transform: translate3d(-14vmax, -8vmax, 0) scale(1.15); } }
@keyframes drift3 { to { transform: translate3d(-18vmax, 6vmax, 0) scale(.85); } }
.hero::before { /* vignette so the type always reads */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 90% at 50% 45%, transparent 30%, rgba(11, 10, 12, .85) 100%);
}

.hero__inner { position: relative; width: min(100%, var(--max)); min-width: 0; text-align: center; display: grid; justify-items: center; }
.hero__mark { width: clamp(120px, 15vw, 210px); margin-bottom: clamp(18px, 3vw, 34px); filter: drop-shadow(0 20px 60px rgba(212, 14, 86, .45)); animation: rise 1.2s var(--ease) both, float 9s ease-in-out 1.2s infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.hero .eyebrow { margin-bottom: 18px; animation: rise 1s var(--ease) .15s both; }
.hero__title { font-size: clamp(42px, 7.6vw, 120px); line-height: .98; letter-spacing: -.045em; font-weight: 800; }
.hero__title .line { display: block; white-space: nowrap; animation: rise 1.1s var(--ease) both; }
.hero__title .line:nth-child(1) { animation-delay: .25s; }
.hero__title .line:nth-child(2) { animation-delay: .38s; }

.hero__lede { max-width: 36em; margin-top: clamp(20px, 3vw, 30px); color: #d6ced2; font-size: clamp(17px, 1.6vw, 20px); animation: rise 1s var(--ease) .5s both; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; animation: rise 1s var(--ease) .62s both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 2px solid rgba(244, 239, 233, .22); text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  transition: transform .25s var(--ease), background .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(244, 239, 233, .5); }
.btn--solid { border: 0; color: #fff; background: var(--grad); box-shadow: 0 10px 40px -10px rgba(212, 14, 86, .7); }

.hero__scroll { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid rgba(244, 239, 233, .35); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--paper); animation: wheel 2s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- ticker ---------- */
.ticker { border-block: 1px solid var(--line); overflow: clip; padding: 18px 0; background: var(--ink-2); }
.ticker__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker span { font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(22px, 3vw, 38px); line-height: 1; padding: 0 .9em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(244, 239, 233, .55); }
.ticker span:nth-child(3n+1) { color: var(--paper); -webkit-text-stroke: 0; }
.ticker span::after { content: ""; display: inline-block; width: .32em; height: .32em; border-radius: 50%; vertical-align: middle; margin-left: 1.8em; background: var(--grad); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { position: relative; }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 64px); }
.section-head h2, .live h2, .contact h2 { font-size: clamp(34px, 5.2vw, 76px); letter-spacing: -.04em; }

.work, .services { padding: clamp(80px, 11vw, 150px) var(--pad); max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; }

/* ---------- work grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); grid-auto-flow: dense; align-items: stretch; }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; }
.card figure {
  position: relative; margin: 0; overflow: clip; border-radius: var(--radius); aspect-ratio: 4 / 5;
  background: radial-gradient(120% 80% at 30% 0%, #2a1a24 0%, var(--ink-3) 55%, var(--ink-2) 100%);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.card figure::after { /* pointer spotlight, positioned by site.js */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(245, 172, 58, .16), transparent 60%);
}
.card:hover figure { transform: translateY(-6px); box-shadow: 0 30px 70px -30px rgba(212, 14, 86, .55); border-color: rgba(244, 239, 233, .24); }
.card:hover figure::after { opacity: 1; }
.card picture, .card video { position: absolute; inset: 0; width: 100%; height: 100%; }
/* print pieces sit matted, whole and uncropped */
.card picture img { width: 100%; height: 100%; object-fit: contain; padding: clamp(18px, 2.6vw, 34px); filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .55)); transition: transform .7s var(--ease); }
.card:hover picture img { transform: scale(1.035); }
/* wide pieces are photographs or screen art: full bleed */
.card--wide { grid-column: span 2; }
.card--wide figure { aspect-ratio: 2 / 1; flex: 1 1 auto; }
.card--wide picture img { object-fit: cover; padding: 0; filter: none; }
.card--tall { grid-row: span 2; align-self: stretch; }
.card--tall figure { aspect-ratio: auto; flex: 1; min-height: 420px; }
.card video { object-fit: cover; }
.card__meta { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; padding: 0 4px; }
.card__meta h3 { font-size: clamp(16px, 1.3vw, 18px); font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.card__meta p { color: var(--mute); font-size: 14px; }
.card__meta p:not(.tags) { grid-column: 2; grid-row: 1; text-align: right; white-space: nowrap; align-self: center; }
.card__meta .tags { grid-column: 1 / -1; margin-top: 4px; color: #c9a7b5; font-size: 13px; letter-spacing: .02em; }

/* ---------- services ---------- */
.services { border-top: 1px solid var(--line); }
.svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.svc li {
  position: relative; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0)); overflow: clip;
  transition: border-color .4s, transform .4s var(--ease);
}
.svc li::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.svc li:hover { border-color: rgba(244, 239, 233, .24); transform: translateY(-4px); }
.svc li:hover::before { transform: scaleX(1); }
.svc__n { display: block; font-weight: 800; font-size: 40px; letter-spacing: -.04em; line-height: 1; margin-bottom: 40px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: max-content; }
.svc h3 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 12px; }
.svc p { color: var(--mute); font-size: 15.5px; }

/* ---------- live ---------- */
.live {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center;
  padding: clamp(80px, 11vw, 150px) var(--pad); max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto;
  border-top: 1px solid var(--line);
}
.live__frame { position: relative; border-radius: var(--radius); overflow: clip; border: 1px solid var(--line); box-shadow: 0 40px 120px -40px rgba(212, 14, 86, .5); }
.live__frame img { width: 100%; }
.live__frame::after { /* faint scanlines so it reads as a feed */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .14) 0 1px, transparent 1px 3px); mix-blend-mode: multiply;
}
.live__badge {
  position: absolute; z-index: 2; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 8px; background: rgba(11, 10, 12, .72); backdrop-filter: blur(6px);
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.live__copy { display: grid; gap: 20px; }
.live__copy > p { color: #d6ced2; font-size: 17.5px; max-width: 34em; }
.facts { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.facts li { display: flex; gap: 10px; align-items: baseline; color: var(--mute); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.facts b { color: var(--paper); font-weight: 500; }

/* ---------- contact ---------- */
.contact {
  text-align: center; padding: clamp(100px, 14vw, 200px) var(--pad); display: grid; justify-items: center; gap: 24px;
  overflow: clip; isolation: isolate; border-top: 1px solid var(--line);
}
.contact__glow { position: absolute; z-index: -1; width: 70vmax; height: 40vmax; left: 50%; top: 55%; translate: -50% -50%; background: radial-gradient(closest-side, rgba(212, 14, 86, .45), rgba(245, 172, 58, .12) 55%, transparent); filter: blur(30px); }
.contact h2 { max-width: 14em; }

.contact__mail {
  font-size: clamp(22px, 3.8vw, 52px); font-weight: 800; letter-spacing: -.03em; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left 100% / 0 2px no-repeat; transition: background-size .5s var(--ease);
  overflow-wrap: anywhere;
}
.contact__mail:hover { background-size: 100% 2px; }
.contact__note { color: var(--mute); max-width: 30em; }

/* ---------- footer ---------- */
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 28px var(--pad) max(28px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--mute); font-size: 14px; }
.foot img { width: 120px; opacity: .9; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--paper); }

/* ---------- scroll-driven reveals (never hide content without support) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear none; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    @keyframes reveal { from { opacity: 0; transform: translateY(60px) scale(.97); } to { opacity: 1; transform: none; } }
    .hero__inner { animation: hero-out linear both; animation-timeline: scroll(root); animation-range: 0 100svh; }
    @keyframes hero-out { to { transform: translateY(-14vh) scale(.94); opacity: .1; } }
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid > .card:last-child { grid-column: 1 / -1; }
  .grid > .card:last-child figure { aspect-ratio: 2 / 1; }
  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .live { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .bar__nav a:not(.pill) { display: none; }
  .bar__nav .pill { padding: 8px 14px; font-size: 14px; }
  .grid { grid-template-columns: 1fr; }
  .grid > .card:last-child figure { aspect-ratio: 4 / 5; }
  .card--wide, .card--tall { grid-column: auto; grid-row: auto; }
  .card--wide figure { aspect-ratio: 4 / 3; flex: none; min-height: 0; }
  .card--tall figure { aspect-ratio: 9 / 14; min-height: 0; flex: none; }
  .svc { grid-template-columns: 1fr; }
  .svc__n { margin-bottom: 22px; }
  .hero__title { font-size: clamp(36px, 11.4vw, 64px); }
  .hero__title .line { white-space: normal; }
  .hero__title .hl { white-space: nowrap; }
  .hero__inner { min-width: 0; }
  .hero__cta .btn { flex: 1 1 100%; }
  .foot { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker__track { animation: none; }
}

/* ---------- video cards and click-to-play YouTube ---------- */
.card__link { display: contents; text-decoration: none; }
.card--photo picture img { object-fit: cover; padding: 0; filter: none; }
.play {
  position: absolute; z-index: 2; left: 50%; top: 50%; width: 76px; height: 76px; translate: -50% -50%;
  border-radius: 50%; background: var(--grad); box-shadow: 0 14px 50px -8px rgba(212, 14, 86, .8);
  transition: transform .35s var(--ease);
}
.play::after { content: ""; position: absolute; left: 31px; top: 25px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #fff; }
.card:hover .play, .yt:hover .play { transform: scale(1.1); }
.yt { position: relative; display: block; aspect-ratio: 16 / 9; }
.yt picture, .yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.live__frame:has(iframe)::after { display: none; }
.live__copy .btn { justify-self: start; margin-top: 6px; }
