/* K Group Capital Partners
   Figma: KGCP / Desktop_V6 (page 1175:302), designed at 1920px wide.
   Type ramps scale with viewport width (design px ÷ 19.2 = vw) and are
   clamped so they never drop below readable sizes.

   Layering: pinned heroes are position: sticky; every later section is
   position: relative with an opaque background and NO z-index — positioned
   siblings paint in document order, which is the parallax. Only the fixed
   header carries a z-index. */

/* ---------- Fonts ----------
   Beausite Fit (display + body copy) and Beausite Classic (labels, nav,
   UI text), licensed from Fatype, served from /fonts. */
@font-face {
  font-family: "Beausite Fit";
  src: url("../fonts/BeausiteFitWeb-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Beausite Classic";
  src: url("../fonts/BeausiteClassicWeb-Clear.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Beausite Classic";
  src: url("../fonts/BeausiteClassicWeb-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Beausite Classic";
  src: url("../fonts/BeausiteClassicWeb-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #f3f3f3;
  --white: #ffffff;
  --ink: #1f0023;
  --steel: #a3b8cc;
  --cyan: #66fbf8;
  --pink: #fdc2ff;
  --navy: #000f1e;
  --slate: #75848d;

  --font-fit: "Beausite Fit", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-classic: "Beausite Classic", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --header-h: 72px;
  --profile-pad: 60px;        /* profile pages: space above the name (30 on laptops, see the 1600px query) */
  --gutter: 20px;
  --gap-tight: 10px;

  /* Figma text styles (design px at 1920 → fluid) */
  --fs-display: clamp(40px, 5.2083vw, 100px);  /* Hero Title, 100 (was 120/120 in the design — client request) */
  --fs-title: clamp(32px, 3.125vw, 60px);      /* Title 60/70 */
  --fs-lead: clamp(24px, 2.1875vw, 42px);      /* Body Text 1 42/48 */
  --fs-body: clamp(17px, 1.25vw, 24px);        /* Body Text 2 24/30 */
  --fs-date: clamp(15px, 1.0417vw, 20px);      /* news date 20 */
  --fs-info: clamp(14px, 0.9375vw, 18px);      /* Info 18/20, brand, link rows */
  --fs-nav: clamp(12px, 0.8333vw, 16px);       /* nav 16 */
  --fs-label: clamp(11px, 0.7292vw, 14px);     /* SUB 14/16 */

  --space-s: clamp(60px, 6.25vw, 120px);       /* 120 */
  --space-l: clamp(120px, 12.5vw, 240px);      /* 240 */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-fit);
  overflow-x: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, p {
  font-weight: 400;
}

/* Type helpers shared by labels, nav, legal, link rows */
.t-label {
  font-family: var(--font-classic);
  font-weight: 600;
  font-size: var(--fs-label);
  line-height: 1.143;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ---------- Header (416:2240) ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--ink);
}

.site-header__logo {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 16px;
}

.site-header__logo img {
  width: 35px;
  height: 40px;
}

.site-header__name {
  flex: 1;
  color: var(--bg);
  font-size: var(--fs-info);
  white-space: nowrap;
}

.site-header__nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: var(--gutter);
  padding: var(--gutter);
  font-family: var(--font-classic);
  font-weight: 600;
  font-size: var(--fs-nav);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--slate);            /* links grey — client: #75848D (was steel) */
  white-space: nowrap;
}

.site-header__nav a.is-active {
  color: var(--bg);
}

/* Burger (mobile only, see the 900px query) */
.site-header__burger {
  display: none;
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin: 0 8px 0 auto;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.site-header__burger span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: var(--bg);
  border-radius: 1px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s;
}

.site-header__burger span:nth-child(1) { top: 14px; }
.site-header__burger span:nth-child(2) { top: 21px; }
.site-header__burger span:nth-child(3) { top: 28px; }

.site-header.is-open .site-header__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .site-header__burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.site-header.is-open .site-header__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.menu-open {
  overflow: hidden;
}

/* ---------- Scroll layering ---------- */

.page-content {
  position: relative;
}

.page-content > *:where(:not(.hero)) {
  position: relative;
}

/* ---------- Shared 12-column grid ---------- */

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  background: var(--bg);
}

.theme-white {
  background: var(--white);
}

/* Figma image treatment: media blended onto the page bg, recolored blue-gray */
.tint-media {
  isolation: isolate;
  background: var(--bg);
}

.tint-media img,
.tint-media video {
  mix-blend-mode: darken;
}

.tint-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--slate);
  mix-blend-mode: color;
}

/* ---------- Hero (1175:304 · 1175:355 · 1175:536) ---------- */

.hero {
  position: sticky;
  top: 0;
  width: 100%;
  height: 56.25vw;            /* 1080 incl. the header band */
  background: var(--bg);
}

.hero--page {
  height: 45.8333vw;          /* 880 */
}

.hero--post {
  height: 41.6667vw;          /* 800 */
  background: var(--navy);
}

/* Profile pages (team member, founder): the first screen shows the photo
   AND the name + role, so the hero never pushes them below the fold. */
.hero--profile {
  /* Room below for the name + role only (their padding, sizes and gaps, + 32px
     breathing space), so they close the first viewport and the bio starts
     below the fold at every width. Mirrors .member-intro / __head. */
  --profile-block: calc(var(--profile-pad) + var(--fs-display) + 30px + var(--fs-lead) * 1.143 + 32px);
  height: min(45.8333vw, calc(100vh - var(--profile-block)));
  min-height: 360px;
}

/* Very wide windows (19:9 and wider — ultrawide monitors, short browser
   windows): only the NAME closes the first viewport; the role follows below. */
@media (min-aspect-ratio: 19/9) {
  .hero--profile {
    --profile-block: calc(var(--profile-pad) + var(--fs-display) + 24px);   /* < the 30px name→role gap, so the role starts below the fold */
  }
}

/* Laptops: tighter top of the profile intro (client: 30px above the name). */
@media (max-width: 1600px) {
  :root { --profile-pad: 30px; }
}

/* Profile photos are exported with the head at 10% from the top and the chest
   on the bottom edge (backdrop trimmed above, extended sideways to 3:1), so
   the hero anchors them to the TOP: the head keeps that 10% headroom at every
   width (laptops fit by width and crop a little chest instead). Any extra
   zoom grows downward from the top, so it can never cut the head — tune it
   per breakpoint with --profile-zoom (client: bigger on 1920+). */
.hero--profile .hero__media img {
  object-position: center 0;
  transform: scale(var(--profile-zoom, 1));
  transform-origin: 50% 0;
}

@media (min-width: 1920px) {
  .hero--profile { --profile-zoom: 1.06; }
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero--page .hero__media {
  top: var(--header-h);       /* media starts below the header on inner pages */
}

.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;    /* client request (was 30%) */
}

.hero__scroll {
  position: absolute;
  left: 0;
  right: 0;
  /* Above 1920px the hero (56.25vw) is taller than the viewport and, being
     sticky, its bottom edge never scrolls into view — so anchor the cue to
     the visible part: a gutter above the fold, not above the hero's edge. */
  bottom: calc(max(0px, 100% - 100vh) + var(--gutter));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--bg);
  font-family: var(--font-classic);
  font-weight: 600;
  font-size: var(--fs-label);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero__scroll img {
  width: 40px;
  height: 25px;
  margin: 8px 0;              /* the pill is rotated into a 25×40 box */
  transform: rotate(90deg);
}

/* ---------- Smooth scrolling (Lenis) ---------- */

html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* ---------- Editorial (1175:311 · 1175:318 · 1175:361 · 1175:425) ---------- */

.editorial {
  row-gap: var(--space-s);
  padding-top: var(--space-s);
  padding-bottom: var(--space-l);
}

.editorial--intro {
  padding-top: calc(var(--header-h) + var(--space-s));
}

.editorial__title {
  grid-column: 1 / -1;
  text-align: center;
  font-size: var(--fs-display);
  line-height: 1;
}

.editorial__text {
  grid-column: 4 / span 6;
  display: flex;
  flex-direction: column;
  gap: 60px;
  text-align: justify;
}

.editorial__lead {
  font-size: var(--fs-lead);
  line-height: 1.143;
}

.editorial__body {
  font-size: var(--fs-body);
  line-height: 1.25;
}

.editorial__body p + p,
.member-intro__text p + p,
.article__body p + p {
  margin-top: 1.25em;         /* one empty 30px line, as in the design */
}

/* ---------- Statement (1175:357) ---------- */

.statement {
  padding: var(--gutter) var(--gutter) var(--space-l);
  background: var(--bg);
}

.statement p {
  font-size: var(--fs-lead);
  line-height: 1.2;
  text-align: justify;
}

/* ---------- Full-bleed media (1175:316 · 1175:377 · 1270:212) ---------- */

.full-media {
  background: var(--bg);
}

.full-media--inset {
  padding: 4px;
}

.full-media__media {
  position: relative;
  aspect-ratio: var(--ratio, 1920 / 800);
  overflow: hidden;
}

.full-media__media img,
.full-media__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Media on the grid (1175:365 · 1175:371) ---------- */

.media-center {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap-tight);
  padding-bottom: var(--space-s);
  background: var(--bg);
}

.media-center__media {
  grid-column: 4 / span 6;
  aspect-ratio: var(--ratio, 1500 / 1300);
  overflow: hidden;
}

.media-center--wide .media-center__media {
  grid-column: 2 / span 10;
  aspect-ratio: var(--ratio, 1598 / 400);
}

.media-center__media img,
.media-center__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- "((( ... )))" banner (1175:322 · 1175:502) ---------- */

.banner {
  display: flex;
  align-items: center;
  height: 33.8542vw;          /* 650 */
  overflow: hidden;
  background: var(--cyan);
}

.banner--pink {
  background: var(--pink);
}

.banner__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner--pink img.banner__media,
.banner--pink video.banner__media {
  height: auto;
  aspect-ratio: 2400 / 450;
}

/* ---------- Canvas animation slots (public/js/anim.js) ---------- */

.anim {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.anim canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* The banner copy: real, selectable text centred over the canvas. Its
   measured box defines the ripple zone, so it may never be wider than the
   room the glyphs need on either side. */
.anim__text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 56%;
  text-align: center;
  font-size: clamp(20px, 2.9vw, 56px);
  line-height: 1.15;
  text-wrap: balance;
}

.media-center .anim__text {
  font-size: clamp(16px, 1.5625vw, 30px);
  max-width: 60%;
}

/* ---------- Team grid (1175:430) ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap-tight);
  align-items: start;
  padding: var(--gutter) var(--gutter) var(--space-l);
  background: var(--bg);
}

.team-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 795 / 1000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--gutter);
  color: var(--white);
}

.team-card:nth-child(odd) { grid-column: 3 / span 4; }
.team-card:nth-child(even) { grid-column: 7 / span 4; }

.team-card__photo {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(31, 0, 35, 0) 53%, rgba(31, 0, 35, 0.75) 100%);
}

.team-card__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--slate);
  mix-blend-mode: color;
}

.team-card__role {
  font-family: var(--font-classic);
  font-size: var(--fs-info);
  line-height: 1.111;
}

.team-card__name {
  font-size: var(--fs-lead);
  line-height: 1.143;
}

/* ---------- Team member intro (1175:1127) ---------- */

.member-intro {
  row-gap: 60px;                          /* role → text (client: 60) */
  padding-top: var(--profile-pad);        /* 60, 30 on laptops (client) — mirrored in .hero--profile's reservation */
  padding-bottom: 70px;                   /* + the links row's 20px top = 90 above the contact links (client: 90) */
}

.member-intro__head {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;                              /* name → role (client: 30) */
  text-align: center;
}

.member-intro__name {
  font-size: var(--fs-display);
  line-height: 1;
}

.member-intro__role {
  font-family: var(--font-classic);
  font-size: var(--fs-lead);
  line-height: 1.143;
}

.member-intro__text,
.article__body {
  grid-column: 4 / span 6;
  font-size: var(--fs-body);
  line-height: 1.25;
  text-align: justify;
}

/* ---------- Label + "↗ link" row (1184:1236 · 1175:545) ---------- */

.links-row {
  padding-top: var(--gutter);
  padding-bottom: var(--gutter);
}

.links-row__inner {
  grid-column: 4 / span 6;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gutter);
  font-family: var(--font-classic);
  font-weight: 600;
  font-size: var(--fs-info);
  text-transform: uppercase;
}

.links-row__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--slate);
}

.links-row__link span {
  font-weight: 400;
}

/* ---------- News look (shared by grid cards and "Recent News") ---------- */

.news-visual {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.news-visual img,
.news-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-shade .news-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  mix-blend-mode: multiply;
}

.news-visual--logo {
  inset: auto;
  left: 26%;
  top: 31.5%;
  width: 47.5%;
}

.news-visual--logo img {
  height: auto;
}

/* ---------- News grid (1175:649) ---------- */

.news-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap-tight);
  align-items: start;
  padding: calc(var(--header-h) + var(--space-s)) var(--gutter) var(--space-s);
  background: var(--bg);
}

.news-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 620 / 827;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--gutter);
}

.news-card:nth-child(odd) { grid-column: 3 / span 4; }
.news-card:nth-child(even) { grid-column: 7 / span 4; }

.news-card--square { aspect-ratio: 1; }
.news-card--half { aspect-ratio: 3 / 2; }

.news-card__date {
  font-family: var(--font-classic);
  font-size: var(--fs-date);
  line-height: normal;
  letter-spacing: 0.02em;
}

.news-card__title {
  max-width: 83.333%;
  font-size: var(--fs-lead);
  line-height: 1.143;
}

.load-more {
  display: flex;
  justify-content: center;
  padding-bottom: var(--space-s);
  background: var(--bg);
}

.load-more button {
  border: 1px solid var(--ink);
  border-radius: 90px;
  padding: 20px 60px;
  background: none;
  color: var(--ink);
  font-family: var(--font-classic);
  font-size: var(--fs-date);
  letter-spacing: 0.01em;
  cursor: pointer;
}

/* ---------- News article (1175:537) ---------- */

.article {
  row-gap: 80px;
  padding-top: 60px;
  padding-bottom: var(--space-l);
}

.article__head {
  grid-column: 4 / span 6;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.article__date {
  font-family: var(--font-classic);
  font-size: var(--fs-date);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.article__title {
  font-size: var(--fs-title);
  line-height: 1.1667;
}

/* ---------- Recent news (1175:946) ---------- */

.recent-news {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap-tight);
  row-gap: 40px;
  padding: var(--space-s) var(--gap-tight);
  background: var(--white);
}

.recent-news__title {
  grid-column: 4 / span 3;
  align-self: end;
  font-size: var(--fs-lead);
  line-height: 1.143;
}

.recent-news__all {
  grid-column: 7 / span 3;
  justify-self: end;
  align-self: end;
  color: var(--slate);
  font-family: var(--font-classic);
  font-weight: 600;
  font-size: var(--fs-label);
  line-height: 1.143;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.recent-news__list {
  grid-column: 4 / span 6;
  display: flex;
  gap: var(--gap-tight);
}

.recent-card {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.recent-card__media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 455 / 572.5;
  background: var(--bg);
}

.recent-card__date {
  font-family: var(--font-classic);
  font-size: var(--fs-label);
  line-height: 1.143;
  letter-spacing: 0.02em;
}

.recent-card__title {
  font-size: var(--fs-body);
  line-height: 1.25;
}

/* Per-item colours — declared after the card rules so they win. */
.news-bg-navy  { background: var(--navy); }
.news-bg-ink   { background: var(--ink); }
.news-bg-cyan  { background: var(--cyan); }
.news-bg-pink  { background: var(--pink); }
.news-bg-steel { background: var(--steel); }

.news-text-light { color: var(--bg); }
.news-text-steel { color: var(--steel); }
.news-text-pink  { color: var(--pink); }

/* ---------- Contact (1270:215) ---------- */

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  min-height: 52.5vw;         /* 1008 */
  padding: calc(var(--header-h) + var(--space-s)) var(--gutter) var(--space-s);
  text-align: center;
  background: var(--bg);
}

.contact-info__item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info__label {
  font-family: var(--font-classic);
  font-weight: 600;
  font-size: var(--fs-label);
  line-height: normal;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.contact-info__value {
  font-size: var(--fs-title);
  line-height: 1.1667;
}

/* ---------- Footer — legal bar (1175:324) ---------- */

.footer {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  column-gap: var(--gutter);
  min-height: 50px;
  padding: var(--gutter);
  background: var(--bg);
}

.footer__copyright,
.footer__legal {
  font-family: var(--font-classic);
  font-weight: 600;
  font-size: var(--fs-label);
  line-height: 1.143;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer__copyright {
  grid-column: 1 / span 6;
}

.footer__legal {
  grid-column: 7 / span 6;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px var(--gutter);
}

/* ---------- Mobile ---------- */

@media (max-width: 900px) {
  /* Header bar: logo + name + burger; the nav becomes a full-screen overlay
     whose items slide up with a stagger when it opens. */
  .site-header__logo,
  .site-header__name {
    position: relative;
    z-index: 2;
  }

  .site-header__name {
    flex: 0 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-header__burger {
    display: block;
  }

  .site-header__nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    gap: 0.35em;
    padding: var(--header-h) var(--gutter) var(--gutter);
    background: var(--ink);
    font-family: var(--font-fit);
    font-weight: 400;
    font-size: clamp(36px, 10vw, 64px);
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
    color: var(--slate);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
  }

  .site-header__nav a {
    opacity: 0;
    transform: translateY(0.6em);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .site-header.is-open .site-header__nav {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.35s ease, visibility 0s;
  }

  .site-header.is-open .site-header__nav a {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(120ms + var(--i, 0) * 70ms);
  }

  .site-header__nav a:nth-child(1) { --i: 0; }
  .site-header__nav a:nth-child(2) { --i: 1; }
  .site-header__nav a:nth-child(3) { --i: 2; }
  .site-header__nav a:nth-child(4) { --i: 3; }
  .site-header__nav a:nth-child(5) { --i: 4; }
  .site-header__nav a:nth-child(6) { --i: 5; }
  .site-header__nav a:nth-child(7) { --i: 6; }
  .site-header__nav a:nth-child(8) { --i: 7; }

  @media (prefers-reduced-motion: reduce) {
    .site-header__nav,
    .site-header__nav a,
    .site-header__burger span {
      transition: none;
    }
  }

  .hero,
  .hero--page,
  .hero--post {
    height: 70vh;
  }

  .hero--profile {
    /* Name + role close the first viewport here too; half a name line extra
       keeps the role above the fold when a long name wraps to two lines. */
    height: calc(100vh - var(--profile-block) - 0.5 * var(--fs-display));
  }

  .editorial__text,
  .member-intro__text,
  .article__head,
  .article__body,
  .links-row__inner,
  .recent-news__title,
  .recent-news__list {
    grid-column: 1 / -1;
  }

  .recent-news__all {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .recent-news__list {
    flex-direction: column;
    gap: 40px;
  }

  .media-center__media,
  .media-center--wide .media-center__media {
    grid-column: 1 / -1;
  }

  .team-card:nth-child(odd),
  .team-card:nth-child(even),
  .news-card:nth-child(odd),
  .news-card:nth-child(even) {
    grid-column: 1 / -1;
  }

  .banner {
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .anim__text {
    max-width: 64%;
  }

  .contact-info {
    min-height: 0;
  }

  .footer {
    row-gap: 10px;
  }

  .footer__copyright,
  .footer__legal {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}
