/* Arina Aksenova portfolio */

:root {
  --paper: #F4EFE6;
  --ink: #1C1A16;
  --muted: #6A645A;
  --line: #CFC7B8;
  --accent: #2233CC;
  --accent-dark: #15208A;
  --tile: #1F1E1B;
  --lime: #D6EE8A;
  --pad: clamp(20px, 2.8vw, 40px);
  --max: 1440px;
  --sans: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --gap-section: clamp(96px, 11vw, 170px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: env(safe-area-inset-top, 0px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
figure { margin: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.015em; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.link { color: var(--accent); text-underline-offset: 3px; }
.link.big { font-size: 18px; }
.accent-small { display: block; font-size: 12px; font-weight: 500; color: var(--accent); margin-bottom: 10px; }
.muted-small { font-size: 13px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 10px 14px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.content-error {
  background: #B3261E; color: #fff; padding: 16px var(--pad); font-size: 15px;
}

/* ─── Top bar ─── */
.topbar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-top: 28px; padding-bottom: 28px; font-size: 15px;
}
.topbar-name { color: var(--ink); text-decoration: none; font-weight: 500; }
.topbar-nav { display: flex; gap: 28px; }
.topbar-nav a { color: var(--ink); text-decoration: none; }
.topbar-nav a:hover { color: var(--accent); }
.topbar-cta { justify-self: end; }

/* ─── Hero ─── */
.hero {
  display: grid;
  grid-template-columns: auto 1fr minmax(300px, 390px);
  grid-template-rows: auto 1fr auto;
  column-gap: 40px;
  min-height: calc(100svh - 84px);
  padding-top: 12px;
  padding-bottom: 20px;
}
.hero-title {
  grid-column: 1 / -1; position: relative; z-index: 1;
  display: flex; flex-direction: column;
  font-size: clamp(46px, 6.7vw, 96px); font-weight: 500; line-height: 0.92; letter-spacing: -0.05em;
}
.hero-l1 { padding-left: 13.2%; }
.hero-l2 { display: flex; align-items: center; gap: 0.14em; }
.spin-star { display: inline-block; width: 0.372em; height: 0.356em; margin-left: 0.045em; vertical-align: 0.37em; fill: currentColor; }
.hero-l3 { align-self: flex-end; font-size: 0.8em; white-space: nowrap; margin-top: 0.16em; }
.hero-photo {
  grid-column: 1; grid-row: 2; align-self: start; margin-top: -48px;
  height: clamp(420px, calc(100svh - 400px), 680px); aspect-ratio: 4 / 5;
  overflow: hidden; background: var(--tile);
}
/* The crop: zoomed in so the face and shoulders fill the frame. */
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  transform: scale(1.35); transform-origin: 52% 30%;
}
.hero-text {
  grid-column: 3; grid-row: 2; align-self: end;
  display: flex; flex-direction: column; gap: 22px;
}
.hero-text p:first-child { font-size: 18px; line-height: 1.42; text-wrap: pretty; }
.scroll-cue {
  grid-column: 1 / -1; grid-row: 3; justify-self: center; margin-top: 28px;
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  color: var(--ink);
}
.scroll-cue svg { width: 24px; height: 26px; animation: cue 1.8s ease-in-out infinite; }
.scroll-cue:hover { color: var(--accent); }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue svg { animation: none; } }

/* ─── Manifesto ─── */
.manifesto { margin-top: clamp(64px, 7vw, 110px); }
.manifesto-title {
  display: flex; flex-direction: column;
  font-size: clamp(44px, 7.2vw, 104px); font-weight: 500; line-height: 0.95; letter-spacing: -0.05em;
}
.m-l1 { padding-left: 11%; }
.m-l2, .m-l3 { display: flex; align-items: center; gap: 0.23em; }
.m-l2 { margin: 0.1em 0 0.04em; }
.m-l2 .rule { width: 18%; }
.m-l3 { padding-left: 3%; }
.rule { display: block; height: 1px; background: var(--ink); flex-shrink: 0; }
.rule.grow { flex: 1 1 auto; }
.manifesto-note { margin: 28px 0 0 auto; max-width: 280px; font-size: 13px; color: var(--accent); }

/* ─── Shared section bits ─── */
section + section, .work { margin-top: var(--gap-section); }
.meta-row { display: flex; justify-content: space-between; font-size: 12px; font-weight: 500; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 48px;
  padding-bottom: 16px; border-bottom: 1px solid var(--ink);
}
.section-head-side { display: flex; align-items: center; gap: 24px; }
.h-mid { font-size: clamp(40px, 4.45vw, 64px); font-weight: 500; line-height: 1; letter-spacing: -0.045em; }
.h-big { font-size: clamp(48px, 7.8vw, 112px); font-weight: 500; line-height: 0.9; letter-spacing: -0.05em; }
.row { padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.row-pair { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.row-group { border-top-color: var(--ink); }
.list-block { display: flex; flex-direction: column; }

.chip {
  position: absolute; left: 8px; top: 8px; padding: 3px 8px;
  background: var(--paper); color: var(--ink); font-size: 11px; font-weight: 500; line-height: 1.4;
}
.chip-accent { background: var(--accent); color: var(--paper); }

/* Play posters */
.poster {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; cursor: pointer;
  background: var(--tile); overflow: hidden;
}
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.play {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%; background: var(--accent);
  transition: transform 160ms ease;
}
.play svg { width: 18px; height: 20px; fill: var(--paper); margin-left: 3px; }
.poster:hover .play, .poster:focus-visible .play { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) { .play { transition: none; } }

/* ─── Work ─── */
.work { display: flex; flex-direction: column; gap: 28px; margin-top: clamp(48px, 5vw, 72px); }
.flagship-title { font-size: clamp(56px, 7.8vw, 112px); font-weight: 500; line-height: 0.9; letter-spacing: -0.05em; padding-left: 25%; }
.flagship { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.flagship-info { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; font-size: 15px; }
.facts { margin: 0; font-size: 14px; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt, .facts dd { margin: 0; }
#flagship-media { position: relative; }
.poster-flagship { aspect-ratio: 2.372 / 1; }
.poster-flagship .play { width: 96px; height: 96px; }
.poster-flagship .play svg { width: 28px; height: 32px; margin-left: 5px; }
.chip-corner { left: auto; top: auto; right: 16px; bottom: 16px; padding: 4px 10px; font-size: 12px; font-weight: 400; }

.more-title { font-size: clamp(36px, 3.9vw, 56px); font-weight: 500; line-height: 1; letter-spacing: -0.045em; }
.work .section-head { margin-top: 52px; }

.track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
  overscroll-behavior-x: contain;
}
.track > * { scroll-snap-align: start; flex: 0 0 auto; }
.project { width: clamp(270px, 29vw, 420px); display: flex; flex-direction: column; gap: 12px; }
.project h4 { font-size: 24px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.project p { font-size: 14px; line-height: 1.45; }

.carousel-controls { display: flex; gap: 8px; }
.carousel-controls[hidden] { display: none; }
.arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); background: transparent;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.arrow svg { width: 18px; height: 18px; }
.arrow:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.arrow:disabled { opacity: 0.3; cursor: default; }

/* ─── Hybrid ─── */
.hybrid { display: flex; flex-direction: column; gap: 32px; }
.hybrid-intro { max-width: 560px; font-size: 15px; text-wrap: pretty; }
.hybrid-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; }
.hybrid-item { display: flex; flex-direction: column; gap: 10px; }
.hybrid-item figcaption { font-size: 13px; line-height: 1.4; }
.stack-pair { display: flex; flex-direction: column; gap: 4px; }
.cell, .stack-single { position: relative; }
.cell video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--tile); }
.stack-single video { width: 100%; aspect-ratio: 8 / 9; object-fit: cover; background: var(--tile); }
.chip-mid { top: calc(50% + 10px); }

/* ─── Content factories ─── */
.factories { display: flex; flex-direction: column; gap: 64px; }
.factories-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 48px; }
.factories-side { max-width: 460px; display: flex; flex-direction: column; gap: 16px; }
.factories-text { font-size: 16px; line-height: 1.45; text-wrap: pretty; }
.process { font-family: var(--serif); font-size: 18px; font-style: italic; line-height: 1.4; text-wrap: pretty; }
.factories-body { display: flex; gap: 32px; align-items: flex-start; }
.stats { display: grid; grid-template-columns: repeat(2, 250px); gap: 16px; flex-shrink: 0; }
.stat {
  aspect-ratio: 1; padding: 20px; background: var(--tile); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
}
.stat-hi { background: var(--lime); color: var(--ink); }
.stat-value { font-size: clamp(44px, 4.45vw, 64px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.stat-label { font-size: 14px; line-height: 1.35; }
.channels-col { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 14px; margin-top: 64px; }
.channels-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.channels { gap: 16px; }
.channel { width: 180px; display: flex; flex-direction: column; gap: 6px; }
.channel video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--tile); }
.channel-name { font-size: 13px; font-weight: 500; line-height: 1.3; margin-top: 2px; }
.channel .link { word-break: break-all; }

/* ─── E-com ─── */
.ecom { display: flex; flex-direction: column; gap: 36px; }
.ecom .section-head { border-bottom: 0; padding-bottom: 0; }
.ecom .section-head::after { content: none; }
.ecom-figure { display: flex; align-items: flex-end; gap: 28px; padding-bottom: 16px; }
.ecom-number { font-size: clamp(88px, 11.1vw, 160px); font-weight: 500; line-height: 0.8; letter-spacing: -0.06em; }
.ecom-figure-text { max-width: 240px; font-size: 15px; line-height: 1.4; padding-bottom: 6px; }
.ecom-side { max-width: 470px; display: flex; flex-direction: column; gap: 4px; padding-bottom: 16px; }
.ecom-side p { font-size: 15px; margin-bottom: 14px; text-wrap: pretty; }
.ecom .section-head { position: relative; }
.ecom .section-head::before {
  content: ""; position: absolute; left: var(--pad); right: var(--pad); bottom: 0; height: 1px; background: var(--ink);
}
.wrap-left { padding-left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); padding-right: var(--pad); scroll-padding-left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); }
.ecom-item { width: clamp(220px, 21vw, 300px); display: flex; flex-direction: column; gap: 10px; }
.ecom-item video { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--tile); }
.ecom-item figcaption { font-size: 13px; }

/* ─── Skills ─── */
.skills { display: flex; flex-direction: column; gap: 56px; }
.skills-title { display: flex; flex-direction: column; font-size: clamp(46px, 6.7vw, 96px); line-height: 0.92; }
.skills-l2 { padding-left: 29%; }
.skills-grid { display: grid; grid-template-columns: 380px repeat(3, minmax(0, 1fr)); gap: 40px; }
.skills-intro { display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.skills-intro .muted { font-size: 14px; }
.tool-groups { display: contents; }
.tool-groups .row { font-size: 15px; }
.generations { display: flex; flex-direction: column; gap: 14px; }
.gen-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gen { position: relative; background: var(--tile); overflow: hidden; aspect-ratio: 16 / 9; }
.gen-lead { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.gen video, .gen img { width: 100%; height: 100%; object-fit: cover; }
.gen figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; padding: 5px 10px; background: var(--paper); font-size: 12px; }
.gen-grid.is-single { grid-template-columns: 1fr; max-width: 900px; }
.gen-grid.is-single .gen-lead { grid-column: auto; grid-row: auto; aspect-ratio: 16 / 9; }

/* ─── About ─── */
.about { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; }
.about-left { display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.about-statement { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.18; letter-spacing: -0.01em; text-wrap: pretty; }
.about-right { display: flex; flex-direction: column; gap: 36px; font-size: 14px; }
.about-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }

/* ─── Earlier ─── */
.earlier { display: flex; align-items: flex-end; gap: 32px 48px; margin-top: 120px; }
.h-earlier { font-size: clamp(52px, 6.1vw, 88px); font-weight: 500; line-height: 0.9; letter-spacing: -0.05em; white-space: nowrap; }
.earlier p { max-width: 540px; font-size: 16px; line-height: 1.5; text-wrap: pretty; }

/* ─── Footer ─── */
.footer { margin-top: var(--gap-section); padding-bottom: 36px; display: flex; flex-direction: column; gap: 48px; }
.footer-title { font-size: clamp(64px, 15.3vw, 220px); font-weight: 500; line-height: 0.85; letter-spacing: -0.06em; white-space: nowrap; }
.footer-bar {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px 32px; flex-wrap: wrap;
  padding-top: 18px; border-top: 1px solid var(--ink);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 36px; font-size: 20px; letter-spacing: -0.01em; }
.footer-links a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; }
.footer-links a:hover { color: var(--accent); text-decoration-color: currentColor; }
.footer-copy { font-size: 13px; }

/* ─── Video dialog ─── */
.player {
  width: min(1200px, 94vw); max-width: none; padding: 0; border: 0; background: #000; color: var(--paper); overflow: visible;
}
.player::backdrop { background: rgba(20, 18, 15, 0.86); }
.player-screen { position: relative; aspect-ratio: 16 / 9; background: #000; }
.player-screen iframe, #yt-player { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.player-fallback {
  position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  flex-wrap: wrap; padding: 24px; text-align: center; background: #000; color: var(--paper); font-size: 16px;
}
.player-fallback[hidden] { display: none; }
.player-fallback a, .player-yt { color: var(--paper); text-underline-offset: 3px; }
.player-yt { position: absolute; left: 0; bottom: -36px; font-size: 14px; }
.player-close {
  position: absolute; right: 0; top: -52px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--paper); background: transparent; color: var(--paper); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* ─── Cursor: the blue asterisk from the hero ─── */
@media (pointer: fine) {
  html, body { cursor: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="23" viewBox="-20 -20 412 396"%3E%3Cpath d="M116 356 51 313 115 216 0 217V139H115L51 43L116 0L186 107L255 0L321 41L257 139H372V217L257 216L320 313L255 356L186 248Z" fill="%232233CC" stroke="%23F4EFE6" stroke-width="28" stroke-linejoin="round" paint-order="stroke"/%3E%3C/svg%3E') 12 11, auto; }
  a, button, .poster, .arrow, .player-close, .scroll-cue, video { cursor: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="34" height="33" viewBox="-20 -20 412 396"%3E%3Cpath d="M116 356 51 313 115 216 0 217V139H115L51 43L116 0L186 107L255 0L321 41L257 139H372V217L257 216L320 313L255 356L186 248Z" fill="%232233CC" stroke="%23F4EFE6" stroke-width="28" stroke-linejoin="round" paint-order="stroke"/%3E%3C/svg%3E') 17 16, pointer; }
  .arrow:disabled { cursor: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="23" viewBox="-20 -20 412 396"%3E%3Cpath d="M116 356 51 313 115 216 0 217V139H115L51 43L116 0L186 107L255 0L321 41L257 139H372V217L257 216L320 313L255 356L186 248Z" fill="%232233CC" stroke="%23F4EFE6" stroke-width="28" stroke-linejoin="round" paint-order="stroke"/%3E%3C/svg%3E') 12 11, auto; }
}

/* ─── Motion (only when JS adds .js-anim and reduced motion is off) ─── */
@keyframes rise { from { opacity: 0; transform: translateY(0.35em); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes spin { to { transform: rotate(360deg); } }

.js-anim .hero-title > span { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.js-anim .hero-l1 { animation-delay: 0.05s; }
.js-anim .hero-l2 { animation-delay: 0.15s; }
.js-anim .hero-l3 { animation-delay: 0.25s; }
.js-anim .hero-photo { animation: unveil 1.1s cubic-bezier(0.7, 0, 0.2, 1) 0.2s both; }
.js-anim .hero-text { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.45s both; }
.js-anim .scroll-cue { animation: fade 0.6s ease 1s both; }
.js-anim .spin-star { animation: spin 16s linear infinite; transform-origin: 50% 50%; }

.js-anim .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0ms);
}
.js-anim .reveal.is-in { opacity: 1; transform: none; }
.js-anim .stagger > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js-anim .stagger.is-in > * { opacity: 1; transform: none; }
.js-anim .manifesto .rule { transform: scaleX(0); transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s; }
.js-anim .manifesto .m-l2 .rule { transform-origin: right center; }
.js-anim .manifesto .m-l3 .rule { transform-origin: left center; }
.js-anim .manifesto .is-in .rule { transform: scaleX(1); }

/* ─── Tablet ─── */
@media (max-width: 1100px) {
  .topbar-nav { gap: 18px; font-size: 14px; }
  .hero { grid-template-columns: minmax(240px, 340px) 1fr; min-height: 0; }
  .hero-photo { width: 100%; height: auto; margin-top: 28px; }
  .hero-text { grid-column: 2; }
  .flagship { grid-template-columns: 1fr; }
  .flagship-info { order: 2; }
  .flagship-title { padding-left: 0; }
  .hybrid-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .factories-body { flex-direction: column; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .channels-col { margin-top: 0; width: 100%; }
  .skills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skills-intro { grid-column: 1 / -1; max-width: 560px; }
  .about { grid-template-columns: 1fr; gap: 48px; }
}

/* ─── Phone ─── */
@media (max-width: 700px) {
  .topbar { grid-template-columns: 1fr auto; padding-top: 18px; padding-bottom: 18px; }
  .topbar-nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(38px, 11.5vw, 60px); }
  .hero-l1, .hero-l3 { padding-left: 0; }
  .hero-l3 { align-self: auto; font-size: 1em; white-space: normal; margin-top: 0.08em; }
  .hero-l2 { display: block; }
  .poster-flagship .play { width: 60px; height: 60px; }
  .poster-flagship .play svg { width: 18px; height: 20px; margin-left: 3px; }
  .chip-corner { right: 8px; bottom: 8px; font-size: 11px; }
  .tool-groups .list-block:first-child { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .tool-groups .list-block:first-child .accent-small { grid-column: 1 / -1; }
  .hero-photo { grid-row: auto; grid-column: 1; margin-top: 28px; max-width: 420px; }
  .scroll-cue { display: none; }
  .channel { width: 150px; }
  .hero-text { grid-column: 1; grid-row: auto; margin-top: 28px; }
  .m-l1 { padding-left: 0; }
  .m-l2 .rule { width: 12%; }
  .m-l3 { padding-left: 0; }
  .manifesto-note { margin-left: 0; }
  .section-head, .factories-head { flex-direction: column; align-items: flex-start; }
  .section-head-side { width: 100%; justify-content: space-between; }
  .hybrid-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 16px; }
  .ecom-figure { flex-direction: column; align-items: flex-start; gap: 12px; }
  .skills-l2 { padding-left: 0; }
  .skills-grid { grid-template-columns: 1fr; gap: 32px; }
  .gen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .earlier { flex-direction: column; align-items: flex-start; }
  .about-two { grid-template-columns: 1fr; }
  .footer-links { font-size: 18px; flex-direction: column; }
  .row-pair, .facts div { grid-template-columns: 96px 1fr; }
}
