@charset "UTF-8";
/* ============================================================
 HRP PORTAALI — Oscar / HotRod Productions
 Blue · Black · Blue Sparkle · Pastel Green · 70s soul
 Version One — OVER THE TOP (tone down later)
 ============================================================ */

:root {
 --void: #03050c;
 --black: #060a14;
 --ink: #0b1220;
 --panel: #0e1628;
 --panel-2: #121c32;
 --line: rgba(90, 160, 255, 0.22);
 --line-strong: rgba(120, 190, 255, 0.45);

 --blue-deep: #0a3d8f;
 --blue: #1a6dff;
 --blue-mid: #3b9eff;
 --blue-light: #7ec8ff;
 --blue-ice: #c8e7ff;
 --sparkle: #a8dcff;
 --sparkle-hot: #e8f6ff;
 --cyan: #00d4ff;
 --mint: #98d8c8;
 --mint-soft: #b8e0d2;
 --mint-glow: #7fdbca;
 --gold-70s: #d4a574;
 --cream: #f2efe6;
 --white: #f7fbff;
 --muted: #8aa0c0;
 --text: #dbe8f8;

 --font-display: "Playfair Display", "Times New Roman", Georgia, serif;
 --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
 --font-accent: "Outfit", "Segoe UI", system-ui, sans-serif;

 --radius: 18px;
 --radius-sm: 12px;
 --shadow-blue: 0 0 40px rgba(26, 109, 255, 0.35), 0 0 80px rgba(0, 212, 255, 0.12);
 --shadow-mint: 0 0 30px rgba(127, 219, 202, 0.25);
 --ease: cubic-bezier(0.22, 1, 0.36, 1);
 --nav-h: 78px;
}

/* Local fonts (fallback to system if missing) */
@font-face {
 font-family: "Playfair Display";
 src: url("../assets/fonts/playfair-500.ttf") format("truetype");
 font-weight: 500;
 font-style: normal;
 font-display: swap;
}
@font-face {
 font-family: "Playfair Display";
 src: url("../assets/fonts/playfair-600.ttf") format("truetype");
 font-weight: 600;
 font-style: normal;
 font-display: swap;
}
@font-face {
 font-family: "Playfair Display";
 src: url("../assets/fonts/playfair-700.ttf") format("truetype");
 font-weight: 700;
 font-style: normal;
 font-display: swap;
}
@font-face {
 font-family: "Playfair Display";
 src: url("../assets/fonts/playfair-500-italic.ttf") format("truetype");
 font-weight: 500;
 font-style: italic;
 font-display: swap;
}
@font-face {
 font-family: "Source Sans 3";
 src: url("../assets/fonts/source-sans-300.ttf") format("truetype");
 font-weight: 300;
 font-style: normal;
 font-display: swap;
}
@font-face {
 font-family: "Source Sans 3";
 src: url("../assets/fonts/source-sans-400.ttf") format("truetype");
 font-weight: 400;
 font-style: normal;
 font-display: swap;
}
@font-face {
 font-family: "Source Sans 3";
 src: url("../assets/fonts/source-sans-500.ttf") format("truetype");
 font-weight: 500;
 font-style: normal;
 font-display: swap;
}
@font-face {
 font-family: "Source Sans 3";
 src: url("../assets/fonts/source-sans-600.ttf") format("truetype");
 font-weight: 600;
 font-style: normal;
 font-display: swap;
}
@font-face {
 font-family: "Outfit";
 src: url("../assets/fonts/outfit-500.ttf") format("truetype");
 font-weight: 500;
 font-style: normal;
 font-display: swap;
}
@font-face {
 font-family: "Outfit";
 src: url("../assets/fonts/outfit-600.ttf") format("truetype");
 font-weight: 600;
 font-style: normal;
 font-display: swap;
}
@font-face {
 font-family: "Outfit";
 src: url("../assets/fonts/outfit-700.ttf") format("truetype");
 font-weight: 700;
 font-style: normal;
 font-display: swap;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html {
 scroll-behavior: smooth;
 scrollbar-color: var(--blue-mid) var(--void);
 color-scheme: dark;
 -webkit-text-size-adjust: 100%;
 text-size-adjust: 100%;
}
body {
 margin: 0;
 min-height: 100vh;
 min-height: 100dvh;
 font-family: var(--font-body);
 font-weight: 400;
 color: var(--text);
 background: var(--void);
 overflow-x: hidden;
 line-height: 1.65;
 -webkit-font-smoothing: antialiased;
 -webkit-tap-highlight-color: rgba(0, 212, 255, 0.18);
}
body.nav-open {
 overflow: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; touch-action: manipulation; }
:focus-visible {
 outline: 2px solid var(--cyan);
 outline-offset: 3px;
}
.skip-link {
 position: absolute;
 left: 1rem;
 top: -5rem;
 z-index: 400;
 padding: 0.65rem 1.1rem;
 border-radius: 999px;
 background: linear-gradient(135deg, var(--blue), var(--cyan));
 color: var(--white);
 font-family: var(--font-accent);
 font-size: 0.82rem;
 font-weight: 600;
 letter-spacing: 0.06em;
 text-transform: uppercase;
 box-shadow: var(--shadow-blue);
}
.skip-link:focus {
 top: 0.85rem;
}
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0; }
p { margin: 0 0 1rem; }
::selection {
 background: rgba(26, 109, 255, 0.45);
 color: var(--white);
}

/* ========== ATMOSPHERE LAYERS ========== */
.fx-root {
 position: fixed;
 inset: 0;
 pointer-events: none;
 z-index: 0;
 overflow: hidden;
}

/* Animated nebula gradient */
.fx-nebula {
 position: absolute;
 inset: -20%;
 background:
 radial-gradient(ellipse 50% 40% at 20% 20%, rgba(26, 109, 255, 0.28), transparent 60%),
 radial-gradient(ellipse 40% 50% at 80% 10%, rgba(0, 212, 255, 0.14), transparent 55%),
 radial-gradient(ellipse 45% 40% at 70% 80%, rgba(127, 219, 202, 0.1), transparent 60%),
 radial-gradient(ellipse 35% 35% at 10% 70%, rgba(10, 61, 143, 0.35), transparent 55%),
 radial-gradient(ellipse 60% 50% at 50% 50%, rgba(6, 10, 20, 0.4), transparent 70%);
 animation: nebula-drift 28s ease-in-out infinite alternate;
 filter: blur(2px);
}
@keyframes nebula-drift {
 0% { transform: translate(0, 0) scale(1) rotate(0deg); }
 50% { transform: translate(-3%, 2%) scale(1.05) rotate(1deg); }
 100% { transform: translate(2%, -2%) scale(1.02) rotate(-1deg); }
}

/* Grid floor 70s/sci-fi */
.fx-grid {
 position: absolute;
 inset: 0;
 background-image:
 linear-gradient(rgba(59, 158, 255, 0.06) 1px, transparent 1px),
 linear-gradient(90deg, rgba(59, 158, 255, 0.06) 1px, transparent 1px);
 background-size: 60px 60px;
 mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
 animation: grid-pulse 8s ease-in-out infinite;
}
@keyframes grid-pulse {
 0%, 100% { opacity: 0.45; }
 50% { opacity: 0.85; }
}

/* CRT / film grain */
.fx-grain {
 position: absolute;
 inset: 0;
 opacity: 0.07;
 mix-blend-mode: overlay;
 background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
 animation: grain-shift 0.4s steps(4) infinite;
}
@keyframes grain-shift {
 0% { transform: translate(0, 0); }
 25% { transform: translate(-1%, 1%); }
 50% { transform: translate(1%, -1%); }
 75% { transform: translate(-1%, -1%); }
 100% { transform: translate(1%, 1%); }
}

/* Scanlines */
.fx-scanlines {
 position: absolute;
 inset: 0;
 background: repeating-linear-gradient(
 0deg,
 transparent,
 transparent 2px,
 rgba(0, 0, 0, 0.12) 2px,
 rgba(0, 0, 0, 0.12) 4px
 );
 opacity: 0.35;
 mix-blend-mode: multiply;
}

/* Vignette */
.fx-vignette {
 position: absolute;
 inset: 0;
 background: radial-gradient(ellipse 70% 65% at 50% 40%, transparent 40%, rgba(3, 5, 12, 0.75) 100%);
}

/* Sparkle canvas */
#sparkle-canvas {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
}

/* Floating orbs */
.fx-orb {
 position: absolute;
 border-radius: 50%;
 filter: blur(40px);
 opacity: 0.55;
 animation: orb-float 16s ease-in-out infinite;
}
.fx-orb--1 {
 width: 280px; height: 280px;
 background: var(--blue);
 top: 12%; left: 8%;
 animation-delay: 0s;
}
.fx-orb--2 {
 width: 220px; height: 220px;
 background: var(--cyan);
 top: 55%; right: 10%;
 animation-delay: -4s;
 opacity: 0.35;
}
.fx-orb--3 {
 width: 180px; height: 180px;
 background: var(--mint-glow);
 bottom: 15%; left: 35%;
 animation-delay: -8s;
 opacity: 0.28;
}
@keyframes orb-float {
 0%, 100% { transform: translate(0, 0) scale(1); }
 33% { transform: translate(30px, -40px) scale(1.1); }
 66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ========== LAYOUT ========== */
.site {
 position: relative;
 z-index: 10;
 min-height: 100vh;
 min-height: 100dvh;
 display: flex;
 flex-direction: column;
 transition: opacity 0.8s ease;
}
html.is-wiping .site {
 opacity: 0;
 pointer-events: none;
}
html.is-wiping .shop-sticky-cart,
html.is-wiping .shop-drawer,
html.is-wiping .shop-backdrop,
html.is-wiping .shop-modal {
 opacity: 0;
 pointer-events: none;
}
.wrap {
 width: min(1180px, calc(100% - 2.5rem));
 margin-inline: auto;
}
.wrap-wide {
 width: min(1360px, calc(100% - 2rem));
 margin-inline: auto;
}

/* ========== NAV ========== */
.nav {
 position: sticky;
 top: 0;
 z-index: 100;
 height: var(--nav-h);
 height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
 padding-top: env(safe-area-inset-top, 0px);
 display: flex;
 align-items: center;
 backdrop-filter: blur(18px) saturate(1.4);
 -webkit-backdrop-filter: blur(18px) saturate(1.4);
 background: linear-gradient(180deg, rgba(3, 5, 12, 0.92) 0%, rgba(6, 10, 20, 0.78) 100%);
 border-bottom: 1px solid var(--line);
 box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), 0 0 60px rgba(26, 109, 255, 0.08);
}
.nav::before {
 content: "";
 position: absolute;
 left: 0; right: 0; top: 0;
 height: 2px;
 background: linear-gradient(90deg, transparent, var(--blue-mid), var(--cyan), var(--mint-glow), var(--blue-mid), transparent);
 background-size: 200% 100%;
 animation: spectrum-slide 6s linear infinite;
}
@keyframes spectrum-slide {
 0% { background-position: 0% 50%; }
 100% { background-position: 200% 50%; }
}
.nav-inner {
 width: min(1360px, calc(100% - 2rem));
 margin-inline: auto;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 1rem;
}
.nav-end {
 display: flex;
 align-items: center;
 gap: 0.4rem;
 flex-shrink: 0;
}
.lang {
 display: inline-flex;
 align-items: center;
 gap: 2px;
 padding: 3px;
 border-radius: 999px;
 border: 1px solid var(--line);
 background: rgba(8, 14, 28, 0.72);
 box-shadow: inset 0 0 0 1px rgba(126, 200, 255, 0.06);
}
.lang a {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 0.32rem;
 min-width: 2.55rem;
 min-height: 2.2rem;
 padding: 0 0.48rem;
 border-radius: 999px;
 text-decoration: none;
 opacity: 0.55;
 border: 1px solid transparent;
 color: var(--muted);
 transition: opacity 0.2s, background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.2s;
}
.lang a:hover {
 opacity: 1;
 color: var(--blue-ice);
 background: rgba(26, 109, 255, 0.16);
}
.lang a.is-active {
 opacity: 1;
 color: var(--white);
 background: linear-gradient(180deg, rgba(26, 109, 255, 0.42), rgba(0, 212, 255, 0.18));
 box-shadow: 0 0 0 1px rgba(168, 220, 255, 0.55), 0 0 18px rgba(0, 212, 255, 0.28);
}
.lang-flag {
 display: block;
 width: 1.2rem;
 height: auto;
 border-radius: 2px;
 box-shadow: 0 0 0 1px rgba(255,255,255,0.18);
 pointer-events: none;
}
.lang-code {
 font-family: var(--font-accent);
 font-size: 0.62rem;
 font-weight: 700;
 letter-spacing: 0.1em;
 line-height: 1;
}
.nav-brand {
 display: flex;
 align-items: center;
 gap: 0.75rem;
 flex-shrink: 0;
}
.nav-logo {
 width: 48px;
 height: 48px;
 border-radius: 50%;
 object-fit: cover;
 border: 2px solid rgba(126, 200, 255, 0.5);
 box-shadow: 0 0 20px rgba(26, 109, 255, 0.55), 0 0 40px rgba(0, 212, 255, 0.2);
 animation: logo-pulse 3.5s ease-in-out infinite;
 transition: transform 0.4s var(--ease);
}
.nav-brand:hover .nav-logo {
 transform: rotate(-8deg) scale(1.08);
}
@keyframes logo-pulse {
 0%, 100% { box-shadow: 0 0 18px rgba(26, 109, 255, 0.5), 0 0 36px rgba(0, 212, 255, 0.15); }
 50% { box-shadow: 0 0 28px rgba(0, 212, 255, 0.7), 0 0 55px rgba(127, 219, 202, 0.25); }
}
.nav-word {
 display: flex;
 flex-direction: column;
 line-height: 1.1;
}
.nav-word strong {
 font-family: var(--font-accent);
 font-weight: 700;
 font-size: 0.95rem;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: var(--white);
}
.nav-word span {
 font-size: 0.7rem;
 color: var(--blue-light);
 letter-spacing: 0.14em;
 text-transform: uppercase;
 opacity: 0.85;
}
.nav-links {
 display: none;
 align-items: center;
 gap: 0.08rem;
}
@media (min-width: 1120px) {
 .nav-links { display: flex; }
}
.nav-link {
 position: relative;
 padding: 0.55rem 0.5rem;
 font-family: var(--font-accent);
 font-size: 0.68rem;
 font-weight: 500;
 letter-spacing: 0.05em;
 text-transform: uppercase;
 color: var(--muted);
 border-radius: 999px;
 transition: color 0.25s, background 0.25s, box-shadow 0.25s;
 white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
 .nav-link:hover {
  color: var(--white);
  background: rgba(26, 109, 255, 0.15);
  box-shadow: inset 0 0 0 1px rgba(126, 200, 255, 0.25);
 }
}
.nav-link.is-active {
 color: var(--blue-ice);
 background: rgba(26, 109, 255, 0.18);
 box-shadow: inset 0 0 0 1px rgba(126, 200, 255, 0.35);
 text-shadow: 0 0 12px rgba(126, 200, 255, 0.6);
}
.nav-cta {
 margin-left: 0.35rem;
 padding: 0.55rem 1.15rem !important;
 background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%) !important;
 color: var(--white) !important;
 box-shadow: 0 0 24px rgba(26, 109, 255, 0.45) !important;
 border: none !important;
}
.nav-cta:hover {
 filter: brightness(1.1);
 transform: translateY(-1px);
}
.nav-toggle {
 display: flex;
 width: 46px;
 height: 46px;
 align-items: center;
 justify-content: center;
 border-radius: 12px;
 border: 1px solid var(--line);
 background: rgba(14, 22, 40, 0.8);
 color: var(--blue-light);
}
@media (min-width: 1120px) {
 .nav-toggle { display: none; }
}
.nav-toggle span {
 display: block;
 width: 20px;
 height: 2px;
 background: currentColor;
 box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
 transition: 0.3s;
}
.mobile-menu {
 display: none;
 position: absolute;
 top: 100%;
 left: 0; right: 0;
 background: rgba(6, 10, 20, 0.97);
 border-bottom: 1px solid var(--line);
 backdrop-filter: blur(16px);
 padding: 0.85rem 1.15rem calc(1.35rem + env(safe-area-inset-bottom, 0px));
 flex-direction: column;
 gap: 0.35rem;
 box-shadow: 0 20px 40px rgba(0,0,0,0.5);
 max-height: calc(100dvh - var(--nav-h) - env(safe-area-inset-top, 0px));
 overflow-y: auto;
 -webkit-overflow-scrolling: touch;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
 padding: 0.95rem 1rem;
 min-height: 48px;
 border-radius: 12px;
 font-family: var(--font-accent);
 font-size: 0.92rem;
 letter-spacing: 0.06em;
 text-transform: uppercase;
 color: var(--muted);
 border: 1px solid transparent;
 display: flex;
 align-items: center;
}
@media (hover: hover) and (pointer: fine) {
 .mobile-menu > a[data-nav]:hover {
  color: var(--white);
  background: rgba(26, 109, 255, 0.12);
  border-color: var(--line);
 }
}
.mobile-menu > a[data-nav].is-active {
 color: var(--blue-ice);
 background: rgba(26, 109, 255, 0.22);
 border-color: rgba(126, 200, 255, 0.45);
 box-shadow: inset 0 0 0 1px rgba(126, 200, 255, 0.28);
}
.mobile-menu > a:last-child {
 justify-content: center;
 background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
 color: var(--white);
 border: none;
 box-shadow: 0 0 24px rgba(26, 109, 255, 0.4);
 margin-top: 0.35rem;
}
.mobile-menu > a:last-child.is-active {
 color: var(--white);
 background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
 border: none;
 box-shadow: 0 0 24px rgba(26, 109, 255, 0.55);
}
.mobile-lang {
 display: flex;
 gap: 0.5rem;
 padding: 0.15rem 0 0.55rem;
 border-bottom: 1px solid var(--line);
 margin-bottom: 0.35rem;
}
.mobile-lang a {
 flex: 1;
 justify-content: center;
 gap: 0.45rem;
 min-height: 46px;
 padding: 0.7rem 0.75rem;
 margin: 0;
 background: rgba(14, 22, 40, 0.8);
 color: var(--muted);
 box-shadow: none;
 text-transform: none;
 letter-spacing: 0.08em;
}
.mobile-lang a.is-active,
.mobile-lang a:last-child.is-active {
 background: linear-gradient(180deg, rgba(26, 109, 255, 0.42), rgba(0, 212, 255, 0.18));
 color: var(--white);
 box-shadow: 0 0 0 1px rgba(168, 220, 255, 0.5);
}
.mobile-lang a:last-child {
 background: rgba(14, 22, 40, 0.8);
 margin-top: 0;
}

/* ========== HERO ========== */
.hero {
 position: relative;
 min-height: calc(100vh - var(--nav-h));
 display: grid;
 align-items: center;
 padding: 3rem 0 4rem;
 overflow: visible;
}
.hero-grid {
 display: grid;
 gap: 2.5rem;
 align-items: center;
}
@media (min-width: 960px) {
 .hero {
  min-height: 0;
  padding: 3rem 0 0;
 }
 .hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
 }
 .section-after-hero {
  padding-top: 1.5cm;
 }
}
@media (max-width: 959px) {
 .hero {
  min-height: 0;
  padding: 1.25rem 0 2.25rem;
 }
 .hero-grid {
  gap: 1.35rem;
 }
 .hero-stage {
  order: -1;
  min-height: 0;
 }
 .hero-logo-wrap {
  width: min(340px, 86vw);
  height: min(340px, 86vw);
 }
 .hero-stage {
  padding: 0.35rem 0 0.15rem;
 }
}
.kicker {
 display: inline-flex;
 align-items: center;
 gap: 0.55rem;
 font-family: var(--font-accent);
 font-size: 0.72rem;
 font-weight: 600;
 letter-spacing: 0.22em;
 text-transform: uppercase;
 color: var(--mint-glow);
 margin-bottom: 1.25rem;
 text-shadow: 0 0 20px rgba(127, 219, 202, 0.5);
}
.hero h1 {
 font-size: clamp(2.6rem, 6vw, 4.6rem);
 color: var(--white);
 letter-spacing: -0.02em;
 margin-bottom: 0;
 line-height: 1.05;
}
.hero h1 .spark-text {
 display: block;
 background: linear-gradient(120deg, var(--blue-ice) 0%, var(--cyan) 35%, var(--blue-mid) 55%, var(--mint-soft) 80%, var(--blue-ice) 100%);
 background-size: 200% auto;
 -webkit-background-clip: text;
 background-clip: text;
 color: transparent;
 animation: shimmer-text 5s linear infinite;
 filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.35));
 line-height: 1.05;
}
@keyframes shimmer-text {
 0% { background-position: 0% center; }
 100% { background-position: 200% center; }
}
.hero-name {
 display: block;
 margin-top: 0.55cm;
 font-size: 0.52em;
 font-weight: 500;
 letter-spacing: 0.04em;
 color: var(--blue-ice);
 opacity: 0.92;
 line-height: 1.1;
}
.hero-sub {
 font-family: var(--font-body);
 font-style: normal;
 font-weight: 400;
 font-size: clamp(1.05rem, 2vw, 1.4rem);
 color: var(--blue-light);
 margin-top: 0.55cm;
 margin-bottom: 1.25rem;
 opacity: 0.95;
 line-height: 1.45;
}
.hero-lead {
 font-size: 1.08rem;
 color: var(--muted);
 max-width: 36rem;
 margin-bottom: 2rem;
}
.hero-actions {
 display: flex;
 flex-wrap: wrap;
 gap: 0.85rem;
 margin-bottom: 2rem;
}
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 0.5rem;
 padding: 0.9rem 1.5rem;
 border-radius: 999px;
 font-family: var(--font-accent);
 font-size: 0.82rem;
 font-weight: 600;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 transition: transform 0.3s var(--ease), box-shadow 0.3s, filter 0.3s, background 0.3s;
 position: relative;
 overflow: hidden;
}
.btn::after {
 content: "";
 position: absolute;
 inset: 0;
 background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
 transform: translateX(-120%);
 transition: transform 0.6s;
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn-primary {
 background: linear-gradient(135deg, var(--blue) 0%, #1a8fff 50%, var(--cyan) 100%);
 color: var(--white);
 box-shadow: var(--shadow-blue);
 border: 1px solid rgba(200, 231, 255, 0.3);
}
.btn-primary:hover {
 box-shadow: 0 0 50px rgba(0, 212, 255, 0.5), 0 0 90px rgba(26, 109, 255, 0.3);
}
.btn-ghost {
 background: rgba(14, 22, 40, 0.7);
 color: var(--blue-ice);
 border: 1px solid var(--line-strong);
 box-shadow: 0 0 20px rgba(26, 109, 255, 0.12);
}
.btn-ghost:hover {
 background: rgba(26, 109, 255, 0.15);
 box-shadow: 0 0 30px rgba(126, 200, 255, 0.25);
}
.btn-mint {
 background: linear-gradient(135deg, rgba(152, 216, 200, 0.2), rgba(127, 219, 202, 0.35));
 color: var(--mint-soft);
 border: 1px solid rgba(127, 219, 202, 0.45);
 box-shadow: var(--shadow-mint);
}
.hero-meta {
 display: block;
 width: 100%;
 max-width: 36rem;
 color: var(--muted);
 font-size: 0.88rem;
}

/* Hero logo stage — larger circle, full logo visible, blue glitter hover */
.hero-stage {
 position: relative;
 display: grid;
 place-items: center;
 min-height: 460px;
 overflow: visible;
}
/* Flying blue sparkle burst (spawned by JS on logo hover) */
.spark-burst-particle {
 position: absolute;
 border-radius: 50%;
 pointer-events: none;
 z-index: 30;
 transform: translate(-50%, -50%);
 background: radial-gradient(circle, #e8f6ff 0%, #7ec8ff 40%, #1a6dff 75%, transparent 100%);
 box-shadow:
  0 0 6px rgba(0, 212, 255, 0.95),
  0 0 14px rgba(26, 109, 255, 0.8),
  0 0 22px rgba(0, 212, 255, 0.45);
 animation: spark-burst-fly var(--dur, 0.75s) cubic-bezier(0.12, 0.75, 0.2, 1) forwards;
 will-change: transform, opacity;
}
.spark-burst-particle--star {
 border-radius: 0;
 background: transparent;
 box-shadow: none;
}
.spark-burst-particle--star::before,
.spark-burst-particle--star::after {
 content: "";
 position: absolute;
 left: 50%;
 top: 50%;
 background: linear-gradient(90deg, transparent, #e8f6ff, #00d4ff, #e8f6ff, transparent);
 box-shadow: 0 0 8px rgba(0, 212, 255, 0.9);
}
.spark-burst-particle--star::before {
 width: 180%;
 height: 1.5px;
 transform: translate(-50%, -50%);
}
.spark-burst-particle--star::after {
 width: 1.5px;
 height: 180%;
 transform: translate(-50%, -50%);
}
@keyframes spark-burst-fly {
 0% {
  opacity: 1;
  transform: translate(-50%, -50%) scale(0.2) rotate(0deg);
 }
 12% {
  opacity: 1;
  transform: translate(
    calc(-50% + var(--dx) * 0.18),
    calc(-50% + var(--dy) * 0.18)
  ) scale(1.35) rotate(40deg);
 }
 55% {
  opacity: 0.95;
 }
 100% {
  opacity: 0;
  transform: translate(
    calc(-50% + var(--dx)),
    calc(-50% + var(--dy))
  ) scale(0.15) rotate(160deg);
 }
}
.hero-logo-wrap {
 position: relative;
 width: min(400px, 84vw);
 height: min(400px, 84vw);
 border-radius: 50%;
 display: grid;
 place-items: center;
 background: #eceef2;
 border: 3px solid rgba(126, 200, 255, 0.55);
 box-shadow:
 0 0 28px rgba(26, 109, 255, 0.55),
 0 0 60px rgba(0, 212, 255, 0.25),
 0 0 100px rgba(26, 109, 255, 0.18);
 animation: logo-pulse 3.5s ease-in-out infinite;
 transition: transform 0.45s var(--ease), box-shadow 0.45s, border-color 0.45s;
 overflow: hidden;
 isolation: isolate;
 cursor: default;
}
.hero-logo {
 width: 100%;
 height: 100%;
 object-fit: cover;
 object-position: center;
 border-radius: 50%;
 border: none;
 box-shadow: none;
 animation: none;
 position: relative;
 z-index: 2;
 pointer-events: none;
 transform: scale(1.06);
 transition: transform 0.45s var(--ease);
}
/* Soft blue glitter layer behind logo */
.hero-logo-glitter {
 position: absolute;
 inset: -15%;
 border-radius: 50%;
 z-index: 1;
 pointer-events: none;
 opacity: 0;
 transition: opacity 0.4s ease;
 background:
 radial-gradient(1.5px 1.5px at 12% 22%, rgba(232, 246, 255, 0.95), transparent),
 radial-gradient(1.5px 1.5px at 28% 68%, rgba(126, 200, 255, 0.9), transparent),
 radial-gradient(2px 2px at 45% 18%, rgba(0, 212, 255, 0.85), transparent),
 radial-gradient(1.5px 1.5px at 62% 42%, rgba(232, 246, 255, 0.95), transparent),
 radial-gradient(1px 1px at 78% 28%, rgba(126, 200, 255, 0.9), transparent),
 radial-gradient(2px 2px at 88% 62%, rgba(0, 212, 255, 0.8), transparent),
 radial-gradient(1.5px 1.5px at 18% 48%, rgba(168, 220, 255, 0.9), transparent),
 radial-gradient(1px 1px at 35% 88%, rgba(232, 246, 255, 0.85), transparent),
 radial-gradient(2px 2px at 55% 75%, rgba(59, 158, 255, 0.9), transparent),
 radial-gradient(1.5px 1.5px at 72% 82%, rgba(0, 212, 255, 0.85), transparent),
 radial-gradient(1px 1px at 8% 78%, rgba(126, 200, 255, 0.8), transparent),
 radial-gradient(1.5px 1.5px at 92% 15%, rgba(232, 246, 255, 0.9), transparent),
 radial-gradient(2px 2px at 50% 50%, rgba(168, 220, 255, 0.7), transparent),
 radial-gradient(1px 1px at 40% 35%, rgba(0, 212, 255, 0.85), transparent),
 radial-gradient(1.5px 1.5px at 65% 12%, rgba(126, 200, 255, 0.9), transparent),
 radial-gradient(circle at 50% 50%, rgba(26, 109, 255, 0.35), transparent 62%);
 mix-blend-mode: screen;
}
.hero-logo-wrap::before {
 content: "";
 position: absolute;
 inset: -35%;
 border-radius: 50%;
 z-index: 0;
 pointer-events: none;
 opacity: 0;
 transition: opacity 0.45s ease;
 background:
 radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.35) 0%, rgba(26, 109, 255, 0.2) 35%, transparent 65%);
 filter: blur(8px);
}
.hero-logo-wrap::after {
 content: "";
 position: absolute;
 inset: 0;
 border-radius: 50%;
 z-index: 3;
 pointer-events: none;
 opacity: 0;
 transition: opacity 0.4s ease;
 background:
 radial-gradient(1px 1px at 20% 30%, #fff, transparent),
 radial-gradient(1.5px 1.5px at 70% 25%, #c8e7ff, transparent),
 radial-gradient(1px 1px at 40% 70%, #7ec8ff, transparent),
 radial-gradient(1.5px 1.5px at 80% 60%, #00d4ff, transparent),
 radial-gradient(1px 1px at 25% 80%, #e8f6ff, transparent),
 radial-gradient(1px 1px at 55% 40%, #a8dcff, transparent),
 radial-gradient(1.5px 1.5px at 15% 55%, #7ec8ff, transparent),
 radial-gradient(1px 1px at 90% 45%, #fff, transparent);
 mix-blend-mode: screen;
 box-shadow: inset 0 0 40px rgba(0, 212, 255, 0.25);
}
.hero-logo-wrap:hover {
 transform: rotate(-5deg) scale(1.03);
 border-color: rgba(168, 220, 255, 0.85);
 box-shadow:
 0 0 40px rgba(0, 212, 255, 0.75),
 0 0 90px rgba(26, 109, 255, 0.5),
 0 0 140px rgba(0, 212, 255, 0.3),
 0 0 180px rgba(127, 219, 202, 0.12);
 animation: none;
}
.hero-logo-wrap:hover .hero-logo {
 transform: scale(1.1);
}
.hero-logo-wrap:hover .hero-logo-glitter {
 opacity: 1;
 animation: glitter-twinkle 1.8s ease-in-out infinite;
}
.hero-logo-wrap:hover::before {
 opacity: 1;
 animation: aura-breathe 2.2s ease-in-out infinite;
}
.hero-logo-wrap:hover::after {
 opacity: 1;
 animation: glitter-drift 2.4s linear infinite;
}
@keyframes glitter-twinkle {
 0%, 100% { opacity: 0.75; filter: brightness(1); transform: scale(1); }
 50% { opacity: 1; filter: brightness(1.25); transform: scale(1.04); }
}
@keyframes glitter-drift {
 0% { transform: rotate(0deg); opacity: 0.85; }
 50% { opacity: 1; }
 100% { transform: rotate(360deg); opacity: 0.85; }
}
@keyframes aura-breathe {
 0%, 100% { opacity: 0.7; transform: scale(1); }
 50% { opacity: 1; transform: scale(1.08); }
}

/* Soundwave bars */
.soundbars {
 display: flex;
 align-items: flex-end;
 gap: 4px;
 height: 28px;
}
.soundbars span {
 width: 4px;
 border-radius: 999px;
 background: linear-gradient(180deg, var(--cyan), var(--blue));
 box-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
 animation: bar-dance 1.1s ease-in-out infinite;
}
.soundbars span:nth-child(1) { height: 40%; animation-delay: 0s; }
.soundbars span:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.soundbars span:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.soundbars span:nth-child(4) { height: 55%; animation-delay: 0.3s; }
.soundbars span:nth-child(5) { height: 85%; animation-delay: 0.15s; }
.soundbars span:nth-child(6) { height: 45%; animation-delay: 0.25s; }
.soundbars span:nth-child(7) { height: 65%; animation-delay: 0.05s; }
@keyframes bar-dance {
 0%, 100% { transform: scaleY(0.45); }
 50% { transform: scaleY(1); }
}

/* Wide, calm RTA in hero */
.rta-meter {
 display: flex;
 align-items: flex-end;
 gap: 3px;
 width: 100%;
 height: 52px;
}
.rta-meter i {
 flex: 1;
 display: block;
 min-width: 0;
 height: 100%;
 border-radius: 1px 1px 0 0;
 background: linear-gradient(180deg, rgba(200, 231, 255, 0.95), var(--cyan) 28%, var(--blue) 72%, var(--blue-deep));
 box-shadow: 0 0 8px rgba(0, 212, 255, 0.18);
 transform-origin: bottom center;
 animation: rta-breathe 4.4s ease-in-out infinite;
}
.rta-meter i:nth-child(4n) { animation-duration: 5.1s; }
.rta-meter i:nth-child(4n+1) { animation-duration: 3.8s; }
.rta-meter i:nth-child(4n+2) { animation-duration: 4.7s; }
.rta-meter i:nth-child(4n+3) { animation-duration: 4.2s; }
.rta-meter i:nth-child(1) { animation-delay: 0s; }
.rta-meter i:nth-child(2) { animation-delay: 0.35s; }
.rta-meter i:nth-child(3) { animation-delay: 0.7s; }
.rta-meter i:nth-child(4) { animation-delay: 0.15s; }
.rta-meter i:nth-child(5) { animation-delay: 0.9s; }
.rta-meter i:nth-child(6) { animation-delay: 0.45s; }
.rta-meter i:nth-child(7) { animation-delay: 1.1s; }
.rta-meter i:nth-child(8) { animation-delay: 0.25s; }
.rta-meter i:nth-child(9) { animation-delay: 0.8s; }
.rta-meter i:nth-child(10) { animation-delay: 0.05s; }
.rta-meter i:nth-child(11) { animation-delay: 1.25s; }
.rta-meter i:nth-child(12) { animation-delay: 0.55s; }
.rta-meter i:nth-child(13) { animation-delay: 0.2s; }
.rta-meter i:nth-child(14) { animation-delay: 1s; }
.rta-meter i:nth-child(15) { animation-delay: 0.4s; }
.rta-meter i:nth-child(16) { animation-delay: 0.75s; }
.rta-meter i:nth-child(17) { animation-delay: 0.1s; }
.rta-meter i:nth-child(18) { animation-delay: 1.15s; }
.rta-meter i:nth-child(19) { animation-delay: 0.6s; }
.rta-meter i:nth-child(20) { animation-delay: 0.3s; }
.rta-meter i:nth-child(21) { animation-delay: 0.95s; }
.rta-meter i:nth-child(22) { animation-delay: 0.5s; }
.rta-meter i:nth-child(23) { animation-delay: 0.18s; }
.rta-meter i:nth-child(24) { animation-delay: 1.05s; }
.rta-meter i:nth-child(25) { animation-delay: 0.65s; }
.rta-meter i:nth-child(26) { animation-delay: 0.38s; }
.rta-meter i:nth-child(27) { animation-delay: 0.85s; }
.rta-meter i:nth-child(28) { animation-delay: 0.22s; }
@keyframes rta-breathe {
 0%, 100% { transform: scaleY(0.22); opacity: 0.55; }
 40% { transform: scaleY(0.62); opacity: 0.9; }
 70% { transform: scaleY(0.38); opacity: 0.7; }
}

/* ========== SECTIONS ========== */
.section {
 position: relative;
 padding: 5rem 0;
}
.section-after-hero {
 padding-top: 1.75rem;
}
.section-head {
 margin-bottom: 2.5rem;
 max-width: 42rem;
}
.section-head h2 {
 font-size: clamp(2rem, 4vw, 3rem);
 color: var(--white);
 margin-bottom: 0.75rem;
}
.section-head p {
 color: var(--muted);
 font-size: 1.05rem;
}
.section-head .kicker { margin-bottom: 0.75rem; }
.lead--pay {
 margin-top: 0.85rem;
 max-width: 42rem;
 font-weight: 500;
 color: var(--blue-ice);
 line-height: 1.55;
}
.section--pack-top { padding-top: 1.75rem; }
.section--pack-bottom { padding-bottom: 1.5rem; }
.section--pack-video { padding-top: 0.85rem; }
.media-split--last { margin-bottom: 0.15rem; }
.section-head--tight { margin-bottom: 1.15rem; }
.project-note {
 max-width: 40rem;
 color: var(--muted);
 font-size: 1.05rem;
 line-height: 1.6;
}
.project-note p + p { margin-top: 0.85rem; }
.project-note a { color: var(--cyan); }
.project-note a:hover { color: var(--white); }
.cta-band--follow { margin: 1.15rem 0 0; }
.work-card .media--calc img { object-position: center 18%; }

/* Portal cards (home hub) */
.portal-grid {
 display: grid;
 gap: 1.25rem;
 grid-template-columns: 1fr;
}
@media (min-width: 640px) {
 .portal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
 .portal-grid { grid-template-columns: repeat(3, 1fr); }
}
.portal-card {
 position: relative;
 display: flex;
 flex-direction: column;
 min-height: 260px;
 padding: 1.6rem;
 border-radius: var(--radius);
 background:
 linear-gradient(160deg, rgba(18, 28, 50, 0.95) 0%, rgba(8, 14, 28, 0.98) 100%);
 border: 1px solid var(--line);
 overflow: hidden;
 transition: transform 0.45s var(--ease), border-color 0.35s, box-shadow 0.45s;
 isolation: isolate;
}
.portal-card::before {
 content: "";
 position: absolute;
 inset: -1px;
 border-radius: inherit;
 padding: 1px;
 background: linear-gradient(135deg, rgba(126, 200, 255, 0.55), transparent 40%, rgba(127, 219, 202, 0.35));
 -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
 mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
 -webkit-mask-composite: xor;
 mask-composite: exclude;
 opacity: 0.5;
 transition: opacity 0.35s;
 z-index: -1;
}
.portal-card::after {
 content: "";
 position: absolute;
 width: 180px;
 height: 180px;
 right: -40px;
 bottom: -50px;
 border-radius: 50%;
 background: radial-gradient(circle, rgba(26, 109, 255, 0.35), transparent 70%);
 z-index: -1;
 transition: transform 0.5s var(--ease), opacity 0.5s;
 opacity: 0.7;
}
.portal-card:hover {
 transform: translateY(-8px) scale(1.015);
 border-color: rgba(126, 200, 255, 0.45);
 box-shadow: var(--shadow-blue);
}
.portal-card:hover::before { opacity: 1; }
.portal-card:hover::after { transform: scale(1.4); opacity: 1; }
.portal-card--mint:hover { box-shadow: var(--shadow-mint); }
.portal-icon {
 width: 52px;
 height: 52px;
 display: grid;
 place-items: center;
 border-radius: 14px;
 background: linear-gradient(145deg, rgba(26, 109, 255, 0.25), rgba(0, 212, 255, 0.1));
 border: 1px solid rgba(126, 200, 255, 0.3);
 margin-bottom: 1.15rem;
 font-size: 1.4rem;
 box-shadow: 0 0 20px rgba(26, 109, 255, 0.25);
}
.portal-card h3 {
 font-size: 1.45rem;
 color: var(--white);
 margin-bottom: 0.55rem;
}
.portal-card p {
 color: var(--muted);
 font-size: 0.95rem;
 flex: 1;
}
.portal-card .go {
 margin-top: 1.25rem;
 font-family: var(--font-accent);
 font-size: 0.75rem;
 font-weight: 600;
 letter-spacing: 0.12em;
 text-transform: uppercase;
 color: var(--cyan);
 display: inline-flex;
 align-items: center;
 gap: 0.4rem;
 transition: gap 0.3s;
}
.portal-card:hover .go { gap: 0.75rem; text-shadow: 0 0 12px rgba(0, 212, 255, 0.6); }

/* Portal cards with photo headers */
.portal-card--photo {
 padding: 0;
 min-height: 320px;
}
.portal-card--photo .portal-photo {
 position: relative;
 aspect-ratio: 16 / 10;
 overflow: hidden;
 flex-shrink: 0;
}
.portal-card--photo .portal-photo img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.7s var(--ease), filter 0.5s;
 filter: saturate(1.05) contrast(1.05);
}
.portal-card--photo:hover .portal-photo img {
 transform: scale(1.08);
 filter: saturate(1.15) contrast(1.08) brightness(1.05);
}
.portal-card--photo .portal-photo::after {
 content: "";
 position: absolute;
 inset: 0;
 background: linear-gradient(180deg, transparent 30%, rgba(3, 5, 12, 0.92) 100%);
 pointer-events: none;
}
.portal-card--photo .portal-body {
 padding: 1.15rem 1.4rem 1.5rem;
 display: flex;
 flex-direction: column;
 flex: 1;
 position: relative;
 z-index: 1;
 margin-top: -2.5rem;
}
.portal-card--photo .portal-icon {
 margin-bottom: 0.75rem;
 width: 44px;
 height: 44px;
 font-size: 1.15rem;
}
.portal-card--photo h3 { font-size: 1.3rem; }
.portal-card--photo p { font-size: 0.9rem; }
.portal-card--photo .go { margin-top: 0.85rem; }
.portal-card--photo .portal-photo--logo {
 display: grid;
 place-items: center;
 background:
  radial-gradient(circle at 50% 42%, rgba(26, 109, 255, 0.28), transparent 58%),
  #070c18;
}
.portal-card--photo .portal-photo--logo img {
 width: auto;
 height: 78%;
 max-width: 72%;
 object-fit: contain;
 object-position: center;
 filter: none;
}
.portal-card--photo:hover .portal-photo--logo img {
 transform: scale(1.04);
 filter: none;
}
.portal-card--photo .portal-photo--hrp img {
 object-position: 8% 78%;
}
.portal-card--photo .portal-photo--opetus img {
 object-position: 50% 28%;
}

/* ========== PAGE HERO (inner) ========== */
.page-hero {
 padding: 3.5rem 0 2rem;
 position: relative;
}
.page-hero h1 {
 font-size: clamp(2.2rem, 5vw, 3.6rem);
 color: var(--white);
 margin-bottom: 0.75rem;
}
.page-hero .lead {
 font-size: 1.12rem;
 color: var(--muted);
 max-width: 40rem;
}
.page-hero .lead a {
 color: var(--blue-ice);
 text-decoration: underline;
 text-underline-offset: 0.18em;
}
.page-hero .lead a:hover {
 color: var(--cyan);
}
@media (min-width: 980px) {
 .page-hero--full-lead .lead {
  max-width: none;
 }
 .section-head--full {
  max-width: none;
 }
}

/* ========== CARDS / TILES ========== */
.card {
 background: linear-gradient(165deg, rgba(18, 28, 50, 0.92), rgba(8, 12, 24, 0.96));
 border: 1px solid var(--line);
 border-radius: var(--radius);
 overflow: hidden;
 box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
 transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.3s;
}
.card:hover {
 border-color: rgba(126, 200, 255, 0.4);
 box-shadow: var(--shadow-blue);
}
.card-body { padding: 1.5rem 1.6rem; }
.card-body h3 {
 font-size: 1.35rem;
 color: var(--white);
 margin-bottom: 0.5rem;
}
.card-body p { color: var(--muted); margin-bottom: 0.75rem; }
.tag-row {
 display: flex;
 flex-wrap: wrap;
 gap: 0.4rem;
 margin: 0.75rem 0 1rem;
}
.tag {
 display: inline-flex;
 padding: 0.28rem 0.7rem;
 border-radius: 999px;
 font-family: var(--font-accent);
 font-size: 0.68rem;
 font-weight: 600;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: var(--blue-ice);
 background: rgba(26, 109, 255, 0.15);
 border: 1px solid rgba(126, 200, 255, 0.25);
}
.tag--mint {
 color: var(--mint-soft);
 background: rgba(127, 219, 202, 0.12);
 border-color: rgba(127, 219, 202, 0.3);
}
.tag--gold {
 color: var(--gold-70s);
 background: rgba(212, 165, 116, 0.12);
 border-color: rgba(212, 165, 116, 0.3);
}

/* Work grid */
.work-grid {
 display: grid;
 gap: 1.35rem;
 grid-template-columns: 1fr;
}
@media (min-width: 700px) {
 .work-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
 .work-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.work-card .media {
 aspect-ratio: 16 / 10;
 overflow: hidden;
 background: var(--ink);
 position: relative;
}
.work-card .media img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.7s var(--ease), filter 0.5s;
 filter: saturate(1.05) contrast(1.05);
}
.work-card:hover .media img {
 transform: scale(1.06);
 filter: saturate(1.2) contrast(1.08) brightness(1.05);
}
.work-card .media::after {
 content: "";
 position: absolute;
 inset: 0;
 background: linear-gradient(180deg, transparent 50%, rgba(3, 5, 12, 0.75) 100%);
 pointer-events: none;
}
.work-card .media--logo {
 background: #050508;
}
.work-card .media--logo img {
 object-fit: contain;
 object-position: center;
 padding: 0.85rem 1rem;
 filter: none;
}
.work-card:hover .media--logo img {
 transform: none;
 filter: none;
}
.work-card .media--logo::after {
 display: none;
}
.browser-bar {
 display: flex;
 align-items: center;
 gap: 0.4rem;
 padding: 0.55rem 0.75rem;
 background: #0a1020;
 border-bottom: 1px solid var(--line);
}
.browser-dot {
 width: 9px; height: 9px; border-radius: 50%;
}
.browser-dot--r { background: #ff5f57; }
.browser-dot--y { background: #febc2e; }
.browser-dot--g { background: #28c840; }
.browser-url {
 margin-left: 0.5rem;
 flex: 1;
 font-size: 0.7rem;
 color: var(--muted);
 font-family: var(--font-accent);
 letter-spacing: 0.04em;
 background: rgba(255,255,255,0.04);
 padding: 0.25rem 0.6rem;
 border-radius: 6px;
}

/* About layout */
.about-grid {
 display: grid;
 gap: 2.5rem;
 align-items: start;
}
@media (min-width: 900px) {
 .about-grid {
 grid-template-columns: 0.9fr 1.1fr;
 gap: 3.5rem;
 align-items: center;
 }
}
.about-copy h2 {
 margin-bottom: 1.7rem;
}
.about-copy p {
 margin-bottom: 1.45rem;
}
.about-copy p:last-child {
 margin-bottom: 0;
}
/* Full teach photo — natural height, no crop */
.teach-photo {
 position: relative;
 margin-bottom: 1.5rem;
 border-radius: 24px;
 overflow: hidden;
 border: 1px solid var(--line-strong);
 box-shadow: var(--shadow-blue);
 background: var(--panel);
}
.teach-photo img {
 width: 100%;
 height: auto;
 display: block;
 object-fit: contain;
}
.teach-photo--crop {
 aspect-ratio: 1 / 1;
}
.teach-photo--crop img {
 height: 100%;
 object-fit: cover;
 object-position: center 12%;
}
.portrait-frame {
 position: relative;
 border-radius: 24px;
 overflow: hidden;
 border: 1px solid var(--line-strong);
 box-shadow: var(--shadow-blue);
 aspect-ratio: 4 / 5;
 background: var(--panel);
}
.portrait-frame img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 object-position: center top;
}
.portrait-frame--osku img {
 object-position: 10% 18%;
 transform: scale(1.32);
 transform-origin: 12% 18%;
}
.portrait-frame::before {
 content: "";
 position: absolute;
 inset: 0;
 border-radius: inherit;
 box-shadow: inset 0 0 60px rgba(26, 109, 255, 0.25);
 pointer-events: none;
 z-index: 2;
}
.portrait-glow {
 position: absolute;
 inset: -2px;
 border-radius: 26px;
 background: linear-gradient(135deg, var(--blue-mid), transparent 40%, var(--mint-glow));
 z-index: -1;
 filter: blur(16px);
 opacity: 0.55;
 animation: portrait-aura 4s ease-in-out infinite alternate;
}
@keyframes portrait-aura {
 from { opacity: 0.35; }
 to { opacity: 0.75; }
}
.stat-row {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 0.85rem;
 margin: 1.75rem 0;
}
@media (min-width: 560px) {
 .stat-row { grid-template-columns: repeat(4, 1fr); }
}
.stat {
 padding: 1rem;
 border-radius: var(--radius-sm);
 background: rgba(14, 22, 40, 0.85);
 border: 1px solid var(--line);
 text-align: center;
}
.stat strong {
 display: block;
 font-family: var(--font-display);
 font-size: 1.6rem;
 color: var(--cyan);
 text-shadow: 0 0 18px rgba(0, 212, 255, 0.45);
 margin-bottom: 0.2rem;
}
.stat span {
 font-size: 0.72rem;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: var(--muted);
 font-family: var(--font-accent);
}
.quote-block {
 position: relative;
 margin: 2rem 0;
 padding: 1.5rem 1.5rem 1.5rem 1.75rem;
 border-left: 3px solid var(--mint-glow);
 background: linear-gradient(90deg, rgba(127, 219, 202, 0.08), transparent);
 border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
 font-family: var(--font-display);
 font-style: italic;
 font-size: 1.15rem;
 color: var(--blue-ice);
 line-height: 1.5;
}
.quote-block cite {
 display: block;
 margin-top: 0.75rem;
 font-family: var(--font-accent);
 font-style: normal;
 font-size: 0.75rem;
 letter-spacing: 0.1em;
 text-transform: uppercase;
 color: var(--mint);
}

/* Timeline */
.timeline {
 position: relative;
 padding-left: 1.5rem;
 margin: 2rem 0;
}
.timeline::before {
 content: "";
 position: absolute;
 left: 0;
 top: 0.25rem;
 bottom: 0.25rem;
 width: 2px;
 background: linear-gradient(180deg, var(--cyan), var(--blue), var(--mint-glow));
 box-shadow: 0 0 12px rgba(0, 212, 255, 0.4);
}
.timeline-item {
 position: relative;
 padding: 0 0 1.75rem 1.25rem;
}
.timeline-item::before {
 content: "";
 position: absolute;
 left: -1.5rem;
 top: 0.35rem;
 width: 12px;
 height: 12px;
 border-radius: 50%;
 background: var(--cyan);
 box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.2), 0 0 16px rgba(0, 212, 255, 0.6);
 transform: translateX(-5px);
}
.timeline-item h4 {
 color: var(--white);
 font-size: 1.05rem;
 margin-bottom: 0.25rem;
}
.timeline-item h4 a {
 color: var(--cyan);
 text-decoration: underline;
 text-underline-offset: 0.18em;
}
.timeline-item h4 a:hover {
 color: var(--blue-ice);
}
.timeline-item p {
 color: var(--muted);
 font-size: 0.95rem;
 margin: 0;
}
.timeline-item .when {
 font-family: var(--font-accent);
 font-size: 0.7rem;
 letter-spacing: 0.12em;
 text-transform: uppercase;
 color: var(--mint-glow);
 margin-bottom: 0.3rem;
}

/* Video embeds — equal 2×2 cells */
.video-grid {
 display: grid;
 gap: 1.25rem 1.35rem;
 grid-template-columns: 1fr;
}
@media (min-width: 800px) {
 .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.video-cell {
 min-width: 0;
 display: flex;
 flex-direction: column;
}
.video-frame {
 position: relative;
 width: 100%;
 flex: 0 0 auto;
 border-radius: var(--radius);
 overflow: hidden;
 border: 1px solid var(--line-strong);
 box-shadow: var(--shadow-blue);
 background: #000;
 aspect-ratio: 16 / 9;
}
.video-frame iframe {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 border: 0;
}
.video-label {
 margin: 0.5rem 0 0;
 color: var(--muted);
 font-size: 0.86rem;
 line-height: 1.4;
 min-height: 2.6em;
}
.video-caption {
 grid-column: 1 / -1;
 margin: 0;
 color: var(--muted);
 font-size: 0.95rem;
 line-height: 1.55;
}
.video-list {
 display: flex;
 flex-direction: column;
 gap: 0.85rem;
}
.video-item {
 display: flex;
 gap: 1rem;
 padding: 1rem;
 border-radius: var(--radius-sm);
 background: rgba(14, 22, 40, 0.9);
 border: 1px solid var(--line);
 transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.video-item:hover {
 border-color: rgba(126, 200, 255, 0.4);
 box-shadow: 0 0 24px rgba(26, 109, 255, 0.2);
 transform: translateX(4px);
}
.video-item .thumb {
 width: 96px;
 height: 64px;
 border-radius: 8px;
 background: linear-gradient(135deg, var(--blue-deep), var(--panel));
 flex-shrink: 0;
 display: grid;
 place-items: center;
 color: var(--cyan);
 font-size: 1.4rem;
 border: 1px solid var(--line);
}
.video-item h4 {
 font-size: 0.98rem;
 color: var(--white);
 margin-bottom: 0.2rem;
}
.video-item p {
 font-size: 0.85rem;
 color: var(--muted);
 margin: 0;
}

/* Audio player mock */
.audio-stage {
 display: grid;
 gap: 1.5rem;
}
@media (min-width: 900px) {
 .audio-stage { grid-template-columns: 1fr 1fr; }
}
.player-shell {
 padding: 1.75rem;
 border-radius: var(--radius);
 background:
 radial-gradient(ellipse at 20% 0%, rgba(26, 109, 255, 0.25), transparent 50%),
 linear-gradient(160deg, #121c32, #080e1a);
 border: 1px solid var(--line-strong);
 box-shadow: var(--shadow-blue);
}
.player-shell h3 {
 color: var(--white);
 margin-bottom: 0.35rem;
 overflow-wrap: anywhere;
}
.player-shell .artist {
 color: var(--mint);
 font-size: 0.72rem;
 line-height: 1.4;
 margin-bottom: 1.25rem;
 overflow-wrap: anywhere;
}
.eq-visual {
 display: flex;
 align-items: flex-end;
 justify-content: center;
 gap: 5px;
 height: 90px;
 margin: 1.25rem 0;
 padding: 0.75rem;
 border-radius: 12px;
 background: rgba(0, 0, 0, 0.35);
 border: 1px solid rgba(126, 200, 255, 0.15);
}
.eq-visual i {
 display: block;
 width: 8px;
 border-radius: 4px 4px 0 0;
 background: linear-gradient(180deg, var(--cyan), var(--blue), var(--mint-glow));
 box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
 animation: eq 1.2s ease-in-out infinite;
 animation-play-state: paused;
 transform-origin: bottom;
}
.player-shell.is-playing .eq-visual i {
 animation-play-state: running;
}
.player-progress {
 display: flex;
 align-items: center;
 gap: 0.7rem;
 margin: 0.25rem 0 0.85rem;
}
.player-progress span {
 font-family: var(--font-accent);
 font-size: 0.72rem;
 color: var(--muted);
 min-width: 2.4rem;
}
.player-progress span:last-child { text-align: right; }
.player-progress input[type="range"] {
 flex: 1;
 appearance: none;
 height: 4px;
 border-radius: 99px;
 background: rgba(126, 200, 255, 0.2);
 outline: none;
 cursor: pointer;
}
.player-progress input[type="range"]::-webkit-slider-thumb {
 appearance: none;
 width: 14px;
 height: 14px;
 border-radius: 50%;
 background: var(--cyan);
 box-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}
.track-list li:not([data-src]) {
 opacity: 0.55;
 cursor: default;
}
.eq-visual i:nth-child(odd) { animation-duration: 0.9s; }
.eq-visual i:nth-child(3n) { animation-duration: 1.4s; animation-delay: 0.1s; }
.eq-visual i:nth-child(4n) { animation-delay: 0.2s; }
@keyframes eq {
 0%, 100% { height: 18%; }
 50% { height: 95%; }
}
.player-controls {
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 1rem;
 margin-top: 0.5rem;
}
.player-controls button {
 width: 44px;
 height: 44px;
 border-radius: 50%;
 border: 1px solid var(--line);
 background: rgba(26, 109, 255, 0.15);
 color: var(--blue-ice);
 display: grid;
 place-items: center;
 transition: 0.25s;
}
.player-controls button.play {
 width: 56px;
 height: 56px;
 background: linear-gradient(135deg, var(--blue), var(--cyan));
 border: none;
 box-shadow: var(--shadow-blue);
 color: white;
 font-size: 1.2rem;
}
.player-controls button:hover {
 transform: scale(1.08);
 box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}
.player-volume {
 display: flex;
 align-items: center;
 gap: 0.65rem;
 margin-top: 0.85rem;
}
.player-volume button {
 width: 36px;
 height: 36px;
 flex-shrink: 0;
 border-radius: 50%;
 border: 1px solid var(--line);
 background: rgba(26, 109, 255, 0.12);
 color: var(--blue-ice);
 display: grid;
 place-items: center;
 font-size: 0.95rem;
 transition: 0.25s;
}
.player-volume button:hover {
 transform: scale(1.08);
 box-shadow: 0 0 16px rgba(0, 212, 255, 0.35);
}
.player-volume input[type="range"] {
 flex: 1;
 appearance: none;
 height: 4px;
 border-radius: 99px;
 background: rgba(126, 200, 255, 0.2);
 outline: none;
 cursor: pointer;
}
.player-volume input[type="range"]::-webkit-slider-thumb {
 appearance: none;
 width: 14px;
 height: 14px;
 border-radius: 50%;
 background: var(--cyan);
 box-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}
.player-volume input[type="range"]::-moz-range-thumb {
 width: 14px;
 height: 14px;
 border: none;
 border-radius: 50%;
 background: var(--cyan);
 box-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}
.track-list li {
 display: flex;
 align-items: flex-start;
 justify-content: space-between;
 gap: 1rem;
 padding: 0.9rem 1rem;
 border-radius: 12px;
 border: 1px solid transparent;
 background: rgba(14, 22, 40, 0.6);
 margin-bottom: 0.5rem;
 transition: 0.25s;
 cursor: pointer;
}
.track-list li:hover,
.track-list li.is-active {
 border-color: var(--line-strong);
 background: rgba(26, 109, 255, 0.12);
 box-shadow: 0 0 20px rgba(26, 109, 255, 0.15);
}
.track-list .num {
 font-family: var(--font-accent);
 color: var(--cyan);
 font-size: 0.8rem;
 width: 1.5rem;
 flex-shrink: 0;
 padding-top: 0.12rem;
}
.track-copy {
 flex: 1;
 min-width: 0;
}
.track-list .name {
 display: block;
 color: var(--white);
 font-weight: 500;
}
.track-list .year {
 font-family: var(--font-accent);
 color: var(--cyan);
 font-size: 0.8rem;
 letter-spacing: 0.04em;
 width: 2.7rem;
 flex-shrink: 0;
 text-align: right;
 padding-top: 0.12rem;
}
.track-list .credits {
 display: block;
 margin-top: 0.22rem;
 font-size: 0.68rem;
 line-height: 1.35;
 color: var(--muted);
 font-weight: 400;
}
.track-list .credits a { color: var(--cyan); }
.track-list .credits a:hover { color: var(--white); }
.track-list .dur {
 color: var(--muted);
 font-size: 0.85rem;
 width: 2.4rem;
 flex-shrink: 0;
 text-align: right;
 padding-top: 0.12rem;
}
@media (max-width: 700px) {
 .track-list li {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr) auto;
  column-gap: 0.7rem;
  row-gap: 0.15rem;
  align-items: start;
  padding: 0.85rem 0.8rem;
 }
 .track-list .num { grid-column: 1; grid-row: 1 / span 2; }
 .track-copy { grid-column: 2; grid-row: 1 / span 2; min-width: 0; }
 .track-list .year,
 .track-list .dur {
  grid-column: 3;
  width: auto;
  min-width: 2.4rem;
  text-align: right;
 }
 .track-list .year { grid-row: 1; }
 .track-list .dur { grid-row: 2; padding-top: 0; }
 .track-list .name,
 .track-list .credits { overflow-wrap: anywhere; }
 .eq-visual { height: 64px; gap: 3px; padding: 0.5rem; }
 .eq-visual i { width: 5px; }
 .playlist-tabs [role="tab"] { font-size: 0.68rem; padding: 0.5rem 0.75rem; }
}
.playlist-dock { min-width: 0; }
.playlist-tabs {
 display: flex;
 flex-wrap: wrap;
 gap: 0.45rem;
 margin-bottom: 0.85rem;
}
.playlist-tabs [role="tab"] {
 appearance: none;
 cursor: pointer;
 font-family: var(--font-accent);
 font-size: 0.72rem;
 letter-spacing: 0.06em;
 text-transform: uppercase;
 color: var(--muted);
 background: rgba(14, 22, 40, 0.7);
 border: 1px solid var(--line);
 border-radius: 999px;
 padding: 0.55rem 0.9rem;
 min-height: 40px;
 transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}
.playlist-tabs [role="tab"]:hover {
 color: var(--blue-ice);
 border-color: var(--line-strong);
}
.playlist-tabs [role="tab"][aria-selected="true"] {
 color: var(--white);
 background: linear-gradient(135deg, rgba(26, 109, 255, 0.35), rgba(0, 212, 255, 0.12));
 border-color: var(--line-strong);
 box-shadow: 0 0 18px rgba(0, 212, 255, 0.18);
}
.playlist-lead {
 color: var(--muted);
 font-size: 0.88rem;
 line-height: 1.45;
 margin: 0 0 1rem;
 min-height: 2.5em;
}
.track-list[hidden] { display: none; }
.playlist-note {
 font-size: 0.78rem;
 color: var(--muted);
 margin: 0.35rem 0 0;
}

/* Teaching — two-column fold: photos stacked left, cards + miten right */
.teach-grid {
 display: grid;
 gap: 1.25rem;
}
.teach-photos {
 display: grid;
 gap: 1.25rem;
}
.teach-col-title {
 color: var(--white);
 font-size: 1.5rem;
 margin-bottom: 0.75rem;
}
.teach-photo {
 margin-bottom: 0;
}
.teach-body .quote-block {
 margin-top: 1.25rem;
}
.teach-quote {
 margin: 0;
}
.teach-kenelle p {
 margin: 0;
 color: var(--muted);
}
.teach-right {
 display: flex;
 flex-direction: column;
 gap: 2.4rem;
}
.teach-schools .school-card:last-child {
 margin-bottom: 0;
}
@media (max-width: 799px) {
 .teach-photos { order: 1; }
 .teach-right { order: 2; }
}
@media (min-width: 800px) {
 .teach-grid {
  grid-template-columns: 1.1fr 0.9fr;
  column-gap: 1.75rem;
  align-items: start;
 }
}
.checklist li {
 position: relative;
 padding: 0.65rem 0 0.65rem 1.75rem;
 color: var(--text);
 border-bottom: 1px solid rgba(90, 160, 255, 0.1);
}
.checklist li::before {
 content: "✦";
 position: absolute;
 left: 0;
 color: var(--mint-glow);
 text-shadow: 0 0 10px rgba(127, 219, 202, 0.6);
}
.school-card {
 padding: 1.25rem;
 border-radius: var(--radius-sm);
 background: rgba(14, 22, 40, 0.85);
 border: 1px solid var(--line);
 margin-bottom: 0.85rem;
 transition: 0.3s;
}
.school-card:hover {
 border-color: rgba(127, 219, 202, 0.4);
 box-shadow: var(--shadow-mint);
}
.school-card h4 {
 color: var(--white);
 margin-bottom: 0.3rem;
}
.school-card p {
 color: var(--muted);
 font-size: 0.92rem;
 margin: 0;
}

/* Contact */
.contact-grid {
 display: grid;
 gap: 1.25rem;
}
@media (min-width: 800px) {
 .contact-grid { grid-template-columns: 1fr 1fr; }
}
.contact-tile {
 padding: 1.75rem;
 border-radius: var(--radius);
 background: linear-gradient(160deg, rgba(18, 28, 50, 0.95), rgba(8, 12, 24, 0.98));
 border: 1px solid var(--line);
 transition: 0.35s;
}
.contact-tile:hover {
 border-color: rgba(126, 200, 255, 0.45);
 box-shadow: var(--shadow-blue);
 transform: translateY(-4px);
}
.contact-tile .label {
 font-family: var(--font-accent);
 font-size: 0.7rem;
 letter-spacing: 0.14em;
 text-transform: uppercase;
 color: var(--mint-glow);
 margin-bottom: 0.5rem;
}
.contact-tile a,
.contact-tile .value {
 font-size: 1.2rem;
 color: var(--white);
 word-break: break-word;
}
.contact-tile a:hover {
 color: var(--cyan);
 text-shadow: 0 0 14px rgba(0, 212, 255, 0.5);
}
.contact-mails {
 display: flex;
 flex-direction: column;
 align-items: flex-start;
 gap: 0.4rem;
}
.contact-mails a {
 font-size: 1.05rem;
 line-height: 1.25;
}
.social-row {
 display: flex;
 flex-wrap: wrap;
 gap: 0.75rem;
 margin-top: 1.5rem;
}
.social-pill {
 display: inline-flex;
 align-items: center;
 gap: 0.5rem;
 padding: 0.7rem 1.1rem;
 border-radius: 999px;
 border: 1px solid var(--line-strong);
 background: rgba(14, 22, 40, 0.85);
 font-family: var(--font-accent);
 font-size: 0.78rem;
 letter-spacing: 0.06em;
 text-transform: uppercase;
 color: var(--blue-ice);
 transition: 0.3s;
}
.social-pill:hover {
 background: rgba(26, 109, 255, 0.2);
 box-shadow: 0 0 24px rgba(26, 109, 255, 0.35);
 transform: translateY(-2px);
}

/* Marquee 70s strip */
.marquee-wrap {
 overflow: hidden;
 border-block: 1px solid var(--line);
 background: linear-gradient(90deg, rgba(10, 61, 143, 0.25), rgba(6, 10, 20, 0.9), rgba(127, 219, 202, 0.12));
 padding: 0.85rem 0;
 margin: 0.5rem 0 0;
}
.marquee {
 display: flex;
 width: max-content;
 gap: 2.5rem;
 animation: marquee 28s linear infinite;
 font-family: var(--font-accent);
 font-size: 0.78rem;
 font-weight: 600;
 letter-spacing: 0.18em;
 text-transform: uppercase;
 color: var(--blue-light);
 white-space: nowrap;
}
.marquee span + span {
 margin-left: 0;
}
.marquee span::before {
 content: "·";
 margin-right: 2.5rem;
 color: var(--blue-mid);
 text-shadow: none;
 opacity: 0.7;
}
@keyframes marquee {
 to { transform: translateX(-50%); }
}

/* Gallery */
.gallery {
 display: grid;
 gap: 0.85rem;
 grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 800px) {
 .gallery { grid-template-columns: repeat(3, 1fr); }
 .gallery figure.span-2 {
  grid-row: span 2;
  aspect-ratio: auto;
  height: 100%;
 }
}
.gallery figure {
 position: relative;
 margin: 0;
 border-radius: var(--radius-sm);
 overflow: hidden;
 border: 1px solid var(--line);
 aspect-ratio: 4 / 3;
 background: var(--panel);
}
.gallery figure > a {
 position: absolute;
 inset: 0;
 display: block;
 cursor: zoom-in;
}
.gallery figure > a img,
.gallery img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 object-position: center 22%;
 transition: transform 0.6s var(--ease), filter 0.4s;
}
.gallery figure:hover img {
 transform: scale(1.08);
 filter: brightness(1.08) saturate(1.15);
}
.gallery figcaption {
 position: absolute;
 left: 0; right: 0; bottom: 0;
 padding: 0.75rem;
 font-size: 0.78rem;
 color: var(--white);
 background: linear-gradient(transparent, rgba(0,0,0,0.8));
 font-family: var(--font-accent);
 letter-spacing: 0.04em;
 pointer-events: none;
 z-index: 1;
}
.gallery--dense {
 gap: 0.65rem;
}
@media (min-width: 800px) {
 .gallery--dense { grid-template-columns: repeat(4, 1fr); }
}
.gallery--even {
 align-items: stretch;
}
.gallery--even figure {
 grid-column: auto;
 aspect-ratio: 4 / 3;
}
.gallery figure.span-2 {
 grid-column: span 2;
}
.gallery figure.span-tall {
 aspect-ratio: 3 / 4;
}
.gallery figure.span-wide {
 aspect-ratio: 21 / 9;
}
.gallery figure.span-full {
 grid-column: 1 / -1;
 aspect-ratio: 16 / 9;
}
@media (max-width: 799px) {
 .gallery figure.span-2 { grid-column: span 2; }
 .gallery figure.span-full { aspect-ratio: 4 / 3; }
}
/* Photo mosaic — full image visible (object-fit: contain), click opens lightbox */
.photo-mosaic {
 display: grid;
 gap: 0.75rem;
 grid-template-columns: repeat(2, 1fr);
 align-items: stretch;
}
@media (min-width: 700px) {
 .photo-mosaic {
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
 }
}
.photo-mosaic figure {
 margin: 0;
 border-radius: var(--radius-sm);
 overflow: hidden;
 border: 1px solid var(--line);
 position: relative;
 background:
  radial-gradient(ellipse at 30% 20%, rgba(26, 109, 255, 0.12), transparent 55%),
  var(--panel);
 display: flex;
 flex-direction: column;
 min-height: 0;
}
.photo-mosaic .photo-link {
 display: flex;
 align-items: center;
 justify-content: center;
 flex: 1;
 width: 100%;
 height: 100%;
 min-height: 0;
 padding: 0.45rem;
 cursor: zoom-in;
 outline: none;
}
.photo-mosaic .photo-link:focus-visible {
 box-shadow: inset 0 0 0 2px var(--cyan);
}
.photo-mosaic figure img {
 width: 100%;
 height: 100%;
 max-height: 100%;
 object-fit: contain;
 object-position: center;
 display: block;
 transition: filter 0.35s, opacity 0.35s;
}
.photo-mosaic figure:hover img {
 filter: brightness(1.06) saturate(1.08);
}
/* Portrait cells: taller box, 2-col span on mobile stays 1 */
.photo-mosaic .pm-portrait {
 aspect-ratio: 3 / 4;
}
/* Landscape cells */
.photo-mosaic .pm-land {
 aspect-ratio: 4 / 3;
}
.photo-mosaic .pm-span-2 {
 grid-column: span 2;
 aspect-ratio: 16 / 9;
}
@media (max-width: 699px) {
 .photo-mosaic .pm-span-2 {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
 }
 .photo-mosaic .pm-portrait {
  aspect-ratio: 3 / 4;
 }
}
.photo-mosaic figure figcaption {
 position: absolute;
 left: 0; right: 0; bottom: 0;
 padding: 0.55rem 0.7rem;
 font-size: 0.7rem;
 color: var(--white);
 background: linear-gradient(transparent, rgba(0,0,0,0.78));
 font-family: var(--font-accent);
 letter-spacing: 0.04em;
 opacity: 0.92;
 pointer-events: none;
 transition: opacity 0.3s;
}
.photo-mosaic figure:hover figcaption { opacity: 1; }
@media (min-width: 700px) {
 .photo-mosaic figure figcaption { opacity: 0; }
 .photo-mosaic figure:hover figcaption { opacity: 1; }
}
/* Even contain-grid: same cell size, whole image visible. Span 2 or 4 among the rest. */
.photo-mosaic--even {
 grid-auto-flow: dense;
}
.photo-mosaic--even figure {
 aspect-ratio: 1 / 1;
}
.photo-mosaic--even .pm-span-2 {
 grid-column: span 2;
 grid-row: auto;
 aspect-ratio: 2 / 1;
}
.photo-mosaic--even .pm-span-4 {
 grid-column: span 2;
 grid-row: span 2;
 aspect-ratio: 1 / 1;
}
@media (max-width: 699px) {
 .photo-mosaic--even .pm-span-2 {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
 }
 .photo-mosaic--even .pm-span-4 {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 1 / 1;
 }
}

/* Lightbox overlay — closed must be display:none (Android still hit-tests visibility:hidden layers) */
.lightbox {
 position: fixed;
 inset: 0;
 z-index: 10050;
 display: none;
 place-items: center;
 padding: 1.25rem;
 background: rgba(3, 5, 12, 0.92);
 pointer-events: none;
}
.lightbox.is-open {
 display: grid;
 pointer-events: auto;
 overflow: hidden;
 isolation: isolate;
 transform: translateZ(0);
 animation: lightbox-in 0.28s ease;
}
@keyframes lightbox-in {
 from { opacity: 0; }
 to { opacity: 1; }
}
@media (hover: hover) and (pointer: fine) {
 .lightbox.is-open { backdrop-filter: blur(10px); }
}
.lightbox-inner {
 position: relative;
 max-width: min(96vw, 1200px);
 max-height: 92vh;
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 0.75rem;
}
.lightbox-stage {
 position: relative;
 width: fit-content;
 max-width: 100%;
}
.lightbox-inner img {
 max-width: 100%;
 max-height: min(86vh, 900px);
 width: auto;
 height: auto;
 object-fit: contain;
 border-radius: 12px;
 border: 1px solid var(--line-strong);
 box-shadow: 0 0 60px rgba(0, 212, 255, 0.25), 0 20px 60px rgba(0, 0, 0, 0.55);
}
.lightbox-inner img.is-in {
 animation: lightbox-pic 0.32s ease;
}
@keyframes lightbox-pic {
 from { opacity: 0; transform: scale(0.97); }
 to { opacity: 1; transform: none; }
}
.lightbox-caption {
 position: absolute;
 left: 0;
 right: 0;
 bottom: 0;
 margin: 0;
 padding: 2.1rem 1.15rem 0.85rem;
 border-radius: 0 0 12px 12px;
 background: linear-gradient(180deg, transparent 0%, rgba(3, 5, 12, 0.55) 38%, rgba(3, 5, 12, 0.92) 100%);
 font-family: var(--font-accent);
 font-size: clamp(0.74rem, 1.7vw, 0.9rem);
 font-weight: 500;
 letter-spacing: 0.055em;
 line-height: 1.35;
 text-align: center;
 color: #e8f6ff;
 text-shadow: 0 1px 14px rgba(0, 0, 0, 0.7);
 pointer-events: none;
}
.lightbox-caption::before {
 content: "";
 display: block;
 width: 2.5rem;
 height: 1px;
 margin: 0 auto 0.5rem;
 background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.85), transparent);
}
.lightbox-caption[hidden] { display: none; }
.lightbox-close {
 position: absolute;
 top: -0.25rem;
 right: -0.25rem;
 width: 44px;
 height: 44px;
 border-radius: 50%;
 border: 1px solid var(--line-strong);
 background: rgba(14, 22, 40, 0.95);
 color: var(--blue-ice);
 font-size: 1.4rem;
 line-height: 1;
 display: grid;
 place-items: center;
 cursor: pointer;
 z-index: 2;
 transition: 0.25s;
 box-shadow: 0 0 20px rgba(26, 109, 255, 0.35);
}
.lightbox-close:hover {
 background: rgba(26, 109, 255, 0.35);
 color: var(--white);
 transform: scale(1.06);
}
.lightbox-nav {
 position: absolute;
 top: 50%;
 transform: translateY(-50%);
 width: 48px;
 height: 48px;
 border-radius: 50%;
 border: 1px solid var(--line-strong);
 background: rgba(14, 22, 40, 0.92);
 color: var(--blue-ice);
 font-size: 2rem;
 line-height: 1;
 display: grid;
 place-items: center;
 cursor: pointer;
 z-index: 2;
 transition: 0.25s;
 box-shadow: 0 0 20px rgba(26, 109, 255, 0.28);
}
.lightbox-nav:hover {
 background: rgba(26, 109, 255, 0.35);
 color: var(--white);
}
.lightbox-prev { left: 0.75rem; }
.lightbox-next { right: 0.75rem; }
.lightbox-nav[hidden] { display: none; }
.lightbox.is-a4 {
 padding: 0.65rem 3.2rem;
 background: #141414;
}
.lightbox.is-a4 .lightbox-inner {
 max-width: min(92vw, calc(86dvh * 210 / 297));
 max-height: 86dvh;
 width: min(92vw, calc(86dvh * 210 / 297));
 height: auto;
}
.lightbox.is-a4 .lightbox-stage { width: 100%; }
.lightbox.is-a4 .lightbox-inner img {
 width: 100%;
 height: auto;
 max-width: 100%;
 max-height: 86dvh;
 object-fit: contain;
 background: #fff;
 border-radius: 2px;
 border: 0;
 box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
}
.lightbox.is-a4 .lightbox-caption {
 border-radius: 0 0 2px 2px;
 padding: 1.7rem 0.8rem 0.65rem;
}
.lightbox.is-a4 .lightbox-close {
 position: fixed;
 top: 0.55rem;
 right: 0.55rem;
}
.lightbox.is-a4 .lightbox-prev { left: 0.35rem; }
.lightbox.is-a4 .lightbox-next { right: 0.35rem; }
@media (max-width: 640px) {
 .lightbox-nav {
  width: 40px;
  height: 40px;
  font-size: 1.6rem;
 }
 .lightbox-prev { left: 0.35rem; }
 .lightbox-next { right: 0.35rem; }
 .lightbox-caption {
  padding: 1.7rem 0.8rem 0.7rem;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
 }
 .lightbox.is-a4 {
  padding: 2.8rem 0.45rem 0.55rem;
 }
 .lightbox.is-a4 .lightbox-inner {
  width: min(96vw, calc(78dvh * 210 / 297));
  max-width: 96vw;
  max-height: 78dvh;
 }
 .lightbox.is-a4 .lightbox-inner img { max-height: 78dvh; }
}
body.lightbox-open iframe {
 visibility: hidden;
}
body.is-scroll-lock {
 position: fixed;
 left: 0;
 width: 100%;
 overflow: hidden;
}

/* Horizontal film strip */
.film-strip {
 display: grid;
 grid-auto-flow: column;
 grid-auto-columns: minmax(200px, 28vw);
 gap: 0.75rem;
 overflow-x: auto;
 padding: 0.35rem 0 1rem;
 scroll-snap-type: x mandatory;
 -webkit-overflow-scrolling: touch;
 scrollbar-color: var(--blue-mid) var(--void);
}
.film-strip figure {
 margin: 0;
 scroll-snap-align: start;
 border-radius: var(--radius-sm);
 overflow: hidden;
 border: 1px solid var(--line);
 aspect-ratio: 4 / 3;
 position: relative;
 background: var(--panel);
}
.film-strip img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.5s var(--ease);
}
.film-strip figure:hover img { transform: scale(1.05); }
.film-strip figcaption {
 position: absolute;
 left: 0; right: 0; bottom: 0;
 padding: 0.55rem 0.7rem;
 font-size: 0.72rem;
 color: var(--white);
 background: linear-gradient(transparent, rgba(0,0,0,0.8));
 font-family: var(--font-accent);
}

/* Media + text split rows */
.media-split {
 display: grid;
 gap: 1.5rem;
 align-items: center;
 margin: 2rem 0;
}
@media (min-width: 860px) {
 .media-split {
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
 }
 .media-split--flip .media-split-img { order: 2; }
 .media-split--flip .media-split-text { order: 1; }
}
.media-split-img {
 border-radius: var(--radius);
 overflow: hidden;
 border: 1px solid var(--line-strong);
 box-shadow: var(--shadow-blue);
 position: relative;
 aspect-ratio: 4 / 3;
 background: var(--panel);
}
.media-split-img img {
 width: 100%;
 height: 100%;
 object-fit: cover;
}
.media-split-img--natural {
 aspect-ratio: auto;
}
.media-split-img--natural img {
 height: auto;
 object-fit: contain;
}
.media-split-text h3 {
 color: var(--white);
 font-size: 1.45rem;
 margin-bottom: 0.65rem;
}
.media-split-text p {
 color: var(--muted);
 line-height: 1.55;
}

/* Portrait stack (about page) */
.portrait-stack {
 display: grid;
 gap: 0.75rem;
}
.portrait-stack .portrait-frame {
 margin: 0;
}
.portrait-stack .mini-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 0.75rem;
}
.portrait-stack .mini-grid figure {
 margin: 0;
 border-radius: var(--radius-sm);
 overflow: hidden;
 border: 1px solid var(--line);
 aspect-ratio: 1;
 background: var(--panel);
}
.portrait-stack .mini-grid img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.5s var(--ease);
}
.portrait-stack .mini-grid figure:hover img {
 transform: scale(1.06);
}

/* Contact face card */
.card:has(.contact-face) {
 display: flex;
 flex-direction: column;
}
.contact-face {
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 text-align: center;
 gap: 1.1rem;
 flex: 1;
}
.contact-face > img {
 width: 140px;
 max-width: 140px;
 aspect-ratio: 1;
 object-fit: cover;
 border-radius: 50%;
 border: 3px solid rgba(126, 200, 255, 0.45);
 box-shadow: 0 0 32px rgba(26, 109, 255, 0.45);
}
.contact-face-id {
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 0.75rem;
}
.contact-face-id h3 { margin: 0; }
.contact-face-id p {
 margin: 0;
 color: var(--muted);
 font-size: 0.9rem;
}
.contact-face-logo {
 width: 44px;
 height: 44px;
 border-radius: 50%;
 object-fit: cover;
 border: 2px solid rgba(126, 200, 255, 0.45);
 box-shadow: 0 0 18px rgba(26, 109, 255, 0.4);
}
.contact-face-note {
 margin: 0;
 color: var(--muted);
}
.contact-face .hero-actions {
 justify-content: center;
 margin-bottom: 0;
}

/* Service card with thumb image */
.card-thumb {
 aspect-ratio: 16 / 10;
 overflow: hidden;
 background: var(--ink);
 position: relative;
 margin: 0;
}
.card-thumb img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.6s var(--ease);
}
.card:hover .card-thumb img {
 transform: scale(1.05);
}
.card-thumb figcaption {
 position: absolute;
 left: 0;
 right: 0;
 bottom: 0;
 margin: 0;
 padding: 0.7rem 0.8rem 0.65rem;
 font-size: 0.7rem;
 line-height: 1.35;
 color: var(--white);
 background: linear-gradient(transparent, rgba(3, 5, 12, 0.88));
 font-family: var(--font-accent);
 letter-spacing: 0.02em;
}

/* Hero duo: logo + portrait */
.hero-duo {
 display: flex;
 flex-wrap: wrap;
 gap: 1.25rem 1.5rem;
 align-items: center;
 justify-content: center;
}
.hero-duo .hero-logo-wrap {
 width: min(200px, 42vw);
 flex-shrink: 0;
}
.hero-duo .hero-logo {
 width: 100%;
 height: auto;
}
.hero-portrait {
 width: min(240px, 48vw);
 aspect-ratio: 1;
 border-radius: 50%;
 overflow: hidden;
 border: 3px solid rgba(126, 200, 255, 0.45);
 box-shadow:
  0 0 0 8px rgba(26, 109, 255, 0.12),
  0 0 50px rgba(0, 212, 255, 0.35);
 position: relative;
 flex-shrink: 0;
}
.hero-portrait img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 object-position: center 25%;
}
.hero-portrait::after {
 content: "";
 position: absolute;
 inset: 0;
 border-radius: inherit;
 box-shadow: inset 0 0 40px rgba(26, 109, 255, 0.25);
 pointer-events: none;
}
@media (min-width: 960px) {
 .hero-duo .hero-logo-wrap { width: min(220px, 100%); }
 .hero-portrait { width: min(260px, 100%); }
}

/* Footer */
.footer {
 margin-top: auto;
 padding: 3rem 0 2rem;
 border-top: 1px solid var(--line);
 background: linear-gradient(180deg, transparent, rgba(6, 10, 20, 0.95));
 position: relative;
}
.footer::before {
 content: "";
 position: absolute;
 top: 0; left: 0; right: 0;
 height: 1px;
 background: linear-gradient(90deg, transparent, var(--cyan), var(--mint-glow), var(--blue), transparent);
 box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}
.footer-grid {
 display: grid;
 gap: 2rem;
}
@media (min-width: 800px) {
 .footer-grid {
 grid-template-columns: 1.4fr 1fr 1fr;
 }
}
.footer h4 {
 font-family: var(--font-accent);
 font-size: 0.75rem;
 letter-spacing: 0.16em;
 text-transform: uppercase;
 color: var(--mint-glow);
 margin-bottom: 1rem;
}
.footer p, .footer a {
 color: var(--muted);
 font-size: 0.92rem;
}
.footer a:hover { color: var(--cyan); }
.footer-brand {
 display: flex;
 align-items: center;
 gap: 0.75rem;
 margin-bottom: 1rem;
}
.footer-brand img {
 width: 44px;
 height: 44px;
 border-radius: 50%;
 border: 1px solid var(--line-strong);
 box-shadow: 0 0 18px rgba(26, 109, 255, 0.4);
}
.footer-brand strong {
 color: var(--white);
 font-family: var(--font-accent);
 letter-spacing: 0.06em;
}
.footer-bottom {
 margin-top: 2.5rem;
 padding-top: 1.25rem;
 padding-bottom: env(safe-area-inset-bottom, 0px);
 border-top: 1px solid rgba(90, 160, 255, 0.12);
 display: flex;
 flex-wrap: wrap;
 gap: 0.75rem;
 justify-content: space-between;
 align-items: center;
 color: var(--muted);
 font-size: 0.82rem;
}
.footer-lang {
 display: inline-flex;
 align-items: center;
 gap: 0.55rem;
 font-family: var(--font-accent);
 font-size: 0.78rem;
 letter-spacing: 0.08em;
 text-transform: uppercase;
}
.footer-lang a {
 color: var(--muted);
 padding: 0.2rem 0.15rem;
}
.footer-lang a.is-active {
 color: var(--blue-ice);
 text-shadow: 0 0 12px rgba(126, 200, 255, 0.45);
}
.footer-lang a:hover { color: var(--cyan); }

/* Reveal animations */
.reveal {
 opacity: 0;
 transform: translateY(28px);
 transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-in {
 opacity: 1;
 transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Glitch hover title — burst ~0.4s; hero name retriggers every 1.3s while hovered */
.glitch-ready {
 position: relative;
}
.glitch-ready:hover {
 animation: glitch-skew-loop 2.5s linear infinite;
}
.hero h1.glitch-ready:hover {
 animation: glitch-skew-hero 1.3s linear infinite;
}
@keyframes glitch-skew-loop {
 /* First ~0.4s of the 2.5s cycle = original glitch (0–16%) */
 0% { transform: none; text-shadow: none; }
 3.2% { transform: skewX(-2deg) translateX(2px); text-shadow: -2px 0 var(--cyan), 2px 0 var(--mint); }
 6.4% { transform: skewX(2deg) translateX(-2px); text-shadow: 2px 0 var(--blue), -2px 0 var(--cyan); }
 9.6% { transform: none; text-shadow: none; }
 12.8% { transform: skewX(-1deg); text-shadow: none; }
 16%, 100% { transform: none; text-shadow: none; }
}
@keyframes glitch-skew-hero {
 0% { transform: none; text-shadow: none; }
 6.2% { transform: skewX(-2deg) translateX(2px); text-shadow: -2px 0 var(--cyan), 2px 0 var(--mint); }
 12.3% { transform: skewX(2deg) translateX(-2px); text-shadow: 2px 0 var(--blue), -2px 0 var(--cyan); }
 18.5% { transform: none; text-shadow: none; }
 24.6% { transform: skewX(-1deg); text-shadow: none; }
 30.8%, 100% { transform: none; text-shadow: none; }
}

/* Divider ornament */
.ornament {
 display: flex;
 align-items: center;
 gap: 1rem;
 margin: 2rem 0;
 color: var(--blue-mid);
 opacity: 0.7;
}
.ornament::before,
.ornament::after {
 content: "";
 flex: 1;
 height: 1px;
 background: linear-gradient(90deg, transparent, var(--blue-mid), transparent);
}
.ornament span {
 font-size: 0.9rem;
 text-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
}

/* 70s rainbow stripe accent */
.stripe-70s {
 height: 6px;
 background: linear-gradient(90deg,
 #1a6dff 0%,
 #00d4ff 20%,
 #98d8c8 40%,
 #7ec8ff 60%,
 #3b9eff 80%,
 #1a6dff 100%);
 background-size: 200% 100%;
 animation: spectrum-slide 8s linear infinite;
 box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

/* Feature list strip */
.feature-strip {
 display: grid;
 gap: 1rem;
 grid-template-columns: 1fr;
 margin: 2rem 0;
}
@media (min-width: 700px) {
 .feature-strip { grid-template-columns: repeat(3, 1fr); }
}
.feature-pill {
 padding: 1.25rem;
 border-radius: var(--radius);
 background: rgba(14, 22, 40, 0.8);
 border: 1px solid var(--line);
 text-align: center;
}
.feature-pill .emoji {
 font-size: 1.6rem;
 display: block;
 margin-bottom: 0.5rem;
 filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.4));
}
.feature-pill h4 {
 color: var(--white);
 font-size: 1rem;
 margin-bottom: 0.35rem;
}
.feature-pill p {
 color: var(--muted);
 font-size: 0.88rem;
 margin: 0;
}

/* CTA band */
.cta-band {
 margin: 3rem 0;
 padding: 2.5rem;
 border-radius: calc(var(--radius) + 4px);
 background:
 radial-gradient(ellipse at 10% 0%, rgba(0, 212, 255, 0.2), transparent 50%),
 radial-gradient(ellipse at 90% 100%, rgba(127, 219, 202, 0.15), transparent 50%),
 linear-gradient(145deg, #101a30, #070c18);
 border: 1px solid var(--line-strong);
 box-shadow: var(--shadow-blue);
 text-align: center;
}
.cta-band h2 {
 color: var(--white);
 font-size: clamp(1.6rem, 3vw, 2.2rem);
 margin-bottom: 0.75rem;
}
.cta-band p {
 color: var(--muted);
 max-width: 36rem;
 margin: 0 auto 1.5rem;
}
.cta-socials {
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 gap: 0.65rem;
 margin-top: 1.15rem;
}
.cta-handle {
 display: inline-flex;
 align-items: center;
 gap: 0.55rem;
 min-height: 44px;
 padding: 0.55rem 0.95rem;
 border-radius: 999px;
 border: 1px solid var(--line-strong);
 background: rgba(14, 22, 40, 0.72);
 color: var(--blue-ice);
 font-family: var(--font-accent);
 font-size: 0.78rem;
 letter-spacing: 0.04em;
 transition: border-color 0.25s, box-shadow 0.25s, background 0.25s, transform 0.25s;
}
.cta-handle:hover {
 border-color: rgba(126, 200, 255, 0.5);
 background: rgba(26, 109, 255, 0.16);
 box-shadow: 0 0 20px rgba(26, 109, 255, 0.22);
 color: var(--white);
}
.cta-handle .btn-ico {
 width: 1.15rem;
 height: 1.15rem;
 flex-shrink: 0;
}
.cta-handle-net {
 font-weight: 700;
 letter-spacing: 0.1em;
 text-transform: uppercase;
 color: var(--mint-soft);
}
.cta-handle-id {
 text-transform: none;
 letter-spacing: 0.01em;
 font-weight: 500;
 color: var(--blue-ice);
 word-break: break-all;
}
.btn-ico {
 width: 1.05em;
 height: 1.05em;
 flex-shrink: 0;
}

/* ---------- page wipe (one continuous cover across navigation) ---------- */
.page-wipe {
 position: fixed;
 inset: 0;
 z-index: 40;
 background: transparent;
 display: flex;
 flex-direction: column;
 align-items: stretch;
 justify-content: center;
 opacity: 0;
 pointer-events: none;
 overflow: hidden;
 transition: opacity 0.8s ease;
 will-change: opacity;
}

html.is-wiping .page-wipe {
 opacity: 1;
 pointer-events: auto;
}

.page-wipe-staff {
 display: block;
 width: 100%;
 height: 168px;
 flex-shrink: 0;
}

.page-wipe-inner {
 position: relative;
 z-index: 1;
 text-align: center;
 padding: 1.75rem 1.5rem 0;
 opacity: 0;
 transform: translateY(10px);
 transition: opacity 0.7s ease, transform 0.7s ease;
}

html.is-wiping .page-wipe-inner {
 opacity: 1;
 transform: none;
}

.page-wipe-msg {
 margin: 0;
 font-family: var(--font-display);
 font-weight: 500;
 font-style: italic;
 font-size: clamp(1.35rem, 4.2vw, 2.4rem);
 letter-spacing: 0.08em;
 line-height: 1.15;
 color: #f7fbff;
}

/* ========== Mobile polish ========== */
@media (max-width: 979px) {
 :root { --nav-h: 66px; }
 .nav-end .lang { display: none; }
 .nav-word span { display: none; }
 .hero-actions .btn,
 .cta-band .btn {
  min-height: 48px;
  flex: 1 1 auto;
 }
 .section { padding: 3.25rem 0; }
 .section--pack-top { padding-top: 1.5rem; }
 .section--pack-bottom { padding-bottom: 1.25rem; }
 .page-hero { padding: 2.1rem 0 1.25rem; }
 .page-hero h1 { font-size: clamp(1.85rem, 8.4vw, 2.8rem); }
 .hero h1 { font-size: clamp(2.05rem, 9vw, 3.1rem); }
 .hero-lead { font-size: 1.02rem; margin-bottom: 1.4rem; }
 .hero-sub { font-size: 1.02rem; }
 .cta-band { padding: 1.6rem 1.15rem; margin: 2rem 0; }
 .cta-band--follow { margin: 1rem 0 0; }
 .cta-handle { width: min(100%, 28rem); justify-content: center; flex-wrap: wrap; }
 .player-shell { padding: 1.2rem; }
 .player-volume { margin-top: 0.5rem; }
 .contact-tile { padding: 1.3rem; }
 .contact-mails a { overflow-wrap: anywhere; word-break: break-word; }
 .social-pill { min-height: 44px; }
 .film-strip { grid-auto-columns: minmax(168px, 72vw); }
 .lightbox-inner img { max-height: min(78dvh, 720px); }
 .lightbox.is-a4 .lightbox-inner img { max-height: 78dvh; }
}

@media (max-width: 520px) {
 .wrap { width: min(1180px, calc(100% - 1.35rem)); }
 .wrap-wide { width: min(1360px, calc(100% - 1.1rem)); }
 .nav-inner { width: min(1360px, calc(100% - 0.9rem)); }
 .nav-logo { width: 40px; height: 40px; }
 .nav-word strong { font-size: 0.82rem; letter-spacing: 0.06em; }
 .lang a { min-width: 2.35rem; padding: 0 0.4rem; }
 .hero-actions { gap: 0.65rem; }
 .btn { padding: 0.85rem 1.15rem; width: 100%; }
 .hero-actions .btn { width: auto; }
 .portal-card--photo { min-height: 0; }
 .portal-card { min-height: 0; padding: 1.25rem; }
 .footer-grid { gap: 1.4rem; }
 .footer { padding: 2.2rem 0 1.4rem; }
 .rta-meter { height: 36px; }
 .hero-name { margin-top: 0.35cm; }
}

@media (max-width: 380px) {
 .nav-end .lang-code { display: none; }
 .nav-end .lang a { min-width: 2.2rem; height: 2.2rem; min-height: 2.2rem; }
}

@media (hover: none) {
 .portal-card:hover,
 .card:hover,
 .btn:hover,
 .hero-logo-wrap:hover,
 .contact-tile:hover,
 .video-item:hover,
 .school-card:hover,
 .nav-brand:hover .nav-logo {
  transform: none;
 }
 .btn:hover::after { transform: none; }
 .hero-logo-wrap:hover .hero-logo { transform: scale(1.06); }
 .portal-card:active { transform: scale(0.99); }
 .btn:active { transform: scale(0.98); }

 .hero-logo-wrap {
  animation: logo-pulse 5.5s ease-in-out infinite;
  box-shadow:
   0 0 18px rgba(26, 109, 255, 0.45),
   0 0 36px rgba(0, 212, 255, 0.18);
 }
 .hero-logo-wrap::before,
 .hero-logo-wrap::after,
 .hero-logo-wrap .hero-logo-glitter {
  animation: none !important;
  filter: none !important;
 }
 .hero-logo-wrap:hover::before,
 .hero-logo-wrap:hover::after,
 .hero-logo-wrap:hover .hero-logo-glitter {
  opacity: 0;
 }
 .hero-logo-wrap.is-sparking .hero-logo-glitter {
  opacity: 0.9;
  transition: opacity 0.25s ease;
 }
 .hero-logo-wrap.is-sparking {
  box-shadow:
   0 0 28px rgba(0, 212, 255, 0.7),
   0 0 52px rgba(26, 109, 255, 0.4);
 }
 .spark-burst-particle { display: none; }
}

.btn {
 min-height: 44px;
}
.nav-toggle {
 min-width: 44px;
 min-height: 44px;
}
input[type="range"] {
 min-height: 28px;
}
@media (pointer: coarse) {
 .player-progress input[type="range"]::-webkit-slider-thumb,
 .player-volume input[type="range"]::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
 }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after {
 animation-duration: 0.01ms !important;
 animation-iteration-count: 1 !important;
 transition-duration: 0.01ms !important;
 }
 .reveal { opacity: 1; transform: none; }
 .hero-logo-wrap { animation: none; }
 .hero-logo-wrap:hover .hero-logo-glitter,
 .hero-logo-wrap:hover::before,
 .hero-logo-wrap:hover::after { animation: none; }
 .page-wipe { display: none !important; }
 html.is-wiping .site { opacity: 1; pointer-events: auto; }
}

/* Print */
@media print {
 .fx-root, .nav-toggle, .mobile-menu, .page-wipe { display: none !important; }
 body { background: white; color: black; }
 .shop-sticky-cart, .shop-drawer, .shop-modal, .shop-backdrop { display: none !important; }
}

/* ============================================================
   HRP KAUPPA — same family as the portal, not a shop theme
   ============================================================ */
.shop-subnav {
 position: sticky;
 top: var(--nav-h);
 top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
 z-index: 90;
 backdrop-filter: blur(16px) saturate(1.3);
 -webkit-backdrop-filter: blur(16px) saturate(1.3);
 background: linear-gradient(180deg, rgba(6, 10, 20, 0.92), rgba(6, 10, 20, 0.78));
 border-bottom: 1px solid var(--line);
}
.shop-subnav-inner {
 width: min(1180px, calc(100% - 2.5rem));
 margin-inline: auto;
 display: flex;
 gap: 0.35rem;
 overflow-x: auto;
 padding: 0.45rem 0;
 scrollbar-width: none;
}
.shop-subnav-inner::-webkit-scrollbar { display: none; }
.shop-subnav a,
.shop-subnav button {
 flex: 0 0 auto;
 padding: 0.55rem 0.9rem;
 min-height: 40px;
 border-radius: 999px;
 font-family: var(--font-accent);
 font-size: 0.72rem;
 font-weight: 600;
 letter-spacing: 0.12em;
 text-transform: uppercase;
 color: var(--muted);
 border: 1px solid transparent;
 background: transparent;
}
.shop-subnav a:hover,
.shop-subnav button:hover {
 color: var(--blue-ice);
 background: rgba(26, 109, 255, 0.12);
}
.shop-subnav a.is-on,
.shop-subnav button.is-on {
 color: var(--white);
 border-color: rgba(126, 200, 255, 0.35);
 background: rgba(26, 109, 255, 0.2);
}

.shop-nav-cart {
 display: inline-flex;
 align-items: center;
 gap: 0.4rem;
 min-height: 42px;
 padding: 0.35rem 0.85rem;
 border-radius: 999px;
 border: 1px solid var(--line-strong);
 background: rgba(8, 14, 28, 0.72);
 color: var(--blue-ice);
 font-family: var(--font-accent);
 font-size: 0.72rem;
 font-weight: 600;
 letter-spacing: 0.1em;
 text-transform: uppercase;
}
.shop-nav-cart:hover {
 border-color: rgba(126, 200, 255, 0.5);
 background: rgba(26, 109, 255, 0.16);
}
.shop-nav-cart-n {
 display: inline-grid;
 place-items: center;
 min-width: 1.35rem;
 height: 1.35rem;
 padding: 0 0.28rem;
 border-radius: 999px;
 background: linear-gradient(135deg, var(--blue), var(--cyan));
 color: var(--white);
 font-size: 0.68rem;
}
@media (min-width: 1120px) {
 .shop-nav-cart { display: inline-flex; }
}

.shop-sticky-cart {
 position: fixed;
 right: max(1rem, env(safe-area-inset-right));
 bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
 z-index: 80;
 display: inline-flex;
 align-items: center;
 gap: 0.45rem;
 min-height: 48px;
 padding: 0.7rem 1.15rem;
 border-radius: 999px;
 background: linear-gradient(135deg, var(--blue) 0%, #1a8fff 50%, var(--cyan) 100%);
 color: var(--white);
 font-family: var(--font-accent);
 font-size: 0.78rem;
 font-weight: 600;
 letter-spacing: 0.1em;
 text-transform: uppercase;
 box-shadow: var(--shadow-blue);
 border: 1px solid rgba(200, 231, 255, 0.3);
}
@media (min-width: 1120px) {
 .shop-sticky-cart { display: none; }
}

.mobile-shop-label {
 margin: 0.35rem 0.35rem 0.15rem;
 font-family: var(--font-accent);
 font-size: 0.68rem;
 letter-spacing: 0.16em;
 text-transform: uppercase;
 color: var(--mint-glow);
}
.mobile-menu .shop-m-link {
 padding: 0.95rem 1rem;
 min-height: 48px;
 border-radius: 12px;
 font-family: var(--font-accent);
 font-size: 0.92rem;
 letter-spacing: 0.06em;
 text-transform: uppercase;
 color: var(--blue-ice);
 display: flex;
 align-items: center;
 justify-content: space-between;
 width: 100%;
 text-align: left;
 border: 1px solid transparent;
}
.mobile-menu .shop-m-link:hover {
 background: rgba(26, 109, 255, 0.12);
}
.mobile-menu .shop-m-split {
 height: 1px;
 margin: 0.45rem 0.5rem;
 background: var(--line);
 border: 0;
}

.shop-cats[hidden] { display: none !important; }
.shop-cats {
 display: grid;
 gap: 1.15rem;
 grid-template-columns: 1fr;
}
@media (min-width: 640px) {
 .shop-cats { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
 .shop-cats { grid-template-columns: repeat(4, 1fr); }
}
.shop-cat {
 position: relative;
 display: flex;
 flex-direction: column;
 min-height: 11.5rem;
 cursor: pointer;
 padding: 1.25rem 1.3rem 1.35rem;
 border-radius: var(--radius);
 background: linear-gradient(160deg, rgba(18, 28, 50, 0.95) 0%, rgba(8, 14, 28, 0.98) 100%);
 border: 1px solid var(--line);
 text-align: left;
 color: inherit;
 isolation: isolate;
 overflow: hidden;
 transition: border-color 0.3s, transform 0.35s var(--ease);
}
.shop-cat::after {
 content: "";
 position: absolute;
 width: 140px;
 height: 140px;
 right: -36px;
 bottom: -48px;
 border-radius: 50%;
 background: radial-gradient(circle, rgba(26, 109, 255, 0.28), transparent 70%);
 z-index: -1;
}
.shop-cat:hover {
 transform: translateY(-4px);
 border-color: rgba(126, 200, 255, 0.4);
}
.shop-cat.is-off {
 filter: grayscale(0.8);
 opacity: 0.7;
}
.shop-cat.is-off:hover { transform: none; }
.shop-cat .portal-icon { margin-bottom: 0.85rem; }
.shop-cat h3 {
 font-size: 1.15rem;
 color: var(--white);
 margin-bottom: 0.4rem;
}
.shop-cat p {
 margin: 0;
 color: var(--muted);
 font-size: 0.88rem;
}

.shop-toolbar {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 justify-content: space-between;
 gap: 0.85rem;
 margin-bottom: 1.25rem;
}
.shop-filters {
 display: flex;
 flex-wrap: wrap;
 gap: 0.4rem;
}
.shop-filters button {
 min-height: 40px;
 padding: 0.4rem 0.9rem;
 border-radius: 999px;
 border: 1px solid var(--line);
 background: rgba(14, 22, 40, 0.7);
 color: var(--muted);
 font-family: var(--font-accent);
 font-size: 0.72rem;
 font-weight: 600;
 letter-spacing: 0.1em;
 text-transform: uppercase;
}
.shop-filters button:hover { color: var(--blue-ice); border-color: var(--line-strong); }
.shop-filters button.is-on {
 color: var(--white);
 border-color: rgba(126, 200, 255, 0.45);
 background: rgba(26, 109, 255, 0.22);
}
.shop-count {
 color: var(--muted);
 font-size: 0.85rem;
}

.shop-grid {
 display: grid;
 gap: 1.15rem;
 grid-template-columns: 1fr;
}
@media (min-width: 640px) {
 .shop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
 .shop-grid { grid-template-columns: repeat(3, 1fr); }
}

.shop-card {
 display: flex;
 flex-direction: column;
 border-radius: var(--radius);
 background: linear-gradient(165deg, rgba(18, 28, 50, 0.92), rgba(8, 12, 24, 0.96));
 border: 1px solid var(--line);
 overflow: hidden;
 transition: border-color 0.3s, transform 0.35s var(--ease);
}
.shop-card:hover {
 border-color: rgba(126, 200, 255, 0.35);
 transform: translateY(-3px);
}
.shop-card.is-off {
 filter: grayscale(0.88);
 opacity: 0.58;
}
.shop-card.is-off:hover { transform: none; border-color: var(--line); }

.shop-media {
 position: relative;
 aspect-ratio: 1;
 overflow: hidden;
 background:
  radial-gradient(circle at 50% 42%, rgba(26, 109, 255, 0.18), transparent 58%),
  #070c18;
}
.shop-zoom {
 position: relative;
 z-index: 1;
 display: block;
 width: 100%;
 height: 100%;
 cursor: zoom-in;
}
.shop-media-n {
 position: absolute;
 right: 0.65rem;
 bottom: 0.65rem;
 z-index: 2;
 min-width: 1.6rem;
 height: 1.6rem;
 padding: 0 0.4rem;
 border-radius: 999px;
 display: grid;
 place-items: center;
 font-family: var(--font-accent);
 font-size: 0.68rem;
 font-weight: 600;
 letter-spacing: 0.04em;
 color: var(--white);
 background: rgba(8, 14, 28, 0.82);
 border: 1px solid rgba(126, 200, 255, 0.35);
 pointer-events: none;
}
.shop-media img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 pointer-events: none;
}
.shop-media--contain img { object-fit: contain; padding: 12%; }
.shop-thumbs {
 display: flex;
 gap: 0.45rem;
 padding: 0.7rem 0.85rem 0;
}
.shop-thumbs button {
 min-width: 58px;
 height: auto;
 padding: 4px 4px 6px;
 border-radius: 8px;
 border: 1px solid var(--line);
 background: #f7fbff;
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 0.28rem;
}
.shop-thumbs button.is-on {
 border-color: var(--cyan);
 box-shadow: 0 0 0 1px var(--cyan);
}
.shop-thumbs img {
 width: 58px;
 height: 58px;
 object-fit: contain;
}
.shop-thumb-lab {
 font-size: 0.62rem;
 letter-spacing: 0.04em;
 text-transform: uppercase;
 color: var(--muted);
}
.shop-media-print {
 position: absolute;
 left: 50%;
 width: 30%;
 height: auto !important;
 object-fit: contain !important;
 transform: translate(-50%, -50%);
 mix-blend-mode: screen;
 pointer-events: none;
 filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}
.shop-media-print--hoodie { top: 42%; width: 26%; }
.shop-media-print--tee { top: 40%; width: 34%; }

.shop-card-body {
 padding: 1.05rem 1.15rem 1.2rem;
 display: flex;
 flex-direction: column;
 gap: 0.45rem;
 flex: 1;
}
.shop-card-body h3 {
 font-size: 1.15rem;
 color: var(--white);
}
.shop-card-body h3 a {
 color: inherit;
 text-decoration: none;
}
.shop-card-body h3 a:hover { color: var(--blue-ice); }

.shop-seo-list {
 margin: 1.05rem 0 0;
}
.shop-seo-list p {
 margin: 0 0 0.4rem;
 font-size: 0.78rem;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: var(--muted);
}
.shop-seo-list ul {
 list-style: none;
 padding: 0;
 margin: 0;
 display: flex;
 flex-wrap: wrap;
 gap: 0.35rem 1.1rem;
}
.shop-seo-list a { color: var(--blue-ice); }

.shop-crumb {
 font-size: 0.88rem;
 color: var(--muted);
 margin: 0 0 0.85rem;
}
.shop-crumb a { color: var(--blue-ice); }
.shop-pdp-grid {
 display: grid;
 gap: 1.4rem;
 margin-top: 0.4rem;
}
@media (min-width: 860px) {
 .shop-pdp-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 2rem;
 }
}
.shop-pdp-figure {
 margin: 0;
 border-radius: var(--radius);
 overflow: hidden;
 border: 1px solid var(--line);
 background: #070c18;
}
.shop-pdp-figure img {
 width: 100%;
 height: auto;
 display: block;
}
.shop-pdp-figure--contain {
 background: #f4f7fb;
}
.shop-pdp-figure--contain img {
 object-fit: contain;
 max-height: 28rem;
 padding: 1.2rem;
}
.shop-pdp-price {
 color: var(--blue-ice);
 font-family: var(--font-accent);
 font-weight: 600;
 font-size: 1.2rem;
 margin: 0.55rem 0 1rem;
}
.shop-pdp-price small {
 display: block;
 margin-top: 0.2rem;
 color: var(--muted);
 font-size: 0.82rem;
 font-weight: 500;
}
.shop-pdp-body {
 color: var(--text);
 max-width: 42rem;
}
.shop-pdp-body p { margin: 0 0 0.9rem; }
.shop-pdp-meta {
 margin: 1.1rem 0 0;
 font-size: 0.92rem;
 color: var(--muted);
}
.shop-related { margin-top: 2.2rem; }
.shop-related h2 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.shop-related ul {
 list-style: none;
 padding: 0;
 margin: 0;
 display: flex;
 flex-wrap: wrap;
 gap: 0.45rem 1.15rem;
}
.shop-related a { color: var(--blue-ice); }
.shop-card-price {
 color: var(--blue-ice);
 font-family: var(--font-accent);
 font-weight: 600;
 font-size: 0.95rem;
 letter-spacing: 0.02em;
}
.shop-card-price small {
 display: block;
 margin-top: 0.15rem;
 color: var(--muted);
 font-weight: 500;
 font-size: 0.78rem;
}
.shop-badge {
 display: inline-flex;
 align-self: flex-start;
 padding: 0.22rem 0.65rem;
 border-radius: 999px;
 font-family: var(--font-accent);
 font-size: 0.65rem;
 font-weight: 600;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: var(--mint-soft);
 border: 1px solid rgba(127, 219, 202, 0.35);
 background: rgba(127, 219, 202, 0.08);
}
.shop-badge--warn {
 color: var(--gold-70s);
 border-color: rgba(212, 165, 116, 0.4);
 background: rgba(212, 165, 116, 0.08);
}
.shop-badge--off {
 color: var(--muted);
 border-color: var(--line);
 background: transparent;
}
.shop-card-actions {
 display: flex;
 flex-direction: column;
 gap: 0.45rem;
 margin-top: auto;
 padding-top: 0.55rem;
}
.shop-card-actions .btn { width: 100%; }
.shop-card-actions .btn[disabled],
.shop-card-actions .btn.is-off {
 opacity: 0.45;
 cursor: not-allowed;
 transform: none;
}

.shop-note {
 margin: 0.85rem 0 0;
 padding: 0.85rem 1rem;
 border-radius: var(--radius-sm);
 border: 1px solid rgba(212, 165, 116, 0.35);
 background: rgba(212, 165, 116, 0.08);
 color: var(--cream);
 font-size: 0.9rem;
}
.shop-note--mint {
 border-color: rgba(127, 219, 202, 0.3);
 background: rgba(127, 219, 202, 0.08);
 color: var(--mint-soft);
}

.shop-pay-line {
 margin: 1.5rem 0 0;
 color: var(--muted);
 font-size: 0.82rem;
 text-align: center;
}

.shop-backdrop {
 position: fixed;
 inset: 0;
 z-index: 200;
 background: rgba(3, 5, 12, 0.72);
 opacity: 0;
 pointer-events: none;
 transition: opacity 0.25s;
}
.shop-backdrop.is-open {
 opacity: 1;
 pointer-events: auto;
}
.shop-drawer[hidden],
.shop-modal[hidden],
.shop-backdrop[hidden] {
 display: none !important;
}

.shop-drawer {
 position: fixed;
 top: 0;
 right: 0;
 z-index: 210;
 width: min(420px, 100%);
 height: 100dvh;
 display: flex;
 flex-direction: column;
 background: linear-gradient(180deg, #0e1628, #070c18);
 border-left: 1px solid var(--line);
 box-shadow: -20px 0 60px rgba(0, 0, 0, 0.45);
 transform: translateX(100%);
 transition: transform 0.35s var(--ease);
 padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px);
}
.shop-drawer.is-open {
 display: flex;
 transform: none;
}
.shop-drawer-head,
.shop-drawer-foot {
 padding: 1.1rem 1.25rem;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 0.75rem;
 border-bottom: 1px solid var(--line);
}
.shop-drawer-foot {
 border-bottom: 0;
 border-top: 1px solid var(--line);
 flex-direction: column;
 align-items: stretch;
}
.shop-drawer-head h2 {
 font-size: 1.35rem;
 color: var(--white);
}
.shop-drawer-body {
 flex: 1;
 overflow-y: auto;
 padding: 1rem 1.25rem 1.5rem;
}
.shop-drawer-empty {
 color: var(--muted);
 padding: 2rem 0.5rem;
 text-align: center;
}
.shop-line {
 display: grid;
 grid-template-columns: 72px 1fr auto;
 gap: 0.75rem;
 padding: 0.85rem 0;
 border-bottom: 1px solid rgba(90, 160, 255, 0.12);
}
.shop-line img {
 width: 72px;
 height: 72px;
 object-fit: cover;
 border-radius: 10px;
 background: #070c18;
}
.shop-line h3 {
 font-size: 0.98rem;
 color: var(--white);
 margin-bottom: 0.2rem;
}
.shop-line p {
 margin: 0;
 color: var(--muted);
 font-size: 0.8rem;
}
.shop-line-side {
 display: flex;
 flex-direction: column;
 align-items: flex-end;
 gap: 0.45rem;
}
.shop-line-remove {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 min-width: 44px;
 padding: 0.35rem 0.85rem;
 border: 1px solid rgba(255, 120, 120, 0.45);
 border-radius: 999px;
 color: #ffd0d0;
 font-size: 0.72rem;
 letter-spacing: 0.03em;
 background: rgba(180, 40, 50, 0.22);
 white-space: nowrap;
}
.shop-line-remove:hover {
 color: var(--white);
 border-color: rgba(255, 170, 170, 0.8);
 background: rgba(200, 50, 60, 0.4);
}
.shop-line-remove--all {
 width: 100%;
 margin-top: 0.15rem;
}
.shop-check-lines {
 list-style: none;
 margin: 0 0 1rem;
 padding: 0;
}
.shop-check-lines li {
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 0.75rem;
 padding: 0.65rem 0;
 border-bottom: 1px solid rgba(90, 160, 255, 0.12);
 color: var(--white);
 font-size: 0.95rem;
}
.shop-check-lines .shop-line-remove {
 flex-shrink: 0;
}
.shop-totals {
 width: 100%;
 font-size: 0.9rem;
 color: var(--muted);
}
.shop-totals div {
 display: flex;
 justify-content: space-between;
 gap: 1rem;
 padding: 0.2rem 0;
}
.shop-totals .is-sum {
 color: var(--white);
 font-family: var(--font-accent);
 font-size: 1.05rem;
 padding-top: 0.45rem;
}

.shop-modal {
 position: fixed;
 inset: 0;
 z-index: 220;
 display: none;
 align-items: center;
 justify-content: center;
 padding: 1rem;
 background: rgba(3, 5, 12, 0.55);
}
.shop-modal.is-open { display: flex; }
.shop-modal-panel {
 width: min(920px, 100%);
 max-height: min(92dvh, 900px);
 overflow: auto;
 border-radius: var(--radius);
 background: linear-gradient(165deg, rgba(14, 22, 40, 0.98), rgba(6, 10, 20, 0.98));
 border: 1px solid var(--line-strong);
 box-shadow: var(--shadow-blue);
}
.shop-modal-grid {
 display: grid;
 gap: 0;
}
@media (min-width: 800px) {
 .shop-modal-grid { grid-template-columns: 1fr 1fr; }
}
.shop-modal-copy {
 padding: 1.4rem 1.5rem 1.6rem;
}
.shop-modal-copy h2 {
 font-size: 1.7rem;
 color: var(--white);
 margin: 0.35rem 0 0.5rem;
}
.shop-modal-meta {
 color: var(--muted);
 font-size: 0.88rem;
 margin: 0 0 0.75rem;
}
.shop-modal-close {
 position: absolute;
 top: 0.7rem;
 right: 0.7rem;
 width: 44px;
 height: 44px;
 border-radius: 12px;
 border: 1px solid var(--line);
 background: rgba(8, 14, 28, 0.8);
 color: var(--blue-ice);
 font-size: 1.4rem;
 line-height: 1;
 z-index: 2;
}
.shop-modal-panel { position: relative; }

.shop-qty {
 display: inline-flex;
 align-items: center;
 gap: 0;
 border: 1px solid var(--line);
 border-radius: 999px;
 overflow: hidden;
}
.shop-qty button {
 width: 44px;
 height: 44px;
 color: var(--blue-ice);
}
.shop-qty input {
 width: 3rem;
 height: 44px;
 text-align: center;
 border: 0;
 background: transparent;
 color: var(--white);
 font: inherit;
}
.shop-size {
 display: flex;
 flex-wrap: wrap;
 gap: 0.4rem;
}
.shop-size button {
 min-width: 48px;
 min-height: 42px;
 padding: 0.35rem 0.7rem;
 border-radius: 10px;
 border: 1px solid var(--line);
 background: rgba(14, 22, 40, 0.7);
 color: var(--muted);
 font-family: var(--font-accent);
 font-size: 0.78rem;
}
.shop-size button.is-on {
 color: var(--white);
 border-color: rgba(126, 200, 255, 0.5);
 background: rgba(26, 109, 255, 0.22);
}

.shop-form {
 display: grid;
 gap: 1.35rem;
}
.shop-form fieldset {
 border: 1px solid var(--line);
 border-radius: var(--radius);
 padding: 1.1rem 1.15rem 1.2rem;
 margin: 0;
 background: rgba(8, 14, 28, 0.45);
}
.shop-form legend {
 font-family: var(--font-accent);
 font-size: 0.72rem;
 letter-spacing: 0.14em;
 text-transform: uppercase;
 color: var(--mint-glow);
 padding: 0 0.4rem;
}
.shop-field {
 display: grid;
 gap: 0.35rem;
 margin-bottom: 0.85rem;
}
.shop-field:last-child { margin-bottom: 0; }
.shop-field label {
 font-family: var(--font-accent);
 font-size: 0.72rem;
 letter-spacing: 0.1em;
 text-transform: uppercase;
 color: var(--blue-ice);
}
.shop-field input,
.shop-field textarea,
.shop-field select {
 width: 100%;
 min-height: 44px;
 padding: 0.65rem 0.8rem;
 border-radius: 12px;
 border: 1px solid var(--line);
 background: rgba(6, 10, 20, 0.85);
 color: var(--white);
 font: inherit;
}
.shop-field textarea { min-height: 7rem; resize: vertical; }
.shop-field input:focus-visible,
.shop-field textarea:focus-visible,
.shop-field select:focus-visible {
 outline: 2px solid var(--cyan);
 outline-offset: 1px;
}
.shop-field input[aria-invalid="true"],
.shop-field textarea[aria-invalid="true"] {
 border-color: #d46a6a;
}
.shop-form-err {
 padding: 0.75rem 0.9rem;
 border-radius: var(--radius-sm);
 border: 1px solid rgba(212, 106, 106, 0.45);
 background: rgba(212, 106, 106, 0.1);
 color: #f0c8c8;
 font-size: 0.9rem;
}
.shop-choice {
 display: grid;
 gap: 0.55rem;
}
.shop-choice label {
 display: grid;
 grid-template-columns: auto 1fr;
 gap: 0.7rem;
 align-items: start;
 padding: 0.85rem 0.95rem;
 border-radius: 12px;
 border: 1px solid var(--line);
 background: rgba(6, 10, 20, 0.6);
 cursor: pointer;
}
.shop-choice label.is-on {
 border-color: rgba(126, 200, 255, 0.5);
 background: rgba(26, 109, 255, 0.12);
}
.shop-choice input { margin-top: 0.2rem; }
.shop-choice strong { display: block; color: var(--white); font-weight: 600; }
.shop-choice span { color: var(--muted); font-size: 0.88rem; }
.shop-paybox {
 margin-top: 0.85rem;
 padding: 0.9rem 1rem;
 border-radius: 12px;
 border: 1px dashed var(--line-strong);
 background: rgba(14, 22, 40, 0.6);
}
.shop-paybox code,
.shop-ref {
 font-family: var(--font-accent);
 color: var(--cyan);
 letter-spacing: 0.06em;
}
.shop-copy-row {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 gap: 0.55rem;
 margin: 0.45rem 0;
}
.shop-copy-row .btn { width: auto; padding: 0.55rem 0.9rem; min-height: 40px; }

.shop-checkout {
 max-width: 42rem;
}
.shop-thanks {
 max-width: 40rem;
}
.shop-thanks h2 { color: var(--white); margin-bottom: 0.6rem; }

body.shop-lock { overflow: hidden; }

@media (hover: none) {
 .shop-card:hover,
 .shop-cat:hover { transform: none; }
}

@media (max-width: 520px) {
 .shop-subnav-inner { width: min(1180px, calc(100% - 1.35rem)); }
 .shop-modal-copy { padding: 1.15rem 1.1rem 1.3rem; }
 .shop-copy-row .btn { width: auto; }
}
