/* Self-hosted fonts (SIL Open Font License) */
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 300; font-display: swap; src: url(fonts/newsreader-latin-ext-300-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 300; font-display: swap; src: url(fonts/newsreader-latin-300-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/newsreader-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/newsreader-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/hanken-grotesk-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/hanken-grotesk-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/hanken-grotesk-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/hanken-grotesk-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/hanken-grotesk-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/hanken-grotesk-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* PrivaSys — vault green, aged brass, bone (high-legibility) */
:root {
  --bg: #0F1A17;
  --band: #15241F;
  --line: #2A3E36;
  --line-strong: #3D564B;
  --text: #F3EEE3;
  --muted: #C9D2CC;
  --faint: #98A79F;
  --brass: #D6B677;
  --brass-hover: #E6C98D;
  --brass-dim: #9A8150;
  --on-brass: #15120A;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --space: clamp(88px, 12vw, 160px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 1.125rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; font-weight: 400; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
::selection { background: var(--brass); color: var(--on-brass); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 20; border-bottom: 1px solid transparent; transition: background-color .3s ease, border-color .3s ease; }
.site-header.is-scrolled { background: rgba(15, 26, 23, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-color: var(--line); }
.header-inner { max-width: var(--maxw); margin: 0 auto; padding: 18px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.5rem; text-decoration: none; color: var(--text); letter-spacing: -0.01em; }
.brand-mark { width: 26px; height: 26px; color: var(--brass); display: block; }
.header-tools { display: flex; align-items: center; gap: 20px; }
.lang { display: flex; border: 1px solid var(--line-strong); border-radius: 2px; }
.lang a { color: var(--faint); text-decoration: none; font: 600 .8125rem/1 var(--sans); letter-spacing: .04em; padding: 9px 10px; }
.lang a + a { border-left: 1px solid var(--line-strong); }
.lang a:hover { color: var(--text); }
.lang a[aria-current="true"] { color: var(--on-brass); background: var(--brass); }
.header-mail { font-size: 1rem; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .2s ease; }
.header-mail:hover { color: var(--brass); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.core-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(15,26,23,.95) 0%, rgba(15,26,23,.6) 42%, rgba(15,26,23,0) 64%); }
.hero-copy { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 64px; }
h1 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.022em;
  font-size: clamp(2.75rem, 6.2vw, 5.5rem); line-height: 1.02; max-width: 13ch; }
.lede { color: var(--muted); font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.55; max-width: 38ch; margin-top: 28px; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 40px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; background: var(--brass); color: var(--on-brass); font: 600 1rem/1 var(--sans); padding: 1.05em 1.6em; border-radius: 2px; text-decoration: none; transition: background-color .2s ease; }
.btn:hover { background: var(--brass-hover); }
.hint { color: var(--faint); font-size: 1rem; }
.hero-copy > * { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > :nth-child(2) { animation-delay: .15s; }
.hero-copy > :nth-child(3) { animation-delay: .3s; }
.core-canvas { animation: fadeIn 2.2s ease .1s both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Shared section type */
.section { padding-top: var(--space); }
.section-title { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.1; letter-spacing: -0.015em; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split > p:not(.statement) { color: var(--muted); font-size: clamp(1.125rem, 1.4vw, 1.3125rem); line-height: 1.6; max-width: 46ch; padding-top: .4em; }

/* Intro */
.statement { font-family: var(--serif); font-size: clamp(1.875rem, 3.2vw, 2.875rem); line-height: 1.14; letter-spacing: -0.02em; text-wrap: balance; }

/* Main targets */
.targets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(40px, 6vw, 72px); }
.targets li { background: var(--band); border: 1px solid var(--line); border-top: 2px solid var(--brass); padding: clamp(24px, 3vw, 36px); }
.targets h3 { font-family: var(--serif); font-size: clamp(1.625rem, 2.4vw, 2.125rem); line-height: 1.12; color: var(--brass); }
.targets p { color: var(--muted); margin-top: 14px; }

/* Areas */
.band { margin-top: var(--space); padding-block: var(--space); background: var(--band); border-block: 1px solid var(--line); }
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); border-top: 1px solid var(--line-strong); }
.areas li { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-strong);
  font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.25; }
.areas li::before { content: ""; flex: none; width: 9px; height: 9px; border: 1.5px solid var(--brass); border-radius: 50%; }

/* Engine */
.engine { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); margin-top: clamp(40px, 6vw, 72px); }
.engine > div { border-top: 1px solid var(--brass-dim); padding-top: 24px; }
.engine h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2vw, 1.875rem); line-height: 1.15; }
.engine p { color: var(--muted); margin-top: 12px; max-width: 30ch; }

/* Custom software */
.custom-intro { color: var(--muted); font-size: clamp(1.125rem, 1.4vw, 1.3125rem); line-height: 1.6; margin-top: 24px; max-width: 44ch; }
.custom { border-top: 1px solid var(--line-strong); }
.custom li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line-strong); }
.custom h3 { font-family: var(--serif); font-size: clamp(1.375rem, 1.9vw, 1.625rem); line-height: 1.2; color: var(--brass); }
.custom p { color: var(--muted); }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.pillars > div { border-top: 1px solid var(--brass-dim); padding-top: 24px; }
.pillars h2 { font-family: var(--serif); font-size: clamp(1.625rem, 2.2vw, 2rem); line-height: 1.15; }
.pillars p { color: var(--muted); margin-top: 12px; max-width: 32ch; }

/* Audience + proof */
.audience-body p { color: var(--muted); font-size: clamp(1.125rem, 1.4vw, 1.3125rem); line-height: 1.6; max-width: 46ch; }
.proof { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line-strong); display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.proof-figure { font-family: var(--serif); font-size: clamp(2.5rem, 4vw, 3.5rem); color: var(--brass); line-height: 1; }
.proof span:last-child { color: var(--muted); }

/* Contact */
.contact { padding-top: var(--space); padding-bottom: var(--space); }
.contact-line { font-family: var(--serif); font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.2; color: var(--muted); }
.mail { color: var(--text); text-decoration: none; overflow-wrap: anywhere;
  background-image: linear-gradient(var(--brass), var(--brass)); background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: color .3s ease; }
.mail:hover { color: var(--brass); }

/* Footer */
.site-footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 32px; color: var(--faint); font-size: .9375rem; }
.sep { margin: 0 6px; color: var(--line-strong); }

@media (max-width: 960px) {
  .hero { align-items: flex-end; }
  .hero-shade { background: linear-gradient(180deg, rgba(15,26,23,0) 28%, rgba(15,26,23,.8) 55%, rgba(15,26,23,.97) 100%); }
  .hero-copy { padding-bottom: 56px; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split > p:not(.statement) { padding-top: 0; }
  .targets, .pillars, .engine { grid-template-columns: 1fr; }
  .pillars { gap: 36px; }
}
@media (max-width: 640px) {
  .areas, .engine { grid-template-columns: 1fr; }
  .custom li { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 520px) {
  .header-mail { display: none; }
  .lang a { padding: 9px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
}

/* 404 */
.notfound { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.notfound h1 { max-width: none; }
.notfound p { color: var(--muted); }
.areas-intro { color: var(--muted); margin-top: 20px; max-width: 34ch; }
