/* =========================================================
   Section styles & reveal — built out section by section
   ========================================================= */

/* active nav */
.nav a.active { color: var(--ink); }
.nav a.active::after { right: 0; }

/* scroll reveal base */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

body.nav-locked { overflow: hidden; }

/* =========================================================
   SECTION PRIMITIVES
   ========================================================= */
.section { position: relative; padding: clamp(72px, 9vh, 132px) 0; }
.section + .section { padding-top: clamp(40px, 6vh, 90px); }
.section__inner { position: relative; z-index: 1; }

/* faint divider between major blocks */
.section--ruled::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px; background: linear-gradient(90deg, transparent, var(--panel-edge) 18%, var(--panel-edge) 82%, transparent);
}

.section__head { max-width: 760px; margin-bottom: clamp(34px, 4vw, 56px); }
.section__head.center { margin-inline: auto; text-align: center; }
.section__head.center .section-line { margin-inline: auto; }

.h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.06;
  letter-spacing: 0.005em;
  color: var(--ink);
  margin: 14px 0 0;
}
.h2 em { font-style: normal; color: var(--em); }
.lead {
  color: var(--muted);
  font-size: clamp(15.5px, 1.2vw, 18px);
  line-height: 1.65;
  max-width: 64ch;
  margin: 20px 0 0;
}
.lead--ink { color: var(--ink-soft); }

/* =========================================================
   BUTTONS / LINKS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.01em;
  padding: 13px 22px; border-radius: 100px; border: 1px solid transparent;
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary {
  background: linear-gradient(180deg, var(--em), var(--em-deep));
  color: #04130C; font-weight: 600;
  box-shadow: 0 14px 36px -14px var(--em-glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -14px var(--em-glow); }
.btn--ghost { border-color: var(--panel-edge); color: var(--ink-soft); background: rgba(255,255,255,0.015); }
.btn--ghost:hover { border-color: var(--em-line); color: var(--ink); transform: translateY(-2px); }
.btn--red { background: linear-gradient(180deg, var(--mars-bright), #8c241a); color: #fff; font-weight: 600; box-shadow: 0 14px 36px -14px var(--mars-glow); }
.btn--red:hover { transform: translateY(-2px); }

.textlink {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--em-text); font-size: 14px; font-weight: 500;
  transition: color .3s var(--ease);
}
.textlink svg { width: 15px; height: 15px; flex: none; transition: transform .3s var(--ease); }
.textlink:hover { color: var(--em-bright); }
.textlink:hover svg { transform: translateX(3px); }

/* =========================================================
   ABOUT (Обо мне)
   ========================================================= */
.about__grid {
  display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.about__portrait {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--panel-edge);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.8);
}
.about__portrait .about__img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about__portrait::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 60px rgba(70,224,141,0.06), inset 0 -90px 80px -50px rgba(6,11,9,0.9);
  border-radius: var(--radius-lg);
}
.about__body p { color: var(--ink-soft); margin: 18px 0 0; }
.about__body p.muted { color: var(--muted); }
.about__facts {
  margin-top: 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--panel-edge); border: 1px solid var(--panel-edge); border-radius: 12px; overflow: hidden;
}
.about__fact { background: var(--bg); padding: 18px 20px; }
.about__fact b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 22px; color: var(--ink); }
.about__fact span { font-size: 13px; color: var(--muted); }

/* =========================================================
   SYSTEMS intro + focus list + quote band
   ========================================================= */
.sys__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px,4vw,64px); align-items: start; }
.focus-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.focus-list li {
  display: flex; gap: 14px; align-items: baseline;
  padding: 14px 4px; border-bottom: 1px solid var(--panel-edge);
  color: var(--ink-soft); font-size: 16px;
}
.focus-list li::before {
  content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%;
  background: var(--em); box-shadow: 0 0 10px var(--em-glow); transform: translateY(-2px);
}

.quote-band {
  margin-top: clamp(40px,5vw,70px);
  border: 1px solid var(--em-line); border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 180% at 0% 0%, rgba(52,201,125,0.09), transparent 55%),
    var(--panel);
  padding: clamp(30px, 4vw, 56px);
  position: relative; overflow: hidden;
}
.quote-band::before {
  content: "“"; position: absolute; top: -10px; left: 18px;
  font-family: var(--font-display); font-size: 120px; color: rgba(70,224,141,0.14); line-height: 1;
}
.quote-band__lead {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(24px, 3vw, 40px); line-height: 1.18; color: var(--ink); margin: 0;
  max-width: 20ch;
}
.quote-band__sub {
  font-size: clamp(16px, 1.5vw, 21px); line-height: 1.45; color: var(--ink-soft); margin: 16px 0 0;
  max-width: 40ch; font-weight: 400;
}
.quote-band span { display: block; margin-top: 22px; color: var(--em-text); font-size: 14px; letter-spacing: 0.04em; }

/* =========================================================
   TILE GRID (где полезен / темы / facts)
   ========================================================= */
.grid { display: grid; gap: clamp(14px, 1.4vw, 22px); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.tile {
  position: relative; border: 1px solid var(--panel-edge); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0)) , var(--panel);
  padding: clamp(22px, 2vw, 30px);
  transition: transform .4s var(--ease-out), border-color .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
  overflow: hidden;
}
.tile:hover { transform: translateY(-5px); border-color: var(--em-line); box-shadow: 0 30px 60px -34px rgba(0,0,0,.8); }
.tile__no {
  font-family: var(--font-display); font-weight: 300; font-size: 14px;
  color: var(--em-text); letter-spacing: 0.1em;
}
.tile__icon { height: 44px; width: auto; max-width: 116px; object-fit: contain; object-position: left center; color: var(--em-text); margin-bottom: 16px; }
.tile h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(18px, 1.5vw, 22px); color: var(--ink); margin: 12px 0 0; line-height: 1.2;
}
.tile p { color: var(--muted); font-size: 14.5px; margin: 12px 0 0; line-height: 1.55; }
.tile__glow { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
  background: radial-gradient(80% 60% at 50% 0%, rgba(52,201,125,0.10), transparent 60%); }
.tile:hover .tile__glow { opacity: 1; }

/* =========================================================
   THEMES (Темы выступлений) — list rows
   ========================================================= */
.themes { display: grid; gap: 0; border-top: 1px solid var(--panel-edge); }
.theme {
  display: grid; grid-template-columns: 56px 1fr auto; gap: clamp(16px,2vw,30px); align-items: center;
  padding: clamp(20px,2vw,28px) 6px; border-bottom: 1px solid var(--panel-edge);
  transition: background .35s var(--ease), padding-left .35s var(--ease);
  cursor: default;
}
.theme:hover { background: linear-gradient(90deg, rgba(52,201,125,0.05), transparent 60%); padding-left: 16px; }
.theme__no { font-family: var(--font-display); font-weight: 300; color: var(--faint); font-size: 15px; transition: color .35s var(--ease); }
.theme:hover .theme__no { color: var(--em-text); }
.theme__main h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(18px,1.7vw,25px); color: var(--ink); margin: 0; }
.theme__main p { color: var(--muted); margin: 7px 0 0; font-size: 14.5px; max-width: 70ch; }
.theme__fmt { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

/* tags / chips */
.chip {
  font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); padding: 6px 12px; border: 1px solid var(--panel-edge); border-radius: 100px;
  white-space: nowrap;
}
.chip--em { color: var(--em-text); border-color: var(--em-line); }

/* =========================================================
   TALKS (Выступления history)
   ========================================================= */
.talks { display: grid; gap: clamp(14px,1.4vw,20px); }
.talk {
  display: grid; grid-template-columns: clamp(240px, 36%, 400px) 1fr; gap: clamp(20px,2.4vw,40px);
  border: 1px solid var(--panel-edge); border-radius: var(--radius); overflow: hidden;
  background: var(--panel); transition: border-color .4s var(--ease), transform .4s var(--ease-out);
}
.talk:hover { border-color: var(--em-line); transform: translateY(-3px); }
.talk__cover { position: relative; min-height: 180px; background: #060A08; overflow: hidden; }
.talk__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform .6s var(--ease-out);
}
.talk:hover .talk__img { transform: scale(1.04); }
/* covers whose key content sits on the left (text block + photo at the right
   edge): crop from the left so the text survives the narrow desktop column */
.talk__img--left { object-position: left center; }
.talk__cover::after { /* subtle right fade into the card on desktop */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent 70%, rgba(12,20,16,0.55) 100%);
}
.talk__body { padding: clamp(20px,2vw,28px) clamp(20px,2vw,30px) clamp(20px,2vw,28px) 0; }
.talk__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: var(--muted); font-size: 13px; }
.talk__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }
.talk h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(18px,1.6vw,24px); color: var(--ink); margin: 12px 0 0; line-height: 1.2; }
.talk p { color: var(--muted); font-size: 14.5px; margin: 10px 0 0; }
.talk__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.talk__actions { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; }

/* show-more for talks */
.talks__more[hidden] { display: none; }
.talks__more { margin-top: clamp(14px,1.4vw,20px); }
.talks__toggle { display: flex; justify-content: center; margin-top: clamp(24px,3vw,38px); }
.talks__invite { display: flex; justify-content: center; margin-top: clamp(18px,2vw,26px); }
.talks__toggle .btn { gap: 12px; }
.talks__toggle-chevron { display: inline-flex; transition: transform .35s var(--ease); }
.talks__toggle-chevron svg { width: 18px; height: 18px; }
.talks__toggle.open .talks__toggle-chevron { transform: rotate(180deg); }

/* =========================================================
   MANIFESTO (Профессиональная позиция)
   ========================================================= */
.manifesto {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--panel-edge);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(52,201,125,0.10), transparent 55%),
    linear-gradient(180deg, #0B1310, #080E0B);
  padding: clamp(40px, 6vw, 96px) clamp(28px,5vw,84px);
}
.manifesto__arcs { position: absolute; right: -10%; top: -30%; width: 60%; opacity: .4; pointer-events: none; }
.manifesto__arcs circle { fill: none; stroke: rgba(80,150,115,0.16); stroke-width: 1; }
.manifesto h2 {
  font-family: var(--font-display); font-weight: 300; position: relative; z-index: 1;
  font-size: clamp(26px, 3.6vw, 50px); line-height: 1.12; color: var(--ink); margin: 0; max-width: 18ch;
}
.manifesto h2 em { font-style: normal; color: var(--em-bright); }
.manifesto__cols { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(24px,3vw,52px); margin-top: clamp(28px,3vw,44px); }
.manifesto__cols p { color: var(--ink-soft); margin: 0; font-size: 16px; line-height: 1.7; }

/* =========================================================
   CREDENTIALS (Опыт и доверие)
   ========================================================= */
.creds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--panel-edge);
  border: 1px solid var(--panel-edge); border-radius: var(--radius); overflow: hidden; }
.cred { background: var(--bg); padding: clamp(20px,2vw,28px); }
.cred b { display:block; font-family: var(--font-display); font-weight: 300; font-size: clamp(26px,3vw,40px); color: var(--em); line-height: 1; }
.cred span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }
.cred--text b { font-size: clamp(15px,1.3vw,17px); color: var(--em); font-family: var(--font-body); font-weight: 600; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px;
  border: 1px solid var(--panel-edge); border-radius: 100px; color: var(--ink-soft); font-size: 13.5px;
  background: rgba(255,255,255,0.015);
}
.badge svg { width: 15px; height: 15px; color: var(--em-text); }

/* =========================================================
   PODCAST
   ========================================================= */
.podcast { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px,4vw,60px); align-items: center; }
.podcast__cover { display: block; position: relative; aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--panel-edge); }
.podcast__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.podcast__cover:hover .podcast__img { transform: scale(1.04); }
.podcast__cover .play {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(7,12,10,0.55); border: 1px solid var(--em-line);
  backdrop-filter: blur(4px); color: var(--em-bright); z-index: 2;
}
.podcast__cover .play svg { width: 26px; height: 26px; margin-left: 3px; }
.platforms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* =========================================================
   MEDIA (Публикации) — editorial publication list
   ========================================================= */

/* group rubrics, like magazine sections */
.media-group + .media-group { margin-top: clamp(36px,4vw,60px); }
.media-group__head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: clamp(6px,1vw,12px); padding-bottom: 14px; border-bottom: 1px solid var(--panel-edge); }
.media-group__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(18px,1.7vw,24px); color: var(--ink); margin: 0; }
.media-group__sub { color: var(--muted); font-size: 13.5px; }

/* publication rows: source masthead + headline + dek, action on the right */
.pub-list { display: grid; }
.pub {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 28px;
  padding: clamp(18px,2vw,24px) 4px;
  border-bottom: 1px solid var(--panel-edge);
  transition: background .35s var(--ease), padding-left .35s var(--ease);
}
.pub:hover { background: linear-gradient(90deg, rgba(52,201,125,0.05), transparent 60%); padding-left: 16px; }
.pub__main { grid-column: 1; min-width: 0; }
.pub__src { display: block; color: var(--em-text); font-size: 12.5px; letter-spacing: 0.04em; }
.pub__title {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(18px,1.5vw,22px);
  color: var(--ink); line-height: 1.25; margin: 5px 0 0; transition: color .3s var(--ease);
}
.pub:hover .pub__title { color: var(--em-bright); }
.pub__dek { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 7px 0 0; max-width: 68ch; }
.pub__go {
  grid-column: 2; align-self: center; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--muted); font-size: 13px; font-weight: 500; transition: color .3s var(--ease);
}
.pub__go svg { width: 15px; height: 15px; flex: none; transition: transform .3s var(--ease); }
.pub:hover .pub__go { color: var(--em-text); }
.pub:hover .pub__go svg { transform: translate(2px,-2px); }

@media (max-width: 600px) {
  .pub { grid-template-columns: 1fr; gap: 10px; }
  .pub__go { grid-column: 1; }
}

/* =========================================================
   FEATURE SECTIONS (Игра и кино / Наблюдения) — split media
   ========================================================= */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--panel-edge); }
.feature--reverse .feature__media { order: 2; }
.feature__media { position: relative; min-height: clamp(380px, 50vh, 600px); }
.feature__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- carousel (inside feature media) ---------- */
.carousel { position: absolute; inset: 0; overflow: hidden; }
.carousel__track { display: flex; height: 100%; transition: transform .6s var(--ease-out); will-change: transform; }
.carousel__slide { position: relative; flex: 0 0 100%; height: 100%; margin: 0; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel__slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 40px 22px 18px; color: var(--ink); font-size: 14px; letter-spacing: 0.01em;
  background: linear-gradient(180deg, transparent, rgba(6,11,9,0.85));
}
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(7,12,10,0.55); border: 1px solid var(--panel-edge); color: var(--ink);
  backdrop-filter: blur(6px); transition: background .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease);
}
.carousel__btn:hover { background: rgba(7,12,10,0.8); border-color: var(--em-line); }
.carousel__btn:active { transform: translateY(-50%) scale(.92); }
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__btn--prev { left: 14px; }
.carousel__btn--next { right: 14px; }
.carousel__dots { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 4; display: flex; gap: 8px; justify-content: center; }
.carousel__dots button {
  width: 7px; height: 7px; padding: 0; border-radius: 50%; border: 0;
  background: rgba(255,255,255,0.34); transition: background .3s var(--ease), width .3s var(--ease);
}
.carousel__dots button.active { background: var(--em-bright); width: 22px; border-radius: 100px; }
@media (max-width: 560px) {
  .carousel__btn { width: 38px; height: 38px; }
  .carousel__slide figcaption { font-size: 13px; padding: 34px 16px 30px; }
  .carousel__dots { bottom: 12px; }
}
.feature__media .kanji-lg {
  position: absolute; right: 22px; top: 22px; z-index: 2; writing-mode: vertical-rl;
  font-family: 'Noto Serif JP', serif; font-size: 44px; color: rgba(220,150,90,0.55); letter-spacing: 0.05em;
}
.feature__body { padding: clamp(34px, 4vw, 64px); display: flex; flex-direction: column; justify-content: center; background: var(--panel); }
.feature__body .eyebrow { color: var(--em-text); }
.feature__body h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(26px,3vw,44px); color: var(--ink); margin: 14px 0 0; }
.feature__body p { color: var(--ink-soft); margin: 18px 0 0; font-size: 16px; line-height: 1.7; }
.feature__body p.muted { color: var(--muted); }
.feature__pull {
  margin: 26px 0 0; padding-left: 20px; border-left: 2px solid var(--em);
  font-family: var(--font-display); font-weight: 300; font-size: clamp(17px,1.6vw,21px); color: var(--ink); line-height: 1.35;
}
.feature__links { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 28px; }

/* red scope for Игра и кино */
.feature--game { --em: var(--mars); --em-bright: var(--mars-bright); --em-text: #e09289; --em-line: rgba(229,72,58,0.30); --em-glow: var(--mars-glow); }
.feature--game .feature__media .kanji-lg { display: none; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,4vw,70px); align-items: start; }
.contact--single { grid-template-columns: 1fr; max-width: 760px; }
.contact__intro h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(26px,3vw,44px); color: var(--ink); margin: 14px 0 0; max-width: 16ch; }
.contact__intro p { color: var(--muted); margin: 20px 0 0; font-size: 16px; line-height: 1.7; max-width: 52ch; }
.contact__cta { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.form { background: var(--panel); border: 1px solid var(--panel-edge); border-radius: var(--radius-lg); padding: clamp(24px,3vw,40px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; letter-spacing: 0.02em; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--bg); border: 1px solid var(--panel-edge); border-radius: 10px;
  color: var(--ink); font-family: inherit; font-size: 15px; padding: 13px 15px; transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--em-line); box-shadow: 0 0 0 3px var(--em-glow-soft); }
.field textarea { resize: vertical; min-height: 110px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__note { color: var(--muted-2); font-size: 12.5px; margin-top: 4px; }
.form__ok { display: none; color: var(--em-bright); font-size: 14px; margin-top: 14px; align-items: center; gap: 8px; }
.form__ok.show { display: flex; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 1px solid var(--panel-edge); padding: clamp(40px,5vw,72px) 0 40px; margin-top: clamp(40px,6vh,90px); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; align-items: start; }
.footer__brand .brand__name { font-size: 18px; }
.footer p { color: var(--muted); font-size: 14px; margin: 14px 0 0; max-width: 38ch; }
.footer h4 { color: var(--ink-soft); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); font-size: 14px; transition: color .3s var(--ease); }
.footer ul a:hover { color: var(--em-text); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: clamp(34px,4vw,56px); padding-top: 24px; border-top: 1px solid var(--panel-edge); color: var(--muted); font-size: 13px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .grid-3, .creds { grid-template-columns: repeat(2, 1fr); }
  .sys__grid, .contact, .feature { grid-template-columns: 1fr; }
  /* about & podcast keep two columns: a full-width portrait / square
     cover at these widths becomes a poster-sized image, so shrink the
     image column instead */
  .about__grid { grid-template-columns: minmax(240px, 320px) 1fr; align-items: start; }
  .podcast { grid-template-columns: minmax(220px, 300px) 1fr; align-items: start; }
  .feature--reverse .feature__media { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .about__grid, .podcast { grid-template-columns: 1fr; }
  .about__portrait { max-width: 420px; }
  .podcast__cover { max-width: 360px; }
}

@media (max-width: 860px) {
  /* nav -> drawer */
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px;
    background: rgba(7,12,10,0.97); backdrop-filter: blur(18px);
    padding: 90px 32px 32px; transform: translateX(100%); transition: transform .45s var(--ease);
    border-left: 1px solid var(--panel-edge); z-index: 45;
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 16px; letter-spacing: 0.08em; }
  .nav-toggle { display: flex; z-index: 60; }

  .cards { grid-template-columns: 1fr; }
  .card { min-height: clamp(360px, 64vw, 460px); }
  .card--systems { order: -1; }
  .hud-terms { top: 80px; }

  .grid-3, .grid-2, .creds, .footer__grid, .manifesto__cols, .about__facts, .field--row { grid-template-columns: 1fr; }
  .creds { grid-template-columns: repeat(2,1fr); }
  .talk { grid-template-columns: 1fr; }
  /* covers are designed slides with text in mixed aspects (4:3 and 16:9):
     don't crop on mobile — each shows whole at its native aspect */
  .talk__cover { min-height: 0; aspect-ratio: auto; }
  .talk__img { position: static; height: auto; }
  .talk__cover::after { background: linear-gradient(180deg, transparent 72%, rgba(12,20,16,0.55) 100%); }
  .theme { grid-template-columns: 36px 1fr; }
  .theme__fmt { grid-column: 2; justify-content: flex-start; margin-top: 8px; }
  .footer__bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .creds { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; justify-content: center; }
}
