@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;1,500&display=swap');

:root {
  --shell: min(1240px, calc(100vw - 40px));
  --bg: #0c0c0d;
  --surface: #171719;
  --surface-2: #202023;
  --text: #f8f2e9;
  --muted: #aaa3a0;
  --primary: var(--custom-primary, #8f2538);
  --accent: var(--custom-accent, #f0b46b);
  --line: rgba(255,255,255,.13);
  --shadow: 0 24px 70px rgba(0,0,0,.32);
  --radius: 22px;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Manrope', system-ui, sans-serif;
}

.design-editorial {
  --bg: #f5f0e7;
  --surface: #fffdf8;
  --surface-2: #ebe3d6;
  --text: #26231f;
  --muted: #756e64;
  --primary: var(--custom-primary, #974831);
  --accent: var(--custom-accent, #b36c45);
  --line: rgba(38,35,31,.16);
  --shadow: 0 22px 60px rgba(74,56,34,.13);
  --radius: 3px;
  --font-display: 'Playfair Display', Georgia, serif;
}

.design-neon {
  --bg: #06091b;
  --surface: #10142d;
  --surface-2: #181d3f;
  --text: #f4f4ff;
  --muted: #a9adcd;
  --primary: var(--custom-primary, #7756ff);
  --accent: var(--custom-accent, #38e8ff);
  --line: rgba(149,132,255,.27);
  --shadow: 0 25px 80px rgba(38,22,113,.45);
  --radius: 28px;
  --font-display: 'Manrope', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); font-family: var(--font-body); line-height: 1.6; text-rendering: optimizeLegibility; }
body.admin-bar .site-header { top: 32px; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 132px) 0; }
.section--tight { padding: clamp(48px, 7vw, 88px) 0; }
.section--surface { background: var(--surface); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; top: 10px; left: 10px; padding: 10px 16px; background: var(--text); color: var(--bg); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.display { max-width: 900px; margin: 0; font: 700 clamp(3.35rem, 8.5vw, 7.5rem)/.94 var(--font-display); letter-spacing: -.06em; }
.design-editorial .display { max-width: 800px; font-weight: 600; font-style: italic; letter-spacing: -.045em; }
.design-neon .display { text-transform: uppercase; background: linear-gradient(120deg, #fff 25%, var(--accent) 70%, #a792ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { max-width: 680px; margin: 26px 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; background: var(--accent); color: #101010; font-weight: 700; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 35%, transparent); }
.button--ghost { border-color: var(--line); background: transparent; color: var(--text); }
.button--small { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.button--block { width: 100%; }
.design-editorial .button { border-radius: 2px; }
.design-neon .button { background: linear-gradient(120deg, var(--primary), var(--accent)); box-shadow: 0 0 34px color-mix(in srgb, var(--primary) 30%, transparent); }

.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(18px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.025em; }
.brand__mark { width: 36px; color: var(--accent); }
.brand__mark svg { display: block; width: 100%; fill: none; stroke: currentColor; stroke-width: 2; }
.brand__image { width: auto; height: 38px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__list { display: flex; align-items: center; gap: 26px; padding: 0; margin: 0; list-style: none; }
.site-nav__list a { color: var(--muted); font-size: .94rem; font-weight: 600; }
.site-nav__list a:hover { color: var(--text); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--line); border-radius: 50%; background: none; }
.menu-toggle span:not(.screen-reader-text) { display: block; height: 2px; margin: 4px 0; background: var(--text); }

.hero { position: relative; min-height: calc(100svh - 78px); display: grid; align-items: end; overflow: hidden; padding: clamp(80px, 12vw, 150px) 0 90px; }
.hero__art { position: absolute; inset: 0; background: #17100e center/cover no-repeat; }
.hero__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,4,5,.96) 0%, rgba(4,4,5,.72) 40%, rgba(4,4,5,.08) 85%), linear-gradient(0deg, var(--bg), transparent 35%); }
.design-editorial .hero { min-height: 760px; align-items: center; }
.design-editorial .hero__art { inset: 70px 5vw 70px 48%; border-radius: 50% 0 0 50%; }
.design-editorial .hero__art::after { background: linear-gradient(90deg, var(--bg), transparent 55%); }
.design-neon .hero__art { filter: hue-rotate(185deg) saturate(1.35); transform: scale(1.02); }
.design-neon .hero__art::after { background: radial-gradient(circle at 75% 50%, transparent, rgba(6,9,27,.35) 40%, var(--bg) 78%); }
.hero__content { position: relative; z-index: 1; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 52px; color: var(--muted); font-size: .85rem; }
.hero__meta span::before { content: '•'; margin-right: 12px; color: var(--accent); }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 38px; }
.section-heading h2 { max-width: 720px; margin: 0; font: 700 clamp(2.2rem, 5vw, 4.4rem)/1 var(--font-display); letter-spacing: -.05em; }
.design-editorial .section-heading h2 { font-weight: 600; }
.text-link { color: var(--accent); font-weight: 700; white-space: nowrap; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.video-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); transition: transform .25s ease, border-color .25s ease; }
.video-card:hover { transform: translateY(-7px); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.video-card__media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--surface-2); }
.video-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.video-card:hover .video-card__media img { transform: scale(1.045); }
.video-card__overlay { position: absolute; inset: 0; display: flex; align-items: end; justify-content: space-between; padding: 16px; background: linear-gradient(0deg, rgba(0,0,0,.72), transparent 60%); color: #fff; }
.video-card__badge { padding: 7px 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(0,0,0,.38); backdrop-filter: blur(10px); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.video-card__play { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: var(--accent); color: #111; }
.video-card__body { padding: 20px; }
.video-card__meta { display: flex; gap: 12px; margin-bottom: 9px; color: var(--muted); font-size: .77rem; text-transform: uppercase; letter-spacing: .09em; }
.video-card h3 { margin: 0; font: 700 1.2rem/1.25 var(--font-display); letter-spacing: -.025em; }
.design-editorial .video-grid { gap: 38px 24px; }
.design-editorial .video-card { border: 0; background: transparent; box-shadow: none; }
.design-editorial .video-card__body { padding-inline: 0; }
.design-neon .video-card:nth-child(3n+2) { transform: translateY(20px); }
.design-neon .video-card:nth-child(3n+2):hover { transform: translateY(13px); }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.portrait { position: relative; min-height: 540px; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow); }
.portrait img { width: 100%; height: 100%; min-height: 540px; object-fit: cover; }
.portrait::after { content: ''; position: absolute; inset: auto 20px 20px; height: 120px; border-radius: calc(var(--radius) - 6px); background: linear-gradient(100deg, var(--primary), color-mix(in srgb, var(--accent) 55%, transparent)); opacity: .68; mix-blend-mode: screen; }
.story h2, .pricing-intro h2 { margin: 0; font: 700 clamp(2.4rem, 5vw, 4.8rem)/1 var(--font-display); letter-spacing: -.05em; }
.story p:not(.eyebrow), .pricing-intro p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px; }
.stat { padding-top: 18px; border-top: 1px solid var(--line); }
.stat strong { display: block; font-size: 1.55rem; }
.stat span { color: var(--muted); font-size: .78rem; }

.pricing { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 110px); align-items: start; }
.pricing-card { padding: clamp(28px, 5vw, 52px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.pricing-card__top { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.pricing-card h3 { margin: 0; font: 700 1.65rem var(--font-display); }
.price { font: 800 clamp(2.5rem, 5vw, 4.4rem)/1 var(--font-display); letter-spacing: -.06em; }
.price small { color: var(--muted); font-size: .85rem; letter-spacing: 0; }
.feature-list { display: grid; gap: 13px; padding: 26px 0; margin: 26px 0; border-block: 1px solid var(--line); list-style: none; }
.feature-list li::before { content: '✓'; margin-right: 11px; color: var(--accent); }
.prototype-note { color: var(--muted); font-size: .82rem; text-align: center; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.quote p { margin-top: 0; font-size: 1.05rem; }
.quote cite { color: var(--muted); font-size: .82rem; font-style: normal; }
.cta-band { padding: clamp(48px, 8vw, 90px); border-radius: var(--radius); background: linear-gradient(115deg, var(--primary), color-mix(in srgb, var(--accent) 75%, var(--primary))); color: #fff; overflow: hidden; }
.cta-band h2 { max-width: 800px; margin: 0 0 28px; font: 700 clamp(2.5rem, 6vw, 5.5rem)/.98 var(--font-display); letter-spacing: -.055em; }

.archive-hero { padding: clamp(70px, 10vw, 120px) 0 48px; }
.archive-hero h1 { margin: 0; font: 700 clamp(3.2rem, 8vw, 7rem)/.95 var(--font-display); letter-spacing: -.06em; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 36px; }
.filters input[type='search'] { flex: 1 1 260px; min-height: 48px; padding: 0 17px; border: 1px solid var(--line); border-radius: 999px; outline: none; background: var(--surface); color: var(--text); }
.filter-button { min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; }
.filter-button[aria-pressed='true'] { border-color: var(--accent); background: var(--accent); color: #111; }
.empty-state { padding: 80px 20px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }

.single-video { padding: 34px 0 100px; }
.single-video__back { display: inline-block; margin-bottom: 26px; color: var(--muted); font-weight: 600; }
.player-shell { position: relative; aspect-ratio: 16/9; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #030303; box-shadow: var(--shadow); }
.player-shell video { width: 100%; height: 100%; object-fit: contain; }
.locked-player { position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; background: center/cover no-repeat; }
.locked-player::before { content: ''; position: absolute; inset: 0; background: rgba(5,5,7,.72); backdrop-filter: blur(10px); }
.locked-player__content { position: relative; z-index: 1; max-width: 520px; color: #fff; text-align: center; }
.locked-player__icon { display: grid; width: 66px; height: 66px; place-items: center; margin: 0 auto 20px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(255,255,255,.1); font-size: 1.6rem; }
.locked-player h2 { margin: 0 0 12px; font: 700 clamp(1.8rem, 4vw, 3.2rem)/1 var(--font-display); }
.single-video__info { display: grid; grid-template-columns: 1fr 300px; gap: 60px; margin-top: 40px; }
.single-video__info h1 { margin: 0; font: 700 clamp(2.5rem, 6vw, 5rem)/1 var(--font-display); letter-spacing: -.055em; }
.single-video__description { margin-top: 24px; color: var(--muted); font-size: 1.08rem; }
.video-facts { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.video-facts div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.video-facts div:last-child { border-bottom: 0; }
.video-facts span { color: var(--muted); }

.login-shell { display: grid; min-height: calc(100svh - 78px); grid-template-columns: 1fr 1fr; }
.login-shell__art { background: var(--surface-2) center/cover no-repeat; }
.login-shell__panel { display: grid; align-items: center; padding: clamp(36px, 8vw, 110px); }
.login-card { max-width: 480px; }
.login-card h1 { margin: 0; font: 700 clamp(2.5rem, 5vw, 4.6rem)/1 var(--font-display); letter-spacing: -.05em; }
.login-card .login-username, .login-card .login-password { margin: 20px 0; }
.login-card label { display: block; margin-bottom: 7px; color: var(--muted); font-size: .85rem; font-weight: 700; }
.login-card input[type='text'], .login-card input[type='password'] { width: 100%; min-height: 52px; padding: 0 15px; border: 1px solid var(--line); border-radius: 9px; outline: none; background: var(--surface); color: var(--text); }
.login-card input[type='submit'] { width: 100%; min-height: 52px; border: 0; border-radius: 999px; background: var(--accent); color: #111; font-weight: 800; }
.login-card .login-remember { color: var(--muted); font-size: .85rem; }
.demo-credentials { margin-top: 26px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--muted); font-size: .85rem; }
.page-main { min-height: 60vh; }
.prose { max-width: 820px; }
.prose h1 { font: 700 clamp(2.8rem, 7vw, 6rem)/1 var(--font-display); letter-spacing: -.055em; }

.preset-switcher { position: fixed; z-index: 200; right: 18px; bottom: 18px; display: flex; gap: 6px; padding: 7px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(10,10,13,.86); box-shadow: 0 12px 40px rgba(0,0,0,.35); backdrop-filter: blur(18px); }
.preset-switcher a { padding: 8px 12px; border-radius: 999px; color: #bbb; font-size: .72rem; font-weight: 700; }
.preset-switcher a.is-active { background: #fff; color: #111; }

.site-footer { padding: 70px 0 24px; border-top: 1px solid var(--line); background: var(--surface); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr .7fr .9fr; gap: 60px; }
.site-footer p { max-width: 430px; color: var(--muted); font-size: .9rem; }
.brand--footer { margin-bottom: 18px; }
.social-links { display: grid; gap: 8px; }
.site-footer__legal { display: flex; justify-content: space-between; gap: 30px; padding-top: 28px; margin-top: 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }

@media (max-width: 900px) {
  body.admin-bar .site-header { top: 46px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; align-items: stretch; padding: 24px 20px; border-bottom: 1px solid var(--line); background: var(--bg); }
  .site-nav.is-open { display: grid; }
  .site-nav__list { display: grid; gap: 8px; }
  .site-nav__list a { display: block; padding: 10px 0; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .pricing, .single-video__info { grid-template-columns: 1fr; }
  .pricing { gap: 54px; }
  .quotes { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .login-shell { grid-template-columns: 1fr; }
  .login-shell__art { min-height: 320px; }
}

@media (max-width: 620px) {
  :root { --shell: min(100% - 28px, 1240px); }
  .section { padding: 74px 0; }
  .hero { min-height: 760px; padding-bottom: 64px; }
  .hero__art { background-position: 62% center; }
  .hero__art::after { background: linear-gradient(0deg, var(--bg) 4%, rgba(5,5,6,.8) 55%, rgba(5,5,6,.25)); }
  .design-editorial .hero__art { inset: 0; border-radius: 0; opacity: .32; }
  .display { font-size: clamp(3rem, 16vw, 5rem); }
  .hero__actions .button { width: 100%; }
  .section-heading { align-items: start; flex-direction: column; }
  .video-grid { grid-template-columns: 1fr; }
  .design-neon .video-card:nth-child(3n+2) { transform: none; }
  .stats { grid-template-columns: 1fr; }
  .portrait, .portrait img { min-height: 400px; }
  .pricing-card__top { display: grid; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .site-footer__legal { align-items: start; flex-direction: column; }
  .preset-switcher { right: 10px; bottom: 10px; left: 10px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

