:root {
  --ink: #07111f;
  --ink-soft: #0d1a2c;
  --paper: #f4f0e8;
  --paper-deep: #e7e0d5;
  --line: rgba(244, 240, 232, 0.17);
  --cyan: #8ee9ff;
  --coral: #ff9c88;
  --violet: #c6b7ff;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 15;
  border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
}
.site-header.scrolled { background: rgba(7, 17, 31, .76); border-color: var(--line); backdrop-filter: blur(18px); }
.nav { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; }
.brand-mark { width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; position: relative; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; inset: 7px -4px; border: 1px solid var(--cyan); border-radius: 50%; transform: rotate(25deg); }
.brand-mark::after { border-color: var(--coral); transform: rotate(-25deg); }
.nav-links { display: flex; gap: 30px; color: rgba(244,240,232,.68); font-size: .88rem; }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--cyan); transition: right .25s; }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--paper); }
.menu { display: none; border: 0; color: inherit; background: none; padding: 8px; }
.menu span { display: block; width: 25px; height: 1px; margin: 6px 0; background: currentColor; }

.hero { min-height: 100svh; position: relative; display: grid; align-items: end; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; background: #07111f url("hero.png") center/cover no-repeat; transform: scale(1.03); animation: drift 16s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,17,31,.94) 0%, rgba(7,17,31,.72) 38%, rgba(7,17,31,.08) 72%), linear-gradient(0deg, #07111f 0%, transparent 42%); }
.hero-copy { padding: 160px 0 92px; max-width: 720px; }
.eyebrow { display: flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; color: var(--cyan); }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.035em; line-height: .98; }
h1 { margin-top: 24px; font-size: clamp(4rem, 10vw, 9.5rem); max-width: 10ch; }
.hero-lead { max-width: 530px; margin: 28px 0 0; color: rgba(244,240,232,.73); font-size: clamp(1rem, 1.4vw, 1.18rem); }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 52px; padding: 0 23px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; transition: transform .25s, background .25s, color .25s; }
.button:hover { transform: translateY(-3px); background: var(--paper); color: var(--ink); }
.button.primary { border-color: var(--cyan); background: var(--cyan); color: var(--ink); }
.button.primary:hover { background: #c4f4ff; }
.arrow { font-size: 1.2em; transition: transform .25s; }
.button:hover .arrow { transform: translateX(4px); }

.ticker { border-block: 1px solid var(--line); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 26s linear infinite; }
.ticker-track span { padding: 18px 38px; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(244,240,232,.58); }
.ticker-track span::after { content: "✦"; margin-left: 76px; color: var(--coral); }

.section { padding: 130px 0; }
.section.light { color: var(--ink); background: var(--paper); }
.section-head { display: grid; grid-template-columns: .75fr 2fr; gap: 50px; align-items: start; margin-bottom: 74px; }
.section-kicker { color: #637080; text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; }
.section h2 { font-size: clamp(3rem, 6.5vw, 6.6rem); max-width: 12ch; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(7,17,31,.15); border: 1px solid rgba(7,17,31,.15); }
.card { min-height: 330px; padding: 34px; background: var(--paper); display: flex; flex-direction: column; justify-content: space-between; transition: background .3s, transform .3s; }
.card:hover { background: #fff; transform: translateY(-7px); }
.card-num { color: #8a929a; font-size: .76rem; letter-spacing: .1em; }
.card h3 { font-size: 2rem; margin-bottom: 14px; }
.card p { color: #596471; margin: 0; }
.card-icon { width: 52px; height: 52px; border: 1px solid #a6b2bd; border-radius: 50%; display: grid; place-items: center; color: #1b829d; }

.manifesto { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.orb { aspect-ratio: 1; max-width: 480px; margin: auto; border-radius: 50%; position: relative; background: radial-gradient(circle at 65% 28%, #f6c8ba 0 3%, #725a80 18%, #102c48 55%, #07111f 72%); box-shadow: 0 0 110px rgba(142,233,255,.14); }
.orb::before, .orb::after { content: ""; position: absolute; inset: 11%; border: 1px solid rgba(142,233,255,.55); border-radius: 50%; transform: rotate(58deg) scaleY(.32); }
.orb::after { inset: -2%; border-color: rgba(255,156,136,.4); transform: rotate(-28deg) scaleY(.2); }
.manifesto h2 { font-size: clamp(3rem, 6vw, 6rem); }
.manifesto p { max-width: 520px; color: rgba(244,240,232,.66); font-size: 1.08rem; }
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 45px; }
.stat strong { display: block; font-family: Georgia, serif; font-size: 2.5rem; font-weight: 400; }
.stat span { font-size: .75rem; color: rgba(244,240,232,.55); text-transform: uppercase; letter-spacing: .12em; }

.page-hero { padding: 190px 0 100px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::after { content: ""; width: 520px; height: 520px; position: absolute; right: -170px; top: 10px; border: 1px solid rgba(142,233,255,.22); border-radius: 50%; box-shadow: inset 0 0 90px rgba(198,183,255,.08); }
.page-hero h1 { font-size: clamp(4rem, 9vw, 8.5rem); }
.page-hero p { max-width: 600px; color: rgba(244,240,232,.65); margin-top: 28px; font-size: 1.1rem; }
.process { counter-reset: process; }
.process-row { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 40px; padding: 48px 0; border-top: 1px solid rgba(7,17,31,.18); }
.process-row::before { counter-increment: process; content: "0" counter(process); color: #79828b; }
.process-row h3 { font-size: 2.1rem; }
.process-row p { margin: 0; color: #606a75; }
.journal-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 22px; }
.story { min-height: 360px; padding: 34px; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; background: linear-gradient(145deg, rgba(142,233,255,.08), transparent 55%); }
.story:nth-child(2), .story:nth-child(3) { min-height: 290px; }
.story:nth-child(3) { background: linear-gradient(145deg, rgba(255,156,136,.11), transparent 60%); }
.story h2 { font-size: clamp(2.3rem, 4vw, 4.4rem); max-width: 12ch; }
.story-meta { display: flex; justify-content: space-between; color: rgba(244,240,232,.5); text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.contact-grid h2 { font-size: clamp(3rem, 6vw, 6rem); }
.contact-note { color: rgba(244,240,232,.64); max-width: 480px; }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { color: rgba(244,240,232,.55); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.field input, .field textarea { width: 100%; color: var(--paper); background: transparent; border: 0; border-bottom: 1px solid rgba(244,240,232,.3); padding: 12px 0; outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--cyan); }
.field textarea { min-height: 110px; resize: vertical; }
.form-status { min-height: 24px; color: var(--cyan); }

.footer { border-top: 1px solid var(--line); padding: 55px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; color: rgba(244,240,232,.52); font-size: .78rem; }
.footer-links { display: flex; gap: 25px; }
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
[data-reveal].visible { opacity: 1; transform: translateY(0); }

@keyframes drift { from { transform: scale(1.03) translate3d(0,0,0); } to { transform: scale(1.09) translate3d(-1.4%,.8%,0); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
@media (max-width: 840px) {
  .menu { display: block; }
  .nav-links { position: absolute; top: 74px; right: 20px; flex-direction: column; min-width: 210px; padding: 24px; background: rgba(7,17,31,.96); border: 1px solid var(--line); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: .25s; }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .section { padding: 90px 0; }
  .section-head, .manifesto, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 250px; }
  .journal-grid { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 52px 1fr; }
  .process-row p { grid-column: 2; }
}
@media (max-width: 560px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 74px; }
  h1 { font-size: clamp(3.45rem, 18vw, 5.8rem); }
  .hero-copy { padding-bottom: 62px; }
  .hero-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .button { width: 100%; }
  .stats { grid-template-columns: 1fr; }
  .page-hero { padding-top: 150px; }
  .footer-inner { flex-direction: column; }
}
