/* 1personarmy.com.ua — мокап v2. Чорний · сірий · один золотий акцент. */

/* Шрифти віддаються з власного домену (Google Fonts, лише latin + cyrillic). Згенеровано один раз. */
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/ibm-plex-mono-cyrillic-035f1b.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/ibm-plex-mono-latin-e2661b.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter-cyrillic-137556.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter-latin-6ab57b.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter-cyrillic-137556.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter-latin-6ab57b.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter-tight-cyrillic-66123d.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter-tight-latin-701d4a.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter-tight-cyrillic-66123d.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter-tight-latin-701d4a.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 {
  --bg: #0A0A0B;
  --bg-2: #141416;
  --bg-3: #1C1C1F;
  --ink: #F5F5F7;
  --ink-p: #C7C7CC;   /* текст абзаців */
  --ink-2: #A1A1A6;
  --ink-3: #8E8E93;
  --ink-4: #636366;   /* лише великий кегль і декор */
  --line: rgba(255, 255, 255, .10);
  --line-2: rgba(255, 255, 255, .20);
  --gold: #C9A96A;
  --gold-soft: rgba(201, 169, 106, .45);

  --f-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: clamp(20px, 4.4vw, 64px);
  --maxw: 1440px;
  --col-gap: clamp(16px, 2vw, 32px);
  --section: clamp(112px, 13vw, 208px);
  --r-photo: clamp(20px, 2vw, 32px);
  --ease: cubic-bezier(.22, 1, .36, 1);   /* пружний вихід, як у системних переходах iOS */

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--f-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss03";
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
figure, blockquote { margin: 0; }
h1, h2, h3, h4, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 6px; }
.ink { color: var(--ink); }
.mono { font-family: var(--f-mono); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ——— Хедер ——— */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.wordmark {
  font: 600 15px/1 var(--f-display);
  letter-spacing: -.01em;
  padding-block: 14px;
}
.seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 11px;
  background: var(--bg-3);
}
.seg__item {
  position: relative;
  min-width: 48px;
  padding: 7px 14px;
  border-radius: 8px;
  font: 600 13px/1 var(--f-text);
  letter-spacing: .02em;
  text-align: center;
  color: var(--ink-2);
  transition: color .2s;
}
.seg__item::after { content: ""; position: absolute; inset: -8px -2px; } /* ціль дотику ≥ 44px */
.seg__item:hover { color: var(--ink); }
.seg__item.is-active { background: #3A3A3C; color: var(--ink); }

/* ——— Тихі посилання ——— */
.quiet-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 15px; color: var(--ink-2); }
.quiet-links span { color: var(--ink-4); }
.quiet-links a, .sources a, .site-footer a {
  text-decoration: underline 1px transparent;
  text-underline-offset: 5px;
  transition: color .2s, text-decoration-color .3s;
  padding-block: 10px;
}
.quiet-links a:hover, .sources a:hover, .site-footer a:hover { color: var(--ink); text-decoration-color: var(--gold); }

/* ——— Hero ——— */
.hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: end;
  padding-top: clamp(8px, 2vw, 24px);
}
.hero__text { grid-column: 1 / 7; padding-bottom: clamp(8px, 2vw, 32px); }
.hero__name {
  font: 600 clamp(52px, 7.6vw, 122px)/.9 var(--f-display);
  letter-spacing: -.048em;
  margin-left: -.04em;
}
.hero__name span { display: block; }
.hero__sub {
  margin-top: clamp(24px, 2.6vw, 40px);
  font: 500 clamp(19px, 1.65vw, 24px)/1.35 var(--f-display);
  letter-spacing: -.012em;
  color: var(--ink-2);
}
.hero .quiet-links { margin-top: clamp(20px, 2vw, 32px); }
.hero__photo {
  grid-column: 7 / 13;
  margin-right: calc(-1 * var(--gutter));
}
.hero__photo img {
  width: 100%;
  height: min(calc(100svh - 100px), 940px);
  min-height: 520px;
  object-fit: cover;
  object-position: 38% 22%;
  border-radius: var(--r-photo) 0 0 var(--r-photo);
}
@media (min-width: 1441px) {
  .hero__photo { margin-right: 0; }
  .hero__photo img { border-radius: var(--r-photo); }
}

/* ——— Редакційна мозаїка ——— */
.feature {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: start;
  padding-top: var(--section);
}
.feature__photo img { width: 100%; object-fit: cover; border-radius: var(--r-photo); }
.feature h2, .pause h2, .arch h2 {
  font: 600 clamp(34px, 3.7vw, 56px)/1.04 var(--f-display);
  letter-spacing: -.035em;
  margin-bottom: clamp(20px, 2vw, 32px);
}
.feature__text p, .pause__head p { max-width: 34em; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.62; color: var(--ink-p); }

/* 2 — фото 5/12 зліва, текст нижче за фото */
.feature--era .feature__photo { grid-column: 1 / 6; }
.feature--era .feature__photo img { aspect-ratio: 4 / 5; }
.feature--era .feature__text { grid-column: 7 / 12; margin-top: clamp(64px, 14vw, 240px); }

/* 3 — текст зліва, фото 4/12 справа, зсунуте вниз */
.feature--human .feature__text { grid-column: 1 / 7; grid-row: 1; padding-top: clamp(0px, 2vw, 32px); }
.feature--human .feature__photo { grid-column: 9 / 13; grid-row: 1; margin-top: clamp(48px, 8vw, 140px); }
.feature--human .feature__photo img { aspect-ratio: 3 / 4; object-position: 50% 30%; }

/* 4 — фото 5/12 зліва, квадрат по пояс, текст з меншим зсувом */
.feature--junior .feature__photo { grid-column: 2 / 7; }
.feature--junior .feature__photo img { aspect-ratio: 1 / 1; object-position: 50% 0; }
.feature--junior .feature__text { grid-column: 8 / 13; margin-top: clamp(32px, 6vw, 96px); }

.feature__text .sources {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px;
  margin-top: 28px;
  font: 400 12.5px/1.5 var(--f-mono);
  color: var(--ink-3);
  max-width: 34em;
}
.feature__text .sources span { color: var(--ink-4); }

/* ——— Pull-quote ——— */
.pull {
  grid-column: 1 / 13;
  grid-row: 2;
  margin-top: clamp(96px, 11vw, 176px);
  font: 500 clamp(36px, 5.6vw, 88px)/1.02 var(--f-display);
  letter-spacing: -.042em;
  max-width: 15em;
}
.pull__a { color: var(--ink-4); }
.pull__b { color: var(--ink); }

/* ——— 2.5 Пауза: порівняння ——— */
.pause { padding-top: var(--section); }
.pause__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
}
.pause__head h2 { grid-column: 1 / 6; }
.pause__head p { grid-column: 7 / 13; }
/* Цикл: шість вузлів на лінії, дуга повернення — єдиний акцент */
.cycle { position: relative; margin-top: clamp(64px, 7vw, 112px); padding-block: 64px; }
.cycle__loop { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.cycle__loop .loop { fill: none; stroke: var(--gold); stroke-width: 1.25; opacity: .7; }
.cycle__loop .arrow { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cycle__steps { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); }
.cycle__steps::before {
  content: ""; position: absolute; top: 4px; left: calc(100% / 12); right: calc(100% / 12);
  height: 1px; background: var(--line-2);
}
.cycle__steps li {
  position: relative; text-align: center; padding-top: 28px;
  font: 500 clamp(15px, 1.25vw, 18px)/1.3 var(--f-display); letter-spacing: -.01em;
}
.cycle__steps li::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 9px; height: 9px; margin-left: -4.5px;
  border-radius: 50%; background: var(--bg); border: 1px solid var(--ink-2);
}
.cycle__steps li:first-child::before, .cycle__steps li:last-child::before { background: var(--gold); border-color: var(--gold); }
.cycle__note { display: none; margin-top: 24px; font: 400 12.5px/1.4 var(--f-mono); color: var(--gold); }

/* ——— Шкала Junior ——— */
.scale { margin-top: 40px; max-width: 34em; }
.scale__track { position: relative; height: 1px; background: var(--line-2); }
.scale__fill { position: absolute; left: 0; top: -1px; width: 7%; height: 3px; border-radius: 2px; background: var(--gold); }
.scale__fill::after {
  content: ""; position: absolute; right: -4px; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold);
}
/* Три точки: Junior (акцент) — Middle (порожнє коло посередині) — $1 млрд (кінець, muted) */
.scale__mid, .scale__end { position: absolute; top: -4px; width: 9px; height: 9px; border-radius: 50%; }
.scale__mid { left: 50%; margin-left: -4.5px; background: var(--bg); border: 1px solid var(--ink-2); }
.scale__end { right: 0; background: var(--ink-4); }
.scale__labels { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-top: 14px; font: 400 12px/1.4 var(--f-mono); color: var(--ink-3); }
.scale__now { color: var(--gold); }
.scale__next { color: var(--ink-2); text-align: center; }
.scale__far { text-align: right; }

/* ——— 5. Архітектура компетенцій ——— */
.arch { padding-top: var(--section); padding-bottom: clamp(80px, 9vw, 144px); }
.arch__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: end;
  margin-bottom: clamp(56px, 6vw, 104px);
}
.arch__head h2 { grid-column: 1 / 7; margin-bottom: 0; font-size: clamp(40px, 5vw, 76px); }
.arch__head p { grid-column: 8 / 13; font-size: 19px; line-height: 1.5; color: var(--ink-p); }
.arch__foot {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap;
  margin-top: clamp(56px, 6vw, 96px);
  padding-top: 24px; border-top: 1px solid var(--line);
}
.arch__foot p:first-child { max-width: 34em; color: var(--ink-2); font-size: 15px; }
.arch__foot .mono { font-size: 12.5px; color: var(--ink-3); }

/* ——— Карта компетенцій (XMind «logic / underline») ——— */
.mm-bar { display: flex; justify-content: flex-end; margin-bottom: 24px; }
.mm-bar__btn {
  font: 500 14px/1 var(--f-text); color: var(--ink-2); background: none; border: 0; cursor: pointer;
  padding: 14px 0; text-decoration: underline 1px var(--line-2); text-underline-offset: 6px;
  transition: color .2s, text-decoration-color .2s;
}
.mm-bar__btn:hover { color: var(--ink); text-decoration-color: var(--gold); }
.mindmap { margin-inline: calc(24px - var(--gutter)); }
@media (max-width: 1199px) { .mindmap { margin-inline: 0; } }

.mm { position: relative; width: var(--mm-w, 100%); max-width: 100%; height: var(--mm-h, auto); margin-inline: auto; transition: height .25s var(--ease); }
.mm.is-live .mm__links--static { display: none; }
/* Карта — від 768px і лише з JS; дерево-акордеон — на вузьких екранах і без JS */
.mindmap .mm { display: none; }
@media (min-width: 768px) { .js .mindmap .mm { display: block; } .js .mindmap .ot { display: none; } }
.js .ot li[data-collapsed] > ul { display: none; }
.mm__links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.mm__link { fill: none; stroke: var(--line-2); stroke-width: 1; transition: d .25s var(--ease), opacity .25s, stroke .25s; }
.mm__link.is-trunk { stroke-width: 1.5; }
.mm__link.is-accent { stroke: var(--gold); }
.mm__link.is-learning { stroke-dasharray: 3 4; }
.mm__link.no-trans { transition: none; }
.mm__rel { fill: none; stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 2 5; stroke-linecap: round; transition: d .25s var(--ease), opacity .25s, stroke .25s; }
.mm.is-dim .mm__rel:not(.is-hl) { opacity: .25; }
.mm.is-dim .mm__rel.is-hl { stroke: var(--gold); }

.mm__node {
  position: absolute; left: 0; top: 0;
  margin: 0; padding: 0 0 6px; border: 0; background: none; color: inherit; text-align: left;
  font: inherit; cursor: default;
  transform: translate(var(--x, 0px), var(--y, 0px));
  transition: transform .25s var(--ease), opacity .25s;
}
.mm__node[hidden] { display: none; }
button.mm__node { cursor: pointer; }
@media (min-width: 1200px) { .mm__node.is-left { text-align: right; } }
.mm__node.is-entering { opacity: 0; }
.mm__label { transition: color .2s; }

.mm__node--center {
  padding: 14px 20px; border-radius: 14px; background: var(--ink); color: var(--bg); text-align: center;
  display: flex; flex-direction: column; gap: 6px; align-items: center;
}
.mm__name { font: 600 17px/1.15 var(--f-display); letter-spacing: -.015em; max-width: 7em; }
.mm__sub { font: 400 10.5px/1.2 var(--f-mono); letter-spacing: .02em; color: #48484A; white-space: nowrap; }

.mm__node--domain { max-width: var(--domain-w); font: 600 17px/1.2 var(--f-display); letter-spacing: -.02em; }
.mm__node--domain.is-accent { color: var(--gold); }
.mm__node--group { max-width: var(--group-w); font: 500 14px/1.3 var(--f-text); color: var(--ink); }
.mm__node--skill { max-width: var(--leaf-w); font: 400 13.5px/1.38 var(--f-text); color: var(--ink-p); }
button.mm__node--group:hover .mm__label, button.mm__node--domain:hover .mm__label { color: var(--ink); text-decoration: underline 1px var(--line-2); text-underline-offset: 3px; }
button.mm__node--domain.is-accent:hover .mm__label { color: var(--gold); }
.mm__count { margin-left: 6px; font: 400 11px/1 var(--f-mono); color: var(--ink-3); }
.mm__badge { display: block; margin-top: 4px; font: 400 11px/1.2 var(--f-mono); letter-spacing: 0; color: var(--ink-3); }
.mm__tools { margin-left: 8px; font: 400 11px/1.4 var(--f-mono); color: var(--ink-3); white-space: nowrap; }
.mm__tools--pending { color: var(--gold); }
.mm__node.is-left .mm__tools { white-space: nowrap; }

/* Hover / focus: шлях до центру і піддерево, решта 25% */
.mm.is-dim .mm__node:not(.is-hl):not(.mm__node--center),
.mm.is-dim .mm__link:not(.is-hl) { opacity: .25; }
.mm.is-dim .mm__link.is-hl:not(.is-accent) { stroke: var(--ink-2); }

/* Outline (<768): дерево-акордеон з «колінами» */
.ot .mm__node--center { position: static; display: inline-flex; align-items: flex-start; text-align: left; }
.ot .mm__name { max-width: none; }
.ot ul { list-style: none; margin: 0; padding: 0; }
.ot ul[role="group"] { position: relative; padding-left: 20px; border-left: 1px solid var(--line-2); }
.ot__root { margin: 0 0 0 18px; padding-top: 12px; }
.ot li { position: relative; }
.ot li::before { content: ""; position: absolute; left: -20px; top: 22px; width: 14px; height: 1px; background: var(--line-2); }
.ot__row {
  display: flex; align-items: baseline; gap: 6px; width: 100%; min-height: 44px; padding: 12px 0;
  border: 0; background: none; color: inherit; text-align: left; cursor: pointer; font: inherit;
}
.ot__item--domain > .ot__row { font: 600 17px/1.25 var(--f-display); letter-spacing: -.015em; }
.ot__item--domain.is-accent > .ot__row { color: var(--gold); }
.ot__item--domain.is-accent > ul { border-left-color: var(--gold-soft); }
.ot__item--domain.is-accent > ul > li::before { background: var(--gold-soft); }
.ot__item--domain.is-learning > ul { border-left-style: dashed; }
.ot__item--group > .ot__row { font: 500 15px/1.3 var(--f-text); min-height: 40px; padding: 10px 0; }
.ot__row .mm__badge { display: inline; margin: 0 0 0 4px; }
.ot__chev {
  margin-left: auto; flex: none; width: 7px; height: 7px; align-self: center;
  border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3);
  transform: rotate(-45deg); transition: transform .25s var(--ease);
}
.ot li[aria-expanded="true"] > .ot__row .ot__chev { transform: rotate(45deg); }
.ot li.ot__item--group::before { top: 20px; }
.ot__leaf { padding: 6px 0; font-size: 14px; line-height: 1.4; color: var(--ink-p); }
.ot li.ot__leaf::before { top: 16px; }
.ot__leaf .mm__tools { display: block; margin: 2px 0 0; white-space: normal; }

/* Список текстом — страховка для індексації */
.skills-text { margin-top: 24px; font-size: 14px; color: var(--ink-2); }
/* Розкривний список — оформлений як кнопка: рамка, стрілка, реакція на наведення */
.skills-text summary {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 10px 18px 10px 16px;
  border: 1px solid var(--line-2); border-radius: 999px;
  font: 500 14px/1.2 var(--f-text); color: var(--ink);
  cursor: pointer; list-style: none; user-select: none;
  transition: border-color .2s, background-color .2s;
}
.skills-text summary::-webkit-details-marker { display: none; }
.skills-text summary::before {
  content: ""; width: 7px; height: 7px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform .25s var(--ease), margin .25s var(--ease);
}
.skills-text[open] summary::before { transform: rotate(-135deg); margin-top: 3px; }
.skills-text summary:hover { border-color: var(--gold-soft); background: var(--bg-2); }
.skills-text[open] summary { margin-bottom: 20px; }
.skills-text ul { padding-left: 18px; list-style: disc; }
.skills-text li { margin: 2px 0; }

/* ——— Футер ——— */
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding-block: 40px 48px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-2);
}
.site-footer__name { font: 600 17px/1.3 var(--f-display); color: var(--ink); letter-spacing: -.01em; margin-bottom: 4px; }
.site-footer__name span { font-weight: 500; color: var(--ink-3); margin-left: 8px; }
.site-footer__fine { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; font: 400 12px/1.4 var(--f-mono); color: var(--ink-3); }

/* ——— Рух: два моменти на сторінку ——— */
.js .reveal { transform: translateY(28px); transition: transform 1.2s var(--ease); }
.js .reveal.in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* ——— Адаптив ——— */
@media (max-width: 700px) {
  .site-header { height: 64px; }
  .hero { display: flex; flex-direction: column-reverse; align-items: stretch; padding-top: 0; }
  .hero__photo { margin-inline: calc(-1 * var(--gutter)); }
  .hero__photo img { height: auto; min-height: 0; aspect-ratio: 4 / 5; border-radius: 0; }
  .hero__text { padding-top: 28px; padding-bottom: 0; }

  .feature { display: flex; flex-direction: column; gap: 32px; }
  .feature__photo { order: -1; }
  .feature__photo img, .feature--human .feature__photo img, .feature--junior .feature__photo img { aspect-ratio: 4 / 5; }
  .feature .feature__text { margin-top: 0 !important; padding-top: 0 !important; }
  .feature--human .feature__photo { margin-top: 0; }
  .pull { margin-top: 32px; order: 3; }

  .pause__head, .arch__head { display: block; }
  .pause__head p, .arch__head p { margin-top: 20px; }

  .cycle { padding-block: 0; }
  .cycle__loop { display: none; }
  .cycle__steps { display: block; margin-left: 4px; border-left: 1px solid var(--line-2); }
  .cycle__steps::before { display: none; }
  .cycle__steps li { text-align: left; padding: 0 0 22px 24px; }
  .cycle__steps li::before { top: 5px; left: 0; margin-left: -5px; }
  .cycle__steps li:last-child { padding-bottom: 0; }
  .cycle__note { display: block; }

  .site-footer { grid-template-columns: 1fr; }
  .site-footer__fine { flex-direction: column; gap: 4px; }
}
.feature__text .sources a { padding-block: 4px; }
.nw { white-space: nowrap; }
.feature__text p + p { margin-top: 1em; }
.feature--junior .feature__text p:first-of-type { font: 500 clamp(21px, 1.8vw, 26px)/1.3 var(--f-display); letter-spacing: -.015em; color: var(--ink); }
.seg__item.is-disabled { color: var(--ink-4); cursor: default; }

/* ——— 404 ——— */
.notfound { padding-block: clamp(80px, 14vw, 200px); }
.notfound__code { font: 400 13px/1 var(--f-mono); color: var(--gold); margin-bottom: 20px; }
.notfound h1 { font: 600 clamp(36px, 5vw, 64px)/1.05 var(--f-display); letter-spacing: -.035em; margin-bottom: 28px; }
.notfound a { color: var(--ink); text-decoration: underline 1px var(--gold-soft); text-underline-offset: 5px; }
.notfound a:hover { text-decoration-color: var(--gold); }
.notfound p { color: var(--ink-2); }
.notfound__en { margin-top: 40px; font-size: 15px; }
