/* ASZ Partners — wspólne style dla / i /en/ */

/* ---------- czcionki lokalne (/fonts/, licencja OFL w /fonts/OFL.txt) ---------- */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/cormorant-garamond-latin-ext.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: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/cormorant-garamond-latin.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: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap; src: url(/fonts/cormorant-garamond-italic-latin-ext.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: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap; src: url(/fonts/cormorant-garamond-italic-latin.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: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/dm-mono-400-latin-ext.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: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/dm-mono-400-latin.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: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/dm-mono-500-latin-ext.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: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/dm-mono-500-latin.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: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/instrument-sans-latin-ext.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: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/instrument-sans-latin.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; }

:root {
  --navy: #1B2A4A;
  --navy-deep: #0f1a2e;
  --gold: #C9A84C;
  --gold-soft: #d4b87a;
  --gold-pale: #e8d5a8;
  --ink: #0a0e18;
  --paper: #f5f2ec;
  --muted: #8b8e9a;
  --slate: #4a4d5e;
  --body: #cfcbc2;
  --line: rgba(201,168,76,0.2);
  --line-subtle: rgba(201,168,76,0.08);
  --wrap: 1120px;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 999; opacity: 0.35;
}
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { 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: absolute; top: -100%; left: 16px;
  background: var(--gold); color: var(--ink);
  padding: 12px 24px; z-index: 200;
  font-family: 'DM Mono', monospace; font-size: 12px;
  text-decoration: none; border-radius: 0 0 4px 4px;
}
.skip-link:focus { top: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* ---------- nawigacja ---------- */
header.top {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,14,24,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-subtle);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--paper); min-width: 0; }
.brand .mark {
  font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 600;
  color: var(--gold); letter-spacing: .02em; white-space: nowrap;
}
.brand .sub {
  font-family: 'DM Mono', monospace; font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
nav.links { display: flex; gap: 30px; }
nav.links a {
  font-family: 'DM Mono', monospace; font-size: 11.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); text-decoration: none;
  padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
nav.links a:hover, nav.links a:focus-visible { color: var(--gold-pale); border-bottom-color: var(--gold); }
.nav-mail { display: none; }
@media (max-width: 860px) {
  nav.links { display: none; }
  .nav-mail {
    display: inline-block; font-family: 'DM Mono', monospace; font-size: 11px;
    letter-spacing: .12em; text-transform: uppercase; color: var(--gold-pale);
    text-decoration: none; border: 1px solid var(--line); padding: 8px 14px; border-radius: 3px;
    white-space: nowrap;
  }
}
.top-actions { display: flex; align-items: center; gap: 30px; }
.lang {
  font-family: 'DM Mono', monospace; font-size: 11.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold-pale); text-decoration: none;
  border: 1px solid var(--line); padding: 7px 10px; border-radius: 3px; line-height: 1;
  transition: border-color .2s;
}
.lang:hover { border-color: var(--gold); }
@media (max-width: 860px) { .top-actions { gap: 10px; } }
@media (max-width: 420px) { .brand .sub { display: none; } .top .wrap { gap: 12px; } .brand .mark { font-size: 23px; } }

/* ---------- sekcje ---------- */
section { padding: 104px 0; border-top: 1px solid var(--line-subtle); scroll-margin-top: 72px; }
.eyebrow {
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::after { content: ''; flex: 1; height: 1px; background: var(--line); max-width: 120px; }
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; line-height: 1.12; }
h1 { font-size: clamp(42px, 7vw, 80px); letter-spacing: -0.015em; }
h2 { font-size: clamp(30px, 4.2vw, 46px); margin-bottom: 22px; }
h2 em, h1 em { font-style: italic; color: var(--gold); }
h3 { font-size: 24px; margin-bottom: 10px; color: var(--gold-pale); }
p { color: var(--body); max-width: 68ch; }
p + p { margin-top: 16px; }
.lead { font-size: 18.5px; color: #ddd8ce; }
strong { font-weight: 500; color: var(--paper); }

/* ---------- hero ---------- */
.hero { padding: 0; position: relative; border-top: 0; overflow: hidden; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 60% 70% at 15% 0%, rgba(27,42,74,0.8), transparent 70%);
}
/* jak hero na aszstrategy.eu: tekst po lewej (wyrównany do .wrap), prawa połowa to pełny panel grafu */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - 72px); align-items: center; }
.hero-text { padding: 96px 56px 96px max(28px, calc((100vw - var(--wrap)) / 2 + 28px)); }
.hero h1 { margin-bottom: 28px; font-size: clamp(38px, 4.2vw, 64px); }
.hero h1 em { display: block; }
.hero .lead { max-width: 56ch; }
.hero-meta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.chip {
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .08em;
  color: var(--gold-pale); border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 100px; background: rgba(27,42,74,0.35);
}
.chip.status { color: var(--ink); background: var(--gold); border-color: var(--gold); font-weight: 500; }
.cta-row { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; text-decoration: none;
  padding: 14px 28px; border-radius: 3px; transition: background .2s, border-color .2s, color .2s;
  display: inline-block; text-align: center;
}
.btn-gold { background: var(--gold); color: var(--ink); font-weight: 500; }
.btn-gold:hover { background: var(--gold-pale); }
.btn-ghost { border: 1px solid var(--line); color: var(--gold-pale); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(201,168,76,0.07); }

/* graf: ten sam wygląd i mechanizm co ngraph na aszstrategy.eu/asz-labs.html (asz-sub.css):
   linie i węzły rysują się przy wejściu, węzeł środkowy pulsuje raz, siatka przesuwa się raz.
   Cały ruch kończy się przed upływem 5 s (WCAG 2.2.2), dlatego bez przycisku pauzy (ustalone 24.09.2026).
   Przy prefers-reduced-motion nic się nie rusza (na dole pliku). */
.graph-panel {
  position: relative; align-self: stretch; min-height: 540px; overflow: hidden;
  background: linear-gradient(140deg, #101a2e 0%, var(--ink) 58%);
}
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(201,168,76,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,0.05) 1px, transparent 1px);
  background-size: 60px 60px; animation: gridMove 4s linear forwards;
}
@keyframes gridMove { 0% { transform: translateY(0); } 100% { transform: translateY(12px); } }
.ngraph { position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%); width: min(92%, 380px); height: auto; overflow: visible; }
.ngraph text { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.06em; fill: var(--muted); text-transform: uppercase; opacity: 0; animation: npop .8s ease forwards; }
.ngraph text.hub-label { fill: var(--gold); font-size: 10px; letter-spacing: 0.18em; }
.ngraph line { stroke: rgba(201,168,76,0.28); stroke-width: 1; stroke-dasharray: 320; stroke-dashoffset: 320; animation: ndraw 1.4s ease forwards; }
.ngraph line.mesh { stroke: rgba(201,168,76,0.14); }
.ngraph circle { fill: var(--ink); stroke: var(--gold); stroke-width: 1.5; opacity: 0; animation: npop .6s ease forwards; }
.ngraph circle.core { fill: var(--gold); animation: npop .6s ease 1.1s forwards, corepulse 2.6s ease 2.2s 1; }
@keyframes ndraw { to { stroke-dashoffset: 0; } }
@keyframes npop { to { opacity: 1; } }
@keyframes corepulse { 0%, 100% { r: 9; } 50% { r: 13; } }
.dpoints { position: absolute; bottom: 56px; left: 40px; right: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(201,168,76,0.08); opacity: 0; animation: fadeIn 1s ease 1.2s forwards; }
.dpoint { background: rgba(10,14,24,0.85); padding: 22px 12px; text-align: center; }
.dval { font-family: 'Cormorant Garamond', serif; font-size: 25px; font-weight: 300; color: var(--gold); line-height: 1.05; margin-bottom: 6px; }
.dlabel { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; line-height: 1.4; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding: 72px 28px 48px; }
  .graph-panel { min-height: 480px; }
  .dpoints { left: 16px; right: 16px; bottom: 24px; }
}
@media (max-width: 480px) { .dval { font-size: 20px; text-wrap: balance; } }

/* ---------- pasek faktów ---------- */
.facts { padding: 0; }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 34px 26px 32px; border-left: 1px solid var(--line-subtle); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact .k {
  font-family: 'DM Mono', monospace; font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 10px;
}
.fact .v { font-family: 'Cormorant Garamond', serif; font-size: 26px; color: var(--gold-pale); line-height: 1.2; }
@media (max-width: 900px) {
  .facts .wrap { grid-template-columns: 1fr 1fr; }
  .fact { padding: 26px 20px; border-top: 1px solid var(--line-subtle); }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 480px) {
  .fact .v { font-size: 22px; }
}

/* ---------- model ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 36px; } }
blockquote.thesis {
  border-left: 2px solid var(--gold); padding: 6px 0 6px 28px;
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(24px, 3vw, 32px); line-height: 1.3; color: var(--paper);
}
blockquote.thesis span { display: block; margin-top: 14px; font-family: 'DM Mono', monospace; font-style: normal; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---------- ścieżki ---------- */
.paths { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1px; background: var(--line-subtle); border: 1px solid var(--line-subtle); margin-top: 48px; }
.path { background: var(--ink); padding: 40px 36px 38px; position: relative; }
.path.main { background: linear-gradient(160deg, rgba(27,42,74,0.55), rgba(10,14,24,1) 70%); }
.path .tag {
  font-family: 'DM Mono', monospace; font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; display: inline-block; margin-bottom: 22px;
  padding: 5px 12px; border-radius: 100px; border: 1px solid var(--line); color: var(--gold-pale);
}
.path.main .tag { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 500; }
.path .num {
  font-family: 'Cormorant Garamond', serif; font-size: 64px; line-height: 1; color: var(--gold);
  opacity: .35; position: absolute; top: 28px; right: 32px;
}
.path h3 { font-size: 30px; max-width: 16ch; }
.path p { font-size: 15.5px; margin-top: 14px; }
.path .when-note {
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); margin-top: 22px;
}
@media (max-width: 900px) {
  .paths { grid-template-columns: 1fr; }
  .path { padding: 32px 24px; }
  .path .num { font-size: 48px; top: 24px; right: 22px; }
}

/* ---------- zasady ---------- */
.rules { margin-top: 40px; border-top: 1px solid var(--line-subtle); }
.rule {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px;
  padding: 24px 0; border-bottom: 1px solid var(--line-subtle);
}
.rule .k {
  font-family: 'DM Mono', monospace; font-size: 11px; color: var(--gold);
  letter-spacing: .14em; padding-top: 5px;
}
.rule .v { font-size: 16.5px; color: var(--body); max-width: 72ch; }
@media (max-width: 560px) { .rule { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; } }

/* ---------- kalendarz ---------- */
.timeline { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 0; right: 0; top: 9px; height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--line) 60%, var(--line-subtle));
}
.tl { position: relative; padding: 36px 32px 0 0; }
.tl::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--ink); border: 1.5px solid var(--gold);
}
.tl.now::before { background: var(--gold); }
.tl .when {
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 10px;
}
.tl h3 { font-size: 26px; }
.tl p { font-size: 15.5px; }
@media (max-width: 700px) {
  .timeline { grid-template-columns: 1fr; padding-left: 28px; }
  .timeline::before { left: 7px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; background: linear-gradient(180deg, var(--gold), var(--line)); }
  .tl { padding: 0 0 36px 0; }
  .tl:last-child { padding-bottom: 0; }
  .tl::before { left: -28px; top: 2px; }
}

/* ---------- kontakt ---------- */
.contact-box {
  margin-top: 44px; border: 1px solid var(--line); padding: 48px 44px;
  background: linear-gradient(135deg, rgba(27,42,74,0.6), rgba(10,14,24,0.2));
}
.mail {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(22px, 3.6vw, 36px);
  color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--line);
  display: inline-block; transition: border-color .2s; overflow-wrap: anywhere;
}
.mail:hover { border-bottom-color: var(--gold); }
@media (max-width: 800px) {
  .contact-box { padding: 32px 22px; }
}

/* ---------- stopka ---------- */
footer {
  border-top: 1px solid var(--line-subtle); padding: 48px 0 60px;
  font-size: 13.5px; color: var(--muted);
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
footer p { font-size: 13.5px; color: var(--muted); }
footer a { color: var(--gold-pale); text-decoration: none; border-bottom: 1px solid var(--line-subtle); }
footer a:hover { border-bottom-color: var(--gold); }
footer .legal { max-width: 62ch; }
.fine { font-family: 'DM Mono', monospace; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fine + .fine { margin-top: 8px; }

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero-text { padding: 56px 20px 40px; }
  section { padding: 72px 0; }
  .lead { font-size: 17px; }
  .btn { width: 100%; }
}

/* ruch wyłączony dla osób, które mają w systemie ustawione ograniczenie animacji */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ngraph line { stroke-dashoffset: 0; }
  .ngraph circle, .ngraph text, .dpoints { opacity: 1; }
}
