/* fuerea.ro — v5 “registrul grupului”. Paper, ink, one stamp red. No cards, no shadows, radius 0. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/fonts/archivo-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/fonts/archivo-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 {
  --paper: #f4f4f1;
  --paper-2: #ecece7;
  --ink: #17191b;
  --ink-2: #5b5f63;
  --rule: #cdcec9;
  --rule-strong: #a9aaa5;
  --oxide: #8f2d15;
  --night: #141516;
  --bone: #ecebe6;
  --bone-2: #a0a29e;
  --rule-dark: #33353a;
  --oxide-2: #d9603c;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gap: 24px;
  --pad: clamp(20px, 3.5vw, 48px);
  --node: 7px;
  --head-h: 64px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease: cubic-bezier(.4, 0, .2, 1);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--head-h) + 16px);
  background: var(--paper);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "kern" 1, "tnum" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, p, dl, dd, dt, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--oxide); outline-offset: 3px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nowrap { white-space: nowrap; }

.wrap {
  width: 100%;
  max-width: 1376px; /* 1280 + 2 × 48 */
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute; left: 16px; top: -200px; z-index: 100;
  padding: 10px 14px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- Nodes: one mark, one meaning (an entity in the structure) ---------- */
.node {
  display: inline-block; width: var(--node); height: var(--node);
  background: var(--ink); vertical-align: middle;
}
.node-oxide { background: var(--oxide); }
.node-hollow { background: transparent; box-shadow: inset 0 0 0 1px var(--ink); }

/* ---------- Logotype (kept from v2) ---------- */
.logo, .org-logo { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; white-space: nowrap; }
.logo-a { font-stretch: 125%; font-weight: 900; font-size: 18px; letter-spacing: -.01em; line-height: 1; }
.logo-b { font-stretch: 75%; font-weight: 500; font-size: 12.5px; letter-spacing: .18em; line-height: 1; }

/* ---------- Links & buttons ---------- */
.link {
  color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: .2em; text-decoration-color: var(--rule-strong);
  transition: color .15s, text-decoration-color .15s;
}
.link:hover { color: var(--oxide); text-decoration-color: var(--oxide); }
.link-btn { font-weight: 500; }
.arr { display: inline-block; vertical-align: .05em; margin-left: .3em; }

.btn {
  display: inline-block; padding: 13px 22px 14px; border: 1px solid var(--oxide);
  background: var(--oxide); color: var(--paper); text-decoration: none;
  font-weight: 600; font-size: 15px; line-height: 1.2; letter-spacing: .005em;
  transition: background-color .15s, border-color .15s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn:active { transform: translateY(1px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 20; background: var(--paper);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.top.scrolled { border-bottom-color: var(--rule); }
.top-row { display: flex; align-items: center; height: var(--head-h); gap: 32px; }
.nav { margin-left: auto; display: flex; gap: 32px; }
.nav a {
  font-size: 15px; font-weight: 500; text-decoration: none; line-height: 1;
  padding: 6px 0; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s;
}
.nav a:hover { color: var(--oxide); border-bottom-color: var(--oxide); }
.nav a[aria-current="true"] { border-bottom-color: var(--ink); }
.nav a[aria-current="true"]:hover { border-bottom-color: var(--oxide); }

.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 2px;
  font-size: 13px; font-weight: 600; font-stretch: 75%; letter-spacing: .06em;
}
.caret { width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.lang-btn[aria-expanded="true"] .caret { transform: translateY(1px) rotate(225deg); }
.lang-pop {
  position: absolute; right: 0; top: calc(100% + 6px); width: 176px;
  background: var(--paper); border: 1px solid var(--rule-strong); padding: 6px 0;
}
.lang-opt { display: block; width: 100%; padding: 9px 16px; font-size: 15px; text-align: left; color: var(--ink-2); }
.lang-opt:hover { background: var(--paper-2); color: var(--ink); }
.lang-opt[aria-pressed="true"] { color: var(--ink); font-weight: 600; }

/* ---------- Grid helpers ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); position: relative; }
.rh { grid-column: 1 / 3; position: relative; padding-left: 20px; }
.rh .node { position: absolute; left: 0; top: .5em; }
.rh-t { font-size: 14px; font-weight: 600; font-stretch: 75%; line-height: 1.4; letter-spacing: 0; }
.sec-body { grid-column: 3 / -1; min-width: 0; }

/* the spine: one static line down the content edge; section node squares sit on it */
.sec { padding: var(--pt, 104px) 0 var(--pb, 104px); border-top: 1px solid var(--rule); }
.sec-grid::before {
  content: ""; position: absolute; left: calc(var(--pad) + 3px); top: calc(-1 * var(--pt, 104px)); bottom: calc(-1 * var(--pb, 104px));
  border-left: 1px solid var(--rule-strong); pointer-events: none;
}
.sec-contact .sec-grid::before { bottom: auto; height: calc(var(--pt, 104px) + .5em + 4px); }

.h2 { font-size: clamp(1.7rem, 2.4vw, 2.25rem); font-weight: 700; line-height: 1.1; letter-spacing: -.015em; }
.sec-head { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; margin-bottom: 40px; }
.sec-head .h2 { grid-column: 1 / 7; }
.sec-head .side { grid-column: 7 / -1; color: var(--ink-2); font-size: 15.5px; max-width: 34ch; }

/* ---------- Hero ---------- */
.hero { padding-top: 56px; }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; padding-bottom: 56px; }
.lockup { grid-column: 1 / 9; font-weight: inherit; }
.lk-row { display: block; overflow: hidden; padding-bottom: .3em; margin-bottom: -.3em; }
.lk-line { display: inline-block; white-space: nowrap; line-height: .92; letter-spacing: -.012em; }
.lk-1 { font-stretch: 70%; font-weight: 600; font-size: clamp(2.6rem, 8.4vw, 7.2rem); }
.lk-2 { font-stretch: 125%; font-weight: 900; font-size: clamp(1.9rem, 5.5vw, 4.8rem); letter-spacing: -.02em; margin-top: .06em; }
.hero-side { grid-column: 9 / -1; padding-bottom: .2em; }
.lead { font-size: 17px; line-height: 1.5; margin-bottom: 26px; text-wrap: pretty; }

/* ---------- The exhibit: group structure drawn in CSS, on a night plate ---------- */
.chart { background: var(--night); color: var(--bone); }
.chart-wrap { position: relative; padding-top: 40px; padding-bottom: 32px; }
.chart-wrap::before { /* spine segment from the parent node to the plate's bottom edge */
  content: ""; position: absolute; left: calc(var(--pad) + 3px); top: 44px; bottom: -1px;
  border-left: 1px solid var(--rule-dark); pointer-events: none;
}
.org { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); position: relative; }
.org-parent { grid-column: 1 / 3; grid-row: 1; position: relative; padding: 0 0 32px 20px; z-index: 1; }
.org-parent > .node { position: absolute; left: 0; top: 4px; background: var(--bone); }
.org-parent::after { /* stem: parent node down to the bus */
  content: ""; position: absolute; left: 3px; top: 11px; bottom: 0; border-left: 1px solid var(--bone);
  transform-origin: top;
}
.org-logo { position: relative; top: -1px; }
.org-meta { display: block; margin-top: 8px; font-size: 13px; color: var(--bone-2); line-height: 1.4; }

.org-kids { grid-column: 3 / -1; grid-row: 2; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--gap); }
.org-kids::before { /* the bus: one line from the stem to the last drop */
  content: ""; position: absolute; top: 0;
  left: calc(-1 * (100% + var(--gap)) / 5 + 3px);
  right: calc(100% - 3px);
  border-top: 1px solid var(--bone); transform-origin: left;
}
.k { position: relative; padding-top: 44px; min-width: 0; }
.k::before { display: none; } /* vertical bus segments, used only in the stacked layout */
.k::after { /* drop */
  content: ""; position: absolute; top: 0; left: 3px; height: 24px; border-left: 1px solid var(--bone);
  transform-origin: top;
}
.k > .node { position: absolute; left: 0; top: 24px; background: var(--bone); }
.k > .node-oxide { background: var(--oxide-2); }
.k > .node-hollow { background: transparent; box-shadow: inset 0 0 0 1px var(--bone); }
.k-no, .k-name, .k-field, .k-state { display: block; }
.k-no { font-size: 13px; font-stretch: 75%; color: var(--bone-2); line-height: 1.2; margin-bottom: 6px; }
.k-name { font-size: 17px; font-weight: 600; line-height: 1.25; }
.k-field { font-size: 14px; color: var(--bone-2); margin-top: 4px; line-height: 1.35; }
.k-state { font-size: 14px; margin-top: 2px; line-height: 1.35; }
.k-live .k-state { color: var(--oxide-2); font-weight: 500; }

/* the group's datasheet: facts as a register, not as KPIs */
.sheet-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: 40px; }
.sheet { grid-column: 1 / 11; padding-left: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); border-top: 1px solid var(--rule-dark); }
.sheet > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); column-gap: 16px; padding: 9px 0 10px; border-bottom: 1px solid var(--rule-dark); font-size: 15px; line-height: 1.45; }
.sheet dt { color: var(--bone-2); }
.sheet dd { color: var(--bone); font-weight: 500; }
.chart-cap { margin-top: 28px; padding-left: 20px; font-size: 13.5px; color: var(--bone-2); line-height: 1.4; }
.chart-cap time { margin-left: 0; }

/* ---------- Grupul ---------- */
.sec-group { --pt: 112px; --pb: 112px; }
.sec-group .sec-body { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); column-gap: var(--gap); }
.statement {
  grid-column: 1 / 7;
  font-size: clamp(1.9rem, 3.2vw, 3.05rem); font-weight: 600; line-height: 1.12; letter-spacing: -.02em;
  max-width: 24ch; text-wrap: balance;
}
.statement .wide { font-stretch: 125%; font-weight: 800; letter-spacing: -.01em; }
.cols-2 { grid-column: 7 / -1; align-self: end; }
.cols-2 p { text-wrap: pretty; max-width: 42ch; }
.cols-2 p + p { margin-top: 1em; }
.principles { grid-column: 1 / -1; margin-top: 64px; border-top: 1px solid var(--rule-strong); }
.pr { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); column-gap: var(--gap); padding: 22px 0 24px; border-bottom: 1px solid var(--rule); }
.pr dt { grid-column: 1 / 4; font-size: 19px; font-weight: 600; line-height: 1.3; }
.pr dd { grid-column: 4 / 9; color: var(--ink-2); text-wrap: pretty; }

/* ---------- Proiecte: the ledger ---------- */
.sec-projects { --pt: 96px; --pb: 104px; }
.ledger { border-top: 1px solid var(--rule-strong); }
.lg-head, .lg-row {
  display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) 11rem 8.5rem; column-gap: var(--gap);
}
.lg-head { padding: 10px 0 12px; font-size: 13px; font-weight: 600; font-stretch: 75%; letter-spacing: .03em; color: var(--ink-2); border-bottom: 1px solid var(--rule); }
.lg-row { padding: 26px 0 30px; border-bottom: 1px solid var(--rule); align-items: baseline; }
.lg-row:last-child { border-bottom-color: var(--rule-strong); }
.lg-no { font-size: 15px; font-stretch: 75%; color: var(--ink-2); white-space: nowrap; }
.lg-main { min-width: 0; }
.lg-name { font-weight: 700; line-height: 1.05; letter-spacing: -.02em; }
.lg-name a { text-decoration: none; transition: font-stretch .3s var(--ease), color .15s; }
.lg-name a:hover { font-stretch: 110%; color: var(--oxide); }
.lg-name-1 { font-size: 36px; }
.lg-meta-inline { display: none; }
.lg-desc { margin-top: 14px; max-width: 58ch; text-wrap: pretty; }
.lg-sub-t { margin-top: 26px; font-size: 13px; font-weight: 600; font-stretch: 75%; letter-spacing: .03em; color: var(--ink-2); }
.lg-sub { margin-top: 8px; border-top: 1px solid var(--rule); max-width: 58ch; }
.lg-sub > div { display: grid; grid-template-columns: 11.5rem minmax(0, 1fr); column-gap: var(--gap); padding: 9px 0 10px; border-bottom: 1px solid var(--rule); font-size: 15px; }
.lg-sub dt { font-weight: 600; }
.lg-sub dd { color: var(--ink-2); }
.lg-link { margin-top: 22px; font-size: 15.5px; font-weight: 500; }
.lg-field { font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.lg-state { font-size: 15px; line-height: 1.4; }
.is-live .lg-state { color: var(--oxide); font-weight: 500; }

/* ---------- Contact ---------- */
.sec-contact { --pt: 104px; --pb: 120px; }
.sec-contact .h2 { margin-bottom: 22px; }
.email-line { line-height: 1; margin: 0 0 26px; }
.email { display: inline-block; text-decoration: none; font-weight: 600; font-stretch: 92%; letter-spacing: -.02em; line-height: 1.05; font-size: clamp(1.9rem, 3.4vw, 3.25rem); overflow-wrap: anywhere; transition: color .15s; }
.email:hover { color: var(--oxide); }
.contact-text { max-width: 46ch; margin-bottom: 30px; text-wrap: pretty; }
.copied { font-size: 15px; color: var(--oxide); font-weight: 500; }

/* ---------- Footer ---------- */
.foot { background: var(--night); color: var(--bone); padding: 72px 0 40px; }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 56px; }
.foot-mark { grid-column: 1 / 7; justify-self: start; display: flex; align-items: baseline; gap: .56em; white-space: nowrap; line-height: .86; font-size: clamp(2.2rem, 6.2vw, 6rem); }
.fm-a { font-stretch: 125%; font-weight: 900; letter-spacing: -.01em; font-size: 1em; }
.fm-b { font-stretch: 75%; font-weight: 500; font-size: .694em; letter-spacing: .18em; }
.foot-col { font-size: 15px; line-height: 1.6; color: var(--bone-2); }
.foot-col-a { grid-column: 7 / 10; }
.foot-col-b { grid-column: 10 / -1; }
.foot-h { color: var(--bone); font-weight: 600; margin-bottom: 6px; }
.flink { color: var(--bone); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: var(--rule-dark); transition: color .15s, text-decoration-color .15s; }
.flink:hover { color: var(--oxide-2); text-decoration-color: var(--oxide-2); }
.foot .arr { color: var(--bone-2); }
.foot-base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 40px; padding-top: 20px; border-top: 1px solid var(--rule-dark); font-size: 13.5px; color: var(--bone-2); }
.foot-upd { margin-left: auto; }
.foot-lang { display: flex; gap: 10px; }
.lang-word { color: var(--bone-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: var(--rule-dark); font-size: inherit; }
.lang-word:hover { color: var(--oxide-2); }
.lang-word[aria-pressed="true"] { color: var(--bone); text-decoration: none; font-weight: 600; }
.foot :focus-visible { outline-color: var(--oxide-2); }

/* ---------- Load sequence (JS present, motion allowed); html.drawn forces the final state ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .lk-line { transform: translateY(120%); }
  html.ready .lk-1 { animation: rise .75s var(--ease-out) forwards; }
  html.ready .lk-2 { animation: rise .75s var(--ease-out) .09s forwards; }
  html.js .hero-side { opacity: 0; }
  html.ready .hero-side { animation: fade .5s ease .25s forwards; }
  html.js .org-parent::after, html.js .k::after, html.js .k::before { transform: scaleY(0); }
  html.js .org-kids::before { transform: scaleX(0); }
  html.js .k > * { opacity: 0; }
  html.ready .org-parent::after { animation: drawY .2s var(--ease) .35s forwards; }
  html.ready .org-kids::before { animation: drawX .6s linear .52s forwards; }
  html.ready .k:nth-child(1)::before { animation: drawY .14s linear .52s forwards; }
  html.ready .k:nth-child(1)::after { animation: drawY .16s var(--ease) .66s forwards; }
  html.ready .k:nth-child(1) > * { animation: fade .3s ease .8s forwards; }
  html.drawn .lk-line, html.drawn .hero-side, html.drawn .org-parent::after, html.drawn .org-kids::before,
  html.drawn .k::before, html.drawn .k::after, html.drawn .k > * { animation: none; transform: none; opacity: 1; }
}
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade { to { opacity: 1; } }
@keyframes drawX { to { transform: scaleX(1); } }
@keyframes drawY { to { transform: scaleY(1); } }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .sec-grid { display: block; }
  .sec-grid::before { display: none; }
  .rh { padding-left: 18px; margin-bottom: 28px; }
  .sec { --pt: 72px; --pb: 80px; }
  .sec-group { --pt: 80px; --pb: 80px; }
  .lockup { grid-column: 1 / 10; }
  .hero-side { grid-column: 1 / 9; padding-top: 32px; }
  .hero-grid { align-items: start; }
  .sec-group .sec-body { display: block; }
  .statement { margin-bottom: 40px; }
  .cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
  .cols-2 p + p { margin-top: 0; }
  .principles { margin-top: 56px; }
  .lg-head, .lg-row { grid-template-columns: 3.5rem minmax(0, 1fr) 9rem 7.5rem; }
  .foot-mark { grid-column: 1 / -1; }
  .foot-col-a { grid-column: 1 / 7; }
  .foot-col-b { grid-column: 7 / -1; }
  .foot-grid { row-gap: 40px; }
}

@media (max-width: 899px) {
  /* the chart stacks: vertical bus, horizontal drops */
  .org { display: block; }
  .org-parent { padding-bottom: 28px; }
  .org-kids { display: block; }
  .org-kids::before { display: none; }
  .k { padding: 12px 0 14px 32px; }
  .k::before {
    content: ""; display: block; position: absolute; top: 0; bottom: 0; left: 3px;
    border-left: 1px solid var(--bone); transform-origin: top;
  }
  .k:last-child::before { bottom: auto; height: 26px; }
  .k::after {
    top: 26px; left: 3px; width: 17px; height: 0; border-left: 0; border-top: 1px solid var(--bone);
    transform-origin: left;
  }
  html.js .k::after { transform: scaleX(0); }
  .k > .node { left: 20px; top: 23px; }
  .k-no { display: inline; margin-right: 10px; }
  .k-name { display: inline; }
  .sheet-row { display: block; }
  .sheet { padding-left: 0; grid-template-columns: 1fr; column-gap: 0; }
  .chart-wrap::before { display: none; }
  .chart-cap { padding-left: 0; }
  .sec-head { display: block; }
  .sec-head .side { margin-top: 14px; }
  .pr { display: block; }
  .pr dd { margin-top: 6px; }
  .lg-head { display: none; }
  .lg-row { grid-template-columns: 3.5rem minmax(0, 1fr); }
  .lg-field, .lg-state { display: none; }
  .lg-meta-inline { display: block; margin-top: 10px; font-size: 15px; color: var(--ink-2); }
  .is-live .lg-meta-inline .st { color: var(--oxide); font-weight: 500; }
}
@media (max-width: 899px) and (prefers-reduced-motion: no-preference) {
  html.ready .k::after { animation-name: drawX; }
}

@media (max-width: 719px) {
  body { font-size: 16px; }
  :root { --gap: 16px; }
  .hero { padding-top: 40px; }
  .hero-grid { padding-bottom: 40px; }
  .lockup { grid-column: 1 / -1; }
  .hero-side { grid-column: 1 / -1; padding-top: 28px; }
  .lead { font-size: 16px; }
  .chart-wrap { padding-top: 32px; padding-bottom: 24px; }
  .sheet > div { grid-template-columns: 6.5rem minmax(0, 1fr); }
  .cols-2 { display: block; }
  .cols-2 p + p { margin-top: 1em; }
  .statement { margin-bottom: 32px; }
  .principles { margin-top: 40px; }
  .lg-row { grid-template-columns: 2.6rem minmax(0, 1fr); padding: 22px 0 26px; }
  .lg-name-1 { font-size: 30px; }
  .lg-sub > div { grid-template-columns: 1fr; row-gap: 2px; }
  .email { font-size: clamp(1.6rem, 8vw, 2.4rem); }
  .foot { padding-top: 56px; }
  .foot-base { gap: 8px 24px; }
  .foot-upd { margin-left: 0; }
}

@media (max-width: 599px) {
  .top-row { flex-wrap: wrap; height: auto; padding: 14px 0 0; gap: 12px 20px; }
  .lang { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 0; gap: 22px; padding-bottom: 12px; }
  .nav a { font-size: 14.5px; }
  html { scroll-padding-top: 112px; }
  .foot-col-a, .foot-col-b { grid-column: 1 / -1; }
  .foot-grid { row-gap: 32px; }
}

/* ---------- Print ---------- */
@media print {
  .top, .skip, .btn, .link-btn, .foot-lang, .copied { display: none !important; }
  body { background: #fff; color: #000; }
  .chart { background: none; color: #000; border-top: 1px solid #000; border-bottom: 1px solid #000; }
  .foot { background: none; color: #000; padding: 24px 0; border-top: 1px solid #000; }
  .foot-col, .foot-base, .foot-h, .flink { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
}
