/* =========================================================
   SYUUMBA — site styles
   Palette taken from the Institutional Profile
   ========================================================= */
:root {
  --black: #0d0d0f;
  --ink: #141417;
  --surface: #1d1d22;
  --surface-2: #26262c;
  --line: rgba(255,255,255,.1);
  --gold: #dba319;
  --gold-hi: #f0b92c;
  --white: #f5f5f3;
  --muted: #a6a6ad;
  --display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 80px);
  --max: 1360px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

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

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.h-xl, .h-lg, .h-md, .h-sm { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; line-height: 1.04; }
.h-xl { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
.h-lg { font-size: clamp(2.1rem, 4.4vw, 3.8rem); }
.h-md { font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.12; }
.h-sm { font-size: 1.3rem; line-height: 1.25; letter-spacing: -.01em; }
.gold { color: var(--gold); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; color: #d8d8d6; }
.muted { color: var(--muted); }
strong { color: var(--white); font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 26px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-hi); }
.btn--line { border-color: rgba(255,255,255,.35); color: var(--white); background: transparent; }
.btn--line:hover { border-color: var(--gold); color: var(--gold); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--white);
}
.link-arrow svg { width: 16px; height: 16px; color: var(--gold); transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled, .site-header.solid { background: rgba(13,13,15,.92); backdrop-filter: blur(12px); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 38px; height: auto; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: .22em; }

.nav__menu { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav__menu > li { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; font-size: .95rem; font-weight: 500; color: #e2e2e0;
  padding: 30px 0; background: none; border: 0; cursor: pointer;
  transition: color .2s;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--gold); }
.nav__link svg { width: 12px; height: 12px; transition: transform .25s; }
.has-mega:hover .nav__link svg, .has-mega:focus-within .nav__link svg { transform: rotate(180deg); }

/* mega menu */
.mega {
  position: fixed; left: 0; right: 0; top: 84px;
  background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: grid; grid-template-columns: 1fr 1fr 420px; gap: 8px 48px; padding-top: 40px; padding-bottom: 40px; }
.mega__item { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.mega__item b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.1rem; margin-bottom: 4px; }
.mega__item small { color: var(--muted); font-size: .88rem; line-height: 1.45; display: block; }
.mega__item svg { flex: none; width: 18px; height: 18px; color: var(--gold); margin-top: 4px; transition: transform .25s; }
.mega__item:hover b { color: var(--gold); }
.mega__item:hover svg { transform: translateX(4px); }
.mega__img { grid-column: 3; grid-row: 1 / span 3; position: relative; overflow: hidden; }
.mega__img img { width: 100%; height: 100%; object-fit: cover; }
.mega__img span { position: absolute; left: 20px; bottom: 18px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

.nav__cta { margin-left: 8px; padding: 12px 20px; }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--white); transition: transform .3s, opacity .3s; }
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 27px; }
.menu-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   HOME HERO
   ========================================================= */
.hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; display: flex; align-items: flex-end; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.4s ease, transform 8s linear;
}
.hero__slide.active { opacity: 1; transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,13,15,.55) 0%, rgba(13,13,15,.05) 30%, rgba(13,13,15,.35) 60%, rgba(13,13,15,.95) 100%),
    linear-gradient(90deg, rgba(13,13,15,.6) 0%, transparent 60%);
}
.hero__content { position: relative; z-index: 2; padding-bottom: clamp(48px, 9vh, 96px); width: 100%; }
.hero__title { max-width: 17ch; }
.hero__sub { margin-top: 24px; max-width: 560px; }
.hero__bar { margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18); }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; font-size: .85rem; color: #d0d0ce; text-decoration: none; }
.scroll-cue i { width: 1px; height: 36px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: cue 2s infinite var(--ease); }
@keyframes cue { to { top: 100%; } }
.hero__controls { display: flex; align-items: center; gap: 18px; }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { width: 34px; height: 3px; border: 0; background: rgba(255,255,255,.25); cursor: pointer; position: relative; overflow: hidden; }
.hero__dots button.active::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: left; animation: fill 6s linear forwards; }
.hero.paused .hero__dots button.active::after { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; color: var(--white); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, color .2s; }
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.icon-btn svg { width: 16px; height: 16px; }

/* =========================================================
   INNER PAGE HERO
   ========================================================= */
.page-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); animation: settle 2.4s var(--ease) forwards; }
@keyframes settle { to { transform: scale(1); } }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,15,.6) 0%, rgba(13,13,15,.2) 40%, rgba(13,13,15,.96) 100%); }
.page-hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(48px, 8vh, 88px); }
.page-hero .h-xl { margin-top: 20px; max-width: 16ch; }
.page-hero .lead { margin-top: 24px; max-width: 620px; }
.crumbs { font-size: .85rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section--tight { padding: clamp(64px, 8vw, 104px) 0; }
.section--ink { background: var(--ink); }
.section--gold { background: var(--gold); color: var(--black); }
.section--gold .eyebrow { color: var(--black); }
.section--gold .eyebrow::before { background: var(--black); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .h-lg { margin-top: 18px; max-width: 18ch; }
.section-head p { max-width: 460px; color: var(--muted); }

/* intro + stats */
.intro { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.intro__text .h-md { margin-top: 20px; font-weight: 500; }
.intro__text .h-md strong { font-weight: 600; color: var(--gold); }
.intro__text p { margin-top: 28px; color: var(--muted); max-width: 640px; }
.stats { display: grid; gap: 0; border-top: 1px solid var(--line); }
.stat { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.stat b { font-family: var(--display); font-weight: 600; font-size: clamp(3.4rem, 6vw, 5rem); line-height: 1; color: var(--gold); letter-spacing: -.04em; }
.stat span { color: #d6d6d4; font-size: 1rem; line-height: 1.45; }

/* tabs */
.tabs { display: grid; grid-template-columns: 380px 1fr; gap: clamp(32px, 5vw, 72px); }
.tabs__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.tab-btn {
  text-align: left; padding: 26px 0; background: none; border: 0; border-bottom: 1px solid var(--line);
  color: var(--muted); cursor: pointer; display: flex; gap: 18px; align-items: flex-start; position: relative;
  transition: color .25s;
}
.tab-btn::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--gold); transition: width .5s var(--ease); }
.tab-btn[aria-selected="true"] { color: var(--white); }
.tab-btn[aria-selected="true"]::after { width: 100%; }
.tab-btn svg { width: 36px; height: 36px; flex: none; color: var(--gold); opacity: .5; transition: opacity .25s; }
.tab-btn[aria-selected="true"] svg { opacity: 1; }
.tab-btn b { display: block; font-family: var(--display); font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; }
.tab-btn small { display: block; font-size: .9rem; margin-top: 4px; }
.tab-panel { display: none; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: stretch; }
.tab-panel.active { display: grid; animation: fadeUp .6s var(--ease); }
.tab-panel__img { overflow: hidden; min-height: 420px; }
.tab-panel__img img { width: 100%; height: 100%; object-fit: cover; }
.tab-panel__body { display: flex; flex-direction: column; justify-content: center; }
.tab-panel__body p { color: var(--muted); margin-top: 18px; }
.checks { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; }
.checks li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 9px; background: var(--gold); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* sector carousel */
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  padding-right: var(--gutter); scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.sector-card {
  flex: 0 0 clamp(290px, 30vw, 430px); scroll-snap-align: start;
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; text-decoration: none; background: var(--surface);
}
.sector-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.sector-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(13,13,15,.92) 100%); }
.sector-card:hover img { transform: scale(1.06); }
.sector-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 28px; }
.sector-card__num { position: absolute; top: 24px; left: 28px; z-index: 2; font-family: var(--display); font-weight: 600; color: var(--gold); font-size: .95rem; letter-spacing: .1em; }
.sector-card h3 { font-family: var(--display); font-size: 1.65rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.sector-card p { color: #cfcfcd; font-size: .95rem; margin: 10px 0 18px; }
.carousel__nav { display: flex; gap: 10px; }

/* numbered grid (why) */
.num-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.num-item { padding: 40px 32px 40px 0; border-right: 1px solid var(--line); }
.num-item + .num-item { padding-left: 32px; }
.num-item:last-child { border-right: 0; }
.num-item b { display: block; font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--gold); letter-spacing: .08em; }
.num-item h3 { font-family: var(--display); font-weight: 600; font-size: 1.4rem; line-height: 1.2; letter-spacing: -.01em; margin: 56px 0 14px; }
.num-item p { color: var(--muted); font-size: .97rem; }

/* participation list */
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 90px 1fr 1.2fr 180px; gap: 32px; align-items: center;
  padding: 28px 0; border-bottom: 1px solid var(--line); transition: background .3s;
}
.row:hover { background: rgba(255,255,255,.025); }
.row__n { font-family: var(--display); font-weight: 600; color: var(--gold); font-size: 1.1rem; }
.row h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 2vw, 1.75rem); letter-spacing: -.015em; }
.row p { color: var(--muted); }
.row img { width: 180px; height: 110px; object-fit: cover; filter: grayscale(.4); transition: filter .4s; }
.row:hover img { filter: none; }

/* split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media > img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.split__inset { position: absolute; width: 46%; right: -24px; bottom: -40px; border: 6px solid var(--black); }
.section--ink .split__inset { border-color: var(--ink); }
.split__inset img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__body .h-lg { margin: 18px 0 24px; }
.split__body > p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chip { padding: 10px 16px; border: 1px solid rgba(219,163,25,.45); color: var(--gold); font-size: .88rem; font-weight: 500; }

/* step cards */
.steps { display: grid; gap: 16px; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.step { background: var(--surface); padding: 36px 30px 40px; min-height: 340px; display: flex; flex-direction: column; transition: background .35s, color .35s, transform .35s var(--ease); }
.step b { font-family: var(--display); font-weight: 600; font-size: 3.6rem; line-height: 1; color: var(--gold); letter-spacing: -.04em; }
.step h3 { font-family: var(--display); font-weight: 600; font-size: 1.35rem; line-height: 1.2; margin-top: auto; padding-top: 48px; }
.step p { color: var(--muted); margin-top: 12px; font-size: .97rem; }
.step:hover { background: var(--gold); color: var(--black); transform: translateY(-6px); }
.step:hover b, .step:hover p { color: var(--black); }

/* sector detail blocks (sectors page) */
.sector-block { padding: clamp(64px, 8vw, 110px) 0; border-top: 1px solid var(--line); }
.sector-block:first-of-type { border-top: 0; }
.sector-block .split__body .h-lg { margin-top: 14px; }
.sector-index { font-family: var(--display); font-weight: 600; font-size: clamp(5rem, 10vw, 9rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(219,163,25,.6); }
.kv { margin-top: 32px; border-top: 1px solid var(--line); }
.kv div { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.kv dt { color: var(--gold); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
.kv dd { color: #d6d6d4; }

/* statement band */
.statement { font-family: var(--display); font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 3rem); line-height: 1.2; letter-spacing: -.02em; max-width: 26ch; }
.statement em { font-style: normal; color: var(--gold); }
.section--gold .statement em { color: var(--white); }

/* CTA */
.cta { position: relative; overflow: hidden; }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.cta__img { position: relative; }
.cta__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta__body { background: var(--gold); color: var(--black); padding: clamp(48px, 7vw, 110px); display: flex; flex-direction: column; justify-content: center; }
.cta__body .eyebrow { color: var(--black); }
.cta__body .eyebrow::before { background: var(--black); }
.cta__body .h-lg { margin: 20px 0 22px; }
.cta__body p { max-width: 480px; font-size: 1.08rem; }
.cta__body .btn { margin-top: 36px; align-self: flex-start; background: var(--black); color: var(--white); }
.cta__body .btn:hover { background: #26262c; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 7vw, 120px); }
.contact-info dl { margin-top: 40px; border-top: 1px solid var(--line); }
.contact-info dl div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-info dt { color: var(--gold); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.contact-info dd { font-size: 1.1rem; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  background: var(--surface); border: 1px solid transparent; border-bottom-color: rgba(255,255,255,.2);
  color: var(--white); font: inherit; font-size: 1rem; padding: 15px 16px; outline: none; transition: border-color .2s;
  border-radius: 0; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23dba319' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-group label { cursor: pointer; }
.radio-group input { position: absolute; opacity: 0; pointer-events: none; }
.radio-group span { display: inline-block; padding: 10px 16px; border: 1px solid rgba(255,255,255,.22); font-size: .9rem; color: #d6d6d4; transition: all .2s; }
.radio-group input:checked + span { border-color: var(--gold); background: var(--gold); color: var(--black); font-weight: 600; }
.radio-group input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form__note { grid-column: 1 / -1; font-size: .85rem; color: var(--muted); }
.form__ok { grid-column: 1 / -1; display: none; padding: 18px 20px; border-left: 3px solid var(--gold); background: var(--surface); }
.form.sent .form__ok { display: block; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--ink); border-top: 1px solid var(--line); padding-top: clamp(64px, 8vw, 100px); }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; padding-bottom: 64px; }
.footer__brand p { color: var(--muted); margin-top: 20px; max-width: 340px; font-size: .95rem; }
.footer__col h4 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 20px; }
.footer__col ul { list-style: none; display: grid; gap: 12px; }
.footer__col a { text-decoration: none; color: #d0d0ce; font-size: .95rem; transition: color .2s; }
.footer__col a:hover { color: var(--gold); }
.footer__word { font-family: var(--display); font-weight: 700; font-size: clamp(4rem, 17vw, 16rem); letter-spacing: -.04em; line-height: .78; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.1); text-align: center; user-select: none; overflow: hidden; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .tabs { grid-template-columns: 1fr; }
  .num-grid { grid-template-columns: 1fr 1fr; }
  .num-item:nth-child(2) { border-right: 0; }
  .num-item:nth-child(3) { padding-left: 0; }
  .num-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps--4 { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 60px 1fr 1.2fr; }
  .row img { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .mega__inner { grid-template-columns: 1fr 1fr; }
  .mega__img { display: none; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav__toggle { display: block; }
  .nav__cta--desk { display: none; }
  .nav__menu {
    position: fixed; top: 84px; left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--black); padding: 12px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all .3s var(--ease);
  }
  .menu-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
  .menu-open .site-header { background: var(--black); }
  .nav__menu > li { border-bottom: 1px solid var(--line); }
  .nav__link { padding: 20px 0; font-size: 1.4rem; font-family: var(--display); width: 100%; justify-content: space-between; }
  .has-mega .nav__link svg { display: none; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; }
  .mega__inner { grid-template-columns: 1fr; padding: 0 0 12px; gap: 0; }
  .mega__item { padding: 12px 0 12px 16px; border: 0; }
  .mega__item small { display: none; }
  .mega__item b { font-size: 1rem; font-weight: 500; color: #cfcfcd; }
  .nav__menu .nav__cta { margin: 28px 0 0; justify-content: center; }
  .intro, .split, .contact-grid, .cta__grid { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split__inset { right: 12px; bottom: -28px; width: 44%; }
  .tab-panel { grid-template-columns: 1fr; }
  .tab-panel__img { min-height: 260px; }
  .steps--3 { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .cta__img { min-height: 320px; }
  .stat { grid-template-columns: 110px 1fr; }
}
@media (max-width: 640px) {
  .num-grid, .steps--4 { grid-template-columns: 1fr; }
  .num-item, .num-item + .num-item { padding: 32px 0; border-right: 0; }
  .num-item + .num-item { border-top: 1px solid var(--line); }
  .num-item h3 { margin-top: 24px; }
  .row { grid-template-columns: 1fr; gap: 8px; }
  .kv div { grid-template-columns: 1fr; gap: 4px; }
  .form { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .hero__bar { flex-direction: column; align-items: flex-start; }
  .hero__title br { display: none; }
}

/* stronger hero overlay on small screens for legibility */
@media (max-width: 900px) {
  .hero::after { background: linear-gradient(180deg, rgba(13,13,15,.55) 0%, rgba(13,13,15,.55) 35%, rgba(13,13,15,.85) 65%, rgba(13,13,15,.97) 100%); }
  .page-hero::after { background: linear-gradient(180deg, rgba(13,13,15,.6) 0%, rgba(13,13,15,.5) 40%, rgba(13,13,15,.96) 100%); }
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(56px, 7vw, 96px); }
.quote { background: var(--surface); padding: 40px 34px 34px; display: flex; flex-direction: column; border-top: 2px solid var(--gold); }
.quote__mark svg { width: 34px; height: 26px; color: var(--gold); }
.quote blockquote { margin-top: 24px; font-size: 1.05rem; line-height: 1.65; color: #e4e4e2; flex: 1; }
.quote figcaption { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.quote figcaption b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.quote figcaption span { font-size: .88rem; color: var(--gold); }

/* =========================================================
   SERVICES — operating model index + capital stages
   ========================================================= */
.model-link {
  display: grid; grid-template-columns: 90px 1fr 1.2fr 24px; gap: 32px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .3s, padding .3s;
}
.model-link h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 2vw, 1.75rem); letter-spacing: -.015em; transition: color .25s; }
.model-link p { color: var(--muted); }
.model-link svg { width: 22px; height: 22px; color: var(--gold); transform: rotate(90deg); transition: transform .3s var(--ease); }
.model-link:hover { background: rgba(255,255,255,.025); }
.model-link:hover h3 { color: var(--gold); }
.model-link:hover svg { transform: rotate(90deg) translateX(4px); }
.model-body > p + p { margin-top: 16px; }
.stages { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; border: 1px solid var(--line); }
.stages > div { padding: 30px; }
.stages > div + div { border-left: 1px solid var(--line); }
.stages span { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.stages b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.25rem; margin: 10px 0 6px; }
.stages p { color: var(--muted); font-size: .95rem; }

@media (max-width: 1100px) {
  .quotes { grid-template-columns: 1fr; }
  .model-link { grid-template-columns: 60px 1fr 1.2fr 24px; }
}
@media (max-width: 900px) {
  .stages { grid-template-columns: 1fr; }
  .stages > div + div { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .model-link { grid-template-columns: 1fr 24px; gap: 8px 16px; }
  .model-link .row__n, .model-link h3, .model-link p { grid-column: 1; }
  .model-link svg { grid-column: 2; grid-row: 1 / span 3; }
}

/* About hero — crest artwork; portrait version on phones keeps the crest clear of the text */
.page-hero--crest { background: #191817; }
@media (max-width: 900px) {
  .page-hero--crest { min-height: 100svh; }
  .page-hero--crest .page-hero__bg { background-image: url('../assets/about-hero-crest-mobile.jpg') !important; background-size: 100% auto; background-position: center top !important; background-repeat: no-repeat; }
  .page-hero--crest::after { background: linear-gradient(180deg, rgba(13,13,15,.35) 0%, rgba(13,13,15,0) 30%, rgba(13,13,15,.7) 55%, rgba(13,13,15,.97) 75%); }
}

/* stats: number sits close to its label */
.stat { grid-template-columns: auto 1fr; gap: 22px; }
.stat b { min-width: 1.1ch; }

/* step boxes: number, title and paragraph line up across every box */
.step { display: grid; grid-template-rows: auto minmax(2.5em, auto) 1fr; align-content: start; min-height: 0; }
.step h3 { margin-top: 40px; padding-top: 0; }
.step h3 { min-height: 2.5em; }
.steps--3 .step h3 { min-height: 0; }

/* keep people's heads in frame on portrait photos */
img[src*="governance-trench"] { object-position: center 8%; }
img[src*="exploration-sampling-kneeling"] { object-position: center 40%; }
img[src*="exploration-sample"] { object-position: center 70%; }

/* form error */
.form__err { grid-column: 1 / -1; display: none; padding: 18px 20px; border-left: 3px solid #e0664a; background: var(--surface); }
.form__err a { color: var(--gold); }
.form.failed .form__err { display: block; }
.form button[disabled] { opacity: .6; cursor: wait; }
img[src*="agriculture-farmer-goats"] { object-position: 30% center; }
img[src*="energy-power-lines"] { object-position: 70% center; }
img[src*="agriculture-coffee"] { object-position: 55% center; }
