/* =========================================================
   7Mind7 — 2026 redesign
   Brand: navy #071B43 · gold #C99A4B · slate #778591 (CBSR brief, Nov 2026)
   ========================================================= */
:root {
  --orange: #c99a4b;
  --gold-ink: #8c6a2c;
  --orange-2: #e0b567;
  --orange-soft: #f7efe1;
  --navy: #13295a;
  --navy-900: #071b43;
  --navy-950: #04112c;
  --ink: #16243a;
  --muted: #5b6b82;
  --line: #e6e9ef;
  --paper: #fbfaf7;
  --tint: #f4f1ec;
  --white: #fff;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(7,27,67,.05), 0 12px 32px -12px rgba(7,27,67,.18);
  --shadow-lg: 0 30px 60px -20px rgba(7,27,67,.35);
  --ease: cubic-bezier(.2,.7,.1,1);
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 11vw, 150px); position: relative; }
.section--tint { background: var(--tint); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--orange-2); }
.h2 {
  font-family: var(--serif); font-weight: 500; letter-spacing: -.02em;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); color: var(--navy-900); margin-bottom: 1.2rem;
  font-variation-settings: "opsz" 120;
}
.h2 em { font-style: italic; color: var(--gold-ink); }
.h2--light em { color: var(--orange-2); }
.h2--light { color: #fff; }
.u { background: linear-gradient(transparent 62%, rgba(201,154,75,.28) 62%); padding: 0 .1em; }
.section__head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow::before { display: none; }
.section__sub { color: var(--muted); font-size: 1.1rem; }

.shine {
  font-style: italic;
  background: linear-gradient(100deg, var(--orange) 0%, #ecd3a0 30%, var(--orange) 55%, #b8873a 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: -220% 0; } }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--navy-900);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1rem 1.6rem; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 1rem/1 var(--sans); text-decoration: none; color: var(--fg); background: var(--bg);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s;
  isolation: isolate; overflow: hidden; will-change: transform;
}
.btn--primary { --bg: var(--orange); --fg: var(--navy-900); box-shadow: 0 10px 30px -10px rgba(201,154,75,.7); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--primary:hover::before { transform: translateX(120%); }
.btn--primary:hover { box-shadow: 0 16px 40px -12px rgba(201,154,75,.85); }
.btn--ghost { --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn--ghost:hover { --bg: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1.5px #fff; }
.btn--sm { padding: .7rem 1.2rem; font-size: .92rem; }
.btn--block { width: 100%; }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Progress + cursor glow ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--orange), var(--orange-2)); transform-origin: 0 50%; transform: scaleX(0); }
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%; pointer-events: none; z-index: 1; opacity: 0;
  background: radial-gradient(circle, rgba(201,154,75,.13), transparent 62%);
  transition: opacity .5s; mix-blend-mode: multiply;
}
.has-pointer .cursor-glow { opacity: 1; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, box-shadow .4s, transform .5s var(--ease); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand { position: relative; display: block; height: 46px; width: 57px; flex: none; }
.nav__brand .logo { position: absolute; inset: 0; height: 100%; width: auto; transition: opacity .4s; }
.logo--dark { opacity: 0; }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav__links a:not(.btn) { color: #fff; text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; padding: 6px 0; transition: color .3s; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:not(.btn):hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav.is-scrolled { background: rgba(251,250,247,.82); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 rgba(7,27,67,.07); }
.nav.is-scrolled .logo--dark { opacity: 1; }
.nav.is-scrolled .logo--light { opacity: 0; }
.nav.is-scrolled .nav__links a:not(.btn) { color: var(--navy-900); }
.nav.is-hidden { transform: translateY(-100%); }

.nav__toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease), background .3s; }
.nav__toggle span:first-child { top: 18px; } .nav__toggle span:last-child { top: 26px; }
.nav.is-scrolled .nav__toggle { background: var(--tint); }
.nav.is-scrolled .nav__toggle span { background: var(--navy-900); }
.nav.is-open .nav__toggle span:first-child { top: 22px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: -1; background: var(--navy-950);
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: var(--gutter);
  clip-path: circle(0 at calc(100% - 40px) 38px); transition: clip-path .7s var(--ease);
}
.mobile-menu:not([hidden]) { display: flex; }
.nav.is-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 38px); }
.nav.is-open .nav__toggle { background: rgba(255,255,255,.14); }
.nav.is-open .nav__toggle span { background: #fff; }
.nav.is-open .logo--light { opacity: 1; } .nav.is-open .logo--dark { opacity: 0; }
.mobile-menu a { font-family: var(--serif); font-size: clamp(2rem, 9vw, 3rem); color: #fff; text-decoration: none; padding: 6px 0; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s var(--ease), color .3s; }
.mobile-menu a:hover { color: var(--orange-2); }
.nav.is-open .mobile-menu a { opacity: 1; transform: none; }
.nav.is-open .mobile-menu a:nth-child(2) { transition-delay: .05s; }
.nav.is-open .mobile-menu a:nth-child(3) { transition-delay: .1s; }
.nav.is-open .mobile-menu a:nth-child(4) { transition-delay: .15s; }
.nav.is-open .mobile-menu a:nth-child(5) { transition-delay: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy-950);
  padding-block: calc(var(--nav-h) + 40px) 100px;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.12); animation: kenburns 22s var(--ease) forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero__veil { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(4,17,44,.92) 0%, rgba(4,17,44,.7) 40%, rgba(4,17,44,.15) 75%),
  linear-gradient(0deg, rgba(4,17,44,.85) 0%, transparent 40%); }
.hero__orbs i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: float 14s ease-in-out infinite alternate; }
.hero__orbs i:nth-child(1) { width: 420px; height: 420px; background: rgba(201,154,75,.45); right: 8%; top: 18%; }
.hero__orbs i:nth-child(2) { width: 300px; height: 300px; background: rgba(255,190,90,.35); right: 28%; bottom: -8%; animation-duration: 18s; }
.hero__orbs i:nth-child(3) { width: 260px; height: 260px; background: rgba(40,90,170,.5); left: -6%; top: 10%; animation-duration: 20s; }
@keyframes float { to { transform: translate3d(40px, -30px, 0) scale(1.1); } }
.hero__content { position: relative; z-index: 2; }
.hero__title {
  font-family: var(--serif); font-weight: 500; letter-spacing: -.03em; line-height: 1.02;
  font-size: clamp(2.7rem, 1.2rem + 6.6vw, 6.4rem); margin-bottom: 1.6rem; font-variation-settings: "opsz" 144;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.hero__lead { max-width: 560px; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: rgba(255,255,255,.82); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }
.hero__scroll { position: absolute; left: 50%; bottom: 30px; z-index: 2; width: 28px; height: 46px; margin-left: -14px; border-radius: 20px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero .reveal { transition-delay: var(--d, .35s); }

/* ---------- Welcome ---------- */
.welcome__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.welcome__text p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: #fff; border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.stat strong { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); color: var(--gold-ink); line-height: 1; margin-bottom: .5rem; letter-spacing: -.02em; white-space: nowrap; }
.stat span:not(.count) { font-size: .92rem; color: var(--muted); line-height: 1.4; display: block; }
.stat--langs strong { font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.1rem); }
.footer address strong { color: #fff; font-weight: 600; }
.footer__addr2 { display: inline-block; margin-top: .6em; }
.stat:nth-child(even) { transform: translateY(28px); }
.js .stat.reveal:nth-child(even) { transform: translateY(56px); }
.js .stat.reveal.is-in:nth-child(even) { transform: translateY(28px); }
.stat:nth-child(even):hover { transform: translateY(20px); }

/* ---------- Services cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; padding: 34px 30px 30px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; outline: none;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
  transform-style: preserve-3d;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(201,154,75,.12), transparent 45%);
}
.card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--orange), var(--orange-2)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.card:hover, .card:focus-visible { box-shadow: var(--shadow-lg); border-color: rgba(201,154,75,.35); }
.card:hover::before, .card:focus-visible::before { opacity: 1; }
.card:hover::after, .card:focus-visible::after { transform: scaleX(1); }
.card__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--orange-soft); margin-bottom: 26px; transition: background .4s, transform .6s var(--ease); }
.card__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--orange); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.card:hover .card__icon { background: var(--orange); transform: rotate(-6deg) scale(1.05); }
.card:hover .card__icon svg { stroke: #fff; }
.card__num { position: absolute; top: 26px; right: 28px; font-family: var(--serif); font-size: 2.6rem; color: var(--line); line-height: 1; font-weight: 600; transition: color .4s; }
.card:hover .card__num { color: rgba(201,154,75,.25); }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; color: var(--navy-900); margin-bottom: .7rem; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: .98rem; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 1.2rem; }
.card__tags li { font-size: .76rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--tint); color: var(--navy); }

/* ---------- Approach ---------- */
.approach__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 8vw, 110px); align-items: center; }
.approach__art { margin: 0; position: relative; max-width: 460px; }
.approach__frame { border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3 / 4.2; background: #d9d3c6; }
.approach__frame img { width: 100%; height: 115%; object-fit: cover; object-position: center 20%; }
.approach__badge { position: absolute; right: -18px; bottom: 40px; background: var(--navy-900); color: #fff; padding: 20px 24px; border-radius: 18px; font-size: .9rem; line-height: 1.3; box-shadow: var(--shadow-lg); animation: bob 5s ease-in-out infinite; }
.approach__badge strong { display: block; font-family: var(--serif); font-size: 2.2rem; color: var(--orange-2); line-height: 1; margin-bottom: 4px; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.approach__text > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.steps { margin-top: 2rem; position: relative; }
.steps::before { content: ""; position: absolute; left: 21px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--orange), rgba(201,154,75,.1)); }
.step { display: flex; gap: 20px; padding: 14px 0; position: relative; }
.step__dot { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--gold-ink); font-weight: 700; box-shadow: 0 0 0 2px var(--orange), 0 0 0 8px var(--paper); transition: background .4s, color .4s; z-index: 1; }
.step:hover .step__dot { background: var(--orange); color: var(--navy-900); }
.step h3 { font-size: 1.1rem; color: var(--navy-900); margin: 8px 0 4px; }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }

/* ---------- Mantra ---------- */
.mantra { position: relative; background: var(--navy-950); color: #fff; padding-block: clamp(100px, 14vw, 190px); overflow: hidden; text-align: center; }
.mantra .eyebrow::before { display: none; }
.mantra__glow { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; margin: -450px 0 0 -450px; background: radial-gradient(circle, rgba(201,154,75,.25), transparent 60%); animation: pulse 8s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.15); opacity: .7; } }
.mantra__quote { position: relative; margin: 0 auto; max-width: 980px; font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(2rem, 1rem + 4.4vw, 4.4rem); line-height: 1.12; letter-spacing: -.02em; }
.mantra__quote::before { content: "“"; display: block; font-size: 2.2em; line-height: .6; color: var(--orange); font-style: normal; margin-bottom: .1em; }
.mantra__quote .w { opacity: .16; transition: opacity .35s, color .35s; }
.mantra__quote .w.on { opacity: 1; }
.mantra__quote .w.hl.on { color: var(--orange-2); }

/* ---------- Clients marquee ---------- */
.clients { overflow: hidden; }
.marquee { position: relative; overflow: hidden; padding-block: 10px 30px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: clamp(40px, 6vw, 90px); padding-right: clamp(40px, 6vw, 90px); }
.marquee__group li { flex: none; height: 64px; display: flex; align-items: center; }
.marquee__group img { height: 48px; width: auto; max-width: 200px; object-fit: contain; filter: grayscale(1) contrast(.9); opacity: .6; transition: filter .4s, opacity .4s, transform .4s var(--ease); }
.marquee__group img:hover { filter: none; opacity: 1; transform: scale(1.08); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Testimonials ---------- */
.testimonials { margin-top: clamp(60px, 8vw, 100px); max-width: 860px; margin-inline: auto; text-align: center; }
.testimonials__title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--navy-900); margin-bottom: 2rem; }
.tslider__viewport { display: grid; }
.tcard { grid-area: 1 / 1; margin: 0; background: #fff; border-radius: var(--radius); padding: clamp(32px, 5vw, 56px); box-shadow: var(--shadow); border: 1px solid var(--line); opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events: none; display: flex; flex-direction: column; justify-content: center; }
.tcard.is-active { opacity: 1; transform: none; pointer-events: auto; }
.tcard blockquote { margin: 0 0 1.6rem; font-family: var(--serif); font-size: clamp(1.2rem, 1rem + .9vw, 1.65rem); line-height: 1.4; color: var(--navy-900); }
.tcard figcaption { display: inline-flex; gap: 14px; align-items: center; justify-content: center; text-align: left; }
.tcard figcaption strong { display: block; color: var(--navy-900); }
.tcard figcaption small { color: var(--muted); font-size: .88rem; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--navy-900); background: linear-gradient(135deg, var(--orange), var(--orange-2)); }
.tslider__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.tslider__btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--navy-900); font-size: 1.1rem; cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .3s; }
.tslider__btn:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.tslider__dots { display: flex; gap: 8px; }
.tslider__dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: width .4s var(--ease), background .3s; }
.tslider__dots button[aria-selected="true"] { width: 30px; background: var(--orange); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__lead { font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); line-height: 1.45; color: var(--navy-900); }
.about__grid > div > p:last-child { color: var(--muted); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value { background: #fff; border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value > span { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-900); color: var(--orange-2); font-size: 1.3rem; }
.value h3 { font-size: 1.08rem; color: var(--navy-900); margin-bottom: 4px; }
.value p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.5; }

/* ---------- Contact ---------- */
.contact { position: relative; background: var(--navy-950); color: rgba(255,255,255,.8); padding-block: clamp(90px, 11vw, 150px); overflow: hidden; }
.contact__bg { position: absolute; inset: 0; background:
  radial-gradient(600px 400px at 85% 10%, rgba(201,154,75,.28), transparent 60%),
  radial-gradient(500px 500px at 0% 100%, rgba(40,90,170,.35), transparent 60%); }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact__info { margin-top: 2rem; display: grid; gap: 16px; }
.contact__info li { display: flex; gap: 14px; align-items: flex-start; }
.contact__info li > span { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--orange-2); font-size: 1.1rem; }
.contact__info svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact__info a {color: #fff; text-decoration: none; padding-top: 9px; line-height: 1.45; overflow-wrap: anywhere; }
.contact__info a:hover { color: var(--orange-2); }

.form { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 28px; padding: clamp(24px, 4vw, 44px); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; display: block; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: #fff; background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.16); border-radius: 14px; padding: 26px 16px 10px; outline: none;
  transition: border-color .3s, background .3s; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { cursor: pointer; }
.field select option { color: var(--ink); }
.field--select::after { content: "▾"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,.6); pointer-events: none; }
.field > span { position: absolute; left: 17px; top: 18px; color: rgba(255,255,255,.55); pointer-events: none; transition: transform .3s var(--ease), color .3s, font-size .3s; transform-origin: left top; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--orange); background: rgba(255,255,255,.1); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span,
.field select:focus + span, .field select:valid + span { transform: translateY(-11px) scale(.76); color: var(--orange-2); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #ff6b6b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; min-height: 1.5em; font-size: .95rem; text-align: center; }
.form__status.ok { color: #7ee2a8; } .form__status.err { color: #ffb4a8; }
.form.is-sending .btn { pointer-events: none; opacity: .75; }

/* ---------- Footer ---------- */
.footer { background: #030c20; color: rgba(255,255,255,.6); padding-top: 70px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer__logo { height: 64px; width: auto; margin-bottom: 16px; }
.footer nav { display: grid; gap: 10px; align-content: start; }
.footer a { color: rgba(255,255,255,.75); text-decoration: none; transition: color .3s; }
.footer a:hover { color: var(--orange-2); }
.footer address { font-style: normal; line-height: 1.8; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); padding-block: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .welcome__grid, .approach__grid, .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .approach__art { margin-inline: auto; width: 100%; max-width: 420px; }
  .approach__badge { right: 8px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .hero__veil { background: linear-gradient(0deg, rgba(4,17,44,.95) 10%, rgba(4,17,44,.55) 60%, rgba(4,17,44,.35)); }
  .hero { align-items: flex-end; }
}
@media (max-width: 640px) {
  .cards, .values { grid-template-columns: 1fr; }
  .stats { gap: 12px; }
  .stat { padding: 20px 16px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
  .marquee__group img { height: 38px; }
  .mantra__glow { width: 600px; height: 600px; margin: -300px 0 0 -300px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__group[aria-hidden] { display: none; }
  .marquee__group { flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); }
  .mantra__quote .w { opacity: 1; }
}

/* ---------- Language switcher ---------- */
.nav__links { margin-left: auto; }
.nav__end { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .4s; }
.lang a { font-size: .74rem; font-weight: 700; letter-spacing: .06em; line-height: 1; color: rgba(255,255,255,.78); text-decoration: none; padding: 8px 10px; border-radius: 999px; transition: background .3s, color .3s; }
.lang a:hover { color: #fff; }
.lang a[aria-current] { background: #fff; color: var(--navy-900); }
.nav.is-scrolled .lang { background: var(--tint); }
.nav.is-scrolled .lang a { color: rgba(7,27,67,.65); }
.nav.is-scrolled .lang a:hover { color: var(--navy-900); }
.nav.is-scrolled .lang a[aria-current] { background: var(--navy-900); color: #fff; }
.nav.is-open .lang { background: rgba(255,255,255,.12); }
.nav.is-open .lang a { color: rgba(255,255,255,.78); }
.nav.is-open .lang a[aria-current] { background: #fff; color: var(--navy-900); }
@media (max-width: 380px) { .lang a { padding: 8px 7px; } .nav__end { gap: 8px; } }

/* =========================================================
   CBSR evolution (Nov 2026): brand lockups, split hero, research pages
   ========================================================= */
.wordmark { font-family: var(--sans); font-weight: 800; letter-spacing: -.01em; line-height: 1; color: #fff; white-space: nowrap; }
.wordmark b { color: var(--orange); font-weight: 800; }
.wordmark small { font-size: .62em; font-weight: 600; opacity: .8; }

/* Header brand: mark + wordmark */
.nav__brand { display: flex; align-items: center; gap: 10px; width: auto; height: auto; text-decoration: none; }
.nav__mark { position: relative; display: block; width: 44px; height: 44px; flex: none; }
.nav__brand .wordmark { font-size: 1.35rem; transition: color .4s; }
.nav.is-scrolled .nav__brand .wordmark { color: var(--navy-900); }
.nav.is-open .nav__brand .wordmark { color: #fff; }
.nav__links a.nav__research { padding: 7px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--orange); }
.nav__links a.nav__research::after { display: none; }
.nav__links a.nav__research:hover, .nav__links a.nav__research.is-current { background: rgba(201,154,75,.18); }
@media (max-width: 1100px) { .nav__links { gap: 16px; } .nav__links a:not(.btn) { font-size: .9rem; } }

/* Split hero */
.hero--split { align-items: center; padding-block: calc(var(--nav-h) + 24px) 48px; }
.hero--split .hero__veil { background:
  radial-gradient(ellipse at 50% 30%, rgba(4,17,44,.55), rgba(4,17,44,.82) 70%),
  linear-gradient(0deg, rgba(4,17,44,.9) 0%, transparent 45%); }
.hero--split .hero__title { text-align: center; font-size: clamp(2.3rem, 1.2rem + 3.8vw, 4.6rem); margin-bottom: clamp(24px, 4.5vh, 48px); }
.hero--split .hero__title .line:nth-child(2) > span { animation-delay: .14s; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 28px); max-width: 1080px; margin-inline: auto; }
.pillar {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 3vw, 40px); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  transition: transform .6s var(--ease), border-color .4s, background .4s;
}
.pillar:hover { transform: translateY(-4px); border-color: rgba(224,181,103,.6); background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.05)); }
.pillar__id { display: flex; align-items: center; gap: 18px; min-height: 88px; }
.pillar__logo { width: 88px; height: 88px; flex: none; }
.pillar__name { margin: 0; display: grid; gap: 8px; }
.pillar__name .wordmark { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
.pillar__sub { font-size: .9rem; line-height: 1.35; color: rgba(255,255,255,.75); font-weight: 500; }
.pillar__title { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-2); margin-top: 6px; }
.pillar > p { margin: 0; color: rgba(255,255,255,.86); font-size: 1.05rem; flex: 1; }
.pillar__cta { align-self: flex-start; margin-top: 8px; }
@media (max-width: 900px) {
  .hero--split { align-items: flex-start; min-height: 0; padding-block: calc(var(--nav-h) + 28px) 56px; }
  .hero--split .hero__veil { background: linear-gradient(180deg, rgba(4,17,44,.7), rgba(4,17,44,.9)); }
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pillar { padding: 20px; gap: 10px; }
  .pillar__id { min-height: 0; gap: 14px; }
  .pillar__logo { width: 60px; height: 60px; }
  .pillar > p { font-size: .98rem; }
  .pillar__cta { align-self: stretch; font-size: .94rem; padding-inline: 1.1rem; }
}

/* Footer brand */
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer__brand img { width: 52px; height: 52px; }
.footer__brand .wordmark { font-size: 1.6rem; }
.footer__cbsr { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: rgba(255,255,255,.75); font-size: .9rem; line-height: 1.3; }
.footer__cbsr img { width: 40px; height: 40px; }

/* ---------- Research pages ---------- */
.page-hero { position: relative; color: #fff; background: var(--navy-950); overflow: hidden; padding-block: calc(var(--nav-h) + clamp(48px, 8vw, 96px)) clamp(56px, 8vw, 96px); }
.page-hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(circle at 85% 20%, rgba(201,154,75,.28), transparent 45%),
  radial-gradient(circle at 10% 90%, rgba(40,80,160,.35), transparent 50%); }
.page-hero .container { position: relative; }
.page-hero__lockup { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); flex-wrap: wrap; }
.page-hero__lockup img { width: clamp(96px, 14vw, 150px); height: auto; flex: none; }
.page-hero__lockup .rule { width: 2px; align-self: stretch; background: var(--orange); border-radius: 2px; }
.page-hero h1 { font-family: var(--sans); font-weight: 800; font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5rem); letter-spacing: -.02em; line-height: .95; }
.page-hero h1 .wordmark { font-size: .5em; display: block; margin-top: .25em; }
.page-hero h1 .wordmark small { font-size: .8em; }
.page-hero__name { font-size: clamp(1.05rem, .95rem + .5vw, 1.4rem); font-weight: 600; margin: 14px 0 4px; }
.page-hero__tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); color: var(--orange-2); margin: 0; }
.page-hero--compact h1 { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; line-height: 1.05; font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4rem); }
.page-hero__lead { max-width: 720px; color: rgba(255,255,255,.82); font-size: clamp(1.02rem, .98rem + .3vw, 1.2rem); margin-top: 1.2rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 1.6rem; }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { color: var(--orange-2); }
.crumbs span[aria-hidden] { opacity: .5; }

.prose { max-width: 760px; }
.prose p { font-size: 1.06rem; }
.prose .lead { font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); line-height: 1.45; color: var(--navy-900); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }

.pillars3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); }
.tile h3 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; color: var(--navy-900); margin-bottom: .6rem; }
.tile p { margin: 0; color: var(--muted); }
.tile__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-soft); margin-bottom: 18px; }
.tile__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--gold-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.note { margin-top: 28px; padding: 18px 22px; border-left: 3px solid var(--orange); background: #fff; border-radius: 0 12px 12px 0; color: var(--ink); }

.areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; counter-reset: area; }
.area { position: relative; background: var(--navy-900); color: #fff; border-radius: var(--radius); padding: 34px 30px 30px; overflow: hidden; min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; }
.area::before { counter-increment: area; content: "0" counter(area); position: absolute; top: 22px; right: 26px; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: rgba(224,181,103,.35); }
.area::after { content: ""; position: absolute; width: 220px; height: 220px; right: -70px; bottom: -110px; border-radius: 50%; border: 2px solid rgba(201,154,75,.35); }
.area h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.35rem, 1.2rem + .6vw, 1.75rem); margin-bottom: .4rem; position: relative; }
.area p { margin: 0; color: rgba(255,255,255,.72); font-size: .95rem; position: relative; }
.area svg { width: 34px; height: 34px; fill: none; stroke: var(--orange-2); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: auto; padding-bottom: 18px; box-sizing: content-box; }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--navy-900); color: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.cta-band h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.3rem); }
.cta-band p { margin: .4rem 0 0; color: rgba(255,255,255,.75); }

/* Publications */
.pubnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2rem; }
.pubnav a { padding: 9px 16px; border-radius: 999px; font-size: .9rem; font-weight: 600; text-decoration: none; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); transition: background .3s, box-shadow .3s; }
.pubnav a:hover { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1.5px var(--orange-2); }
.pubs { display: grid; gap: 0; }
.pub-year { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding-block: 26px; border-top: 1px solid var(--line); }
.pub-year > h3 { font-family: var(--serif); font-weight: 500; font-size: 2rem; color: var(--gold-ink); line-height: 1.1; position: sticky; top: calc(var(--nav-h) + 16px); align-self: start; }
.pub-list { display: grid; gap: 18px; }
.pub { margin: 0; padding-left: 18px; border-left: 2px solid var(--line); transition: border-color .3s; }
.pub:hover { border-color: var(--orange); }
.pub__title { display: block; font-weight: 600; color: var(--navy-900); font-size: 1.04rem; line-height: 1.45; }
.pub__meta { display: block; color: var(--muted); font-size: .95rem; line-height: 1.5; margin-top: 4px; }
.pub__meta i { color: var(--ink); }
.pub__doi { display: inline-block; margin-top: 6px; font-size: .88rem; font-weight: 600; color: var(--gold-ink); text-decoration: none; overflow-wrap: anywhere; }
.pub__doi:hover { text-decoration: underline; }
.badge { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px; background: var(--orange-soft); color: var(--gold-ink); }
.theme { padding-block: 26px; border-top: 1px solid var(--line); }
.theme h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--navy-900); margin-bottom: 14px; }
.pending { border: 1.5px dashed #d9c49c; background: #fffaf0; border-radius: 14px; padding: 18px 22px; color: #6b5525; font-size: .95rem; }
.pending strong { color: #4a3a17; }

@media (max-width: 900px) {
  .split, .pillars3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .areas { grid-template-columns: 1fr; }
  .pub-year { grid-template-columns: 1fr; gap: 10px; }
  .pub-year > h3 { position: static; font-size: 1.6rem; }
  .page-hero__lockup .rule { display: none; }
}
/* Hero panels animate on load (no scroll trigger), so they are always in the first screen */
.pillar { animation: pillarIn 1s var(--ease) var(--d, .4s) backwards; }
@keyframes pillarIn { from { opacity: 0; transform: translateY(24px); } }
