:root {
  --bg: #050505;
  --bg-soft: #0a0a0a;
  --surface: #111111;
  --surface-2: #171717;
  --text: #f4f3ee;
  --muted: #a4a39d;
  --line: rgba(255,255,255,.13);
  --line-strong: rgba(255,255,255,.25);
  --accent: #f4f3ee;
  --dark: #060606;
  --radius: 28px;
  --radius-small: 16px;
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --shell: min(1440px, calc(100vw - 48px - var(--safe-l) - var(--safe-r)));
  --header-h: 84px;
  --ease: cubic-bezier(.22,1,.36,1);
  --rx: 0deg;
  --ry: 0deg;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--bg);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 80% 10%, rgba(255,255,255,.06), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open, body.dialog-open { overflow: hidden; }
button, a, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--text); color: var(--bg); }

html[data-active-lang="en"] [data-lang-copy="it"],
html[data-active-lang="it"] [data-lang-copy="en"] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-160%);
  transition: transform .25s ease;
}
.skip-link:focus { transform: translateY(0); }

.noise {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  background: #030303;
  transition: opacity .8s var(--ease), visibility .8s var(--ease);
}
.page-loader.is-complete { opacity: 0; visibility: hidden; }
.loader-mark {
  width: min(276px, 40vw, 31vh);
  height: min(276px, 40vw, 31vh);
  animation: loaderFloat 1.8s ease-in-out infinite;
}
.loader-mark img { width: 100%; height: 100%; object-fit: contain; }
.loader-track {
  position: absolute;
  left: 50%;
  bottom: 68px;
  width: min(360px, calc(100vw - 64px));
  height: 1px;
  background: rgba(255,255,255,.14);
  transform: translateX(-50%);
  overflow: hidden;
}
.loader-track span { display: block; width: 0; height: 100%; background: #fff; }
.loader-count {
  position: absolute;
  right: max(24px, calc((100vw - var(--shell))/2));
  bottom: 48px;
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 700;
  letter-spacing: -.08em;
  color: rgba(255,255,255,.16);
}
@keyframes loaderFloat { 50% { transform: translateY(-8px) rotateY(10deg); } }

.section-shell { width: var(--shell); margin-inline: auto; }
.section-pad { padding-block: clamp(96px, 12vw, 180px); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, transform .35s ease;
}
.site-header.is-scrolled {
  background: rgba(5,5,5,.72);
  border-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%);
}
.site-header.is-hidden { transform: translateY(-100%); }
/* backdrop-filter and transform on the header would make it the containing block
   for the fixed mobile nav, cropping the overlay to the 72px header strip. */
body.menu-open .site-header,
body.menu-open .site-header.is-scrolled,
body.menu-open .site-header.is-hidden {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: none;
  background: transparent;
  border-color: transparent;
}
.header-shell {
  width: var(--shell);
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.brand { width: 138px; position: relative; z-index: 3; }
.brand img, .footer-brand img { width: 100%; height: auto; filter: invert(1); }
.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 46px);
  font-size: .85rem;
  color: #c9c8c3;
}
.site-nav a { position: relative; transition: color .25s ease; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: #fff;
  transition: right .35s var(--ease);
}
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.language-switch {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
}
.language-switch button {
  min-width: 38px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: .75rem;
  letter-spacing: .08em;
  transition: background .25s ease, color .25s ease;
}
.language-switch button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 72px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: var(--header-h) -30vw auto auto;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.055), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
}
.hero-copy { position: relative; z-index: 2; max-width: 900px; }
.eyebrow {
  margin: 0 0 20px;
  color: #aeadA7;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 900px;
  margin-bottom: 30px;
  font-size: clamp(3.8rem, 7.25vw, 8rem);
  line-height: .9;
  letter-spacing: -.07em;
  font-weight: 680;
}
.hero-intro {
  max-width: 670px;
  margin-bottom: 38px;
  color: #b9b8b2;
  font-size: clamp(1.08rem, 1.6vw, 1.38rem);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero h1 { text-wrap: balance; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s ease, color .3s ease, border-color .3s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.button-primary:hover, .button-primary:focus-visible { background: #fff; }
.button-secondary { background: rgba(255,255,255,.03); color: var(--text); }
.button-secondary:hover, .button-secondary:focus-visible { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.07); }
.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 620px;
  display: grid;
  place-items: center;
  perspective: 1400px;
}
.orbit-scene {
  position: relative;
  width: min(44vw, 610px);
  max-width: 100%;
  aspect-ratio: 1;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .18s ease-out;
}
.orbit {
  position: absolute;
  inset: 50%;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  transform-style: preserve-3d;
}
.orbit-one { width: 100%; height: 100%; margin: -50%; transform: rotateX(72deg) rotateZ(28deg); animation: orbitOne 18s linear infinite; }
.orbit-two { width: 76%; height: 76%; margin: -38%; transform: rotateY(68deg) rotateZ(-18deg); animation: orbitTwo 14s linear infinite reverse; }
.orbit-three { width: 54%; height: 54%; margin: -27%; border-style: dashed; opacity: .55; animation: spin 12s linear infinite; }
.capital-core {
  position: absolute;
  inset: 50%;
  width: 47%;
  aspect-ratio: 1;
  margin: -23.5%;
  transform-style: preserve-3d;
  transform: translateZ(48px) rotateY(-8deg) rotateX(7deg);
  animation: coreFloat 6s ease-in-out infinite;
}
.core-face {
  position: absolute;
  inset: 0;
  border-radius: 31%;
  overflow: hidden;
  backface-visibility: hidden;
  box-shadow: 0 36px 90px rgba(0,0,0,.62), inset 0 0 0 1px rgba(255,255,255,.12);
}
.core-front { transform: translateZ(28px); background: #070707; }
.core-front img { width: 100%; height: 100%; object-fit: cover; }
.core-back { transform: rotateY(180deg) translateZ(28px); background: linear-gradient(145deg,#242424,#080808); }
@keyframes orbitOne { to { transform: rotateX(72deg) rotateZ(388deg); } }
@keyframes orbitTwo { to { transform: rotateY(68deg) rotateZ(342deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes coreFloat { 50% { transform: translateZ(74px) rotateY(8deg) rotateX(-4deg) translateY(-10px); } }
.section-heading {
  display: grid;
  grid-template-columns: 90px 1fr;
  column-gap: 24px;
  align-items: start;
  margin-bottom: clamp(56px, 8vw, 110px);
}
.section-heading .eyebrow { grid-column: 2; margin-bottom: 24px; }
.section-heading h2 { grid-column: 2; max-width: 980px; }
.section-number {
  grid-row: 1 / span 2;
  padding-top: 3px;
  color: #777772;
  font-size: .78rem;
  letter-spacing: .12em;
}
h2 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 6vw, 6.4rem);
  line-height: .98;
  letter-spacing: -.06em;
  font-weight: 650;
}
h3 { font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.15; letter-spacing: -.035em; }

.about-section { border-top: 1px solid var(--line); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(300px,.75fr) minmax(0,1.25fr);
  gap: clamp(54px, 8vw, 130px);
}
.about-copy { max-width: 630px; }
.about-copy .lead { color: var(--text); font-size: clamp(1.5rem, 2.6vw, 2.6rem); line-height: 1.26; letter-spacing: -.035em; }
.about-copy p:not(.lead) { color: var(--muted); font-size: 1.07rem; line-height: 1.7; }
.facts-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.fact-card {
  min-height: 215px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-style: preserve-3d;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.fact-card:hover { border-color: rgba(255,255,255,.3); background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); }
.fact-card p { margin-bottom: 0; color: var(--muted); }
.fact-card .fact-value {
  color: var(--text);
  font-size: clamp(1.7rem, 3vw, 3.2rem);
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
  transform-origin: left center;
}
.fact-card .fact-value.is-counting { animation: countPulse .72s var(--ease) both; }
.fact-value-wide { font-size: clamp(1.45rem, 2.65vw, 2.9rem) !important; overflow-wrap: anywhere; }
@keyframes countPulse {
  0% { opacity: .22; transform: translateY(12px) scale(.94); }
  55% { opacity: 1; transform: translateY(0) scale(1.025); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.approach-section { border-top: 1px solid var(--line); }
/* The last principle already carries 46px of internal padding, so the section
   padding is trimmed by the same amount. Without this the divider below
   "Strategic coherence" sits further away than every other section divider. */
.approach-section { padding-bottom: clamp(50px, 6.5vw, 134px); }
.principles-list { border-top: 1px solid var(--line); }
.principle {
  position: relative;
  min-height: 250px;
  padding: 46px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 240px;
  gap: 24px;
  align-items: center;
  overflow: hidden;
}
.principle-index { color: #777772; font-size: .78rem; letter-spacing: .12em; }
.principle h3 { margin-bottom: 18px; }
.principle p { max-width: 690px; margin-bottom: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.principle-object {
  justify-self: center;
  width: 120px;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.22);
  transform-style: preserve-3d;
  transition: transform .7s var(--ease);
}
.principle:hover .principle-object { transform: rotateX(24deg) rotateY(45deg) scale(1.08); }
.principle:last-child { border-bottom: 0; }
.object-one { border-radius: 50%; box-shadow: inset 22px 10px 40px rgba(255,255,255,.04); }
.object-two { border-radius: 22px; transform: rotate(18deg); background: linear-gradient(135deg,rgba(255,255,255,.11),transparent); }
.object-three { clip-path: polygon(50% 0,100% 100%,0 100%); background: linear-gradient(180deg,rgba(255,255,255,.12),transparent); border: 0; }

.focus-section { border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(300px,.7fr) minmax(0,1.3fr); gap: clamp(60px, 10vw, 150px); align-items: center; }
.focus-intro .section-number { margin-bottom: 24px; }
.focus-intro h2 { margin-bottom: 30px; font-size: clamp(2.8rem, 5vw, 5.8rem); }
.focus-intro > p:last-child { max-width: 600px; color: var(--muted); font-size: 1.1rem; line-height: 1.75; }
.focus-list { display: grid; gap: clamp(30px, 4vw, 56px); }
.focus-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 3vw, 46px);
  align-items: baseline;
}
.focus-item span {
  color: #56564f;
  font-size: clamp(2.4rem, 4.4vw, 4.4rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.focus-item p {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -.025em;
}

.group-section { padding-top: 0; }
.group-card {
  min-height: 620px;
  padding: clamp(38px, 6vw, 86px);
  border-radius: 44px;
  background: #f0efe9;
  color: #090909;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  overflow: hidden;
}
.group-copy { max-width: 700px; }
.group-copy .eyebrow { color: #676762; }
.group-copy h2 { margin-bottom: 30px; }
.heading-line { display: block; }
.group-copy p { max-width: 620px; color: #4b4b47; font-size: 1.12rem; line-height: 1.75; }
.text-link, .registry-link {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  transition: opacity .25s ease, border-color .25s ease;
}
.text-link:hover, .text-link:focus-visible, .registry-link:hover, .registry-link:focus-visible { opacity: .62; }
.group-emblem { position: relative; min-height: 420px; display: grid; place-items: center; perspective: 1000px; }
.emblem-disc {
  width: min(32vw, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.22);
  animation: emblemFloat 6s ease-in-out infinite;
}
.emblem-disc img { width: 100%; height: 100%; object-fit: cover; }
@keyframes emblemFloat { 50% { transform: translateY(-16px) rotateY(10deg); } }

.governance-section { border-top: 1px solid var(--line); }
.governance-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.governance-grid article {
  min-height: 310px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.025);
}
.governance-grid h3 { margin-bottom: 70px; }
.governance-grid p { margin-bottom: 0; color: var(--muted); line-height: 1.7; }
.registry-link { margin-top: 38px; color: #d5d4cf; }

.faq-section { border-top: 1px solid var(--line); }
.faq-list { max-width: 980px; margin-left: auto; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 30px 56px 30px 0;
  position: relative;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  letter-spacing: -.03em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 22px;
  height: 1px;
  background: #fff;
  transition: transform .25s ease;
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-list details p { max-width: 760px; padding: 0 0 30px; color: var(--muted); font-size: 1.04rem; line-height: 1.75; }

.contact-section { padding-top: 0; }
.contact-card {
  position: relative;
  min-height: 580px;
  padding: clamp(42px, 7vw, 100px);
  border: 1px solid var(--line);
  border-radius: 44px;
  overflow: hidden;
  background:
    linear-gradient(130deg, rgba(255,255,255,.075), transparent 40%),
    #0a0a0a;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-card::before {
  content: "";
  position: absolute;
  right: -12%;
  top: -32%;
  width: 60%;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  box-shadow: inset 40px 20px 100px rgba(255,255,255,.04);
}
.contact-card h2 { max-width: 900px; margin-bottom: 28px; }
.contact-card > p:not(.eyebrow) { max-width: 680px; color: var(--muted); font-size: 1.12rem; }
.contact-email {
  position: relative;
  z-index: 2;
  width: fit-content;
  margin-top: 42px;
  font-size: clamp(1.35rem, 3vw, 3rem);
  font-weight: 620;
  letter-spacing: -.04em;
  border-bottom: 1px solid currentColor;
}


/* ---------------------------------------------------------------
   Section to section 3D transitions.
   Every section below the hero carries a hinge that folds open in
   three dimensions on entry, while the section content itself rises
   out of depth towards the viewer.
   --------------------------------------------------------------- */
.transition-section {
  position: relative;
  isolation: isolate;
  border-top: 0 !important;
  perspective: 1600px;
  perspective-origin: 50% 0%;
}
.section-transition {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 50%;
  width: 100%;
  height: clamp(76px, 9vw, 132px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  perspective: 1100px;
  perspective-origin: 50% 100%;
  transform-style: preserve-3d;
}
.transition-plane {
  position: absolute;
  inset: 0;
  transform-origin: 50% 100%;
  transform: rotateX(84deg) translateZ(-30px);
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,.045) 62%, rgba(255,255,255,.1) 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  opacity: 0;
  transition: transform 1.25s var(--ease), opacity 1s var(--ease);
}
.transition-edge {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 18%, var(--line-strong) 82%, transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1.15s var(--ease);
}
.transition-beam {
  position: absolute;
  top: calc(50% - 16px);
  left: -26%;
  width: 26%;
  height: 32px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
  filter: blur(9px);
  opacity: 0;
  transform: rotateX(66deg) skewX(-18deg);
}
.transition-section.section-entered .transition-plane { transform: rotateX(0deg) translateZ(0); opacity: 1; }
.transition-section.section-entered .transition-edge { transform: scaleX(1); }
.transition-section.section-entered .transition-beam { animation: sectionSweep 1.5s var(--ease) .1s both; }

.transition-section > :not(.section-transition) {
  transform-origin: 50% 0%;
  transition: opacity 1s var(--ease), transform 1.15s var(--ease), filter .95s ease;
}
.transition-section:not(.section-entered) > :not(.section-transition) {
  opacity: .38;
  transform: translate3d(0, 34px, -150px) rotateX(10deg);
  filter: blur(4px);
}
@keyframes sectionSweep {
  0% { left: -26%; opacity: 0; }
  16% { opacity: .85; }
  84% { opacity: .5; }
  100% { left: 100%; opacity: 0; }
}

/* Motion is paused whenever the animated object leaves the viewport. */
.is-paused, .is-paused * { animation-play-state: paused !important; }

.site-footer { padding-bottom: max(30px, env(safe-area-inset-bottom)); }
.footer-main {
  padding: 72px 0 52px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(260px, 1.55fr) repeat(3, minmax(140px, .82fr));
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}
.footer-brand-stack { display: grid; gap: 20px; align-content: start; max-width: 430px; }
.footer-brand { width: 190px; }
.footer-tagline { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.7; text-wrap: pretty; }

.footer-col { display: grid; gap: 16px; align-content: start; }
.footer-heading {
  margin: 0;
  color: #77776f;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-list a,
.footer-list button {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c9c8c3;
  cursor: pointer;
  text-align: left;
  font-size: .82rem;
  line-height: 1.5;
  transition: color .25s ease;
}
.footer-list a:hover, .footer-list a:focus-visible,
.footer-list button:hover, .footer-list button:focus-visible { color: #fff; }

.footer-address {
  margin: 0;
  color: #c9c8c3;
  font-size: .82rem;
  font-style: normal;
  line-height: 1.8;
}
.footer-registry { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: #85847f; font-size: .76rem; line-height: 1.55; }
.footer-registry a { border-bottom: 1px solid rgba(255,255,255,.18); transition: color .25s ease, border-color .25s ease; }
.footer-registry a:hover, .footer-registry a:focus-visible { color: #fff; border-color: #fff; }

.legal-note { margin: 4px 0 0; color: #6f6f6a; font-size: .7rem; line-height: 1.65; text-wrap: pretty; }

.footer-bottom {
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  color: #77776f;
  font-size: .76rem;
  line-height: 1.6;
}
.footer-bottom p { margin-bottom: 0; }
.footer-bottom p:last-child { text-align: right; }
/* Standalone footer bar, used on the error page where no columns precede it. */
.site-footer > .footer-bottom:first-child { padding-top: 34px; }

[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

.legal-dialog, .settings-dialog {
  width: min(920px, calc(100vw - 32px));
  max-height: min(88svh, 920px);
  padding: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 28px;
  background: #0b0b0b;
  color: var(--text);
  box-shadow: 0 40px 140px rgba(0,0,0,.8);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.legal-dialog::backdrop, .settings-dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(8px); }
.dialog-shell { position: relative; margin: 0; padding: clamp(28px, 5vw, 58px); border: 0; }
.dialog-close {
  position: sticky;
  z-index: 3;
  top: 0;
  float: right;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #111;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.close-icon { position: relative; display: block; width: 15px; height: 15px; }
.close-icon::before,
.close-icon::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 15px;
  height: 1px;
  background: currentColor;
}
.close-icon::before { transform: rotate(45deg); }
.close-icon::after { transform: rotate(-45deg); }
.dialog-header { padding-right: 60px; margin-bottom: 48px; }
.dialog-header h2 { font-size: clamp(2.5rem, 6vw, 5rem); margin-bottom: 14px; }
.dialog-header > p:last-child { color: var(--muted); }
.legal-content { display: grid; gap: 34px; }
.legal-content section { padding-top: 26px; border-top: 1px solid var(--line); }
.legal-content h3 { font-size: 1.16rem; margin-bottom: 14px; }
.legal-content p { color: var(--muted); line-height: 1.75; }
.legal-content strong { display: block; margin-bottom: 8px; color: var(--text); font-size: .98rem; }
.legal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.legal-grid > div { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.018); }
.legal-grid p { margin-bottom: 0; font-size: .91rem; }
.cookie-table { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.cookie-row { display: grid; grid-template-columns: .75fr 1.8fr .65fr; }
.cookie-row span { padding: 14px; border-right: 1px solid var(--line); border-top: 1px solid var(--line); color: var(--muted); font-size: .87rem; }
.cookie-row span:last-child { border-right: 0; }
.cookie-head span { border-top: 0; color: var(--text); background: rgba(255,255,255,.035); }

.setting-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.setting-row h3 { margin-bottom: 8px; font-size: 1.1rem; }
.setting-row p { margin-bottom: 0; color: var(--muted); font-size: .91rem; }
.setting-row input { position: absolute; opacity: 0; pointer-events: none; }
.toggle {
  width: 54px;
  height: 30px;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #181818;
  cursor: pointer;
  transition: background .25s ease;
}
.toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #777;
  transition: transform .25s ease, background .25s ease;
}
.setting-row input:checked + .toggle { background: #eee; }
.setting-row input:checked + .toggle::after { transform: translateX(24px); background: #111; }
.always-on { color: #aaa; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.settings-actions { display: flex; justify-content: flex-end; gap: 12px; padding-top: 28px; }

.cookie-banner {
  position: fixed;
  z-index: 500;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  width: min(1120px, calc(100vw - 28px));
  transform: translateX(-50%);
  padding: 22px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 22px;
  background: rgba(12,12,12,.92);
  backdrop-filter: blur(22px) saturate(130%);
  box-shadow: 0 30px 100px rgba(0,0,0,.7);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}
.cookie-banner[hidden] { display: none; }
/* The banner sits above the mobile nav overlay and would swallow the lower
   menu links, so it steps aside until the menu is closed again. */
body.menu-open .cookie-banner { display: none; }
.cookie-copy p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.cookie-copy .cookie-title { margin-bottom: 7px; color: var(--text); font-weight: 620; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.cookie-actions .button { min-height: 46px; padding-inline: 17px; font-size: .85rem; }

:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* Touch devices get full size tap targets on every control. */
@media (pointer: coarse) {
  .language-switch button { min-width: 46px; min-height: 42px; }
  .site-nav a { min-height: 44px; display: flex; align-items: center; }
  .footer-list a, .footer-list button { min-height: 38px; }
  .text-link, .registry-link { min-height: 44px; }
  .faq-list summary { padding-block: 26px; }
}

@media (max-width: 1050px) {
  :root { --shell: min(100% - 32px, 980px); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-top: 40px; }
  .hero-visual { min-height: 520px; }
  .orbit-scene { width: min(80vw, 560px); }
  .about-grid, .focus-section { grid-template-columns: minmax(0, 1fr); }
  .group-card { grid-template-columns: minmax(0, 1fr); }
  .group-emblem { min-height: 350px; }
  .emblem-disc { width: min(62vw, 340px); }
  .governance-grid { grid-template-columns: minmax(0, 1fr); }
  .governance-grid article { min-height: 0; }
  .governance-grid h3 { margin-bottom: 36px; }
  .footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand-stack { grid-column: 1 / -1; max-width: 560px; }
  .cookie-banner { grid-template-columns: 1fr; }
  .cookie-actions { justify-content: flex-start; }
}

@media (max-width: 820px) {
  :root { --header-h: 72px; }
  .header-shell { grid-template-columns: auto 1fr auto; gap: 12px; }
  .brand { width: 118px; }
  .menu-toggle {
    display: inline-flex;
    justify-self: end;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.03);
    cursor: pointer;
    position: relative;
    z-index: 3;
    font-size: .8rem;
  }
  .menu-icon { width: 18px; display: grid; gap: 5px; }
  .menu-icon i { display: block; height: 1px; background: currentColor; transition: transform .25s ease; }
  .menu-open .menu-icon i:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-open .menu-icon i:last-child { transform: translateY(-3px) rotate(-45deg); }
  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 2;
    padding: calc(var(--header-h) + 46px) 24px max(40px, env(safe-area-inset-bottom));
    background: #040404;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(14px, 3.4vw, 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
    font-size: clamp(2.2rem, 10vw, 4.5rem);
    letter-spacing: -.05em;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity .35s ease, transform .35s var(--ease), visibility .35s;
  }
  .menu-open .site-nav { opacity: 1; visibility: visible; transform: translateY(0); }
  .language-switch { position: relative; z-index: 3; }
  .hero { padding-top: calc(var(--header-h) + 54px); }
  h1 { font-size: clamp(3.25rem, 14vw, 6.7rem); }
  .section-heading { grid-template-columns: 48px 1fr; }
  .principle { grid-template-columns: 48px 1fr 90px; }
  .principle-object { width: 72px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand-stack { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100vw - 44px); --radius: 22px; }
  .site-header .header-shell { width: var(--shell); }
  .language-switch { display: none; }
  .menu-open .language-switch { display: inline-flex; position: fixed; right: 24px; bottom: max(28px, env(safe-area-inset-bottom)); }
  .hero { min-height: auto; padding-bottom: 96px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-visual { min-height: 420px; }
  .orbit-scene { width: 88vw; }
  .section-pad { padding-block: 92px; }
  .section-heading { display: block; }
  .section-heading .section-number { margin-bottom: 26px; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact-card { min-height: 170px; }
  .principle { grid-template-columns: 42px 1fr; padding: 34px 0; }
  .principle-object { display: none; }
  .approach-section { padding-bottom: 46px; }
  .group-card { padding: 34px 24px; border-radius: 30px; }
  .group-emblem { min-height: 280px; }
  .governance-grid article { padding: 26px; }
  .contact-card { min-height: 520px; padding: 34px 24px; border-radius: 30px; }
  .cookie-banner { padding: 18px; max-height: calc(100svh - 28px); overflow: auto; }
  .cookie-actions { display: grid; grid-template-columns: 1fr; }
  .cookie-row { grid-template-columns: 1fr; }
  .cookie-row span { border-right: 0; }
  .cookie-head { display: none; }
  .settings-actions { flex-direction: column-reverse; }
  .setting-row { grid-template-columns: 1fr auto; }
}


@media (max-width: 620px) {
  body { overflow-wrap: break-word; }
  .site-nav a { width: 100%; }
  .site-nav { padding-inline: 22px; }
  .hero { padding-top: calc(var(--header-h) + 38px); padding-bottom: 76px; }
  .hero-copy { padding-top: 18px; }
  h1 { font-size: clamp(3rem, 13.6vw, 4.9rem); line-height: .94; }
  h2 { font-size: clamp(2.65rem, 12.5vw, 4.6rem); }
  .hero-intro { font-size: 1.02rem; line-height: 1.62; }
  .hero-visual { min-height: 350px; margin-top: 18px; }
  .orbit-scene { width: min(92vw, 390px); }
  .capital-core { width: 43%; margin: -21.5%; }
  .section-transition { height: 52px; }
  .section-pad { padding-block: 80px; }
  .fact-card { min-height: 148px; padding: 24px; }
  .fact-card .fact-value { font-size: clamp(2rem, 10vw, 3.1rem); }
  .fact-value-wide { font-size: clamp(1.58rem, 8.2vw, 2.55rem) !important; }
  .principle h3 { margin-bottom: 12px; }
  .principle p { font-size: .98rem; line-height: 1.65; }
  .group-card { min-height: 0; }
  .group-copy p { font-size: 1rem; }
  .group-emblem { min-height: 240px; }
  .governance-grid h3 { margin-bottom: 24px; }
  .contact-card { min-height: 470px; }
  .contact-email { max-width: 100%; font-size: clamp(1.15rem, 6vw, 1.8rem); overflow-wrap: anywhere; }
  /* Two link columns share one row, the address block spans the width, and a
     rule between each group keeps a tall stack readable. */
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 46px 0 4px; gap: 0 20px; }
  .footer-brand-stack { grid-column: 1 / -1; gap: 16px; max-width: 100%; padding-bottom: 26px; }
  .footer-col { padding: 24px 0; border-top: 1px solid var(--line); }
  .footer-col-office { grid-column: 1 / -1; }
  .footer-col-office .footer-address { margin-bottom: 18px; }
  .footer-col { padding: 22px 0; }
  .footer-brand-stack { padding-bottom: 22px; }
  .footer-brand { width: 158px; }
  .footer-tagline { font-size: .86rem; }
  .footer-heading { font-size: .64rem; }
  .legal-note { max-width: 100%; margin-top: 2px; }
  .footer-list a, .footer-list button { min-height: 38px; }
  .footer-bottom { padding-top: 20px; margin-top: 4px; gap: 10px; font-size: .72rem; justify-content: center; text-align: center; }
  .footer-bottom p, .footer-bottom p:last-child { text-align: center; width: 100%; }
  .legal-dialog, .settings-dialog {
    width: 100vw;
    max-width: none;
    max-height: 94svh;
    margin: auto 0 0;
    border-radius: 24px 24px 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }
  .dialog-shell { padding: 24px 22px max(28px, env(safe-area-inset-bottom)); }
  .dialog-header { padding-right: 46px; margin-bottom: 34px; }
  .dialog-header h2 { font-size: clamp(2.35rem, 12vw, 3.8rem); }
  .legal-content { gap: 28px; }
  .legal-content section { padding-top: 22px; }
  .legal-grid { grid-template-columns: 1fr; }
  .legal-grid > div { padding: 17px; }
  .cookie-table { border-radius: 14px; }
  .cookie-row { padding: 12px 0; border-top: 1px solid var(--line); }
  .cookie-row:first-child { border-top: 0; }
  .cookie-row span { padding: 6px 14px; border-top: 0; }
  .cookie-row span:first-child { color: var(--text); font-weight: 620; }
  .setting-row { gap: 14px; }
  .always-on { text-align: right; }
  .cookie-banner {
    left: 0;
    bottom: 0;
    width: 100vw;
    max-height: 92svh;
    transform: none;
    border-radius: 24px 24px 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    padding: 20px 20px max(18px, env(safe-area-inset-bottom));
  }
  .cookie-actions .button { min-height: 50px; }
}

@media (min-width: 341px) and (max-width: 620px) {
  .footer-col-office { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .footer-col-office .footer-heading { grid-column: 1 / -1; }
  .footer-col-office .footer-address { margin-bottom: 0; }
}

@media (max-width: 390px) {
  :root { --shell: calc(100vw - 40px); }
  .brand { width: 108px; }
  .menu-toggle { padding-inline: 10px; }
  .hero-actions { gap: 9px; }
  .button { min-height: 52px; padding-inline: 18px; }
  .group-card, .contact-card { padding-inline: 20px; }
  .footer-main { gap: 0 14px; }
  .footer-list a, .footer-list button { font-size: .78rem; }
}


@media (max-width: 620px) {
  .hero-grid { gap: 8px; }
  .hero-copy { max-width: 100%; }
  .hero h1 {
    max-width: 10.5ch;
    margin-bottom: 24px;
    font-size: clamp(3.05rem, 13.2vw, 4.85rem);
    line-height: .92;
    letter-spacing: -.065em;
  }
  .hero-intro { max-width: 34rem; }
  .hero-actions { margin-top: 6px; }
  .hero-visual { min-height: 330px; }
  .section-transition { height: 58px; }
  .transition-plane { transform: rotateX(88deg) translateZ(-16px); }
  /* Shallower depth and no blur keeps the 3D fold smooth on mobile GPUs. */
  .transition-section:not(.section-entered) > :not(.section-transition) {
    opacity: .5;
    transform: translate3d(0, 20px, -70px) rotateX(6deg);
    filter: none;
  }
  .group-card { gap: 20px; }
  .group-copy h2 { font-size: clamp(3rem, 13vw, 4.5rem); }
  .group-emblem { min-height: 220px; }
  .emblem-disc { width: min(68vw, 300px); }
  .text-link, .registry-link { min-height: 44px; align-items: center; }
  .registry-link { line-height: 1.45; }
}

@media (max-width: 420px) {
  .hero h1 { max-width: 11ch; font-size: clamp(2.85rem, 13vw, 4.2rem); }
  .hero-intro { font-size: .98rem; }
  .orbit-scene { width: min(94vw, 360px); }
  .group-copy h2 { font-size: clamp(2.8rem, 12.8vw, 4rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .transition-edge { transform: scaleX(1); }
  .transition-plane { transform: none; opacity: 1; }
  .transition-beam { display: none; }
  .transition-section > :not(.section-transition) { opacity: 1; transform: none; filter: none; }
}

/* ---------------------------------------------------------------
   Error page
   --------------------------------------------------------------- */
.error-main {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 72px) 0 96px;
  perspective: 1500px;
}
.error-card {
  position: relative;
  width: 100%;
  padding: clamp(34px, 6vw, 86px);
  border: 1px solid var(--line);
  border-radius: 44px;
  overflow: hidden;
  background: linear-gradient(130deg, rgba(255,255,255,.075), transparent 42%), #0a0a0a;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
  transform-style: preserve-3d;
}
.error-code {
  margin-bottom: 22px;
  color: #6e6e69;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.error-card h1 { font-size: clamp(3rem, 7vw, 7rem); margin-bottom: 24px; }
.error-card p { max-width: 560px; color: var(--muted); font-size: 1.06rem; line-height: 1.7; }
.error-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.error-visual {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  perspective: 1100px;
}
.error-cube {
  position: relative;
  width: min(46vw, 240px);
  aspect-ratio: 1;
  transform-style: preserve-3d;
  animation: errorTumble 14s linear infinite;
}
.error-cube span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 18%;
  background: linear-gradient(150deg, rgba(255,255,255,.07), transparent 65%);
}
.error-cube span:nth-child(1) { transform: rotateY(0deg) translateZ(calc(min(46vw, 240px) / 2)); }
.error-cube span:nth-child(2) { transform: rotateY(90deg) translateZ(calc(min(46vw, 240px) / 2)); }
.error-cube span:nth-child(3) { transform: rotateY(180deg) translateZ(calc(min(46vw, 240px) / 2)); }
.error-cube span:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(min(46vw, 240px) / 2)); }
.error-cube span:nth-child(5) { transform: rotateX(90deg) translateZ(calc(min(46vw, 240px) / 2)); }
.error-cube span:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(min(46vw, 240px) / 2)); }
@keyframes errorTumble {
  to { transform: rotateX(360deg) rotateY(720deg); }
}
.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: #9d9c97;
  font-size: .9rem;
}
.error-links a { border-bottom: 1px solid rgba(255,255,255,.28); padding-bottom: 3px; }
.error-links a:hover, .error-links a:focus-visible { color: #fff; }

@media (max-width: 900px) {
  .error-card { grid-template-columns: 1fr; border-radius: 32px; }
  .error-visual { min-height: 240px; order: -1; }
}
@media (max-width: 620px) {
  .error-main { padding: calc(var(--header-h) + 46px) 0 72px; min-height: auto; }
  .error-card { padding: 30px 22px; border-radius: 26px; }
  .error-card h1 { font-size: clamp(2.8rem, 15vw, 4.6rem); }
  .error-actions { display: grid; }
  .error-visual { min-height: 200px; }
  .error-cube { width: min(58vw, 190px); }
  .error-cube span:nth-child(1) { transform: rotateY(0deg) translateZ(calc(min(58vw, 190px) / 2)); }
  .error-cube span:nth-child(2) { transform: rotateY(90deg) translateZ(calc(min(58vw, 190px) / 2)); }
  .error-cube span:nth-child(3) { transform: rotateY(180deg) translateZ(calc(min(58vw, 190px) / 2)); }
  .error-cube span:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(min(58vw, 190px) / 2)); }
  .error-cube span:nth-child(5) { transform: rotateX(90deg) translateZ(calc(min(58vw, 190px) / 2)); }
  .error-cube span:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(min(58vw, 190px) / 2)); }
}
