/* ==========================================================================
   Védőkör — design system v2
   A márkaszíneket és betűtípusokat a :root tokenekben lehet egy helyen cserélni.
   ========================================================================== */

:root {
  --ink: #0f1c17;
  --ink-2: #15241e;
  --ink-3: #1f302a;
  --paper: #f1ece2;
  --paper-2: #e5dfd2;
  --surface: #f8f5ee;
  /* Mélyzöld alap, krém, sárgaréz kiemelő (világos háttéren a mélyebb bronz) */
  --accent: #c9a45c;
  --accent-deep: #9c7a3a;
  --mist: #cfc6b3;
  --stone: #87928b;
  --graphite: #263a33;

  --on-ink: #f1ece2;
  --on-ink-muted: #a3aea7;
  --on-paper: #13201b;
  --on-paper-muted: #5f6a63;
  --line-ink: rgba(241, 236, 226, 0.12);
  --line-paper: rgba(19, 32, 27, 0.12);

  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-s: 12px;
  --radius: 24px;
  --radius-l: 40px;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --header-h: 80px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.18, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--on-paper);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.02; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 1000;
  background: var(--accent); color: var(--ink); padding: 12px 18px; border-radius: 12px; font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Film grain az egész oldalon */
.grain {
  position: fixed; inset: -80px; z-index: 998; pointer-events: none; opacity: .06; will-change: transform;
  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='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate3d(0, 0, 0); } 20% { transform: translate3d(-44px, 30px, 0); } 40% { transform: translate3d(30px, -44px, 0); }
  60% { transform: translate3d(-30px, -14px, 0); } 80% { transform: translate3d(44px, 44px, 0); } 100% { transform: translate3d(0, 0, 0); }
}

/* ---------- Surfaces ---------- */
.dark { background: var(--ink); color: var(--on-ink); }
.dark .muted { color: var(--on-ink-muted); }
.muted { color: var(--on-paper-muted); }
.section { padding-block: clamp(96px, 14vw, 200px); position: relative; }
.section--tight { padding-block: clamp(56px, 8vw, 100px); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(201, 164, 92, .18); }
.dark .eyebrow::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(201, 164, 92, .16); }
.h-xl, .h-l, .h-m, .h-s { font-family: var(--font-display); }
.h-xl { font-size: clamp(48px, 10vw, 168px); font-weight: 800; letter-spacing: -0.055em; line-height: .9; }
.h-l { font-size: clamp(38px, 6vw, 96px); font-weight: 700; letter-spacing: -0.045em; line-height: .96; }
.h-m { font-size: clamp(24px, 3vw, 40px); letter-spacing: -0.03em; line-height: 1.08; }
.h-s { font-size: 21px; letter-spacing: -0.015em; line-height: 1.2; }
.h-xl em, .h-l em, .h-m em, .serif {
  font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em;
  font-size: 1.1em; line-height: .8;
}
.h-xl em, .h-l em, .h-m em { color: var(--accent-deep); padding-right: .04em; }
.dark .h-xl em, .dark .h-l em, .dark .h-m em { color: var(--accent); }
.lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; max-width: 58ch; }
.section-head { display: grid; gap: 24px; margin-bottom: clamp(48px, 7vw, 96px); max-width: 1000px; }
.section-head--row { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
@media (max-width: 720px) { .section-head--row { grid-template-columns: 1fr; } }

/* Szöveg-felbontás (split) animáció */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .02em .12em; margin: -.06em -.02em -.12em; }
[data-split] .wi, [data-split] .c { display: inline-block; transform: translate3d(0, 115%, 0) rotate(4deg); transform-origin: 0 100%; transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--i, 0) * var(--stagger, .035s) + var(--delay, 0s)); }
[data-split].in .wi, [data-split].in .c { transform: none; }
[data-split="chars"] { --stagger: .028s; }
.js-off [data-split] .wi, .js-off [data-split] .c { transform: none; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper); --hover-bg: var(--accent); --hover-fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 60px; padding: 0 30px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 16px; letter-spacing: -0.005em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.btn::after {
  content: ""; position: absolute; left: 50%; top: 100%; width: 150%; aspect-ratio: 1; z-index: -1; border-radius: 50%;
  background: var(--hover-bg); transform: translate(-50%, 0) scale(.2); transition: transform .7s var(--ease-out);
}
.btn:hover::after { transform: translate(-50%, -50%) scale(1); }
.btn:hover { color: var(--hover-fg); }
.btn .arrow { transition: transform .5s var(--ease-out); flex: none; }
.btn:hover .arrow { transform: translateX(4px) rotate(-45deg); }
.btn--volt { --bg: var(--accent); --fg: var(--ink); --hover-bg: var(--paper); --hover-fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.dark .btn--ghost { --hover-bg: var(--on-ink); --hover-fg: var(--ink); }
.btn--sm { min-height: 46px; padding: 0 22px; font-size: 15px; gap: 10px; }
.btn--block { width: 100%; }

/* Szövegpörgetés hoverre */
.roll { display: inline-block; overflow: hidden; line-height: 1.25; height: 1.25em; vertical-align: middle; }
.roll > span { display: block; transition: transform .6s var(--ease-out); }
.roll > span::after { content: attr(data-t); display: block; }
a:hover .roll > span, button:hover .roll > span { transform: translateY(-50%); }

.link-arrow { position: relative; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; padding-bottom: 6px; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform-origin: right; transition: transform .6s var(--ease-out); }
.link-arrow:hover::after { transform: scaleX(0); transform-origin: left; animation: lineIn .6s var(--ease-out) .35s forwards; }
@keyframes lineIn { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }

/* ---------- Custom cursor ---------- */
.cursor, .cursor-dot { position: fixed; left: 0; top: 0; z-index: 999; pointer-events: none; opacity: 0; transition: opacity .3s; }
.has-cursor .cursor, .has-cursor .cursor-dot { opacity: 1; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--accent); }
.cursor { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.cursor i {
  position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(201, 164, 92, .7);
  display: grid; place-items: center; transition: transform .5s var(--ease-out), background-color .4s, border-color .4s;
}
.cursor b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .5s var(--ease-out); }
.cursor.is-link i { transform: scale(1.5); background: rgba(201, 164, 92, .12); }
.cursor.is-label i { transform: scale(2.3); background: var(--accent); border-color: var(--accent); }
.cursor.is-label b { opacity: 1; transform: scale(1); }
.cursor.is-down i { transform: scale(.8); }
.cursor.is-hidden { opacity: 0 !important; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor, .has-cursor a, .has-cursor button, .has-cursor summary, .has-cursor label { cursor: none; }
  .has-cursor input, .has-cursor textarea, .has-cursor select { cursor: auto; }
}

/* ---------- Preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1001; background: var(--ink); color: var(--on-ink);
  display: grid; place-items: center; clip-path: inset(0 0 0 0);
  transition: clip-path 1.2s var(--ease-in-out);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader-ring { position: relative; width: min(260px, 60vw); aspect-ratio: 1; display: grid; place-items: center; }
.loader-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.loader-ring circle { fill: none; stroke-width: 1.5; }
.loader-ring .track { stroke: var(--line-ink); }
.loader-ring .bar { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .3s linear; }
.loader-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 9vw, 80px); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.loader-label { position: absolute; bottom: 40px; left: 0; right: 0; text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--on-ink-muted); }
.loader.is-done .loader-ring { transform: scale(.9); opacity: 0; transition: transform 1s var(--ease-in-out), opacity .6s; }

/* ---------- Page transition ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 1000; pointer-events: none; background: var(--ink);
  clip-path: circle(0% at var(--cx, 50%) var(--cy, 50%));
  transition: clip-path .9s var(--ease-in-out);
}
.curtain::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  background: url("../img/icon.svg") center/contain no-repeat; opacity: 0; transition: opacity .3s;
}
.curtain.is-in { clip-path: circle(150% at var(--cx, 50%) var(--cy, 50%)); pointer-events: all; }
.curtain.is-in::after { opacity: 1; transition-delay: .5s; }
.curtain.is-out { clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease-in-out); }
.curtain.no-anim { transition: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background-color .4s, box-shadow .4s, transform .7s var(--ease-out), color .3s;
  color: var(--on-ink);
}
.site-header.is-scrolled {
  background: rgba(15, 28, 23, .6);
  -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 var(--line-ink);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.035em; line-height: 1; }
.logo-mark { width: 38px; height: 38px; flex: none; transition: transform 1s var(--ease-out); }
.logo:hover .logo-mark { transform: rotate(180deg); }
.logo small { display: block; font-family: var(--font-body); font-size: 10px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; opacity: .55; margin-top: 5px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 2px; }
.main-nav a { position: relative; display: block; padding: 10px 14px; font-weight: 600; font-size: 15px; }
.main-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.main-nav a[aria-current="page"]::after { background: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  display: inline-flex; align-items: center; height: 42px; padding: 4px; border-radius: 999px; position: relative;
  box-shadow: inset 0 0 0 1.5px var(--line-ink); font-size: 12px; font-weight: 800; letter-spacing: .08em;
}
.lang-toggle::before { content: ""; position: absolute; left: 4px; top: 4px; width: 34px; height: 34px; border-radius: 999px; background: var(--on-ink); transition: transform .5s var(--ease-out); }
.lang-toggle.is-en::before { transform: translateX(34px); }
.lang-toggle span { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; transition: color .4s; }
.lang-toggle span.is-active { color: var(--ink); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-ink); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.page-light .site-header:not(.is-scrolled) { color: var(--on-paper); }
.page-light .site-header:not(.is-scrolled) .lang-toggle,
.page-light .site-header:not(.is-scrolled) .burger { box-shadow: inset 0 0 0 1.5px var(--line-paper); }
.page-light .site-header:not(.is-scrolled) .lang-toggle::before { background: var(--ink); }
.page-light .site-header:not(.is-scrolled) .lang-toggle span.is-active { color: var(--paper); }
.page-light .site-header:not(.is-scrolled) .main-nav a[aria-current="page"]::after { background: var(--accent); }
.page-light .site-header:not(.is-scrolled) .btn--volt { --bg: var(--ink); --fg: var(--paper); --hover-bg: var(--accent); --hover-fg: var(--ink); }
.solid-header .site-header { background: rgba(15, 28, 23, .9); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); }

@media (max-width: 1080px) {
  .main-nav, .header-actions .btn { display: none; }
  .burger { display: block; }
  .header-actions { margin-left: auto; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--on-ink);
  display: flex; flex-direction: column; padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  clip-path: circle(0% at calc(100% - 44px) 40px); visibility: hidden; overflow: hidden;
  transition: clip-path .9s var(--ease-in-out), visibility 0s .9s;
}
.mobile-menu::before { content: ""; position: absolute; right: -30%; bottom: -20%; width: 90vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(201, 164, 92, .18), transparent); pointer-events: none; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 40px); visibility: visible; transition: clip-path .9s var(--ease-in-out), visibility 0s; }
.menu-open { overflow: hidden; }
.menu-open .site-header { color: var(--on-ink) !important; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.mobile-menu ul { display: grid; gap: 2px; position: relative; }
.mobile-menu li { overflow: hidden; }
.mobile-menu a.mm-link {
  display: flex; align-items: baseline; gap: 16px; padding: 4px 0;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 8.2vw, 64px); letter-spacing: -0.045em; line-height: 1.1;
  transform: translateY(110%); transition: transform .8s var(--ease-out), color .2s;
}
.mobile-menu a.mm-link small { font-family: var(--font-body); font-size: 12px; font-weight: 800; color: var(--on-ink-muted); letter-spacing: .1em; }
.mobile-menu a.mm-link[aria-current="page"] { color: var(--accent); }
.menu-open .mobile-menu a.mm-link { transform: none; }
.menu-open .mobile-menu li:nth-child(1) a { transition-delay: .25s; }
.menu-open .mobile-menu li:nth-child(2) a { transition-delay: .3s; }
.menu-open .mobile-menu li:nth-child(3) a { transition-delay: .35s; }
.menu-open .mobile-menu li:nth-child(4) a { transition-delay: .4s; }
.menu-open .mobile-menu li:nth-child(5) a { transition-delay: .45s; }
.menu-open .mobile-menu li:nth-child(6) a { transition-delay: .5s; }
.mobile-menu .mm-foot { margin-top: auto; display: grid; gap: 16px; position: relative; opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .8s var(--ease-out); }
.menu-open .mobile-menu .mm-foot { opacity: 1; transform: none; transition-delay: .55s; }
.mm-foot .mm-contact { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--on-ink-muted); font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + 24px); padding-bottom: 32px; overflow: hidden; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(50% 50% at 50% 55%, rgba(201, 164, 92, .07), transparent 70%),
    radial-gradient(40% 40% at 50% 100%, rgba(207, 198, 179, .06), transparent 70%);
}
.hero-gl { position: absolute; z-index: -1; left: 50%; top: 53%; width: min(104vh, 100vw); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.hero-gl canvas { width: 100%; height: 100%; }
.hero-inner { flex: 1; display: grid; grid-template-rows: auto 1fr auto; gap: 24px; }
.hero-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--on-ink-muted); }
.hero-title { align-self: center; display: grid; text-align: center; font-size: clamp(52px, min(12.5vw, 20vh), 224px); font-weight: 800; letter-spacing: -0.06em; line-height: .88; }
.hero-title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.hero-title .l { display: block; }
.hero-title .l2 { color: var(--accent); }
.hero-title .l2 em { font-size: 1.16em; line-height: .8; color: var(--accent); }
.hero-foot { display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: end; }
.hero-foot .lead { text-shadow: 0 1px 24px rgba(15, 28, 23,.8); color: var(--on-ink-muted); max-width: 40ch; font-size: clamp(16px, 1.3vw, 19px); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-badge { justify-self: end; position: relative; width: 132px; height: 132px; display: grid; place-items: center; border-radius: 50%; }
.hero-badge svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.hero-badge text { font-family: var(--font-body); font-size: 10.5px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; fill: var(--on-ink); }
.hero-badge .core { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; transition: transform .6s var(--ease-out); }
.hero-badge:hover .core { transform: scale(1.12) rotate(-45deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-intro .hero-top, .hero-intro .hero-foot > * { opacity: 0; transform: translateY(24px); }
.hero-intro.in .hero-top, .hero-intro.in .hero-foot > * { opacity: 1; transform: none; transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.hero-intro.in .hero-foot > :nth-child(1) { transition-delay: .5s; }
.hero-intro.in .hero-foot > :nth-child(2) { transition-delay: .6s; }
.hero-intro.in .hero-foot > :nth-child(3) { transition-delay: .7s; }
.hero-intro.in .hero-top { transition-delay: .4s; }
@media (max-width: 900px) {
  .hero-gl { top: 44%; width: 150vw; }
  .hero-foot { grid-template-columns: 1fr; gap: 24px; }
  .hero-ctas { justify-content: flex-start; }
  .hero-badge { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 48px); width: 100px; height: 100px; }
  .hero-badge .core { width: 48px; height: 48px; }
  .hero-top span:last-child { display: none; }
  .hero-title { text-align: left; }
}

/* ---------- Manifesto ---------- */
.manifesto { padding-block: clamp(120px, 18vw, 260px); }
.manifesto-text { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 4.4vw, 68px); letter-spacing: -0.04em; line-height: 1.12; max-width: 22ch; }
.manifesto-text .mw { opacity: .14; transition: opacity .2s linear; }
.manifesto-text .mw.on { opacity: 1; }
.manifesto .eyebrow { margin-bottom: 40px; }

/* ---------- Numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-ink); }
.num { padding: 40px 24px 0 0; display: grid; gap: 12px; }
.num + .num { padding-left: 24px; border-left: 1px solid var(--line-ink); }
.num b { font-family: var(--font-display); font-size: clamp(44px, 6vw, 104px); font-weight: 800; letter-spacing: -0.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.num:nth-child(2) b { color: var(--accent); }
.num span { font-size: 15px; color: var(--on-ink-muted); }
@media (max-width: 820px) {
  .numbers { grid-template-columns: 1fr 1fr; }
  .num:nth-child(3) { padding-left: 0; border-left: 0; }
  .num:nth-child(n+3) { border-top: 1px solid var(--line-ink); margin-top: 32px; }
}

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; perspective: 1400px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); overflow: hidden; isolation: isolate;
  background: var(--surface); transform-style: preserve-3d;
  transition: transform .8s var(--ease-out), box-shadow .8s var(--ease-out);
  display: flex; flex-direction: column; gap: 14px; min-height: 280px;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(480px circle at var(--mx) var(--my), rgba(201, 164, 92, .08), transparent 60%);
}
.card:hover::before { opacity: 1; }
.card:hover { box-shadow: 0 40px 80px -40px rgba(19, 32, 27, .35); }
.card .icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--paper); margin-bottom: auto; transition: transform .8s var(--ease-out); }
.card:hover .icon { transform: rotate(-12deg) scale(1.08); }
.card .icon svg { width: 28px; height: 28px; }
.card p { color: var(--on-paper-muted); }
.card--span-7 { grid-column: span 7; }
.card--span-5 { grid-column: span 5; }
.card--span-4 { grid-column: span 4; }
.card--ink { background: var(--ink); color: var(--on-ink); }
.card--ink p { color: var(--on-ink-muted); }
.card--ink .icon { background: var(--ink-3); color: var(--accent); }
.card--ink::before { background: radial-gradient(480px circle at var(--mx) var(--my), rgba(201, 164, 92, .18), transparent 60%); }
.card--violet { background: var(--mist); color: var(--ink); }
.card--violet p { color: rgba(15, 28, 23, .7); }
.card--violet .icon { background: rgba(15, 28, 23, .08); }
.card--volt { background: var(--accent); color: var(--ink); }
.card--volt p { color: rgba(15, 28, 23, .72); }
.card--volt .icon { background: rgba(15, 28, 23, .08); }
.card--feature { min-height: 420px; justify-content: flex-end; }
.card--feature .h-m { max-width: 14ch; }
.card .big-num { position: absolute; right: 28px; top: 12px; font-family: var(--font-display); font-weight: 800; font-size: 160px; line-height: 1; letter-spacing: -0.07em; opacity: .07; }
.card .card-orb { position: absolute; right: -90px; top: -90px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(201, 164, 92, .9), rgba(201, 164, 92, .15) 55%, transparent 72%); filter: blur(24px); opacity: .45; transition: transform 1.2s var(--ease-out); z-index: -1; }
.card:hover .card-orb { transform: translate(-30px, 30px) scale(1.1); }
@media (max-width: 960px) {
  .card--span-7, .card--span-5 { grid-column: span 12; }
  .card--span-4 { grid-column: span 6; }
}
@media (max-width: 600px) {
  .card--span-4 { grid-column: span 12; }
  .card { min-height: 0; }
  .card .icon { margin-bottom: 12px; }
  .card--feature { min-height: 360px; }
}

/* ---------- Horizontal services ---------- */
.hs { position: relative; overflow: hidden; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(96px, 12vh, 140px) clamp(48px, 8vh, 96px); }
.hs-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 5vh, 56px); }
.hs-track { display: flex; gap: 20px; padding-inline: var(--gutter); width: max-content; will-change: transform; }
.hs-card {
  position: relative; flex: none; height: min(62vh, 600px); aspect-ratio: 4/5; border-radius: var(--radius-l);
  padding: clamp(26px, 3vw, 44px); display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  background: var(--ink-2); color: var(--on-ink);
}
.hs-card:nth-child(6n+1) { background: var(--graphite); color: var(--on-ink); }
.hs-card:nth-child(6n+2) { background: var(--accent); color: var(--ink); }
.hs-card:nth-child(6n+3) { background: var(--paper); color: var(--ink); }
.hs-card:nth-child(6n+4) { background: var(--ink); color: var(--on-ink); box-shadow: inset 0 0 0 1px var(--line-ink); }
.hs-card:nth-child(6n+5) { background: var(--mist); color: var(--ink); }
.hs-card:nth-child(6n+6) { background: var(--ink-3); color: var(--on-ink); }
.hs-card .shape { color: inherit; opacity: .9; }
.hs-card:nth-child(6n+1) .shape, .hs-card:nth-child(6n+4) .shape, .hs-card:nth-child(6n+6) .shape { color: var(--accent); }
.hs-card .n { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .04em; opacity: .7; }
.hs-card h3 { font-size: clamp(26px, 2.3vw, 38px); letter-spacing: -0.045em; margin-top: auto; max-width: 12ch; overflow-wrap: anywhere; hyphens: auto; }
.hs-card p { margin-top: 16px; opacity: .8; max-width: 30ch; padding-right: 56px; }
.hs-card .shape { position: absolute; right: -14%; top: -10%; width: 72%; aspect-ratio: 1; z-index: -1; transition: transform 1.4s var(--ease-out); }
.hs-card:hover .shape { transform: rotate(40deg) scale(1.08); }
.hs-card .go { position: absolute; right: 26px; bottom: 26px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px currentColor; transition: transform .6s var(--ease-out), background-color .3s; }
.hs-card:hover .go { transform: rotate(-45deg); background: currentColor; box-shadow: none; }
.hs-card:hover .go svg { color: var(--paper); }
.hs-card:nth-child(6n+1):hover .go svg, .hs-card:nth-child(6n+4):hover .go svg, .hs-card:nth-child(6n+6):hover .go svg { color: var(--ink); }
.hs-end { flex: none; width: clamp(240px, 24vw, 380px); display: grid; place-items: center; }
.hs-progress { margin-top: clamp(32px, 5vh, 48px); height: 2px; background: var(--line-ink); position: relative; }
.hs-progress i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.hs-native { min-height: 0; }
.hs-native .hs-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.hs-native .hs-viewport::-webkit-scrollbar { display: none; }
.hs-native .hs-card { scroll-snap-align: center; height: auto; width: min(82vw, 420px); }
.hs-native .hs-end, .hs-native .hs-progress { display: none; }

/* ---------- Stacking steps ---------- */
.stack { display: grid; gap: 24px; }
.stack-card {
  position: sticky; top: calc(var(--header-h) + 24px + var(--i, 0) * 28px);
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 64px); align-items: center;
  min-height: clamp(260px, 34vw, 420px); padding: clamp(28px, 4vw, 64px); border-radius: var(--radius-l);
  background: var(--paper-2); transform-origin: 50% 0; will-change: transform;
}
.stack-card:nth-child(2) { background: var(--ink); color: var(--on-ink); }
.stack-card:nth-child(3) { background: var(--accent); color: var(--ink); }
.stack-card .num-big { font-family: var(--font-display); font-weight: 800; font-size: clamp(96px, 16vw, 240px); letter-spacing: -0.08em; line-height: .8; }
.stack-card .num-big { color: var(--accent); }
.stack-card:nth-child(1) .num-big { color: var(--accent-deep); }
.stack-card:nth-child(3) .num-big { color: var(--ink); }
.stack-card .stack-ico { color: inherit; }
.stack-card h3 { font-size: clamp(30px, 4vw, 64px); letter-spacing: -0.045em; }
.stack-card p { margin-top: 16px; font-size: clamp(17px, 1.4vw, 20px); opacity: .8; max-width: 40ch; }
.stack-card .stack-ico { width: clamp(80px, 10vw, 140px); aspect-ratio: 1; }
@media (max-width: 720px) {
  .stack-card { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .stack-card .stack-ico { display: none; }
}

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { display: flex; flex-direction: column; gap: 16px; }
.news-thumb { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); clip-path: inset(0 round var(--radius)); transition: clip-path .8s var(--ease-out); }
.news-card:hover .news-thumb { clip-path: inset(8px round calc(var(--radius) + 8px)); }
.news-thumb .art { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1.4s var(--ease-out); }
.news-card:hover .news-thumb .art { transform: scale(1.1) rotate(2deg); }
.news-thumb .tag { position: absolute; left: 16px; top: 16px; z-index: 1; }
.tag { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--paper); color: var(--ink); }
.news-meta { font-size: 14px; color: var(--on-paper-muted); font-weight: 600; }
.news-card h3 { font-size: 23px; letter-spacing: -0.03em; line-height: 1.18; }
.news-card h3 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .6s var(--ease-out); }
.news-card:hover h3 a { background-size: 100% 1.5px; }
.news-card p { color: var(--on-paper-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card--lead { grid-column: span 2; grid-row: span 2; }
.news-card--lead .news-thumb { aspect-ratio: auto; flex: 1; min-height: 320px; }
.news-card--lead h3 { font-size: clamp(26px, 2.8vw, 40px); }
@media (max-width: 960px) { .news-grid { grid-template-columns: repeat(2, 1fr); } .news-card--lead { grid-row: auto; } }
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } .news-card--lead { grid-column: auto; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.chip { height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 14px; box-shadow: inset 0 0 0 1.5px var(--line-paper); transition: background-color .3s, color .3s, box-shadow .3s; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.empty { padding: 48px; border-radius: var(--radius); background: var(--paper-2); text-align: center; color: var(--on-paper-muted); grid-column: 1 / -1; }

/* News modal */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: end center; background: rgba(15, 28, 23, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s; }
.modal.is-open { opacity: 1; visibility: visible; transition: opacity .5s; }
.modal-panel { width: min(780px, 100%); max-height: 90svh; overflow: auto; overscroll-behavior: contain; background: var(--paper); border-radius: var(--radius-l) var(--radius-l) 0 0; padding: clamp(24px, 5vw, 60px); transform: translateY(60px); transition: transform .8s var(--ease-out); }
.modal.is-open .modal-panel { transform: none; }
@media (min-width: 800px) { .modal { place-items: center; } .modal-panel { border-radius: var(--radius-l); } }
.modal-close { float: right; width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-paper); display: grid; place-items: center; transition: transform .5s var(--ease-out), background-color .3s; }
.modal-close:hover { transform: rotate(90deg); background: var(--ink); color: var(--paper); }
.modal-body { display: grid; gap: 18px; }
.modal-body .h-m { margin-top: 8px; }
.modal-body p { color: var(--on-paper-muted); font-size: 18px; }

/* ---------- Portal teaser ---------- */
.teaser { position: relative; border-radius: var(--radius-l); background: var(--ink); color: var(--on-ink); padding: clamp(32px, 6vw, 96px); overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.teaser::before { content: ""; position: absolute; inset: auto -20% -60% 30%; height: 120%; z-index: -1; background: radial-gradient(closest-side, rgba(201, 164, 92, .28), transparent); }
.teaser .checklist { display: grid; gap: 14px; margin: 32px 0 40px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1c17' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12.5l4 4 8-9'/></svg>") center/14px no-repeat; }
.phone-wrap { position: relative; justify-self: center; width: min(320px, 100%); }
.phone {
  width: 100%; aspect-ratio: 9/18.5; border-radius: 48px; padding: 12px; background: #172720;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 80px 140px -40px rgba(201, 164, 92, .4);
}
.phone-screen { height: 100%; border-radius: 38px; background: var(--paper); color: var(--on-paper); overflow: hidden; padding: 40px 16px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 12px; }
.phone-screen .ps-top { display: flex; justify-content: space-between; align-items: center; }
.phone-screen .ps-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); }
.phone-screen .ps-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.03em; line-height: 1.1; }
.phone-screen .ps-card { border-radius: 16px; padding: 12px; background: var(--surface); }
.phone-screen .ps-card.ink { background: var(--ink); color: var(--on-ink); }
.phone-screen .ps-card.volt { background: var(--accent); }
.phone-screen .ps-big { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.04em; }
.phone-screen .ps-bar { height: 8px; border-radius: 8px; background: var(--paper-2); }
.phone-screen .ps-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.float-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 18px; background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); font-size: 13px; font-weight: 700; white-space: nowrap; }
.float-chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.float-chip.c1 { left: -30%; top: 18%; }
.float-chip.c2 { right: -24%; top: 52%; }
.float-chip.c2 i { background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.float-chip.c3 { left: -18%; bottom: 10%; }
.float-chip.c3 i { background: var(--mist); box-shadow: 0 0 12px var(--mist); }
@media (max-width: 900px) {
  .teaser { grid-template-columns: 1fr; }
  .phone-wrap { width: min(260px, 72%); }
  .float-chip.c1 { left: -24%; } .float-chip.c2 { right: -26%; } .float-chip.c3 { display: none; }
}

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.faq details { border-bottom: 1px solid var(--line-paper); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 2vw, 24px); letter-spacing: -0.025em; transition: color .3s; }
.faq summary:hover { color: var(--accent-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-paper); position: relative; transition: transform .5s var(--ease-out), background-color .3s, color .3s; color: var(--on-paper); }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; border-radius: 2px; }
.faq summary .plus::after { transform: rotate(90deg); transition: transform .5s var(--ease-out); }
.faq details[open] summary .plus { background: var(--ink); color: var(--accent); transform: rotate(180deg); }
.faq details[open] summary .plus::after { transform: rotate(0deg); }
.faq .answer { padding: 0 72px 30px 0; color: var(--on-paper-muted); font-size: 18px; }
.faq details[open] .answer { animation: fadeUp .7s var(--ease-out); }
@media (max-width: 820px) { .faq-wrap { grid-template-columns: 1fr; gap: 24px; } .faq .answer { padding-right: 0; } }

/* ---------- Big CTA ---------- */
.cta { position: relative; overflow: hidden; text-align: center; isolation: isolate; padding-block: clamp(140px, 18vw, 260px) clamp(100px, 12vw, 180px); }
.cta .h-xl { max-width: 13ch; margin-inline: auto; }
.cta .lead { margin: 32px auto 48px; color: var(--on-ink-muted); }
.cta-orb { position: absolute; left: 50%; top: 50%; width: min(1000px, 150vw); aspect-ratio: 1; transform: translate(-50%, -50%); z-index: -1; opacity: .6; pointer-events: none; }
.cta-orb canvas { width: 100%; height: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink); padding-top: clamp(72px, 9vw, 120px); overflow: hidden; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 64px; }
.footer-grid h4 { font-family: var(--font-body); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--on-ink-muted); margin-bottom: 20px; }
.footer-grid ul { display: grid; gap: 10px; }
.footer-grid a { transition: color .3s; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid p { color: var(--on-ink-muted); max-width: 34ch; margin-top: 20px; }
.socials { display: flex; gap: 10px; margin-top: 28px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-ink); transition: background-color .3s, color .3s, transform .5s var(--ease-out); }
.socials a:hover { background: var(--accent); color: var(--ink); transform: translateY(-4px); }
.socials svg { width: 18px; height: 18px; }
.footer-word { display: flex; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: clamp(64px, 19.5vw, 340px); letter-spacing: -0.065em; line-height: .78; white-space: nowrap; user-select: none; margin-bottom: -0.1em; }
.footer-word span { display: inline-block; padding-top: .18em; background: linear-gradient(180deg, var(--on-ink) 5%, var(--ink-3) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateY(40%); opacity: 0; transition: transform 1.4s var(--ease-out), opacity 1.2s; transition-delay: calc(var(--i) * .05s); }
.footer-word.in span { transform: none; opacity: 1; }
.footer-word span:hover { background: linear-gradient(180deg, var(--accent), var(--accent-deep)); -webkit-background-clip: text; background-clip: text; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line-ink); font-size: 14px; color: var(--on-ink-muted); }
.footer-bottom button { text-decoration: underline; text-underline-offset: 3px; }
.to-top { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--on-ink); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Inner page hero ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(64px, 12vw, 160px)); padding-bottom: clamp(64px, 9vw, 120px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero .h-xl { font-size: clamp(44px, 8.4vw, 140px); max-width: 14ch; }
.page-hero .lead { margin-top: 32px; }
.page-hero .ph-orb { position: absolute; right: -17%; top: 50%; width: min(52vw, 720px); aspect-ratio: 1; transform: translateY(-50%); z-index: -1; pointer-events: none; opacity: .95; }
.page-hero .ph-orb canvas { width: 100%; height: 100%; }
.page-light .page-hero .ph-orb { opacity: .9; }
.page-hero .blob {
  position: absolute; right: -10%; top: -20%; width: 60vw; max-width: 760px; aspect-ratio: 1; border-radius: 50%; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at 35% 35%, rgba(201, 164, 92, .55), rgba(201, 164, 92, .35) 45%, transparent 70%);
  filter: blur(40px); opacity: .7; animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-6%, 8%) scale(1.08); } }
.fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp 1.1s var(--ease-out) forwards; animation-delay: .3s; }
.fade-up.d2 { animation-delay: .45s; }
.fade-up.d3 { animation-delay: .6s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (max-width: 820px) { .page-hero .ph-orb { right: -40%; top: 30%; width: 110vw; opacity: .5; } }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 112px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.value { padding: 30px; border-radius: var(--radius); background: var(--surface); display: grid; gap: 8px; transition: transform .6s var(--ease-out), background-color .4s; }
.value:hover { transform: translateY(-6px); background: var(--accent); }
.value b { font-family: var(--font-display); font-size: 21px; letter-spacing: -0.025em; }
.value span { color: var(--on-paper-muted); }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--line-ink); }
.timeline .tl-line { position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 2s var(--ease-out); }
.timeline.in .tl-line { transform: scaleX(1); }
.tl-item { position: relative; padding-top: 48px; display: grid; gap: 10px; }
.tl-item::before { content: ""; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 2px var(--accent); z-index: 1; }
.tl-item:last-child::before { background: var(--accent); }
.tl-item b { font-family: var(--font-display); font-size: clamp(36px, 4.6vw, 72px); letter-spacing: -0.06em; line-height: 1; }
.tl-item span { color: var(--on-ink-muted); max-width: 26ch; }
@media (max-width: 820px) {
  .timeline { grid-template-columns: 1fr; gap: 32px; padding-left: 40px; }
  .timeline::before, .timeline .tl-line { left: 11px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline .tl-line { transform: scaleY(0); transform-origin: top; }
  .timeline.in .tl-line { transform: scaleY(1); }
  .tl-item { padding-top: 0; }
  .tl-item::before { left: -40px; }
}
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.person { display: grid; gap: 12px; }
.person .ph { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 56px; letter-spacing: -0.05em; color: var(--ink); transition: border-radius .8s var(--ease-out); }
.person .ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.5), transparent 50%); }
.person:hover .ph { border-radius: 50%; }
.person b { font-size: 18px; }
.person span { color: var(--on-paper-muted); font-size: 15px; }
@media (max-width: 860px) { .team { grid-template-columns: repeat(2, 1fr); } }
.logo-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.logo-wall div { height: 110px; border-radius: var(--radius-s); display: grid; place-items: center; background: var(--surface); font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; color: var(--on-paper-muted); text-align: center; padding: 0 12px; line-height: 1.2; transition: background-color .4s, color .4s; }
.logo-wall div:hover { background: var(--ink); color: var(--accent); }

/* ---------- Services page ---------- */
.svc-list { border-top: 1px solid var(--line-paper); counter-reset: svc; }
.svc {
  position: relative; display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.1fr) 56px; gap: 24px; align-items: center;
  padding: 36px 0; border-bottom: 1px solid var(--line-paper); counter-increment: svc; isolation: isolate;
}
.svc::before { content: "0" counter(svc); font-family: var(--font-display); font-size: 14px; color: var(--on-paper-muted); font-weight: 600; }
.svc::after { content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)); z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease-out); }
.svc h3 { font-size: clamp(24px, 2.8vw, 40px); letter-spacing: -0.035em; transition: transform .6s var(--ease-out), color .3s; }
.svc p { color: var(--on-paper-muted); transition: color .3s; }
.svc .svc-arrow { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-paper); transition: transform .6s var(--ease-out), background-color .3s, color .3s; }
@media (hover: hover) {
  .svc:hover::after { transform: scaleY(1); transform-origin: top; }
  .svc:hover h3 { transform: translateX(16px); color: var(--accent); }
  .svc:hover p, .svc:hover::before { color: var(--on-ink-muted); }
  .svc:hover .svc-arrow { background: var(--accent); color: var(--ink); transform: rotate(-45deg); box-shadow: none; }
}
@media (max-width: 820px) {
  .svc { grid-template-columns: 48px minmax(0, 1fr); gap: 8px 16px; padding: 26px 0; }
  .svc p { grid-column: 2; }
  .svc .svc-arrow { display: none; }
}
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.benefit { display: flex; align-items: center; gap: 16px; padding: 26px 28px; border-radius: var(--radius-s); background: var(--ink-2); font-weight: 700; font-size: 18px; transition: background-color .4s, color .4s, transform .6s var(--ease-out); }
.benefit::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); flex: none; transition: transform .6s var(--ease-out); }
.benefit:hover { background: var(--accent); color: var(--ink); transform: translateY(-4px); }
.benefit:hover::before { background: var(--ink); transform: scale(1.6); }
@media (max-width: 820px) { .benefit-grid { grid-template-columns: 1fr; } }
.helpline { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(32px, 5vw, 64px); border-radius: var(--radius-l); background: var(--accent); color: var(--ink); overflow: hidden; position: relative; }
.helpline .h-m { max-width: 16ch; }
.helpline a.phone-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4.4vw, 64px); letter-spacing: -0.05em; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border-radius: var(--radius-l); padding: clamp(26px, 4vw, 52px); display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 700; }
.input {
  width: 100%; min-height: 58px; padding: 14px 18px; border-radius: 16px; border: 1.5px solid var(--line-paper); background: var(--paper);
  transition: border-color .3s, box-shadow .3s, background-color .3s; font-size: 16px;
}
.input:hover { border-color: rgba(19, 32, 27, .3); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 5px rgba(201, 164, 92, .16); background: var(--surface); }
textarea.input { min-height: 150px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313201b' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 48px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--on-paper-muted); }
.check input { width: 22px; height: 22px; flex: none; margin: 0; accent-color: var(--accent); }
.form-note { font-size: 13px; color: var(--on-paper-muted); }
.alert { padding: 16px 20px; border-radius: 14px; font-weight: 600; font-size: 15px; }
.alert--ok { background: rgba(207, 198, 179, .6); color: var(--ink); animation: fadeUp .6s var(--ease-out); }
.alert--err { background: rgba(201, 164, 92, .16); color: #b3300c; }
.contact-list { display: grid; gap: 32px; }
.contact-list div { display: grid; gap: 6px; }
.contact-list small { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--on-paper-muted); }
.contact-list a, .contact-list b { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.035em; }
.contact-list a { transition: color .3s; }
.contact-list a:hover { color: var(--accent-deep); }
.map { margin-top: 40px; aspect-ratio: 16/10; border-radius: var(--radius); background: var(--ink); position: relative; overflow: hidden; }
.map svg { width: 100%; height: 100%; }

/* ---------- Login ---------- */
.auth { min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-art { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header-h) + 40px) var(--gutter) 56px; isolation: isolate; }
.auth-art .hero-gl { top: 42%; width: 120%; }
.auth-art .h-l { max-width: 12ch; }
.auth-form { display: grid; place-items: center; padding: calc(var(--header-h) + 40px) var(--gutter) 56px; }
.auth-form .form-card { width: min(480px, 100%); background: transparent; padding: 0; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 56px; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; color: var(--on-paper-muted); }
.pw-toggle:hover, .pw-toggle[aria-pressed="true"] { color: var(--ink); }
.demo-box { padding: 20px; border-radius: var(--radius-s); background: var(--paper-2); display: grid; gap: 10px; font-size: 14px; }
.demo-box .codes { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-box button { height: 36px; padding: 0 14px; border-radius: 999px; background: var(--surface); font-weight: 700; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; transition: background-color .3s, color .3s; }
.demo-box button:hover { background: var(--ink); color: var(--accent); }
.shake { animation: shake .45s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; }
  .auth-art { min-height: 48svh; }
  .auth-art .hero-gl { width: 130vw; top: 40%; }
  .auth-form { padding-top: 40px; }
}

/* ---------- Tagi app (portal) ---------- */
.app-body { background: var(--ink); color: var(--on-ink); }
.app-shell { display: grid; grid-template-columns: 280px minmax(0, 1fr); min-height: 100svh; }
.app-side {
  position: sticky; top: 0; height: 100svh; padding: 28px 18px 22px; display: flex; flex-direction: column; gap: 32px;
  border-right: 1px solid var(--line-ink); background: linear-gradient(180deg, #0d1813, var(--ink));
}
.app-side .logo { padding: 0 8px; }
.app-nav { position: relative; display: grid; gap: 4px; }
.app-nav .ind { position: absolute; left: 0; right: 0; top: 0; height: 50px; border-radius: 16px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-ink); transition: transform .6s var(--ease-out), height .6s var(--ease-out); z-index: 0; }
.app-nav .ind::before { content: ""; position: absolute; left: -18px; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.app-nav a { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; height: 50px; padding: 0 16px; border-radius: 16px; color: var(--on-ink-muted); font-weight: 600; font-size: 15px; transition: color .3s; }
.app-nav a:hover, .app-nav a[aria-current="page"] { color: var(--on-ink); }
.app-nav a svg { width: 20px; height: 20px; flex: none; }
.app-nav a[aria-current="page"] svg { color: var(--accent); }
.app-nav .count { margin-left: auto; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: var(--graphite); color: var(--on-ink); }
.app-side-label { padding: 0 16px; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); margin-bottom: -20px; }
.app-me { margin-top: auto; padding: 16px; border-radius: 20px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-ink); display: grid; gap: 14px; }
.app-me .row { display: flex; align-items: center; gap: 12px; }
.app-me .badge { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: -0.03em; background: var(--accent-c, var(--accent)); color: var(--ink); flex: none; }
.app-me b { display: block; font-size: 14px; line-height: 1.3; }
.app-me small { color: var(--on-ink-muted); font-size: 12px; font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.app-me .logout { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border-radius: 12px; font-size: 14px; font-weight: 700; color: var(--on-ink-muted); box-shadow: inset 0 0 0 1px var(--line-ink); transition: color .3s, background-color .3s; }
.app-me .logout:hover { color: var(--ink); background: var(--on-ink); }

.app-main { min-width: 0; overflow-x: clip; padding: 22px clamp(16px, 3.4vw, 56px) 96px; }
.app-top { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(28px, 4vw, 48px); }
.app-top .crumb { font-size: 13px; font-weight: 700; color: var(--on-ink-muted); display: flex; align-items: center; gap: 10px; }
.app-top .crumb b { color: var(--on-ink); }
.app-top .crumb i { width: 4px; height: 4px; border-radius: 50%; background: var(--stone); }
.app-top .spacer { flex: 1; }
.app-top .logo { display: none; }
.search-btn { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 8px 0 16px; border-radius: 999px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-ink); color: var(--on-ink-muted); font-size: 14px; font-weight: 600; min-width: 260px; transition: box-shadow .3s, color .3s; }
.search-btn:hover { color: var(--on-ink); box-shadow: inset 0 0 0 1px rgba(241, 236, 226, .3); }
.search-btn svg { width: 18px; height: 18px; }
.search-btn kbd { margin-left: auto; height: 28px; padding: 0 10px; border-radius: 999px; display: grid; place-items: center; font-family: var(--font-body); font-size: 12px; font-weight: 700; background: var(--graphite); color: var(--on-ink); }
.app-body .lang-toggle { box-shadow: inset 0 0 0 1.5px var(--line-ink); }

/* Nézetek */
.app-view { display: none; }
.app-view.is-active { display: block; }
.app-view.is-active .rise { animation: appRise .9s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes appRise { from { opacity: 0; transform: translateY(28px) scale(.985); } to { opacity: 1; transform: none; } }
.view-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: clamp(24px, 3vw, 40px); }
.view-head h1 { font-size: clamp(40px, 5.6vw, 88px); letter-spacing: -0.055em; line-height: .92; }
.view-head h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: -0.02em; font-size: 1.08em; }
.view-head p { color: var(--on-ink-muted); max-width: 46ch; }

/* Hero (áttekintés) */
.app-hello { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.app-hello .date { font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink-muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.app-hello h1 { font-size: clamp(48px, 7.4vw, 124px); letter-spacing: -0.06em; line-height: .88; }
.app-hello h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: -0.02em; font-size: 1.1em; }
.app-hello .orb { width: clamp(150px, 18vw, 250px); aspect-ratio: 1; margin: -40px -10px -20px 0; pointer-events: none; }
.app-hello .orb canvas { width: 100%; height: 100%; }
.live { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(201, 164, 92, .12); color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: none; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: livePulse 2s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(201, 164, 92, .6); } 70% { box-shadow: 0 0 0 8px rgba(201, 164, 92, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 164, 92, 0); } }

/* Csempék */
.tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile {
  --mx: 50%; --my: 50%;
  position: relative; grid-column: span 4; min-height: 240px; padding: clamp(22px, 2.4vw, 32px); border-radius: 28px; overflow: hidden; isolation: isolate;
  background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-ink); display: flex; flex-direction: column; gap: 12px;
  transition: transform .7s var(--ease-out), box-shadow .5s;
}
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(241, 236, 226, .07), transparent 60%); }
.tile:hover::after { opacity: 1; }
.tile:hover { box-shadow: inset 0 0 0 1px rgba(241, 236, 226, .2); }
.tile small, .t-label { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink-muted); }
.tile p { color: var(--on-ink-muted); }
.tile h2, .tile h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.035em; line-height: 1.08; }
.tile .kpi { font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 6.6vw, 104px); letter-spacing: -0.07em; line-height: .86; font-variant-numeric: tabular-nums; }
.tile--accent { background: var(--accent); color: var(--ink); box-shadow: none; }
.tile--accent small, .tile--accent p { color: rgba(15, 28, 23, .68); }
.tile--accent::after { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, .22), transparent 60%); }
.tile--bone { background: var(--paper); color: var(--ink); box-shadow: none; }
.tile--bone small, .tile--bone p { color: var(--on-paper-muted); }
.tile--bone::after { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(201, 164, 92, .1), transparent 60%); }
.s-3 { grid-column: span 3; } .s-4 { grid-column: span 4; } .s-5 { grid-column: span 5; } .s-6 { grid-column: span 6; } .s-7 { grid-column: span 7; } .s-8 { grid-column: span 8; } .s-12 { grid-column: 1 / -1; }
.tile .top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.tile .foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.tile .corner { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px currentColor; opacity: .8; transition: transform .6s var(--ease-out), background-color .3s, color .3s; flex: none; }
.tile:hover .corner { transform: rotate(-45deg); }
.tile a.stretched::before { content: ""; position: absolute; inset: 0; z-index: 1; }

.spark { display: flex; align-items: end; gap: 6px; height: 72px; }
.spark i { flex: 1; min-width: 10px; border-radius: 6px 6px 3px 3px; background: rgba(15, 28, 23, .82); height: 0; transition: height 1.2s var(--ease-out); transition-delay: calc(var(--i) * 90ms); }
.spark i:nth-child(n+2) { background: rgba(15, 28, 23, .35); }

.cd { display: flex; gap: clamp(8px, 1vw, 14px); }
.cd div { display: grid; gap: 4px; }
.cd b { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 2.3vw, 40px); letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.cd span { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-muted); }
.cd div + div { padding-left: clamp(8px, 1vw, 14px); border-left: 1px solid var(--line-ink); }

.faces { display: flex; }
.faces span { width: 42px; height: 42px; border-radius: 50%; margin-left: -6px; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--ink); box-shadow: 0 0 0 3px var(--ink-2); }
.faces span:first-child { margin-left: 0; }

.quick { display: grid; gap: 8px; margin-top: 4px; }
.quick a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--graphite); font-weight: 700; font-size: 15px; transition: background-color .3s, color .3s, transform .5s var(--ease-out); }
.quick a svg { width: 18px; height: 18px; flex: none; color: var(--accent); transition: color .3s; }
.quick a .go { margin-left: auto; opacity: .5; transition: transform .5s var(--ease-out), opacity .3s; }
.quick a:hover { background: var(--accent); color: var(--ink); transform: translateX(4px); }
.quick a:hover svg { color: var(--ink); }
.quick a:hover .go { opacity: 1; transform: translateX(4px); }

/* Hírfolyam */
.feed { display: grid; }
.feed article { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 40px); align-items: start; padding: 28px 8px; border-top: 1px solid var(--line-ink); transition: background-color .4s; border-radius: 4px; }
.feed article:last-child { border-bottom: 1px solid var(--line-ink); }
.feed article:hover { background: rgba(241, 236, 226, .03); }
.feed .d { font-family: var(--font-display); font-weight: 800; line-height: .9; }
.feed .d b { display: block; font-size: 44px; letter-spacing: -0.06em; }
.feed .d span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-muted); }
.feed h3 { font-size: clamp(20px, 2vw, 28px); letter-spacing: -0.035em; line-height: 1.12; }
.feed p { color: var(--on-ink-muted); margin-top: 10px; max-width: 64ch; }
.feed .new { align-self: center; }
.tile .feed article { padding: 18px 0; grid-template-columns: 64px minmax(0, 1fr); }
.tile .feed .d b { font-size: 32px; }
.tile .feed h3 { font-size: 18px; }
.tile .feed p { font-size: 15px; margin-top: 4px; }

/* Bérek */
.hbar { display: grid; grid-template-columns: minmax(120px, 220px) minmax(0, 1fr) 96px; gap: 20px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line-ink); }
.hbar:last-child { border-bottom: 1px solid var(--line-ink); }
.hbar span { font-weight: 600; }
.hbar .track { height: 14px; border-radius: 14px; background: var(--graphite); overflow: hidden; }
.hbar .track i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, rgba(201, 164, 92, .55), var(--accent)); transition: width 1.6s var(--ease-out); transition-delay: calc(var(--i) * 120ms); }
.hbar b { font-family: var(--font-display); font-size: 20px; letter-spacing: -0.03em; text-align: right; font-variant-numeric: tabular-nums; }
.ben { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line-paper); }
.ben:last-child { border-bottom: 1px solid var(--line-paper); }
.ben span { color: var(--on-paper-muted); }
.ben i { flex: 1; border-bottom: 1.5px dotted rgba(19, 32, 27, .25); transform: translateY(-4px); }
.ben b { font-family: var(--font-display); font-size: clamp(16px, 1.6vw, 20px); letter-spacing: -0.02em; white-space: nowrap; }
@media (max-width: 600px) {
  .hbar { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .hbar .track { grid-column: 1 / -1; grid-row: 2; }
  .ben { flex-wrap: wrap; } .ben i { display: none; } .ben b { margin-left: auto; }
}

/* Dokumentumok */
.field-dark { position: relative; flex: 1; max-width: 420px; min-width: 240px; }
.field-dark input { width: 100%; height: 52px; padding: 0 18px 0 48px; border-radius: 16px; border: 0; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-ink); color: var(--on-ink); font-size: 15px; transition: box-shadow .3s; }
.field-dark input::placeholder { color: var(--stone); }
.field-dark input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--accent); }
.field-dark svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--stone); }
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.doc { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 250px; padding: 24px; border-radius: 24px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-ink); transition: transform .6s var(--ease-out), box-shadow .4s; overflow: hidden; }
.doc:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1.5px var(--accent); }
.doc .type { width: 58px; height: 72px; border-radius: 10px 22px 10px 10px; display: grid; place-items: end start; padding: 8px 10px; font-size: 11px; font-weight: 800; letter-spacing: .06em; background: var(--paper); color: var(--ink); position: relative; }
.doc .type::before { content: ""; position: absolute; right: 0; top: 0; width: 18px; height: 18px; border-radius: 0 0 0 8px; background: var(--mist); }
.doc:nth-child(3n+2) .type { background: var(--accent); }
.doc h3 { font-size: 19px; letter-spacing: -0.025em; line-height: 1.2; margin-top: auto; }
.doc p { color: var(--on-ink-muted); font-size: 14px; }
.doc .open { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--accent); }
.doc .open::before { content: ""; position: absolute; inset: 0; }
.empty-dark { padding: 56px 24px; text-align: center; border-radius: 24px; color: var(--on-ink-muted); box-shadow: inset 0 0 0 1px dashed var(--line-ink); border: 1px dashed var(--line-ink); }

/* Emberek */
.people-app { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.pc { display: grid; gap: 18px; padding: 26px; border-radius: 28px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-ink); transition: transform .6s var(--ease-out); }
.pc:hover { transform: translateY(-6px); }
.pc .av { position: relative; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.04em; background: var(--graphite); }
.pc .av::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; background: conic-gradient(var(--accent) var(--p, 70%), transparent 0); -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); transition: transform 1.2s var(--ease-out); }
.pc:hover .av::before { transform: rotate(120deg); }
.pc h3 { font-size: 22px; letter-spacing: -0.03em; }
.pc p { color: var(--on-ink-muted); font-size: 14px; margin-top: 4px; }
.pc .contact { display: grid; gap: 6px; font-size: 14px; color: var(--on-ink-muted); font-variant-numeric: tabular-nums; }
.pc .actions { display: flex; gap: 8px; }
.pc .actions .btn { flex: 1; }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-ink); color: var(--on-ink-muted); transition: color .3s, background-color .3s, box-shadow .3s; flex: none; }
.icon-btn:hover { color: var(--ink); background: var(--on-ink); box-shadow: none; }
.icon-btn svg { width: 18px; height: 18px; }

/* Események */
.tl-app { position: relative; display: grid; gap: 16px; padding-left: 36px; }
.tl-app::before { content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(var(--accent), var(--line-ink) 40%); }
.ev { position: relative; display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 24px 28px; border-radius: 24px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-ink); transition: box-shadow .4s, transform .6s var(--ease-out); }
.ev:hover { box-shadow: inset 0 0 0 1px rgba(241, 236, 226, .22); transform: translateX(6px); }
.ev::before { content: ""; position: absolute; left: -33px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 2px var(--accent); }
.ev:first-child::before { background: var(--accent); box-shadow: 0 0 0 6px rgba(201, 164, 92, .18); }
.ev .d { font-family: var(--font-display); font-weight: 800; line-height: .9; }
.ev .d b { display: block; font-size: 48px; letter-spacing: -0.06em; }
.ev .d span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-muted); }
.ev h3 { font-size: clamp(19px, 1.8vw, 24px); letter-spacing: -0.03em; line-height: 1.15; }
.ev p { color: var(--on-ink-muted); margin-top: 6px; font-size: 15px; }
.ev .chip-left { display: inline-flex; margin-top: 12px; height: 28px; padding: 0 12px; align-items: center; border-radius: 999px; background: var(--graphite); font-size: 12px; font-weight: 700; }
.ev:first-child .chip-left { background: rgba(201, 164, 92, .14); color: var(--accent); }
@media (max-width: 700px) {
  .ev { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
  .ev .d { display: flex; align-items: baseline; gap: 10px; }
  .ev .d b { font-size: 36px; }
}

/* Gombok sötét felületen */
.btn--dark { --bg: var(--graphite); --fg: var(--on-ink); --hover-bg: var(--on-ink); --hover-fg: var(--ink); }
.btn--line { --bg: transparent; --fg: var(--on-ink); --hover-bg: var(--accent); --hover-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-ink); }

/* Parancspaletta */
.cmdk { position: fixed; inset: 0; z-index: 300; display: grid; place-items: start center; padding: 12vh 16px 16px; background: rgba(15, 28, 23, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.cmdk.is-open { opacity: 1; visibility: visible; transition: opacity .35s; }
.cmdk-panel { width: min(640px, 100%); max-height: 70svh; display: flex; flex-direction: column; border-radius: 26px; background: #13221c; box-shadow: 0 0 0 1px var(--line-ink), 0 40px 120px -20px rgba(0, 0, 0, .8); overflow: hidden; transform: translateY(-16px) scale(.98); transition: transform .5s var(--ease-out); }
.cmdk.is-open .cmdk-panel { transform: none; }
.cmdk-in { display: flex; align-items: center; gap: 14px; padding: 0 22px; border-bottom: 1px solid var(--line-ink); }
.cmdk-in svg { width: 20px; height: 20px; color: var(--stone); flex: none; }
.cmdk-in input { flex: 1; height: 68px; border: 0; background: none; color: var(--on-ink); font-size: 18px; outline: none; }
.cmdk-in input::placeholder { color: var(--stone); }
.cmdk-in kbd { height: 26px; padding: 0 8px; border-radius: 8px; display: grid; place-items: center; font-family: var(--font-body); font-size: 11px; font-weight: 700; background: var(--graphite); color: var(--on-ink-muted); }
.cmdk-list { overflow: auto; padding: 8px; overscroll-behavior: contain; }
.cmdk-group { padding: 12px 14px 6px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); }
.cmdk-item { width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; text-align: left; color: var(--on-ink); font-size: 15px; position: relative; }
.cmdk-item svg { width: 18px; height: 18px; color: var(--on-ink-muted); flex: none; }
.cmdk-item small { margin-left: auto; color: var(--stone); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45%; }
.cmdk-item.is-active { background: var(--ink-3); }
.cmdk-item.is-active::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--accent); }
.cmdk-item.is-active svg { color: var(--accent); }
.cmdk-empty { padding: 32px; text-align: center; color: var(--on-ink-muted); }
.cmdk-foot { display: flex; gap: 18px; padding: 12px 22px; border-top: 1px solid var(--line-ink); font-size: 12px; color: var(--stone); }
.cmdk-foot kbd { font-family: var(--font-body); font-weight: 700; color: var(--on-ink-muted); margin-right: 4px; }

/* Értesítés */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 320; display: flex; align-items: center; gap: 12px; padding: 14px 20px 14px 16px; border-radius: 18px; background: var(--paper); color: var(--ink); font-weight: 700; font-size: 14px; box-shadow: 0 20px 60px -10px rgba(0, 0, 0, .6); transform: translate(-50%, calc(100% + 60px)); transition: transform .6s var(--ease-out); pointer-events: none; }
.toast.is-on { transform: translate(-50%, 0); }
.toast i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--ink); }
.toast i svg { width: 14px; height: 14px; }

/* Mobil alsó fülsáv */
.app-tabbar { display: none; }
@media (max-width: 1000px) {
  .app-shell { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .app-main { padding-top: 14px; padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .app-top { margin-bottom: 28px; }
  .app-top .logo { display: inline-flex; }
  .app-top .logo > span { display: none; }
  .app-top .crumb { display: none; }
  .search-btn { min-width: 0; width: 44px; padding: 0; justify-content: center; }
  .search-btn span, .search-btn kbd { display: none; }
  .app-tabbar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90;
    display: grid; grid-template-columns: repeat(6, 1fr); padding: 6px; border-radius: 24px;
    background: rgba(21, 36, 30, .82); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 0 0 1px var(--line-ink), 0 20px 50px -10px rgba(0, 0, 0, .7);
  }
  .app-tabbar a { position: relative; display: grid; justify-items: center; gap: 4px; padding: 9px 0 7px; border-radius: 18px; font-size: 10px; font-weight: 700; color: var(--on-ink-muted); transition: color .3s, background-color .3s; }
  .app-tabbar a svg { width: 21px; height: 21px; }
  .app-tabbar a[aria-current="page"] { color: var(--ink); background: var(--accent); }
  .s-3, .s-4, .s-5, .s-6, .s-7, .s-8 { grid-column: span 6; }
}
@media (max-width: 640px) {
  .s-3, .s-4, .s-5, .s-6, .s-7, .s-8 { grid-column: 1 / -1; }
  .tile { min-height: 0; }
  .app-hello { grid-template-columns: 1fr; }
  .app-hello .orb { position: absolute; right: -24px; top: -8px; width: 150px; margin: 0; opacity: .85; z-index: -1; }
  .feed article { grid-template-columns: 64px minmax(0, 1fr); }
  .feed .new { display: none; }
  .feed .d b { font-size: 32px; }
  .app-tabbar a span { display: none; }
  .app-tabbar a { padding: 12px 0; }
}
.demo-note--dark { margin-top: 48px; font-size: 12px; color: var(--stone); text-align: center; }

/* Belépés — siker állapot */
[data-login].is-success button[type="submit"] { --bg: var(--accent); --fg: var(--ink); --hover-bg: var(--accent); --hover-fg: var(--ink); color: var(--ink); }
[data-login] .ok-icon { display: none; }
[data-login].is-success .ok-icon { display: inline-block; animation: pop .6s var(--ease-out); }
[data-login].is-success .btn .arrow { display: none; }
@keyframes pop { from { transform: scale(0) rotate(-40deg); } to { transform: none; } }
.secure { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--on-paper-muted); }
.secure svg { width: 14px; height: 14px; color: var(--accent-deep); }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 64px; position: relative; overflow: hidden; isolation: isolate; }
.nf .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(120px, 30vw, 420px); letter-spacing: -0.08em; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--line-ink); }
.nf .hero-gl { width: min(90vh, 110vw); }

/* ---------- Prose ---------- */
.prose { max-width: 70ch; display: grid; gap: 18px; }
.prose h2 { font-size: 26px; margin-top: 20px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(56px); transition: opacity 1.2s var(--ease-out), transform 1.4s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-clip { clip-path: inset(100% 0 0 0 round var(--radius-l)); transition: clip-path 1.4s var(--ease-in-out); }
.reveal-clip.in { clip-path: inset(0 0 0 0 round var(--radius-l)); }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .reveal, .reveal-clip { opacity: 1; transform: none; clip-path: none; }
  [data-split] .wi, [data-split] .c { transform: none; }
  .hero-intro .hero-top, .hero-intro .hero-foot > * { opacity: 1; transform: none; }
  .fade-up { opacity: 1; transform: none; }
  .footer-word span { transform: none; opacity: 1; }
  .manifesto-text .mw { opacity: 1; }
  .grain { display: none; }
  .stack-card { position: relative; top: auto; }
}
[data-split] em .w { padding-inline: .1em; margin-inline: -.1em; }

/* ---------- Admin felület ---------- */
.adm-login { min-height: 100svh; display: grid; place-items: center; padding: 24px; }
.adm-card { width: min(460px, 100%); padding: clamp(26px, 4vw, 44px); border-radius: 28px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-ink); display: grid; gap: 16px; }
.adm-card h1 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.05em; }
.adm-card p { color: var(--on-ink-muted); }
.adm-card ol { margin: 0; padding-left: 20px; color: var(--on-ink-muted); display: grid; gap: 6px; }
.in { width: 100%; min-height: 46px; padding: 11px 14px; border: 0; border-radius: 12px; background: var(--ink); color: var(--on-ink); box-shadow: inset 0 0 0 1px var(--line-ink); font-size: 15px; transition: box-shadow .25s; }
.in:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--accent); }
.in::placeholder { color: var(--stone); }
textarea.in { min-height: 96px; resize: vertical; line-height: 1.5; }
textarea.in.tall { min-height: 200px; }
select.in { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3aea7' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 38px; }
input.in[type="color"] { padding: 6px; height: 46px; cursor: pointer; }
.fld { display: grid; gap: 6px; }
.fld > span { font-size: 12px; font-weight: 700; color: var(--on-ink-muted); letter-spacing: .02em; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fgrid .full { grid-column: 1 / -1; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pair .in-wrap { position: relative; }
.pair .in-wrap::after { content: attr(data-lang); position: absolute; right: 10px; top: 10px; font-size: 10px; font-weight: 800; letter-spacing: .1em; color: var(--stone); pointer-events: none; }
@media (max-width: 760px) { .fgrid, .pair { grid-template-columns: 1fr; } }
.adm-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 20px; }
.adm-toolbar .grow { flex: 1; }
.adm-section { padding: clamp(20px, 2.4vw, 28px); border-radius: 24px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-ink); display: grid; gap: 16px; margin-bottom: 16px; }
.adm-section > h2 { font-size: 20px; letter-spacing: -0.02em; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rep { display: grid; gap: 10px; }
.rep-item { position: relative; padding: 16px; border-radius: 16px; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line-ink); display: grid; gap: 12px; }
.rep-item .rep-actions { position: absolute; right: 10px; top: 10px; display: flex; gap: 4px; }
.rep-item .rep-actions button { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--on-ink-muted); transition: background-color .2s, color .2s; }
.rep-item .rep-actions button:hover { background: var(--graphite); color: var(--on-ink); }
.rep-item .rep-actions button.del:hover { background: #7a2a1a; color: #fff; }
.rep-item .rep-num { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--stone); }
.add-btn { justify-self: start; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--accent); box-shadow: inset 0 0 0 1.5px rgba(201, 164, 92, .4); transition: background-color .2s, color .2s; }
.add-btn:hover { background: var(--accent); color: var(--ink); }
.adm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.adm-table th { text-align: left; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); padding: 10px 12px; border-bottom: 1px solid var(--line-ink); white-space: nowrap; }
.adm-table td { padding: 12px; border-bottom: 1px solid var(--line-ink); vertical-align: middle; }
.adm-table tr:hover td { background: rgba(241, 236, 226, .025); }
.adm-table .mono, .mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; }
.adm-table .act { text-align: right; white-space: nowrap; }
.table-wrap { overflow-x: auto; border-radius: 20px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-ink); padding: 6px 10px; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .04em; background: var(--graphite); color: var(--on-ink); white-space: nowrap; }
.badge--accent { background: rgba(201, 164, 92, .16); color: var(--accent); }
.badge--muted { background: transparent; box-shadow: inset 0 0 0 1px var(--line-ink); color: var(--on-ink-muted); }
.mini-btn { height: 34px; padding: 0 12px; border-radius: 10px; font-size: 13px; font-weight: 700; color: var(--on-ink-muted); box-shadow: inset 0 0 0 1px var(--line-ink); transition: color .2s, background-color .2s; }
.mini-btn:hover { color: var(--ink); background: var(--on-ink); }
.mini-btn.danger:hover { background: #a3361c; color: #fff; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; font-weight: 600; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch i { width: 42px; height: 24px; border-radius: 999px; background: var(--graphite); position: relative; transition: background-color .3s; flex: none; }
.switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--on-ink); transition: transform .3s var(--ease-out); }
.switch input:checked + i { background: var(--accent); }
.switch input:checked + i::after { transform: translateX(18px); background: var(--ink); }
.switch input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }
.drawer { position: fixed; inset: 0; z-index: 250; display: flex; justify-content: flex-end; background: rgba(15, 28, 23, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.drawer.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
.drawer-panel { width: min(760px, 100%); height: 100%; overflow-y: auto; overscroll-behavior: contain; background: var(--ink); box-shadow: -1px 0 0 var(--line-ink); padding: clamp(20px, 3vw, 36px); display: grid; gap: 18px; align-content: start; transform: translateX(40px); transition: transform .5s var(--ease-out); }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; position: sticky; top: calc(-1 * clamp(20px, 3vw, 36px)); background: var(--ink); padding: 8px 0; z-index: 2; }
.drawer-head h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.04em; }
.drawer-foot { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; position: sticky; bottom: calc(-1 * clamp(20px, 3vw, 36px)); background: var(--ink); padding: 14px 0; border-top: 1px solid var(--line-ink); z-index: 2; }
.cred { padding: 20px; border-radius: 18px; background: var(--paper); color: var(--ink); display: grid; gap: 8px; }
.cred .mono { font-size: 16px; font-weight: 700; }
.cred small { color: var(--on-paper-muted); }
.note { padding: 14px 16px; border-radius: 14px; background: rgba(201, 164, 92, .1); color: var(--on-ink); font-size: 14px; }
.sub-card { padding: 20px 22px; border-radius: 20px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-ink); display: grid; gap: 10px; }
.sub-card.is-handled { opacity: .55; }
.sub-card .meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 14px; color: var(--on-ink-muted); }
.sub-card .msg { white-space: pre-wrap; }
.file-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.file-row .fname { font-size: 13px; color: var(--on-ink-muted); word-break: break-all; }
.co-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.co-card { text-align: left; padding: 22px; border-radius: 22px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-ink); display: grid; gap: 10px; transition: box-shadow .3s, transform .5s var(--ease-out); }
.co-card:hover { box-shadow: inset 0 0 0 1.5px var(--accent); transform: translateY(-4px); }
.co-card .badge-co { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: var(--ink); }
.co-card b { font-size: 17px; }
.co-card small { color: var(--on-ink-muted); }
.app-nav .count[hidden] { display: none; }
[data-admin] [data-view-root] { padding-top: clamp(12px, 3vw, 36px); }
