/* Fishi Films — shared styles. Night sea: black ground, cream type, one red REC dot, faint blue glow. */
:root {
  --black: #0A0A0A; --ink: #141414; --ink2: #1C1C1C; --cream: #FFFCEF; --dim: #A19E95; --line: rgba(255,252,239,.14); --red: #F31826; --glow: #47B7E6;
  --display: "Krona One", "Arial Black", Arial, sans-serif;
  --body: "Lexend", "Segoe UI", Arial, sans-serif;
  --gl: max(22px, env(safe-area-inset-left, 0px)); --gr: max(22px, env(safe-area-inset-right, 0px));
  --nav-h: 76px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--cream); font-family: var(--body); font-weight: 300; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1.04; text-wrap: balance; }
.lbl { font-weight: 500; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--dim); }
.pad { padding-left: var(--gl); padding-right: var(--gr); }
.dot { display: inline-block; width: .5em; height: .5em; border-radius: 50%; background: var(--red); flex: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
#sea { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.page { position: relative; z-index: 1; }

/* ---------- NAV ---------- */
.nav { position: fixed; z-index: 30; top: 0; left: 0; right: 0; padding-top: env(safe-area-inset-top, 0px); transition: background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(10,10,10,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line); }
.nav .in { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav .brand img { height: 40px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(20px, 3vw, 44px); align-items: center; }
.nav ul a { font-weight: 500; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--cream); opacity: .75; transition: opacity .2s; }
.nav ul a:hover, .nav ul a[aria-current="page"] { opacity: 1; }
.nav ul a[aria-current="page"]::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin-right: 10px; vertical-align: 2px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border: 1px solid var(--cream); font-weight: 500; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; transition: background .25s, color .25s; }
.btn:hover { background: var(--cream); color: var(--black); }
.btn.solid { background: var(--cream); color: var(--black); }
.btn.solid:hover { background: transparent; color: var(--cream); }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.menu-btn span { width: 22px; height: 1.5px; background: var(--cream); position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--cream); }
.menu-btn span::before { top: -7px; } .menu-btn span::after { top: 7px; }
.drawer { position: fixed; inset: 0; z-index: 40; background: var(--black); display: none; flex-direction: column; padding: calc(24px + env(safe-area-inset-top, 0px)) var(--gr) calc(30px + env(safe-area-inset-bottom, 0px)) var(--gl); }
.drawer.open { display: flex; }
.drawer .top { display: flex; justify-content: space-between; align-items: center; }
.drawer .top img { height: 40px; }
.drawer nav { margin-top: auto; display: grid; gap: 18px; }
.drawer nav a { font-family: var(--display); font-size: clamp(2rem, 10vw, 3rem); text-transform: uppercase; }
.drawer .foot { margin-top: 40px; display: grid; gap: 8px; color: var(--dim); }

/* ---------- PAGE HEAD ---------- */
.phead { padding-top: calc(var(--nav-h) + clamp(60px, 9vw, 120px)); padding-bottom: clamp(30px, 4vw, 50px); display: grid; gap: 22px; }
.phead h1 { font-size: clamp(2.6rem, 9vw, 8rem); line-height: .95; }
.phead p { max-width: 52ch; color: var(--dim); font-size: 1.1rem; }

/* filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 10px 30px; position: sticky; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); z-index: 5; background: linear-gradient(var(--black) 70%, rgba(10,10,10,0)); }
.chip { padding: 11px 18px; border: 1px solid var(--line); font-weight: 500; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); transition: border-color .2s, color .2s, background .2s; display: inline-flex; gap: 10px; align-items: center; }
.chip:hover { color: var(--cream); border-color: var(--cream); }
.chip[aria-pressed="true"] { background: var(--cream); color: var(--black); border-color: var(--cream); }
.chip small { font-size: 10px; opacity: .6; letter-spacing: .1em; }

/* ---------- FILM CARDS ---------- */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 14px; padding-bottom: 120px; }
.fcard { display: grid; gap: 14px; align-content: start; min-width: 0; }
.fcard .media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--ink); }
.fcard.v .media { aspect-ratio: 9/16; }
.fcard .media img, .fcard .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.1,1), opacity .4s; }
.fcard .media video { opacity: 0; }
.fcard:hover .media video.on { opacity: 1; }
.fcard:hover .media img { transform: scale(1.03); }
.fcard .play { position: absolute; left: 16px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; color: var(--cream); }
.fcard .play .dot { width: 8px; height: 8px; }
.fcard .meta { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.fcard h3 { font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1.2; }
.fcard .client { color: var(--dim); font-size: .92rem; }
.fgrid.reels { grid-template-columns: repeat(4, 1fr); }
.empty { padding: 60px 0 140px; color: var(--dim); display: grid; gap: 12px; max-width: 52ch; }

/* ---------- PHOTO SETS ---------- */
.pset { padding-bottom: 90px; }
.pset .shead { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 24px 0 18px; border-top: 1px solid var(--line); }
.pset h2 { font-size: clamp(1.3rem, 2.4vw, 2.2rem); }
.masonry { columns: 3; column-gap: 10px; }
.masonry button { display: block; width: 100%; margin-bottom: 10px; break-inside: avoid; overflow: hidden; background: var(--ink); }
.masonry img { width: 100%; height: auto; transition: transform 1.1s cubic-bezier(.2,.7,.1,1), opacity .5s; }
.masonry button:hover img { transform: scale(1.03); }
.more { margin-top: 8px; }
.soon { border: 1px dashed var(--line); padding: 40px; display: grid; gap: 10px; color: var(--dim); }

/* ---------- LIGHTBOX ---------- */
.lb { position: fixed; inset: 0; z-index: 60; background: rgba(6,6,6,.97); display: none; grid-template-rows: auto 1fr auto; padding: calc(16px + env(safe-area-inset-top, 0px)) var(--gr) calc(16px + env(safe-area-inset-bottom, 0px)) var(--gl); }
.lb.open { display: grid; }
.lb .bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 48px; }
.lb .stage { position: relative; display: grid; place-items: center; min-height: 0; }
.lb .stage img, .lb .stage video { max-width: 100%; max-height: calc(100svh - 150px); object-fit: contain; }
.lb .arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border: 1px solid var(--line); display: grid; place-items: center; background: rgba(10,10,10,.5); font-size: 20px; }
.lb .arrow:hover { border-color: var(--cream); }
.lb .prev { left: 0; } .lb .next { right: 0; }
.lb .close { width: 48px; height: 48px; border: 1px solid var(--line); font-size: 22px; line-height: 1; }
.lb .close:hover { border-color: var(--cream); }

/* ---------- FILM PAGE ---------- */
.player { padding-top: calc(var(--nav-h) + 30px); }
.player .frame { position: relative; background: #000; aspect-ratio: 16/9; max-height: 82svh; width: 100%; margin: 0 auto; }
.player.v .frame { aspect-ratio: 9/16; max-width: min(460px, 100%); max-height: 82svh; }
.player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.finfo { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(30px, 6vw, 90px); padding-block: 50px 80px; border-bottom: 1px solid var(--line); }
.finfo h1 { font-size: clamp(2rem, 6vw, 5rem); }
.finfo .sum { margin-top: 24px; font-size: 1.15rem; color: var(--dim); max-width: 56ch; }
.finfo dl { margin: 0; display: grid; gap: 18px; align-content: start; }
.finfo dl div { display: grid; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.finfo dd { margin: 0; }
.nextf { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-block: 60px 120px; }

/* ---------- HOME ---------- */
.hero { position: relative; height: max(640px, min(100svh, 1000px)); overflow: hidden; }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(10,10,10,.45), rgba(10,10,10,.8) 75%), linear-gradient(180deg, rgba(10,10,10,.5), rgba(10,10,10,0) 30%, rgba(10,10,10,.2) 70%, rgba(10,10,10,.95)); }
.hero .center { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; align-content: center; gap: 30px; text-align: center; padding: 0 22px; }
.hero .center img { width: min(560px, 78vw); animation: rise 1.6s cubic-bezier(.2,.7,.1,1) both .2s; }
.hero .center p { max-width: 42ch; color: var(--cream); opacity: .85; animation: rise 1.6s cubic-bezier(.2,.7,.1,1) both .5s; }
.hero .bot { position: absolute; z-index: 2; left: var(--gl); right: var(--gr); bottom: 26px; display: flex; justify-content: space-between; gap: 16px; }
.hero .bot .lbl { color: var(--cream); }
.rec { display: inline-flex; align-items: center; gap: 10px; }
.rec .dot { width: 8px; height: 8px; animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .15; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.sec { padding-block: clamp(90px, 12vw, 170px); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(2rem, 5.4vw, 5rem); }
.statement { display: grid; grid-template-columns: 1fr 3fr; gap: 32px; border-bottom: 1px solid var(--line); }
.statement h2 { font-size: clamp(1.6rem, 3.8vw, 3.8rem); line-height: 1.12; }
.statement h2 span { color: var(--dim); }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.door { position: relative; height: clamp(420px, 70svh, 760px); overflow: hidden; display: block; }
.door img, .door video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.7,.1,1); }
.door:hover img { transform: scale(1.04); }
.door::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.35), rgba(10,10,10,0) 40%, rgba(10,10,10,.85)); }
.door .in { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 26px; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.door h2 { font-size: clamp(2.4rem, 6vw, 6rem); }
.door .lbl { color: var(--cream); }
.night { position: relative; height: clamp(520px, 100svh, 1000px); display: grid; place-items: center; text-align: center; overflow: hidden; border-block: 1px solid var(--line); }
.night::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 45% at 50% 62%, rgba(71,183,230,.10), rgba(71,183,230,0) 70%); }
.night .tx { position: relative; display: grid; gap: 22px; justify-items: center; padding-inline: 22px; }
.night h2 { font-size: clamp(1.8rem, 5.4vw, 5.2rem); }
.night p { color: var(--dim); max-width: 40ch; }
.swimmer { position: absolute; left: 0; top: 0; width: clamp(80px, 8vw, 130px); pointer-events: none; will-change: transform; filter: drop-shadow(0 0 18px rgba(71,183,230,.55)); }
.track { display: flex; width: max-content; animation: slide 50s linear infinite; font-family: var(--display); font-size: clamp(1.6rem, 4.2vw, 3.6rem); text-transform: uppercase; white-space: nowrap; }
.track i { font-style: normal; display: inline-flex; align-items: center; gap: .6em; padding-right: .6em; }
.track i::after { content: ""; width: .3em; height: .3em; border-radius: 50%; background: var(--red); }
@keyframes slide { to { transform: translateX(-50%); } }
.logo-track { display: flex; align-items: center; gap: clamp(48px, 7vw, 96px); width: max-content; animation: slide 45s linear infinite; padding-right: clamp(48px, 7vw, 96px); }
.logo-track img { height: clamp(44px, 6vw, 72px); width: auto; max-width: none; opacity: .85; }
.marquee:hover .logo-track { animation-play-state: paused; }
.marquee { overflow: hidden; padding-block: 60px; border-bottom: 1px solid var(--line); }

/* ---------- ABOUT / CONTACT ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.split .ph { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.split .ph img { width: 100%; height: 100%; object-fit: cover; }
.portrait { position: relative; width: min(100%, 520px); aspect-ratio: 1; justify-self: center; }
.portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 1px var(--line), 0 0 0 14px var(--black), 0 0 0 15px var(--line), 0 0 80px rgba(71,183,230,.18); }
.portrait .rec-dot { position: absolute; right: 9%; bottom: 9%; width: 13%; aspect-ratio: 1; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 10px var(--black); }
.prose { display: grid; gap: 20px; }
.prose p { color: var(--dim); max-width: 54ch; font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.6rem, 3.4vw, 3rem); }
.clients-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.clients-grid li { padding: 22px 8px 22px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: .95rem; text-transform: uppercase; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps > div { border-top: 1px solid var(--cream); padding-top: 16px; display: grid; gap: 8px; align-content: start; }
.steps p { color: var(--dim); }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.way { background: var(--ink); padding: 30px; display: grid; gap: 14px; align-content: start; min-height: 230px; transition: background .25s; }
a.way:hover { background: var(--ink2); }
.way .v { font-family: var(--display); font-size: clamp(1rem, 1.8vw, 1.4rem); word-break: break-word; }
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 8px; }
.form input, .form select, .form textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--cream); font: inherit; font-size: 1.05rem; padding: 10px 0; border-radius: 0; }
.form select option { background: var(--black); }
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--cream); }
.form .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

/* ---------- FOOTER ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 70px calc(30px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 60px; }
.foot .top { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.foot .big { font-family: var(--display); font-size: clamp(2rem, 7vw, 6.4rem); text-transform: uppercase; line-height: .95; }
.foot .big .dot { width: .2em; height: .2em; margin-left: .05em; vertical-align: .05em; }
.foot .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.foot .cols div { display: grid; gap: 8px; align-content: start; }
.foot .cols a:hover { color: var(--red); }
.foot .base { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot .base img { height: 36px; }
.wa { position: fixed; z-index: 25; right: calc(var(--gr) - 4px); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--cream); color: var(--black); font-weight: 500; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .25s; }
.wa:hover { transform: translateY(-2px); }

/* reveal */
.rv { transition: opacity 1.4s ease, transform 1.6s cubic-bezier(.2,.7,.1,1); }
.js .rv.pre { opacity: 0; transform: translateY(36px); }

@media (max-width: 1000px) {
  .fgrid { grid-template-columns: 1fr 1fr; } .fgrid.reels { grid-template-columns: repeat(3, 1fr); }
  .masonry { columns: 2; } .clients-grid { grid-template-columns: repeat(3, 1fr); } .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav ul { display: none; } .menu-btn { display: inline-flex; }
  .statement, .doors, .split, .finfo, .nextf { grid-template-columns: 1fr; }
  .ways { grid-template-columns: 1fr; } .foot .cols { grid-template-columns: 1fr 1fr; }
  .form .row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .fgrid { grid-template-columns: 1fr; } .fgrid.reels { grid-template-columns: 1fr 1fr; }
  .masonry { columns: 1; } .clients-grid, .steps { grid-template-columns: 1fr 1fr; }
  .hero .bot .tc, .hero .bot > .lbl:last-child { display: none; } .lb .arrow { width: 44px; height: 44px; }
  .chips { gap: 8px; } .chip { padding: 9px 13px; }
  .wa span { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } .logo-track { animation: slide 70s linear infinite !important; } }
