/* FRIGGA: black-water cinema, not a token dashboard. No external fonts. */
:root {
  color-scheme: dark;
  --ink: #090c0b;
  --ivory: #eeeade;
  --muted: #abaea4;
  --swamp: #8cad46;
  --red: #6f1d25;
  --line: rgb(238 234 222 / 22%);
  --display: Impact, Haettenschweiler, 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --mono: 'Courier New', Courier, monospace;
  --gutter: clamp(20px, 4.4vw, 88px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--ink); color: var(--ivory); font: 14px/1.5 Arial, Helvetica, sans-serif; }
body.intro-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; border: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; }
img, video { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--swamp); outline-offset: 6px; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--swamp); color: var(--ink); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 50; background: var(--swamp); color: var(--ink); padding: 14px 22px; }
.skip-link:focus { top: 12px; }
.site-header { position: fixed; z-index: 3; top: 0; width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 23px var(--gutter); border-bottom: 1px solid var(--line); gap: 20px; background: rgb(9 12 11 / 68%); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { border-radius: 50%; object-fit: cover; border: 1px solid var(--ivory); }
.wordmark { font: 900 43px/.8 var(--display); letter-spacing: -2px; transform: skew(-7deg); }
.wordmark-dot { color: var(--swamp); }
.site-header nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 48px); font: 11px/1.2 var(--mono); }
.site-header nav a, .sound-control { white-space: nowrap; }
.nav-film { border-bottom: 1px solid transparent; padding-bottom: 4px; }
.nav-film:hover { border-color: var(--swamp); }
.sound-control { padding: 10px 0; background: none; }
.sound-control span { color: var(--swamp); margin-left: 5px; }
.x-action { padding: 13px 19px; background: var(--ivory); color: var(--ink); border: 1px solid var(--ivory); }
.x-action:hover { background: var(--swamp); border-color: var(--swamp); }
.hero { min-height: 800px; min-height: min(900px, 100svh); position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; padding: 158px var(--gutter) 95px; }
.hero-art, .hero-shade { position: absolute; inset: 0; z-index: -2; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 61% center; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, rgb(5 10 9 / 84%) 0%, rgb(5 10 9 / 34%) 38%, transparent 63%), linear-gradient(0deg, rgb(5 10 9 / 86%), transparent 35%, rgb(5 10 9 / 28%) 92%); }
.hero-topline { position: absolute; top: 120px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; font: 10px/1.4 var(--mono); color: #ced1c9; letter-spacing: .08em; }
.hero-copy { width: min(48%, 660px); position: relative; z-index: 1; }
.eyebrow { font: 10px/1.5 var(--mono); letter-spacing: .13em; }
.hero-copy .eyebrow { margin-bottom: 22px; display: flex; align-items: center; gap: 9px; }
.live-dot { width: 7px; height: 7px; background: var(--swamp); border-radius: 50%; display: inline-block; }
h1 { font: 900 clamp(80px, 9.1vw, 150px)/.84 var(--display); letter-spacing: -.045em; text-shadow: 0 2px 10px rgb(0 0 0 / 15%); }
h1 > span:not(.period) { color: var(--swamp); }
h1 .period { color: var(--red); }
.hero-subtitle { margin-top: 26px; color: #d5d8cf; font: 12px/1.7 var(--mono); }
.outline-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; padding: 13px 0 10px; margin-top: 21px; font: 11px/1.4 var(--mono); border-bottom: 1px solid var(--ivory); }
.outline-action:hover { color: var(--swamp); border-color: var(--swamp); }
.outline-action span { font: 22px/1 Arial, sans-serif; }
.hero-caption { position: absolute; bottom: 108px; right: var(--gutter); display: flex; gap: 15px; align-items: center; font: 10px/1.5 var(--mono); }
.frame-number { font-size: 28px; line-height: 1; border-right: 1px solid var(--line); padding-right: 15px; }
.hero-scroll { position: absolute; bottom: 25px; right: var(--gutter); font: 10px/1 var(--mono); display: flex; gap: 18px; align-items: center; }
.hero-scroll span { font-size: 22px; }
.contract-strip { background: var(--swamp); color: var(--ink); display: flex; gap: 32px; align-items: center; justify-content: space-between; padding: 23px var(--gutter); }
.ca-label { display: flex; align-items: center; gap: 18px; font: 9px/1.3 var(--mono); }
.bracket { font: 40px/1 var(--display); }
.contract-strip h2 { font: 900 clamp(28px, 3.3vw, 52px)/1 var(--display); letter-spacing: -.025em; word-break: break-word; }
.contract-strip h2.is-address { font: 13px/1.5 var(--mono); }
.ca-copy { background: transparent; border: 1px solid rgb(9 12 11 / 50%); padding: 12px 18px; display: flex; gap: 28px; font: 10px/1.4 var(--mono); white-space: nowrap; }
.ca-copy:hover { background: var(--ink); color: var(--swamp); }
.ca-copy:focus-visible { outline-color: var(--ink); }
.films-section { padding: 115px var(--gutter) 80px; background: radial-gradient(ellipse at 100% 40%, rgb(64 80 49 / 15%), transparent 65%); }
.section-heading { display: grid; grid-template-columns: 1fr auto; margin-bottom: 68px; gap: 20px; align-items: end; }
.section-heading .eyebrow { grid-column: 1 / -1; color: var(--swamp); margin-bottom: 10px; }
.section-heading h2 { font: 900 clamp(65px, 7.5vw, 122px)/.9 var(--display); letter-spacing: -.035em; }
.outline-type { color: #979b90; }
@supports (-webkit-text-stroke: 1px white) { .outline-type { color: transparent; -webkit-text-stroke: 1px var(--ivory); } }
.section-aside { text-align: right; color: var(--muted); font: 11px/1.7 var(--mono); padding-bottom: 7px; }
.film { width: 78%; }
.film-first { margin-bottom: 80px; }
.film-second { margin-left: auto; width: 72%; }
.film-third { margin-top: 80px; }
.film-header { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 17px; }
.film-header h3 { font: 900 clamp(28px, 3.3vw, 46px)/1 var(--display); letter-spacing: -.015em; }
.film-header > p { color: var(--muted); font: 10px/1.4 var(--mono); }
.film-header > p span { margin: 0 9px; }
.film-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); background: #111711; }
.film-video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.film-pending { height: 100%; padding: clamp(20px, 3vw, 50px); display: flex; flex-direction: column; justify-content: space-between; position: relative; isolation: isolate; background: linear-gradient(135deg, #293822, #131c15 75%); }
.film-pending::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgb(238 234 222 / 12%); z-index: -1; }
.film-pending::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .05; background: repeating-linear-gradient(0deg, transparent 0 3px, var(--ivory) 3px 4px); pointer-events: none; }
.slate-top, .slate-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; font: 9px/1.5 var(--mono); }
.pending-tag { border: 1px solid rgb(238 234 222 / 40%); border-radius: 30px; padding: 4px 10px; white-space: nowrap; }
.slate-title { font: 900 clamp(45px, 7.7vw, 124px)/.79 var(--display); letter-spacing: -.045em; margin: 20px 0; }
.slate-title span { color: var(--swamp); }
.slate-bottom > p { font-size: 12px; }
.slate-bottom > span { text-align: right; color: #b9c0b1; }
.film-second .film-pending { background: linear-gradient(130deg, #671e29, #230e15 80%); }
.film-second .slate-title { margin-left: 23%; }
.film-second .slate-title span { color: #c9958c; }
.film-footer { display: flex; gap: 12px; justify-content: space-between; margin-top: 13px; font: 9px/1.6 var(--mono); }
.film-footer > span { color: var(--muted); text-align: right; }
.film-error { position: absolute; bottom: 0; left: 0; right: 0; background: #39141c; padding: 14px 20px; font: 11px/1.5 var(--mono); }
.culture-section { padding: 90px var(--gutter) 130px; display: flex; align-items: center; justify-content: center; gap: clamp(40px, 9vw, 150px); border-bottom: 1px solid var(--line); }
.identity-stamp { flex: 0 0 220px; padding: 13px 13px 7px; background: var(--ivory); color: var(--ink); transform: rotate(-7deg); box-shadow: 13px 15px 0 #2a3423; }
.identity-stamp img { width: 194px; height: 192px; object-fit: contain; background: #fff; }
.identity-stamp span { display: block; text-align: center; font: 10px/2.7 var(--mono); }
.culture-copy .eyebrow { color: var(--swamp); margin-bottom: 25px; }
.culture-copy h2 { font: 900 clamp(38px, 4.3vw, 70px)/.96 var(--display); letter-spacing: -.025em; }
.culture-copy h2 span { color: var(--swamp); }
.culture-copy > p:not(.eyebrow) { margin-top: 23px; color: var(--muted); font: 11px/1.8 var(--mono); }
.site-footer { padding: 55px var(--gutter) 24px; }
.footer-wordmark { display: inline-block; font: 900 clamp(85px, 15vw, 235px)/.8 var(--display); letter-spacing: -.06em; transform: skew(-7deg); color: var(--swamp); }
.footer-details { margin: 36px 0 40px; display: flex; justify-content: space-between; align-items: end; gap: 30px; font: 10px/1.7 var(--mono); color: var(--muted); }
.footer-details a { color: var(--ivory); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 19px; display: flex; justify-content: space-between; font: 9px/1.5 var(--mono); color: var(--muted); gap: 20px; }
.replay-button { background: transparent; font: inherit; padding: 0; }
.replay-button:hover { color: var(--swamp); }
/* Entrance: the approved whole image moves; this is not generated film footage. */
.entrance { position: fixed; inset: 0; width: 100%; height: 100%; height: 100svh; max-width: none; max-height: none; padding: 0; border: 0; overflow: hidden; background: var(--ink); color: var(--ivory); }
.entrance::backdrop { background: var(--ink); }
.entrance-art, .entrance-shade, .entrance-video { position: absolute; inset: 0; width: 100%; height: 100%; }
.entrance-art { background: url('/assets/images/swamp-banner.jpg') 58% center / cover no-repeat; transform: scale(1.04); }
.entrance-video { object-fit: cover; }
.entrance-shade { background: linear-gradient(0deg, rgb(4 9 7 / 88%), rgb(4 9 7 / 20%) 75%), linear-gradient(90deg, rgb(4 9 7 / 50%), transparent); }
.entrance-controls { position: absolute; z-index: 2; top: 30px; left: var(--gutter); right: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; font: 10px/1.5 var(--mono); }
.entrance-controls > div { display: flex; gap: 25px; }
.entrance-controls button { background: transparent; font: inherit; padding: 12px 0; border-bottom: 1px solid var(--line); }
.entrance-controls button span { margin-left: 9px; }
.entrance-copy { position: absolute; z-index: 1; left: var(--gutter); bottom: 20%; }
.entrance-copy .eyebrow { margin-bottom: 28px; }
.entrance-copy h2 { font: 900 clamp(125px, 23vw, 360px)/.72 var(--display); letter-spacing: -.06em; transform: skew(-5deg); }
.entrance-copy h2 span { color: var(--swamp); }
.entrance-copy > p:not(.eyebrow) { margin-top: 32px; font: 11px/1.5 var(--mono); }
.enter-button { margin-top: 28px; padding: 17px 25px; display: flex; gap: 58px; align-items: center; color: var(--ink); background: var(--swamp); font: bold 12px/1.5 var(--mono); }
.enter-button span { font: 23px/1 Arial, sans-serif; }
.enter-button:hover { background: var(--ivory); }
.enter-button:focus-visible { outline-color: var(--ivory); }
.entrance-note { position: absolute; left: var(--gutter); bottom: 32px; font: 9px/1.5 var(--mono); color: #c9cdc3; }
.entrance-progress { position: absolute; bottom: 0; height: 4px; width: 0; background: var(--swamp); }
.entrance.is-running .entrance-art { animation: swamp-rush 1200ms cubic-bezier(.23,.8,.15,1) both; }
.entrance.is-running .entrance-copy { animation: title-exit 1100ms ease both; }
.entrance.is-running .entrance-progress { animation: film-leader 1200ms linear both; }
@keyframes swamp-rush { 0% { transform: scale(1.04) translateX(0); } 25% { transform: scale(1.24) translateX(-4%); } 55% { transform: scale(1.12) translateX(2%); } 100% { transform: scale(1.5) translateX(-3%); } }
@keyframes title-exit { 0%, 35% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(60px); } }
@keyframes film-leader { from { width: 0; } to { width: 100%; } }
.toast { position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 40px); padding: 15px 22px; color: var(--ivory); background: #20331e; border: 1px solid var(--swamp); font: 11px/1.7 var(--mono); z-index: 40; box-shadow: 0 10px 50px #000; }
body.intro-open .toast { z-index: 100; }
.noscript-note { padding: 20px var(--gutter); color: var(--muted); }
.noscript-note a { text-decoration: underline; }
@media (min-width: 1700px) { .hero { min-height: 900px; } }
@media (max-width: 1000px) {
  .hero { min-height: 760px; }
  .hero-art img { object-position: 60% center; }
  .hero-copy { width: 55%; }
  h1 { font-size: clamp(80px, 12vw, 120px); }
  .film, .film-second { width: 89%; }
  .slate-title { font-size: 10vw; }
  .culture-section { gap: 55px; }
  .identity-stamp { flex-basis: 180px; }
  .identity-stamp img { width: 154px; height: 152px; }
}
@media (max-width: 680px) {
  :root { --gutter: 22px; }
  html { scroll-padding-top: 92px; }
  .site-header { padding-top: 19px; padding-bottom: 19px; gap: 12px; }
  .brand-mark { width: 32px; height: 32px; }
  .wordmark { font-size: 33px; }
  .site-header nav { gap: 15px; font-size: 9px; }
  .nav-film { display: none; }
  .x-action { padding: 11px 13px; }
  .hero { min-height: 800px; min-height: max(760px, 100svh); padding-top: 330px; padding-bottom: 95px; align-items: flex-end; }
  .hero-art img { object-position: 59% center; }
  .hero-shade { background: linear-gradient(0deg, #090c0b 0%, rgb(9 12 11 / 75%) 22%, rgb(9 12 11 / 8%) 66%, rgb(9 12 11 / 30%)); }
  .hero-topline { top: 95px; font-size: 8px; }
  .hero-topline span:last-child { display: none; }
  .hero-copy { width: 100%; }
  .hero-copy .eyebrow { margin-bottom: 20px; }
  h1 { font-size: clamp(76px, 20vw, 115px); line-height: .84; }
  .hero-subtitle { font-size: 10px; margin-top: 20px; }
  .hero-caption { right: 22px; bottom: 114px; font-size: 8px; max-width: 135px; }
  .frame-number { display: none; }
  .hero-scroll { bottom: 23px; }
  .contract-strip { flex-wrap: wrap; gap: 15px; padding-top: 22px; padding-bottom: 22px; }
  .ca-label { font-size: 8px; gap: 8px; }
  .bracket { font-size: 29px; }
  .contract-strip h2 { font-size: 32px; }
  .contract-strip h2.is-address { width: 100%; order: 3; }
  .ca-copy { padding: 10px 13px; gap: 15px; font-size: 9px; }
  .films-section { padding-top: 75px; padding-bottom: 35px; }
  .section-heading { display: block; margin-bottom: 45px; }
  .section-heading .eyebrow { margin-bottom: 23px; }
  .section-heading h2 { font-size: clamp(58px, 14vw, 83px); }
  .section-aside { text-align: left; margin-top: 25px; font-size: 10px; }
  .film, .film-second { width: 100%; }
  .film-first { margin-bottom: 48px; }
  .film-third { margin-top: 48px; }
  .film-header h3 { font-size: 30px; }
  .film-header > p { font-size: 8px; }
  .film-header > p span { margin: 0 3px; }
  .film-pending { padding: 19px; }
  .film-pending::before { inset: 6px; }
  .slate-top { font-size: 7px; gap: 5px; }
  .pending-tag { padding: 2px 7px; }
  .slate-title { font-size: clamp(43px, 13vw, 78px); margin: 12px 0; }
  .slate-bottom { font-size: 7px; gap: 10px; }
  .slate-bottom > p { font-size: 9px; }
  .film-footer { font-size: 8px; }
  .film-footer > span { max-width: 145px; }
  .culture-section { padding-top: 70px; padding-bottom: 75px; display: block; }
  .identity-stamp { width: 150px; margin: 0 0 45px 10px; padding: 9px 9px 4px; box-shadow: 8px 9px 0 #2a3423; }
  .identity-stamp img { width: 132px; height: 130px; }
  .identity-stamp span { font-size: 8px; }
  .culture-copy h2 { font-size: clamp(35px, 8.6vw, 55px); }
  .culture-copy > p:not(.eyebrow) { font-size: 10px; }
  .culture-copy .outline-action { font-size: 10px; gap: 20px; }
  .site-footer { padding-top: 38px; }
  .footer-wordmark { font-size: 25vw; }
  .footer-details { display: block; margin-top: 27px; margin-bottom: 27px; font-size: 9px; }
  .footer-details a { display: inline-block; margin-top: 19px; }
  .footer-bottom { font-size: 8px; }
  .entrance-controls { top: 17px; font-size: 9px; }
  .entrance-controls > span { display: none; }
  .entrance-controls > div { width: 100%; justify-content: space-between; }
  .entrance-art { background-position: 58% center; }
  .entrance-copy { bottom: 22%; right: var(--gutter); }
  .entrance-copy h2 { font-size: 31vw; }
  .entrance-copy .eyebrow { font-size: 8px; }
  .entrance-copy > p:not(.eyebrow) { font-size: 10px; margin-top: 26px; }
  .enter-button { font-size: 11px; padding: 15px 20px; gap: 35px; }
  .entrance-note { font-size: 8px; max-width: 230px; }
}
@media (max-height: 500px) and (min-width: 681px) {
  .entrance-copy { bottom: 17%; }
  .entrance-copy h2 { font-size: 160px; }
  .entrance-copy .eyebrow { margin-bottom: 15px; }
  .entrance-copy > p:not(.eyebrow) { margin-top: 17px; }
  .enter-button { margin-top: 15px; padding: 10px 20px; }
  .entrance-note { bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .entrance-art { transform: none; }
}
