/* ==========================================================================
   SACRED — Venture Capital & Operations
   Crow / blood-moon theme. Black + red.
   ========================================================================== */

:root {
  --ink: #060505;
  --ink-2: #0e0b0b;
  --ink-3: #171213;
  --line: rgba(239, 233, 228, 0.12);
  --line-2: rgba(239, 233, 228, 0.22);
  --bone: #efe9e4;
  --mute: #8f8582;
  --blood: #e3262d;
  --blood-hi: #ff4636;
  --blood-deep: #8e0f14;
  --wine: #3b0507;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-body: "Geist", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 3vw, 40px);
  --side: 0px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

::selection { background: var(--blood); color: #fff; }
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 1560px; margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; font-stretch: 100%; text-transform: none; }
.red { color: var(--blood); }
.muted { color: var(--mute); max-width: 42ch; font-size: 1.05rem; }
.hide-sm { }
.link { position: relative; display: inline-block; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.link:hover::after { transform: scaleX(1); transform-origin: left; }

.label { display: flex; align-items: center; gap: .7em; color: var(--mute); margin-bottom: 28px; }
.label span { color: var(--blood); }
.eyebrow { display: flex; align-items: center; gap: 14px; color: var(--bone); margin-bottom: 28px; }
.dash { display: inline-block; width: 40px; height: 1px; background: var(--blood); }

.h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(2.8rem, 7.4vw, 8.4rem);
  line-height: .9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.h2 .serif { text-transform: none; font-size: 1.06em; letter-spacing: -0.02em; }
.h3 { font-family: var(--f-display); font-weight: 700; font-stretch: 105%; font-size: clamp(1.8rem, 3.4vw, 3.4rem); line-height: 1; letter-spacing: -0.03em; }

/* --------------------------------------------------------------------------
   Buttons, pills
   -------------------------------------------------------------------------- */
.btn {
  --bg: transparent; --fg: var(--bone);
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; overflow: hidden; isolation: isolate;
  font-family: var(--f-body); font-weight: 500; font-size: 14px; letter-spacing: .01em;
  background: var(--bg); color: var(--fg); white-space: nowrap;
  transition: color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--bone); transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink); }
.btn--red { --bg: var(--blood); --fg: #fff; }
.btn--ghost { box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--lg { padding: 17px 28px; font-size: 15px; }
.arr { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--bone); background: rgba(6,5,5,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pulse { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--blood); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--blood); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(3.2); opacity: 0; } }

/* --------------------------------------------------------------------------
   Loader
   -------------------------------------------------------------------------- */
.loader { position: fixed; inset: 0; z-index: 1000; background: var(--ink); display: grid; place-items: center; }
.loader__mark { position: relative; width: min(52vw, 300px); aspect-ratio: 1857 / 1265; }
.loader__svg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--blood); }
.loader__svg--ghost { color: rgba(239,233,228,.07); }
.loader__fill { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); }
.loader__meta { position: absolute; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); display: flex; justify-content: space-between; align-items: flex-end; color: var(--mute); }
.loader__count { font-family: var(--f-display); font-weight: 800; font-stretch: 125%; font-size: clamp(3rem, 9vw, 8rem); line-height: .8; color: var(--bone); letter-spacing: -0.04em; }
.loader__curtain { position: absolute; inset: 0; background: var(--blood); transform: scaleY(0); transform-origin: bottom; }

/* --------------------------------------------------------------------------
   Cursor, grain, progress
   -------------------------------------------------------------------------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 999; pointer-events: none; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__dot { width: 6px; height: 6px; background: var(--blood); }
.cursor__ring { width: 38px; height: 38px; box-shadow: inset 0 0 0 1px rgba(239,233,228,.35); display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), background-color .45s var(--ease), box-shadow .45s var(--ease); }
.cursor__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .3s; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; box-shadow: inset 0 0 0 1px var(--blood); }
.cursor.is-label .cursor__ring { width: 92px; height: 92px; background: var(--blood); box-shadow: none; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

html { scrollbar-width: thin; scrollbar-color: #2a2020 var(--ink); }
::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: var(--ink); } ::-webkit-scrollbar-thumb { background: #2a2020; border-radius: 8px; }
.grain { position: fixed; inset: -100%; z-index: 998; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.2 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-8%,5%)} 40%{transform:translate(6%,-9%)} 60%{transform:translate(-4%,8%)} 80%{transform:translate(9%,3%)} 100%{transform:translate(0,0)} }

.progress { position: fixed; right: 10px; top: 50%; z-index: 80; height: 120px; width: 2px; transform: translateY(-50%); background: var(--line); border-radius: 2px; overflow: hidden; }
.progress span { position: absolute; inset: 0; background: var(--blood); transform: scaleY(0); transform-origin: top; }

/* --------------------------------------------------------------------------
   Nav + menu
   -------------------------------------------------------------------------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px var(--gutter); transition: transform .7s var(--ease); pointer-events: none; }
.nav > * { pointer-events: auto; }
.nav.is-hidden { transform: translateY(-120%); }
.nav__logo { display: flex; align-items: center; gap: 12px; color: var(--blood); }
.nav__mark { width: 52px; height: auto; }
.nav__word { width: 104px; height: auto; }
.nav__links { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(6,5,5,.45); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav__links a { padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--bone); transition: background-color .4s var(--ease), color .4s; }
.nav__links a:hover, .nav__links a.is-active { background: rgba(239,233,228,.09); }
.nav__links a.is-active { color: #fff; box-shadow: inset 0 -1px 0 var(--blood); }
.nav__right { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); background: rgba(6,5,5,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lang button { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; padding: 8px 11px; border-radius: 999px; color: var(--mute); transition: background-color .4s var(--ease), color .4s; }
.lang button:hover { color: var(--bone); }
.lang button.is-on { background: var(--bone); color: var(--ink); }
.lang--menu { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.swap { position: fixed; inset: 0; z-index: 1001; background: var(--blood); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease-io); pointer-events: none; }
body.is-swapping .swap { transform: scaleY(1); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: rgba(6,5,5,.5); box-shadow: inset 0 0 0 1px var(--line-2); position: relative; backdrop-filter: blur(10px); }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--bone); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 19px; } .burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22.5px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 85; pointer-events: none; display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 32px; visibility: hidden; transition: visibility 0s .9s; }
.menu__bg { position: absolute; inset: 0; background: var(--ink); clip-path: circle(0% at calc(100% - 46px) 40px); transition: clip-path .9s var(--ease-io); }
.menu-open .menu__bg { clip-path: circle(150% at calc(100% - 46px) 40px); }
.menu-open .menu { transition: visibility 0s 0s; }
.menu__links { position: relative; display: flex; flex-direction: column; }
.menu__links a { display: flex; align-items: baseline; gap: 18px; font-family: var(--f-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(2.4rem, 11vw, 5rem); line-height: 1.02; letter-spacing: -0.03em; border-bottom: 1px solid var(--line); padding: 6px 0; }
.menu__links a .mono { color: var(--blood); font-weight: 400; }
.menu__foot { position: relative; display: flex; justify-content: space-between; margin-top: auto; color: var(--mute); }
.menu-open .menu { pointer-events: auto; visibility: visible; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: var(--ink); }
.hero__stage { position: absolute; inset: 0; }
.hero__moon, .hero__birds { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 95% at 62% 38%, transparent 45%, rgba(6,5,5,.75) 100%), linear-gradient(180deg, transparent 70%, rgba(6,5,5,.55) 100%); }
.hero.no-webgl .hero__stage { background: radial-gradient(circle at 72% 34%, #ff4a36 0, #e3262d 9vmax, #8e0f14 17vmax, #2a0405 18.5vmax, #0b0606 32vmax, #060505 100%); }
.hero.no-webgl .hero__gl { display: none; }
.hero__crow { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.hero__veil { position: absolute; inset: 0; background: var(--ink); opacity: 0; pointer-events: none; }

.hero__content { position: absolute; left: calc(var(--gutter) + var(--side)); right: var(--gutter); bottom: clamp(84px, 13vh, 140px); z-index: 3; pointer-events: none; }
.hero__content a { pointer-events: auto; }
.hero__title {
  font-family: var(--f-display); font-weight: 800; font-stretch: 118%;
  font-size: clamp(3.1rem, 10.2vw, 12.4rem); line-height: .86; letter-spacing: -0.045em; text-transform: uppercase;
  margin-bottom: clamp(24px, 4vh, 44px);
}
.hero__title .serif { font-size: 1.1em; letter-spacing: -0.03em; padding-right: .06em; }
/* masks get headroom so Turkish capitals (Ö, Ç, İ, Ş, Ğ) keep their marks */
.line { display: block; overflow: hidden; padding: .16em 0 .04em; margin: -.16em 0 -.04em; }
[data-split-lines] > div { padding-top: .16em; margin-top: -.16em; }
.line__in { display: inline-block; }
.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.hero__lead { max-width: 40ch; color: rgba(239,233,228,.78); font-size: clamp(1rem, 1.2vw, 1.15rem); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__side { position: absolute; left: 0; top: 0; bottom: 0; width: var(--side); z-index: 3; border-right: 1px solid var(--line); overflow: hidden; display: none; }
.vticker { position: absolute; inset: 0; display: flex; justify-content: center; }
.vticker__in { writing-mode: vertical-rl; transform: rotate(180deg); display: flex; gap: 22px; align-items: center; white-space: nowrap; color: var(--mute); animation: vtick 40s linear infinite; }
.vticker__in i { color: var(--blood); font-style: normal; }
@keyframes vtick { from { transform: rotate(180deg) translateY(0); } to { transform: rotate(180deg) translateY(50%); } }

.hero__foot { position: absolute; left: calc(var(--gutter) + var(--side)); right: var(--gutter); bottom: 22px; z-index: 3; display: flex; justify-content: space-between; color: var(--mute); }
.scrollcue { display: inline-flex; align-items: center; gap: 12px; color: var(--bone); }
.scrollcue__line { position: relative; width: 44px; height: 1px; background: var(--line-2); overflow: hidden; }
.scrollcue__line::after { content: ""; position: absolute; inset: 0; background: var(--blood); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateX(-100%); } 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }

/* --------------------------------------------------------------------------
   Manifesto
   -------------------------------------------------------------------------- */
.manifesto { position: relative; padding: clamp(120px, 22vh, 240px) 0 clamp(100px, 16vh, 180px); background: var(--ink); }
.manifesto__text { font-family: var(--f-display); font-weight: 600; font-stretch: 100%; font-size: clamp(1.75rem, 4.3vw, 4.7rem); line-height: 1.06; letter-spacing: -0.03em; max-width: 22ch; }
.manifesto__text .serif { color: var(--blood); font-size: 1.08em; }
.manifesto__text .w { display: inline-block; }
.manifesto__grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 27vw, 430px); gap: clamp(32px, 5vw, 96px); align-items: end; }
.manifesto__fig { position: relative; margin: 0; aspect-ratio: 4 / 5; }
.manifesto__fig::before { content: ""; position: absolute; left: 50%; top: 44%; width: 96%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(227,38,45,.5) 0%, rgba(142,15,20,.22) 42%, transparent 70%); pointer-events: none; }
.manifesto__fig::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 9%; height: 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.75), transparent); }
.manifesto__fig img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; padding-bottom: 10%; filter: drop-shadow(0 18px 30px rgba(0,0,0,.5)); will-change: transform; }
.manifesto__fig figcaption { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 0; display: flex; justify-content: space-between; gap: 12px; color: rgba(239,233,228,.78); text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.manifesto__fig figcaption span:first-child { font-family: var(--f-serif); font-style: italic; text-transform: none; letter-spacing: 0; font-size: 1.15rem; color: var(--bone); }
.stats { margin-top: clamp(80px, 14vh, 160px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 32px 28px 8px 0; border-right: 1px solid var(--line); margin-right: 28px; }
.stat:last-child { border-right: 0; margin-right: 0; }
.stat__num { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: clamp(3.2rem, 6.6vw, 7rem); line-height: 1; letter-spacing: -0.05em; }
.stat__num sup { font-size: .38em; color: var(--blood); vertical-align: top; position: relative; top: .3em; margin-left: .05em; letter-spacing: 0; }
.stat__label { color: var(--mute); margin-top: 14px; }
.stat--note p { color: rgba(239,233,228,.75); font-size: 1.05rem; max-width: 30ch; }
.stat--note .serif { color: var(--bone); font-size: 1.15em; }

/* --------------------------------------------------------------------------
   Marquee band
   -------------------------------------------------------------------------- */
.band { position: relative; z-index: 2; padding: 6vh 0; overflow: hidden; }
.band__row { background: var(--blood); color: var(--ink); transform: rotate(-2.4deg) scale(1.06); overflow: hidden; padding: .2em 0; }
.band__row--alt { background: var(--ink); color: transparent; -webkit-text-stroke: 1px rgba(239,233,228,.55); transform: rotate(1.6deg) scale(1.06); margin-top: -2px; box-shadow: 0 0 0 1px var(--line); }
.band__track { display: flex; align-items: center; gap: .5em; width: max-content; white-space: nowrap; font-family: var(--f-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(2.2rem, 6.2vw, 6.6rem); line-height: 1.08; letter-spacing: -0.03em; padding-right: .5em; will-change: transform; }
.band__row--alt .band__track { font-size: clamp(1.6rem, 4vw, 4.2rem); font-weight: 800; }
.band__track i { font-style: normal; color: var(--blood); -webkit-text-stroke: 0; font-size: .6em; }
.band__crow { height: .95em; width: auto; flex: none; margin: 0 .05em; }
.band__crow--flip { transform: scaleX(-1); }

/* --------------------------------------------------------------------------
   Thesis (horizontal)
   -------------------------------------------------------------------------- */
.thesis { position: relative; background: var(--ink); }
.thesis__pin { position: relative; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.thesis__pin::before { content: ""; position: absolute; width: 70vmax; height: 70vmax; right: -25vmax; top: 50%; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(227,38,45,.16), transparent 62%); pointer-events: none; }
.thesis__track { display: flex; align-items: stretch; gap: clamp(16px, 2vw, 32px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.thesis__intro { width: min(40vw, 560px); flex: none; display: flex; flex-direction: column; justify-content: center; padding-right: 4vw; }
.thesis__hint { display: flex; align-items: center; gap: 14px; color: var(--mute); margin-top: 40px; }
.code-card { --mx: 50%; --my: 50%; position: relative; flex: none; width: clamp(300px, 31vw, 500px); height: min(70vh, 620px); padding: clamp(22px, 2.4vw, 36px); display: flex; flex-direction: column; background: radial-gradient(600px circle at var(--mx) var(--my), rgba(227,38,45,.12), transparent 45%), var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); border-radius: 6px; overflow: hidden; transition: box-shadow .5s var(--ease); }
.code-card:hover { box-shadow: inset 0 0 0 1px rgba(227,38,45,.55); }
.code-card header { display: flex; justify-content: space-between; align-items: flex-start; color: var(--mute); }
.icon { width: 60px; height: 60px; fill: none; stroke: var(--blood); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon .fill { fill: var(--blood); stroke: none; }
.code-card h3 { margin-top: auto; font-family: var(--f-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(2.1rem, 3.3vw, 3.5rem); line-height: .95; letter-spacing: -0.04em; }
.serif-sub { font-family: var(--f-serif); font-style: italic; color: var(--blood); font-size: clamp(1.3rem, 1.7vw, 1.75rem); margin: 10px 0 18px; }
.code-card p:not(.serif-sub) { color: rgba(239,233,228,.7); max-width: 38ch; }
.code-card .foot { display: block; margin-top: 14px; color: var(--mute); font-size: 10.5px; }
.code-card__bar { margin-top: 28px; height: 2px; background: var(--line); overflow: hidden; }
.code-card__bar span { display: block; height: 100%; background: var(--blood); transform: scaleX(0); transform-origin: left; }
.thesis__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 5vh; height: 1px; background: var(--line); }
.thesis__progress span { position: absolute; inset: 0; background: var(--blood); transform: scaleX(0); transform-origin: left; }

/* --------------------------------------------------------------------------
   Focus list
   -------------------------------------------------------------------------- */
.focus { padding: clamp(120px, 20vh, 220px) 0; }
.focus__head { margin-bottom: 48px; }
.focus__list { border-bottom: 1px solid var(--line); }
.frow { position: relative; display: grid; grid-template-columns: 90px 1fr auto 56px; align-items: center; column-gap: 24px; padding: clamp(18px, 2.6vw, 34px) 0; border-top: 1px solid var(--line); cursor: pointer; isolation: isolate; transition: color .5s var(--ease); }
.frow::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--blood); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.frow__idx { color: var(--blood); transition: color .5s; }
.frow__name { font-family: var(--f-display); font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: clamp(2.4rem, 6.6vw, 7.4rem); white-space: nowrap; line-height: .92; letter-spacing: -0.04em; transition: font-stretch .8s var(--ease), letter-spacing .8s var(--ease); }
.frow__tags { color: var(--mute); transition: color .5s; text-align: right; }
.frow__arr { width: 44px; height: 44px; justify-self: end; stroke-width: 1.4; transform: rotate(-45deg); transition: transform .6s var(--ease); }
.frow__desc { grid-column: 2 / 4; max-width: 52ch; font-size: 1.05rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s, margin .6s var(--ease); }
.fpreview { position: fixed; left: 0; top: 0; z-index: 50; width: clamp(220px, 19vw, 320px); aspect-ratio: 4 / 5; pointer-events: none; visibility: hidden; }
.fpreview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(.85) translateY(6%); transition: opacity .45s, transform .9s var(--ease); filter: drop-shadow(0 24px 34px rgba(0,0,0,.55)); }
.fpreview img.is-on { opacity: 1; transform: scale(1); }
@media (hover: none), (pointer: coarse) { .fpreview { display: none; } }
.code-card .foot:empty { display: none; }
@media (hover: hover) {
  .frow:hover { color: var(--ink); }
  .frow:hover::before { transform: scaleY(1); transform-origin: top; }
  .frow:hover .frow__name { font-stretch: 125%; letter-spacing: -0.05em; }
  .frow:hover .frow__idx, .frow:hover .frow__tags { color: var(--ink); }
  .frow:hover .frow__arr { transform: rotate(0deg); }
  .frow:hover .frow__desc { max-height: 6em; opacity: 1; margin-top: 12px; }
}

/* --------------------------------------------------------------------------
   Approach
   -------------------------------------------------------------------------- */
.approach { padding: clamp(80px, 12vh, 140px) 0 clamp(120px, 18vh, 200px); }
.approach__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 120px); }
.approach__sticky { position: sticky; top: 16vh; align-self: start; }
.odo { height: clamp(6rem, 15vw, 15rem); overflow: hidden; margin: 10px 0 28px; }
.odo__col { display: flex; flex-direction: column; will-change: transform; }
.odo__col span { display: block; height: clamp(6rem, 15vw, 15rem); font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-size: clamp(6rem, 15vw, 15rem); line-height: 1; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px var(--blood); }
.approach__steps { position: relative; padding-left: clamp(90px, 11vw, 170px); }
.flight { position: absolute; left: 0; top: 0; width: clamp(70px, 8vw, 120px); height: 100%; overflow: visible; }
.flight path { fill: none; vector-effect: non-scaling-stroke; }
.flight__ghost { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 7; }
.flight__line { stroke: var(--blood); stroke-width: 2; }
.flight__bird { position: absolute; left: 0; top: 0; width: 58px; z-index: 2; }
.flight__bird img { width: 100%; filter: invert(1) brightness(.95) drop-shadow(0 0 10px rgba(227,38,45,.75)); animation: flap .42s ease-in-out infinite alternate; transform-origin: 50% 50%; }
@keyframes flap { from { transform: scaleY(1); } to { transform: scaleY(.42); } }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .7s var(--ease); }
.step.is-active { opacity: 1; }
.step__k { color: var(--blood); margin-bottom: 16px; }
.step h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 118%; text-transform: uppercase; font-size: clamp(3rem, 7vw, 7.4rem); line-height: .9; letter-spacing: -0.045em; margin-bottom: 22px; }
.step p { max-width: 40ch; color: rgba(239,233,228,.72); font-size: 1.1rem; }

/* --------------------------------------------------------------------------
   Network / murmuration
   -------------------------------------------------------------------------- */
.network { position: relative; min-height: 115vh; display: flex; align-items: center; overflow: hidden; background:
  linear-gradient(180deg, var(--ink) 0%, rgba(6,5,5,0) 18%, rgba(6,5,5,0) 82%, var(--ink) 100%),
  radial-gradient(120% 70% at 50% 62%, #f0342c 0%, #b8161c 22%, #6a0a0d 46%, #250405 70%, var(--ink) 100%); }
.network__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.network__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 40% at 50% 60%, rgba(255,120,80,.18), transparent 70%); mix-blend-mode: screen; }
.network__content { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.network__content .label { justify-content: center; color: rgba(239,233,228,.7); }
.network__content .label span { color: var(--bone); }
.network__title { font-family: var(--f-display); font-weight: 900; font-stretch: 120%; text-transform: uppercase; font-size: clamp(3rem, 9.6vw, 11rem); line-height: .86; letter-spacing: -0.05em; text-shadow: 0 10px 60px rgba(0,0,0,.35); }
.network__title .serif { text-transform: none; font-size: 1.1em; letter-spacing: -0.03em; }
.network__lead { margin-top: 32px; max-width: 46ch; font-size: clamp(1.05rem, 1.3vw, 1.25rem); color: rgba(255,240,236,.86); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.chips li { padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,240,236,.35); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; background: rgba(6,5,5,.22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.network__hint { margin-top: 40px; color: rgba(255,240,236,.55); }

/* --------------------------------------------------------------------------
   Portfolio
   -------------------------------------------------------------------------- */
.portfolio { padding: clamp(120px, 20vh, 220px) 0 clamp(80px, 12vh, 140px); }
.portfolio__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.nest { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 28px); }
.pcard { --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; gap: 18px; transform-style: preserve-3d; }
.pcard--a { grid-column: 1 / 8; }
.pcard--b { grid-column: 8 / 13; margin-top: 14vh; }
.pcard--c { grid-column: 1 / 6; margin-top: -4vh; }
.pcard--d { grid-column: 6 / 13; margin-top: 8vh; }
.pcard--next { grid-column: 1 / 13; margin-top: 8vh; }
.pcard__media { position: relative; overflow: hidden; border-radius: 6px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); aspect-ratio: 4 / 3; clip-path: inset(0 0 0 0 round 6px); }
.pcard--b .pcard__media, .pcard--c .pcard__media { aspect-ratio: 4 / 5; }
.pcard__media::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at var(--mx) var(--my), rgba(227,38,45,.55), rgba(142,15,20,.18) 45%, transparent 70%); transition: opacity .6s; }
.pcard__media::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 22px, rgba(6,5,5,.0) 22px 24px); }
.pcard--a .pcard__media::before { --mx: 70%; --my: 30%; }
.pcard__glyph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-size: clamp(10rem, 26vw, 30rem); line-height: .8; letter-spacing: -0.08em; color: transparent; -webkit-text-stroke: 1.5px rgba(239,233,228,.3); transition: transform 1.2s var(--ease), -webkit-text-stroke-color .6s; will-change: transform; }
.pcard--b .pcard__glyph, .pcard--c .pcard__glyph { font-size: clamp(9rem, 22vw, 24rem); }
.pcard:hover .pcard__glyph { transform: scale(1.08) translateY(-2%); -webkit-text-stroke-color: rgba(239,233,228,.7); }
.pcard__body { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.pcard__body h3 { font-family: var(--f-display); font-weight: 700; font-stretch: 110%; font-size: clamp(1.6rem, 2.4vw, 2.4rem); letter-spacing: -0.03em; text-transform: uppercase; }
.pcard__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.pcard__tags span { padding: 6px 11px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--mute); font-size: 10.5px; }
.pcard__next { position: relative; overflow: hidden; border-radius: 6px; padding: clamp(28px, 4vw, 60px); background: var(--blood); color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; min-height: 260px; }
.pcard__next h3 { font-family: var(--f-display); font-weight: 900; font-stretch: 120%; text-transform: uppercase; font-size: clamp(2.6rem, 6vw, 6.4rem); line-height: .88; letter-spacing: -0.05em; position: relative; z-index: 1; }
.pcard__next .serif { text-transform: none; }
.pcard__next .btn { --bg: var(--ink); --fg: var(--bone); position: relative; z-index: 1; }
.pcard__crow { position: absolute; right: 15%; bottom: -1%; height: 96%; width: auto; transition: transform 1.2s var(--ease); pointer-events: none; filter: drop-shadow(0 10px 18px rgba(0,0,0,.35)); }
.pcard--next:hover .pcard__crow { transform: translate(-4%, -6%) rotate(-4deg); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { padding: clamp(100px, 16vh, 180px) 0; }
.faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 120px); }
.acc { border-bottom: 1px solid var(--line); }
.acc__item { border-top: 1px solid var(--line); }
.acc__item summary { list-style: none; display: grid; grid-template-columns: 56px 1fr 28px; align-items: center; gap: 12px; padding: 26px 0; cursor: pointer; font-family: var(--f-display); font-weight: 600; font-stretch: 100%; font-size: clamp(1.15rem, 1.9vw, 1.75rem); letter-spacing: -0.02em; transition: color .4s; }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary .mono { color: var(--blood); font-weight: 400; font-stretch: 100%; }
.acc__item summary:hover { color: #fff; }
.acc__item summary i { position: relative; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .6s var(--ease), background-color .4s; }
.acc__item summary i::before, .acc__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.acc__item summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__item.is-open summary i { transform: rotate(135deg); background: var(--blood); box-shadow: none; }
.acc__body { overflow: hidden; }
.acc__body p { padding: 0 40px 28px 68px; color: rgba(239,233,228,.72); max-width: 62ch; }
.acc__body .link { color: var(--bone); }

/* --------------------------------------------------------------------------
   Pitch
   -------------------------------------------------------------------------- */
.pitch { position: relative; overflow: hidden; padding: clamp(120px, 20vh, 220px) 0 clamp(100px, 14vh, 160px); border-top: 1px solid var(--line); }
.pitch__moon { position: absolute; right: -14vmax; top: -10vmax; width: 52vmax; height: 52vmax; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 36% 34%, #ff5a42 0%, #e3262d 30%, #9c1117 62%, #3b0507 100%);
  box-shadow: 0 0 120px 30px rgba(227,38,45,.22), 0 0 300px 80px rgba(227,38,45,.12);
  -webkit-mask: linear-gradient(180deg, #000 0 30%, transparent 30% 31.4%, #000 31.4% 44%, transparent 44% 45.6%, #000 45.6% 58%, transparent 58% 59.2%, #000 59.2%);
          mask: linear-gradient(180deg, #000 0 30%, transparent 30% 31.4%, #000 31.4% 44%, transparent 44% 45.6%, #000 45.6% 58%, transparent 58% 59.2%, #000 59.2%);
  opacity: .9; }
.pitch .wrap { position: relative; }
.pitch__title { font-family: var(--f-display); font-weight: 800; font-stretch: 118%; text-transform: uppercase; font-size: clamp(3.1rem, 10vw, 12rem); line-height: .86; letter-spacing: -0.045em; margin-bottom: clamp(48px, 8vh, 96px); }
.pitch__title .serif { font-size: 1.1em; text-transform: none; }
.pitch__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 120px); align-items: start; }
.badge { position: relative; width: 190px; height: 190px; margin-bottom: 32px; }
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge__ring text { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .2em; fill: var(--bone); }
.badge__mark { position: absolute; left: 50%; top: 50%; width: 82px; transform: translate(-50%, -50%); color: var(--blood); }
@keyframes spin { to { transform: rotate(360deg); } }
.contact { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.contact .btn { font-family: var(--f-body); text-transform: none; letter-spacing: .01em; font-size: 14px; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; }
.field { position: relative; }
.field--area, .chipset, .form__foot { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); color: var(--bone); font: inherit; font-size: 1.15rem; padding: 28px 0 12px; outline: none; border-radius: 0; resize: vertical; }
.field label { position: absolute; left: 0; top: 28px; color: var(--mute); pointer-events: none; transition: transform .5s var(--ease), color .4s, font-size .5s var(--ease); transform-origin: left; font-size: 1.05rem; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--blood); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-24px) scale(.78); color: var(--blood); }
.field.is-error::after { transform: scaleX(1); background: #ff7b6b; }
.chipset { border: 0; padding: 0; margin: 26px 0 4px; display: flex; flex-wrap: wrap; gap: 8px; }
.chipset legend { color: var(--mute); margin-bottom: 14px; padding: 0; }
.chipset label { cursor: pointer; }
.chipset input { position: absolute; opacity: 0; pointer-events: none; }
.chipset span { display: inline-block; padding: 10px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; transition: background-color .35s, color .35s, box-shadow .35s; }
.chipset label:hover span { box-shadow: inset 0 0 0 1px var(--bone); }
.chipset input:checked + span { background: var(--blood); box-shadow: inset 0 0 0 1px var(--blood); color: #fff; }
.chipset input:focus-visible + span { outline: 2px solid var(--bone); outline-offset: 2px; }
.form__foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.form__note { color: var(--mute); }
.form__note.is-ok { color: var(--bone); }
.form__note.is-err { color: #ff8a7a; }
.form__note a { color: var(--bone); }
.form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { position: relative; padding: clamp(80px, 12vh, 140px) 0 28px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; margin-bottom: clamp(60px, 10vh, 120px); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h4 { color: var(--mute); font-weight: 400; margin-bottom: 18px; }
.footer__cols a { display: table; margin-bottom: 10px; color: var(--bone); }
.footer__brand { position: relative; margin-top: clamp(40px, 8vw, 120px); }
.footer__word { overflow: hidden; }
.footer__word svg { width: 100%; height: auto; color: var(--blood); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); color: var(--mute); }

/* --------------------------------------------------------------------------
   Reveal helpers (JS sets initial state)
   -------------------------------------------------------------------------- */
.split-line { overflow: hidden; padding-bottom: .05em; margin-bottom: -.05em; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (min-width: 1100px) {
  :root { --side: 46px; }
  .hero__side { display: block; }
}
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .nav .pill { display: none; }
}
@media (max-width: 900px) {
  .hide-sm { display: none; }
  .nav { padding-top: 14px; }
  .nav__mark { width: 44px; }
  .nav__word { width: 86px; }
  .nav__right .btn { display: none; }
  .hero__content { bottom: 70px; }
  .hero__bottom { flex-direction: column; align-items: flex-start; gap: 22px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding-right: 12px; }
  .stat--note { grid-column: 1 / -1; border-bottom: 0; }
  .thesis__pin { height: auto; display: block; padding: 120px 0 60px; }
  .thesis__track { flex-direction: column; width: 100%; padding: 0 var(--gutter); }
  .thesis__intro { width: 100%; padding: 0 0 24px; }
  .thesis__hint, .thesis__progress { display: none; }
  .code-card { width: 100%; height: auto; min-height: 420px; }
  .frow { grid-template-columns: 44px 1fr 32px; }
  .frow__tags { display: none; }
  .frow__name { font-stretch: 100%; white-space: normal; font-size: clamp(2rem, 9vw, 3.4rem); }
  .frow__arr { width: 28px; height: 28px; grid-column: 3; grid-row: 1; }
  .frow__idx { grid-row: 1; }
  .code-card { min-height: 340px; }
  .frow__desc { grid-column: 2 / 4; max-height: none; opacity: 1; margin-top: 10px; color: var(--mute); font-size: .98rem; }
  .approach__grid, .faq__grid, .pitch__grid, .footer__top, .manifesto__grid { grid-template-columns: 1fr; }
  .manifesto__fig { max-width: 380px; }
  .pcard__next { flex-direction: column; align-items: flex-start; justify-content: flex-start; min-height: 380px; }
  .pcard__crow { right: 5%; bottom: 0; height: 56%; }
  .approach__sticky { position: relative; top: 0; }
  .odo { display: none; }
  .step { min-height: 46vh; }
  .nest { grid-template-columns: 1fr; }
  .pcard--a, .pcard--b, .pcard--c, .pcard--d, .pcard--next { grid-column: 1 / -1; margin-top: 0; }
  .pcard--b .pcard__media, .pcard--c .pcard__media { aspect-ratio: 4 / 3; }
  .acc__body p { padding: 0 0 24px 68px; }
  .form { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .progress { display: none; }
}
@media (max-width: 640px) {
  .hero__title, .pitch__title { font-size: 11.4vw; font-stretch: 100%; letter-spacing: -0.04em; }
  .hero__title .serif, .pitch__title .serif { font-size: 1.18em; }
}
@media (max-width: 520px) {
  .hero__ctas .btn--ghost { display: none; }
  .acc__item summary { grid-template-columns: 40px 1fr 28px; }
  .acc__body p { padding-left: 52px; }
}

/* Turkish: longer words, so a touch smaller */
html[lang="tr"] .hero__title { font-size: clamp(2.8rem, 8.6vw, 10.4rem); }
html[lang="tr"] .frow__name { font-size: clamp(2.2rem, 5.8vw, 6.6rem); }
@media (max-width: 900px) { html[lang="tr"] .frow__name { font-size: clamp(1.7rem, 7vw, 3.2rem); } }
.faq__grid > *, .approach__grid > *, .pitch__grid > *, .manifesto__grid > *, .footer__top > * { min-width: 0; }
@media (max-width: 520px) { .h2 { font-size: clamp(2.1rem, 10.4vw, 3rem); font-stretch: 100%; } }
html { overflow-x: clip; }
@media (max-width: 640px) { html[lang="tr"] .hero__title { font-size: 9.6vw; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { display: none; }
}
