/* Eidolon Interactive LLC — site styles */

:root {
	--night: #070d0b;
	--studio: #111917;
	--studio-line: #233029;
	--canvas: #e9e9e7;
	--paper: #f6f6f5;
	--ink: #1b1f1d;
	--ink-soft: #4d5450;
	--ink-mute: #79807c;
	--on-dark: #eef1ef;
	--on-dark-soft: #a7b0ab;
	--sketch: #c4176f;
	--sketch-deep: #8f0f50;
	--sketch-glow: #ea4a98;
	--r-sm: 10px;
	--r: 18px;
	--r-lg: 28px;
	--max: 1200px;
	--display: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
	--body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sketch-deep); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--sketch); }
:focus-visible { outline: 2px solid var(--sketch-glow); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); letter-spacing: -0.035em; line-height: 0.98; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.45rem; letter-spacing: -0.01em; }
p, ul, ol { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--night); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--studio-line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--on-dark); text-decoration: none; }
.brand:hover { color: #fff; }
.brand img { width: 32px; height: 32px; flex: none; }
.brand-word { font-family: var(--display); font-weight: 600; font-size: 1.32rem; letter-spacing: -0.03em; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav a { display: block; color: var(--on-dark-soft); text-decoration: none; padding: 9px 14px; border-radius: 999px; font-size: 0.97rem; }
.nav a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav a[aria-current="page"] { color: #fff; }
.nav .btn { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--studio-line); color: var(--on-dark); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 0.95rem; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--body); font-weight: 600; font-size: 0.98rem; line-height: 1; text-decoration: none; padding: 15px 24px; border-radius: 999px; background: var(--sketch); color: #fff; border: 1px solid var(--sketch); transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--sketch-deep); border-color: var(--sketch-deep); color: #fff; }
.btn-sm { padding: 11px 18px; font-size: 0.92rem; }
.btn-ghost-dark { background: transparent; color: var(--on-dark); border-color: rgba(238,241,239,0.35); }
.btn-ghost-dark:hover { background: var(--on-dark); color: var(--night); border-color: var(--on-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--night); color: var(--on-dark); overflow: hidden; min-height: min(92vh, 900px); display: flex; align-items: center; }
.hero-photo { position: absolute; inset: 0 0 0 auto; width: min(62%, 880px); height: 100%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background:
	linear-gradient(90deg, var(--night) 0%, rgba(7,13,11,0.6) 10%, rgba(7,13,11,0) 30%),
	linear-gradient(0deg, var(--night) 0%, rgba(7,13,11,0) 22%); }
.hero .wrap { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 96px; }
.hero-copy { max-width: 600px; }
.hero h1 { color: #fff; margin-bottom: 0.42em; }
.hero-lead { font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 1.45; color: var(--on-dark); max-width: 30ch; margin-bottom: 1.8em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.gesture { position: absolute; z-index: 1; left: -3%; bottom: -7%; width: 70%; max-width: 980px; height: auto; pointer-events: none; }
.gesture path { fill: none; stroke: var(--sketch); stroke-linecap: round; stroke-linejoin: round; }
.gesture .g-main { stroke-width: 2.4; opacity: 0.9; }
.gesture .g-thin { stroke-width: 1.1; opacity: 0.5; }
.js .gesture path { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.js .gesture.draw path { animation: draw 1.9s cubic-bezier(.6,.1,.25,1) forwards; }
.js .gesture.draw .g-thin { animation-delay: .45s; animation-duration: 1.5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
	.js .gesture path { stroke-dasharray: none; stroke-dashoffset: 0; animation: none !important; }
}

/* ---------- Content sections ---------- */
.band { padding: 104px 0; }
.band-tight { padding: 72px 0; }
.band-canvas { background: var(--canvas); }

.statement { display: grid; grid-template-columns: 1.5fr 1fr; gap: 72px; align-items: start; }
.statement-text { font-family: var(--display); font-size: clamp(1.6rem, 2.8vw, 2.25rem); line-height: 1.22; letter-spacing: -0.02em; font-weight: 500; margin: 0; }
.statement-text span { color: var(--ink-mute); }
.facts-mini { margin: 0; display: grid; gap: 0; border-top: 1px solid #cfd1ce; }
.facts-mini div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #cfd1ce; font-size: 0.98rem; }
.facts-mini dt { color: var(--ink-mute); }
.facts-mini dd { margin: 0; text-align: right; font-weight: 500; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { border-radius: var(--r-lg); padding: 48px 44px; }
.panel h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 0.6em; }
.panel p { color: var(--ink-soft); }
.panel ul { list-style: none; padding: 0; margin: 1.4em 0 0; }
.panel li { padding: 13px 0 13px 30px; border-top: 1px solid rgba(0,0,0,0.09); position: relative; }
.panel li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 14px; height: 2px; background: currentColor; opacity: .45; }
.panel-light { background: var(--canvas); }
.panel-dark { background: var(--studio); color: var(--on-dark); }
.panel-dark p { color: var(--on-dark-soft); }
.panel-dark li { border-top-color: var(--studio-line); }
.panel-dark li::before { background: var(--sketch-glow); opacity: 1; }

/* KinoPose feature */
.product { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.product-media { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--night); aspect-ratio: 364 / 442; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media figcaption { position: absolute; left: 18px; bottom: 18px; background: rgba(7,13,11,0.82); color: var(--on-dark); font-size: 0.86rem; padding: 8px 14px; border-radius: 999px; }
.status { display: inline-block; font-size: 0.88rem; font-weight: 600; color: var(--sketch-deep); background: #f7dcea; padding: 6px 13px; border-radius: 999px; margin-bottom: 18px; }
.product h2 { margin-bottom: 0.4em; }
.product-lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 34ch; }

.steps { list-style: none; padding: 0; margin: 30px 0 34px; counter-reset: step; display: grid; gap: 2px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 6px 14px; padding: 16px 0; border-top: 1px solid #d6d8d5; }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 600; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--sketch); color: var(--sketch-deep); display: grid; place-items: center; font-size: 0.95rem; grid-row: span 2; }
.steps strong { font-family: var(--display); font-weight: 600; font-size: 1.12rem; }
.steps span { color: var(--ink-soft); font-size: 0.98rem; }

.cta-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cta-pair .panel { display: flex; flex-direction: column; align-items: flex-start; min-height: 300px; }
.cta-pair h3 { font-size: clamp(1.7rem, 2.9vw, 2.35rem); }
.cta-pair .btn { margin-top: auto; }
.panel-sketch { background: var(--sketch); color: #fff; }
.panel-sketch p { color: #ffe3f0; }
.panel-sketch .btn { background: #fff; color: var(--sketch-deep); border-color: #fff; }
.panel-sketch .btn:hover { background: var(--night); color: #fff; border-color: var(--night); }
.panel-outline { background: var(--paper); border: 1px solid #cfd1ce; }

/* ---------- Inner pages ---------- */
.page-head { background: var(--night); color: var(--on-dark); padding: 88px 0 64px; position: relative; overflow: hidden; }
.page-head h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); margin: 0; }
.page-head p { color: var(--on-dark-soft); font-size: 1.2rem; max-width: 46ch; margin: 18px 0 0; }
.page-head .gesture { bottom: -30%; left: auto; right: -8%; width: 60%; opacity: .7; }
.page-head-row { display: flex; align-items: center; justify-content: flex-start; gap: 72px; position: relative; z-index: 2; }
.page-head .stamp { flex: none; width: 176px; height: 176px; margin: 0; border-radius: 50%; border: 2px solid var(--sketch); outline: 1px solid var(--sketch); outline-offset: 5px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; transform: rotate(-8deg); font-family: var(--display); font-weight: 600; font-size: 1.15rem; line-height: 1.15; letter-spacing: -0.01em; color: #fff; max-width: none; background: #1a0e15; }
.page-head-stamp .gesture { display: none; }
.page-head .stamp { animation: stamp-in 0.55s cubic-bezier(.2,.9,.3,1.25) 0.35s both; }
@keyframes stamp-in {
	0%   { opacity: 0; transform: rotate(-22deg) scale(1.45); }
	60%  { opacity: 1; transform: rotate(-6deg) scale(0.94); }
	100% { opacity: 1; transform: rotate(-8deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .page-head .stamp { animation: none; } }
.stamp b { color: var(--sketch-glow); font-weight: 700; letter-spacing: 0.04em; }
@media (max-width: 700px) { .page-head-row { flex-direction: column; align-items: flex-start; } .page-head .stamp { width: 140px; height: 140px; font-size: 0.98rem; margin: 8px 0 0 10px; } }
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.75rem; margin-top: 1.9em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; }
.prose li { margin-bottom: 0.45em; }
.prose .effective { color: var(--ink-mute); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 8px 0 0; }
.tile { background: var(--canvas); border-radius: var(--r); padding: 30px 28px; }
.tile h3 { font-size: 1.22rem; margin-bottom: .45em; }
.tile p { margin: 0; color: var(--ink-soft); font-size: 0.99rem; }

.facts { margin: 0; border-radius: var(--r); background: var(--canvas); padding: 6px 30px; }
.facts div { display: grid; grid-template-columns: 210px 1fr; gap: 20px; padding: 17px 0; border-bottom: 1px solid #d3d5d2; }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--ink-mute); }
.facts dd { margin: 0; font-weight: 500; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.faq details { border-top: 1px solid #d3d5d2; padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid #d3d5d2; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-family: var(--display); font-weight: 600; font-size: 1.12rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; font-weight: 400; color: var(--sketch); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-right: 32px; }

/* KinoPose wordmark: Instrument Serif italic + Big Shoulders Display */
.wordmark { display: inline-flex; align-items: baseline; letter-spacing: 0; line-height: 1; white-space: nowrap; }
.wm-kino { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; font-size: 1.12em; letter-spacing: -0.01em; }
.wm-pose { font-family: "Big Shoulders Display", "Arial Narrow", sans-serif; font-weight: 800; font-size: 1.05em; letter-spacing: 0.005em; margin-left: 0.04em; }

/* Founder */
.founder-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.founder-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--studio); max-width: 100%; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 40%; }
.founder-text h2 { font-family: var(--body); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--sketch-deep); margin: 0 0 14px; }
.founder-name { font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.035em; margin: 0 0 0.4em; }
.founder-lead { font-size: 1.4rem; line-height: 1.4; color: var(--ink); max-width: 30ch; }
@media (max-width: 820px) { .founder-grid { grid-template-columns: 1fr; gap: 32px; } .founder-photo { aspect-ratio: 1 / 1; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-dark-soft); padding: 88px 0 28px; font-size: 0.97rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--sketch-glow); }
.foot-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.foot-top .brand { margin-bottom: 16px; }
.foot-tag { color: var(--on-dark); font-family: var(--display); font-size: 1.35rem; line-height: 1.3; letter-spacing: -0.015em; max-width: 22ch; margin: 0; }
.foot-col h2 { font-family: var(--body); font-size: 0.95rem; font-weight: 600; color: var(--on-dark); letter-spacing: 0; margin: 4px 0 14px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { margin-bottom: 9px; }
.foot-col address { font-style: normal; line-height: 1.7; }
.foot-strip { background: var(--studio); border: 1px solid var(--studio-line); border-radius: var(--r-lg); padding: 24px 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.foot-strip dt { font-size: 0.84rem; color: var(--on-dark-soft); }
.foot-strip dd { margin: 2px 0 0; color: var(--on-dark); font-weight: 600; }
.foot-legal { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--studio-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; font-size: 0.9rem; }
.foot-legal nav { display: flex; gap: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.statement, .product, .two-col { grid-template-columns: 1fr; gap: 40px; }
	.split, .cta-pair { grid-template-columns: 1fr; }
	.grid-3 { grid-template-columns: 1fr 1fr; }
	.foot-top { grid-template-columns: 1fr 1fr; }
	.foot-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
	.nav-toggle { display: inline-block; }
	.nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--night); border-bottom: 1px solid var(--studio-line); flex-direction: column; align-items: stretch; padding: 10px 20px 22px; display: none; }
	.nav.open { display: flex; }
	.nav ul { flex-direction: column; }
	.nav a { padding: 13px 4px; border-radius: 0; border-bottom: 1px solid var(--studio-line); font-size: 1.05rem; }
	.nav .btn { margin: 16px 0 0; justify-content: center; }
	.no-js .nav { position: static; display: flex; background: none; border: 0; padding: 0 0 12px; }
	.no-js .site-header .wrap { flex-wrap: wrap; }

	.hero { min-height: 0; flex-direction: column; align-items: stretch; }
	.hero-photo { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 1024 / 1000; }
	.hero-photo::after { background: linear-gradient(0deg, var(--night) 2%, rgba(7,13,11,0) 40%); }
	.hero .wrap { padding-top: 0; margin-top: -64px; padding-bottom: 128px; }
	.gesture { width: 150%; left: -25%; bottom: -3%; }
}
@media (max-width: 600px) {
	.wrap { padding: 0 18px; }
	.band { padding: 72px 0; }
	.panel { padding: 34px 26px; }
	.grid-3 { grid-template-columns: 1fr; }
	.facts { padding: 4px 20px; }
	.facts div { grid-template-columns: 1fr; gap: 2px; }
	.foot-top, .foot-strip { grid-template-columns: 1fr; }
	.foot-strip { padding: 22px; }
}
