/* ATA Simurg — institutional aerospace identity
   Logo silver retained; light content planes for credibility */

/* Self-hosted fonts (latin + latin-ext). optional = no late mid-page swap. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url("../fonts/cormorant-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url("../fonts/cormorant-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --void: #f3f5f8;
  --void-mid: #e6eaef;
  --void-soft: #d5dbe3;
  --steel: #4c5662;
  --steel-bright: #1c232c;
  --steel-deep: #3c4652;
  --paper: rgba(255, 255, 255, 0.74);
  --paper-warm: rgba(255, 255, 255, 0.88);
  --panel: rgba(255, 255, 255, 0.92);
  --ink: #1a2028;
  --ink-soft: #2e3640;
  --muted: #5b6570;
  --line-dark: rgba(26, 32, 40, 0.14);
  --line-light: rgba(26, 32, 40, 0.12);
  --line-strong: rgba(26, 32, 40, 0.28);
  --accent: #3c4652;
  --header-bg: rgba(243, 245, 248, 0.92);
  --nav-link: rgba(26, 32, 40, 0.72);
  --faint: rgba(26, 32, 40, 0.58);
  --card: rgba(255, 255, 255, 0.7);
  --card-strong: rgba(255, 255, 255, 0.9);
  --hover: rgba(26, 32, 40, 0.045);
  --idx: rgba(26, 32, 40, 0.2);
  --hero-fg: #1a2028;
  --hero-lead: rgba(26, 32, 40, 0.72);
  --hero-bg: radial-gradient(ellipse 80% 60% at 82% 0%, rgba(255, 255, 255, 0.95), transparent 52%), linear-gradient(180deg, #fbfcfd 0%, #e4e9ef 100%);
  --grid: rgba(26, 32, 40, 0.055);
  --input-bg: #ffffff;
  --footer-bg: rgba(255, 255, 255, 0.82);
  --ring: rgba(26, 32, 40, 0.08);
  --panel-accent: linear-gradient(155deg, #ffffff, #e7edf3);
  --watermark-opacity: 0.08;
  --watermark-peak: 0.13;
  --watermark-blend: multiply;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --nav-h: 4.75rem;
  --wrap: 1120px;
  --shadow-soft: 0 24px 50px rgba(26, 32, 40, 0.06);
  --shadow-lift: 0 16px 36px rgba(26, 32, 40, 0.1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --void: #12151b;
  --void-mid: #1b2028;
  --void-soft: #242b35;
  --steel: #c5ccd4;
  --steel-bright: #f2f4f7;
  --steel-deep: #d5dbe3;
  --paper: rgba(18, 21, 27, 0.78);
  --paper-warm: rgba(18, 21, 27, 0.84);
  --panel: rgba(27, 32, 40, 0.9);
  --ink: #f3f5f7;
  --ink-soft: #dce1e7;
  --muted: #b7c0ca;
  --line-dark: rgba(232, 236, 242, 0.16);
  --line-light: rgba(232, 236, 242, 0.14);
  --line-strong: rgba(232, 236, 242, 0.32);
  --accent: #d5dbe3;
  --header-bg: rgba(18, 21, 27, 0.9);
  --nav-link: rgba(232, 236, 242, 0.74);
  --faint: rgba(232, 236, 242, 0.58);
  --card: rgba(18, 21, 27, 0.4);
  --card-strong: rgba(18, 21, 27, 0.66);
  --hover: rgba(242, 244, 247, 0.06);
  --idx: rgba(242, 244, 247, 0.28);
  --hero-fg: #f4f6f8;
  --hero-lead: rgba(232, 236, 242, 0.74);
  --hero-bg: radial-gradient(ellipse 90% 70% at 85% 10%, rgba(180, 188, 198, 0.16), transparent 55%), linear-gradient(165deg, #1c222c 0%, #10141a 100%);
  --grid: rgba(232, 236, 242, 0.05);
  --input-bg: rgba(8, 10, 14, 0.55);
  --footer-bg: rgba(18, 21, 27, 0.88);
  --ring: rgba(242, 244, 247, 0.14);
  --panel-accent: linear-gradient(155deg, #242b35, #141820);
  --watermark-opacity: 0.18;
  --watermark-peak: 0.28;
  --watermark-blend: soft-light;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.28);
  --shadow-lift: 0 18px 40px rgba(0, 0, 0, 0.32);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--void);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

main {
  animation: pageIn 0.65s var(--ease) both;
}

@keyframes pageIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  margin-left: 0.15rem;
  border: 1px solid var(--line-light);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
}

.theme-toggle svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-theme="dark"] .theme-toggle .icon-moon,
html:not([data-theme="dark"]) .theme-toggle .icon-sun {
  display: none;
}

.unit-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.95rem;
  border: 1px solid var(--line-light);
  color: var(--ink);
  background: var(--paper);
}

.unit-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-tabs {
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  padding: 0.85rem 0;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-light);
}

.page-tabs a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  padding-bottom: 0.15rem;
}

.page-tabs a.is-active,
.page-tabs a:hover {
  color: var(--steel-bright);
  box-shadow: inset 0 -1px 0 var(--steel-bright);
}

#kimlik,
#ekip,
#birimler,
#yolculuk,
#sonuclar,
#sponsorlar,
#sponsorluk {
  scroll-margin-top: 8.25rem;
}

/* Fixed brand watermark — full viewport, behind content */
.site-watermark {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: block;
  overflow: hidden;
}

.site-watermark img {
  width: 100vw;
  height: 100vh;
  max-width: none;
  object-fit: cover;
  object-position: center;
  opacity: var(--watermark-opacity);
  filter: saturate(0.65) contrast(1.05);
  mix-blend-mode: var(--watermark-blend);
  user-select: none;
  animation: emblemBreath 16s ease-in-out infinite;
}

@keyframes emblemBreath {
  0%, 100% { transform: scale(1); opacity: var(--watermark-opacity); }
  50% { transform: scale(1.045); opacity: var(--watermark-peak); }
}

@media (max-width: 700px) {
  .site-watermark img {
    width: 100vw;
    height: 100vh;
    opacity: 0.14;
  }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--void);
  color: var(--steel-bright);
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* —— Nav —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--nav-h);
  z-index: 100;
  transition: background 0.45s var(--ease), border-color 0.45s, backdrop-filter 0.45s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line-dark);
}

.nav-inner {
  max-width: min(1320px, 100%);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  color: var(--steel-bright);
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.12s linear;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  object-fit: contain;
  border-radius: 2px;
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel-bright);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0.15rem 0.85rem;
  min-width: 0;
  margin-left: auto;
}

.nav-links a {
  color: var(--nav-link);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.25s;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links a:hover { color: var(--steel-bright); }

.nav-links a.is-active {
  color: var(--steel-bright);
}

.nav-links a:not(.nav-cta).is-active {
  box-shadow: inset 0 -2px 0 var(--steel-bright);
  padding-bottom: 0.2rem;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.85rem;
  background: var(--steel-bright);
  color: var(--void) !important;
  font-weight: 700 !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.06em !important;
  transition: transform 0.25s var(--ease), background 0.25s;
}

.nav-cta:hover {
  background: var(--void-soft);
  color: var(--ink) !important;
  transform: translateY(-1px);
}

.nav-cta.is-active {
  box-shadow: inset 0 -2px 0 var(--line-strong);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line-dark);
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  height: 1.5px;
  background: var(--steel-bright);
  transition: 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 0.85rem; }
.nav-toggle span:nth-child(2) { top: 1.2rem; }
.nav-toggle span:nth-child(3) { top: 1.55rem; }
.nav-toggle.is-open span:nth-child(1) { top: 1.2rem; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 1.2rem; transform: rotate(-45deg); }

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.btn:hover { transform: translateY(-2px); }

.btn-silver,
.btn-gold {
  background: var(--steel-bright);
  color: var(--void);
}
.btn-silver:hover,
.btn-gold:hover {
  background: var(--void-soft);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.btn-ghost {
  background: transparent;
  color: var(--steel-bright);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--steel-bright);
  color: var(--hero-fg);
}

.btn-dark {
  background: var(--steel-bright);
  color: var(--void);
}
.btn-dark:hover { background: var(--void-soft); color: var(--ink); }

.btn-navy,
.btn-solid {
  background: var(--steel-bright);
  color: var(--void);
  border: 1px solid transparent;
}
.btn-navy:hover,
.btn-solid:hover { background: var(--void-soft); color: var(--ink); }

.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-light);
}
.btn-outline-dark:hover {
  border-color: var(--ink);
  background: var(--panel);
}

/* —— Layout —— */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 6.75rem 0; }
.section-tight { padding: 4.75rem 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 1rem;
}
.eyebrow.dark { color: var(--steel-deep); }
.eyebrow.on-light { color: var(--steel-deep); }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 3.25rem;
}
.section-head h2 {
  font-size: clamp(2.15rem, 4.2vw, 3.15rem);
  color: var(--ink);
  margin-bottom: 0.9rem;
  font-weight: 500;
}
.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.light h2 { color: var(--steel-bright); }
.section-head.light p { color: var(--faint); }

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: var(--hero-fg);
  overflow: hidden;
  background: var(--hero-bg);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero.has-film::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 14, 20, 0.28) 0%, rgba(10, 14, 20, 0.42) 46%, rgba(10, 14, 20, 0.72) 100%);
}

.hero.has-film,
.hero.has-film .hero-brand,
.hero.has-film .hero-brand em,
.hero.has-film .hero-kicker,
.hero.has-film .eyebrow,
.hero.has-film .hero-specs strong {
  color: #f4f6f8;
}

.hero.has-film .hero-lead,
.hero.has-film .hero-specs span,
.hero.has-film .scroll-hint {
  color: rgba(244, 246, 248, 0.78);
}

.hero.has-film .hero-specs {
  background: rgba(10, 14, 20, 0.55);
  border-top-color: rgba(244, 246, 248, 0.16);
}

.hero.has-film .btn-ghost {
  color: #f4f6f8;
  border-color: rgba(244, 246, 248, 0.45);
}

body:has(.hero.has-film) .site-header:not(.is-scrolled) .nav-links a:not(.nav-cta) {
  color: rgba(244, 246, 248, 0.88);
}

body:has(.hero.has-film) .site-header:not(.is-scrolled) .theme-toggle,
body:has(.hero.has-film) .site-header:not(.is-scrolled) .nav-toggle span {
  color: #f4f6f8;
  border-color: rgba(244, 246, 248, 0.4);
  background-color: transparent;
}

body:has(.hero.has-film) .site-header:not(.is-scrolled) .nav-toggle span {
  background: #f4f6f8;
}

.hero-atmosphere { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 75% 65% at 55% 35%, #000 10%, transparent 78%);
  animation: gridDrift 36s linear infinite;
}

@keyframes gridDrift {
  from { transform: translateY(0); }
  to { transform: translateY(80px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 1.5rem 9.5rem;
}

.hero-kicker {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 2.15rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  margin: -0.35rem 0 1.1rem;
}

.hero-brand {
  font-size: clamp(3.5rem, 11vw, 7.6rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 0.92;
  margin-bottom: 1.35rem;
  text-transform: uppercase;
  color: var(--hero-fg);
}
.hero-brand em {
  font-style: normal;
  color: var(--accent);
  font-weight: 400;
}

.hero-lead {
  max-width: 30rem;
  font-size: 1.08rem;
  color: var(--hero-lead);
  margin-bottom: 2.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.75rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
  max-width: 42rem;
}

.hero-trust div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--steel-bright);
  letter-spacing: 0.02em;
}
.hero-trust div span {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.hero-specs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-light);
  background: var(--card);
  backdrop-filter: blur(10px);
}

.hero-specs div {
  padding: 1.15rem 1.6rem 1.25rem;
  border-right: 1px solid var(--line-light);
}

.hero-specs div:last-child { border-right: 0; }

.hero-specs strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  font-weight: 600;
  color: var(--steel-bright);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.hero-specs span {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.scroll-hint {
  position: absolute;
  right: 1.6rem;
  bottom: 5.6rem;
  z-index: 3;
  color: var(--faint);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  animation: pulseHint 2.4s ease-in-out infinite;
}
@keyframes pulseHint {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.85; }
}

/* —— Credibility bar —— */
.cred-bar {
  background: var(--panel);
  border-bottom: 1px solid var(--line-light);
  padding: 1.35rem 0;
}

.cred-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.cred-bar p {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.cred-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.75rem;
  align-items: center;
}

.cred-logos span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.72;
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(26px);
}
.reveal.is-visible {
  animation: sectionRise 0.85s var(--ease) both;
}
.reveal-delay-1.is-visible { animation-delay: 0.12s; }
.reveal-delay-2.is-visible { animation-delay: 0.24s; }
.reveal-delay-3.is-visible { animation-delay: 0.36s; }

@keyframes sectionRise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

.section-head h2 { position: relative; }
.section-head.reveal h2::after {
  content: "";
  display: block;
  width: 3.2rem;
  height: 1px;
  margin-top: 0.85rem;
  background: var(--steel-bright);
  transform: scaleX(0);
  transform-origin: left center;
}
.section-head.center.reveal h2::after { margin-inline: auto; transform-origin: center; }
.section-head.reveal.is-visible h2::after {
  animation: lineGrow 0.8s var(--ease) 0.15s both;
}
@keyframes lineGrow {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

.hero-content > * {
  animation: sectionRise 0.9s var(--ease) both;
}
.hero-content > *:nth-child(1) { animation-delay: 0.05s; }
.hero-content > *:nth-child(2) { animation-delay: 0.16s; }
.hero-content > *:nth-child(3) { animation-delay: 0.28s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.52s; }

.cred-logos span {
  animation: credPulse 3.6s ease-in-out infinite;
}
.cred-logos span:nth-child(2) { animation-delay: 0.4s; }
.cred-logos span:nth-child(3) { animation-delay: 0.8s; }
.cred-logos span:nth-child(4) { animation-delay: 1.2s; }
@keyframes credPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.ach-item,
.domain,
.leader,
.member,
.news-card,
.advisor {
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
}
.ach-item:hover,
.domain:hover,
.leader:hover,
.member:hover,
.news-card:hover,
.advisor:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

/* —— Capability rail (numbered units) —— */
.cap-rail {
  padding: 5.5rem 0 0;
  background: transparent;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
}

.cap-card {
  position: relative;
  min-height: 15.5rem;
  padding: 1.7rem 1.6rem 1.8rem;
  background: var(--card);
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  overflow: hidden;
}

.cap-card:nth-child(3n) { border-right: 0; }

.cap-card .idx {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  color: var(--faint);
  margin-bottom: 0.55rem;
}

.cap-card h3 {
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--steel-bright);
  margin-bottom: 0.45rem;
}

.cap-card p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 22rem;
}

.cap-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--steel-bright);
  transition: width 0.45s var(--ease);
}

.cap-card:hover::after,
.cap-card.is-open::after { width: 100%; }
.cap-card:hover,
.cap-card.is-open { background: var(--hover); }

.cap-card { padding: 0; }
.domain[data-unit-card] { padding: 0; }

.unit-hit {
  display: block;
  width: 100%;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.cap-card .unit-hit {
  min-height: 15.5rem;
  padding: 1.7rem 1.6rem 1.8rem;
}

.domain .unit-hit { padding: 1.9rem 1.5rem; }

[data-unit-board] .domain:hover {
  transform: none;
  box-shadow: none;
}

.unit-sheet {
  background: var(--card-strong);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.unit-sheet[hidden] { display: none; }

.unit-sheet-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 1.4rem 1.5rem 1.9rem;
}

.unit-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.unit-tabs button {
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.48rem 0.72rem;
  border: 1px solid var(--line-light);
  background: transparent;
  color: var(--faint);
  cursor: pointer;
}

.unit-tabs button.is-active,
.unit-tabs button:hover {
  color: var(--ink);
  border-color: var(--steel-bright);
  background: var(--hover);
}

.unit-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.unit-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.3rem;
}

.unit-sheet h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 500;
  color: var(--steel-bright);
  margin-bottom: 0.6rem;
}

.unit-close {
  flex-shrink: 0;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line-light);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.unit-lead {
  max-width: 46rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.unit-sheet h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.7rem;
}

.unit-tasks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.unit-tasks li {
  padding: 0.55rem 0.2rem 0.55rem 0.85rem;
  border-left: 2px solid var(--line-strong);
  color: var(--ink);
}

/* —— Mission / vision —— */
.mv { background: transparent; padding-top: 5.5rem; }

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}

.mv-panel {
  background: var(--card-strong);
  padding: 2.6rem 2.2rem 2.8rem;
  min-height: 18rem;
}

.mv-panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 500;
  color: var(--steel-bright);
  margin-bottom: 0.9rem;
}

.mv-panel p:last-child {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 34rem;
}

/* —— Agenda rows —— */
.agenda { padding-top: 5rem; }

.agenda-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line-light);
  color: inherit;
}

.agenda-row time {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

.agenda-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--steel-bright);
}

.agenda-row em {
  display: block;
  margin-top: 0.2rem;
  font-style: normal;
  color: var(--muted);
  font-size: 0.95rem;
}

.agenda-more {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-bright);
}

.agenda-row:hover .agenda-more { letter-spacing: 0.22em; }
.agenda-row:hover strong { color: var(--hero-fg); }

/* —— Who —— */
.who {
  background: var(--paper);
}

.who-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.75rem;
  align-items: center;
}

.who-copy h2 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  color: var(--ink);
  margin-bottom: 1.15rem;
  font-weight: 500;
}

.who-copy p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.who-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.stat {
  padding-top: 1rem;
  border-top: 2px solid var(--steel-bright);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.stat span {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.who-panel {
  position: relative;
  min-height: 440px;
  background: var(--panel-accent);
  color: var(--hero-fg);
  padding: 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.who-panel::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  top: -60px;
  right: -60px;
}

.who-panel::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid var(--line-light);
  pointer-events: none;
}

.who-panel h3 {
  font-size: 1.75rem;
  margin-bottom: 0.85rem;
  position: relative;
  z-index: 1;
  font-weight: 500;
  color: var(--steel-bright);
}

.who-panel p {
  color: var(--hero-lead);
  position: relative;
  z-index: 1;
  max-width: 22rem;
}

.who-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.6rem;
  position: relative;
  z-index: 1;
}

.who-tags li {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.42rem 0.72rem;
  border: 1px solid var(--line-light);
  color: var(--accent);
}

/* —— Highlight achievement —— */
.highlight {
  background: var(--void);
  color: var(--hero-fg);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}

.highlight::before {
  content: "";
  position: absolute;
  width: 50%;
  height: 140%;
  right: -10%;
  top: -20%;
  background: radial-gradient(circle, rgba(168, 175, 184, 0.14), transparent 65%);
  pointer-events: none;
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.highlight-figure {
  aspect-ratio: 4/3;
  background:
    linear-gradient(145deg, var(--line-light), transparent),
    var(--void-mid);
  border: 1px solid var(--line-dark);
  display: grid;
  place-items: center;
  padding: 2rem;
  position: relative;
}

.highlight-figure img {
  width: min(70%, 240px);
  opacity: 0.9;
}

.highlight-figure .badge {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.highlight-copy .score {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 500;
  color: var(--steel-bright);
  line-height: 1;
  margin: 0.5rem 0 1rem;
}

.highlight-copy h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 500;
  color: var(--hero-fg);
  margin-bottom: 1rem;
}

.highlight-copy p {
  color: var(--faint);
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

/* —— Journey —— */
.journey {
  background: var(--panel);
}

.timeline {
  --tl-dot: 0.72rem;
  --tl-gap: 1.35rem;
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  list-style: none;
  counter-reset: journey;
  padding: 0;
}

/* Vertical rail through dot centers */
.timeline::before {
  content: "";
  position: absolute;
  left: calc(var(--tl-dot) / 2);
  top: 0.55rem;
  bottom: 0.55rem;
  width: 1px;
  background: linear-gradient(var(--steel-bright), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  counter-increment: journey;
  padding: 0 0 2.6rem calc(var(--tl-dot) + var(--tl-gap));
}

.timeline-item:last-child {
  padding-bottom: 0;
}

/* Solid beacon — aligned to title/number baseline */
.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: var(--tl-dot);
  height: var(--tl-dot);
  border-radius: 50%;
  background: var(--steel-bright);
  z-index: 2;
  box-shadow: 0 0 0 4px var(--ring);
  animation: timeline-beacon 2.6s ease-in-out infinite;
}

/* Expanding signal ring */
.timeline-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: var(--tl-dot);
  height: var(--tl-dot);
  border-radius: 50%;
  border: 1.5px solid var(--steel-bright);
  z-index: 1;
  pointer-events: none;
  animation: timeline-ping 2.6s ease-out infinite;
}

.timeline-item:nth-child(1)::before,
.timeline-item:nth-child(1)::after { animation-delay: 0s; }
.timeline-item:nth-child(2)::before,
.timeline-item:nth-child(2)::after { animation-delay: 0.65s; }
.timeline-item:nth-child(3)::before,
.timeline-item:nth-child(3)::after { animation-delay: 1.3s; }
.timeline-item:nth-child(4)::before,
.timeline-item:nth-child(4)::after { animation-delay: 1.95s; }

@keyframes timeline-beacon {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  45% {
    opacity: 0.45;
    transform: scale(0.82);
  }
  55% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes timeline-ping {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  65%, 100% {
    transform: scale(2.75);
    opacity: 0;
  }
}

.timeline-item time {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.timeline-item time::before {
  content: counter(journey) ".";
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  min-width: 1.35em;
  color: var(--steel-bright);
}

.timeline-item p { color: var(--muted); }

/* —— Achievements —— */
.achievements-band {
  background: var(--paper-warm);
  padding: 5.75rem 0;
}

.ach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.ach-item {
  background: var(--panel);
  padding: 2rem 1.65rem;
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease);
}

.ach-item:hover { transform: translateY(-5px); }

.ach-item .year {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-deep);
  margin-bottom: 0.85rem;
  font-weight: 700;
}

.ach-item h3 {
  font-size: 1.45rem;
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-weight: 500;
}

.ach-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

.achievements-band.dark {
  background: var(--void);
}
.achievements-band.dark .section-head h2 { color: var(--steel-bright); }
.achievements-band.dark .section-head p { color: var(--faint); }
.achievements-band.dark .ach-item {
  background: var(--void-mid);
  border-top-color: var(--accent);
  box-shadow: none;
}
.achievements-band.dark .ach-item h3 { color: var(--steel-bright); }
.achievements-band.dark .ach-item p { color: var(--faint); }
.achievements-band.dark .ach-item .year { color: var(--accent); }

/* —— Domains —— */
.domains { background: var(--panel); }

.domain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}

.domain-grid.units-4,
.domain-grid.units-5,
.domain-grid.units-6 {
  grid-template-columns: repeat(3, 1fr);
}

@media (min-width: 981px) {
  .domain-grid.units-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.domain {
  padding: 1.9rem 1.5rem;
  background: var(--panel);
  transition: background 0.3s;
}
.domain:hover { background: var(--hover); }

.domain strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 0.45rem;
  font-weight: 500;
}

.domain p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* —— Leadership preview —— */
.leaders {
  background: var(--paper);
}

.leaders-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.leader {
  background: var(--panel);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-light);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
  position: relative;
}

.leader:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.leader-photo {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(160deg, #1a1f28, #0e1116);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  overflow: hidden;
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.leader-body {
  padding: 1.35rem 1.25rem 1.5rem;
  position: relative;
}

.leader h3 {
  font-size: 1.2rem;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 0.3rem;
  padding-right: 2rem;
}

.leader p {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.li-link {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 2px;
  background: #0a66c2;
  color: var(--hero-fg);
  border: 1px solid #0a66c2;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s;
}

.li-link:hover {
  background: #004182;
  border-color: #004182;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(10, 102, 194, 0.35);
}

.li-link svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: currentColor;
}

.leader .li-link,
.member .li-link {
  right: 0.85rem;
  bottom: 0.85rem;
}

.leader-body .li-link {
  top: 1.2rem;
  bottom: auto;
  right: 1rem;
}

.founders-home {
  margin-top: 2.75rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--line-light);
  background: var(--panel);
}

.founders-home-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 0.85rem 0 1rem;
}

.founder-home-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  position: relative;
  padding: 0.35rem 0;
}

.founder-home-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  object-position: center top;
  background: var(--void-soft);
}

.founder-home-item .li-link {
  position: static;
}

.founders-home-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.founders-home-row span {
  font-size: 0.8rem;
  color: var(--steel-deep);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.founders-home-note {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 40rem;
}

/* —— Sponsors —— */
.sponsor-marquee {
  overflow: hidden;
  margin-inline: -1.5rem;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.sponsor-track {
  display: flex;
  gap: 1.15rem;
  width: max-content;
  padding: 0.4rem 0 1rem;
  animation: sponsorScroll 36s linear infinite;
}

.sponsor-marquee:hover .sponsor-track {
  animation-play-state: paused;
}

.sponsor-track .sponsor-card {
  width: 280px;
  flex: 0 0 280px;
  height: auto;
}

@keyframes sponsorScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.35rem;
  align-items: stretch;
}

.sponsor-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--panel);
  border: 1px solid var(--line-light);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.sponsor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(21, 24, 32, 0.22);
}

.sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 176px;
  height: 176px;
  padding: 1.5rem 1.5rem;
  background: #fafbfc;
}

.sponsor-logo img {
  display: block;
  max-width: 88%;
  max-height: 96px;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}

.sponsor-logo--dark {
  background: #0e1116;
}

.sponsor-logo--dark img {
  max-height: 108px;
}

/* Square crest logos (e.g. Erzurum BB) — optical vertical balance */
.sponsor-logo--crest img {
  max-height: 108px;
  max-width: 108px;
  transform: translateY(4px);
}

.sponsor-meta {
  margin-top: auto;
  min-height: 5.75rem;
  padding: 1.15rem 1.35rem 1.35rem;
  border-top: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sponsor-meta h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.3rem;
  line-height: 1.25;
}

.sponsor-meta span {
  font-size: 0.82rem;
  color: var(--steel-deep);
  letter-spacing: 0.04em;
}

@media (max-width: 700px) {
  .sponsors-grid {
    grid-template-columns: 1fr;
  }
}

.member.founder {
  border-color: rgba(21, 24, 32, 0.16);
  background:
    linear-gradient(180deg, transparent, transparent 40%),
    var(--panel);
}

.member.founder .member-avatar {
  background: linear-gradient(160deg, #2a303a, #151820);
}

.member.founder .role {
  color: var(--ink);
}

@media (max-width: 700px) {
  .founders-home-row {
    grid-template-columns: 1fr;
  }
}

/* —— Sponsor block —— */
.sponsor-band {
  background: var(--hero-bg);
  color: var(--hero-fg);
  padding: 5.5rem 0;
}

.sponsor-band .wrap {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.sponsor-band h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 500;
  color: var(--steel-bright);
  margin-bottom: 0.85rem;
}

.sponsor-band p {
  color: var(--faint);
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.sponsor-points {
  display: grid;
  gap: 0.75rem;
}

.sponsor-points li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--hero-lead);
  font-size: 0.95rem;
}

.sponsor-points li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.45rem;
  flex-shrink: 0;
  background: var(--accent);
}

.sponsor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* —— Join CTA —— */
.join-cta {
  background: var(--paper-warm);
  padding: 5rem 0;
  border-top: 1px solid var(--line-light);
}

.join-cta .wrap {
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 2rem;
  align-items: center;
}

.join-cta h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  margin-bottom: 0.65rem;
  font-weight: 500;
  color: var(--ink);
}

.join-cta p {
  color: var(--muted);
  max-width: 34rem;
}

/* —— Page hero —— */
.page-hero {
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 3.5rem) 0 3.25rem;
  background: var(--hero-bg);
  color: var(--hero-fg);
  border-bottom: 1px solid var(--line-light);
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.7rem);
  margin-bottom: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--steel-bright);
}

.page-hero p {
  max-width: 38rem;
  color: var(--faint);
  font-size: 1.08rem;
}

/* —— Team —— */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}

.member {
  display: grid;
  grid-template-columns: 160px 1fr;
  background: var(--panel);
  border: 1px solid var(--line-light);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  position: relative;
}

.member:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.member-avatar {
  position: relative;
  min-height: 180px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #1a1f28, #0e1116);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.6rem;
  width: 160px;
  overflow: hidden;
}

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  position: absolute;
  inset: 0;
}

.member-avatar .li-link {
  right: 0.65rem;
  bottom: 0.65rem;
}

.member-info {
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.member h3 {
  font-size: 1.45rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.member .role {
  font-size: 0.84rem;
  color: var(--steel-deep);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.55rem;
}

.member p {
  font-size: 0.92rem;
  color: var(--muted);
}

.advisor-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.advisor-row.solo {
  grid-template-columns: minmax(0, 28rem);
}

.advisor {
  background: var(--panel);
  color: var(--ink);
  padding: 2rem;
}

.advisor .role {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.advisor h3 {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--steel-bright);
}

.advisor p {
  color: var(--nav-link);
  font-size: 0.92rem;
  margin-top: 0.5rem;
}

/* —— Forms —— */
.form {
  display: grid;
  gap: 1rem;
  max-width: 560px;
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.form input,
.form textarea,
.form select {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line-light);
  background: var(--input-bg);
  color: var(--steel-bright);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--void);
  box-shadow: 0 0 0 3px var(--ring);
}

.form textarea { min-height: 140px; resize: vertical; }

.form-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.5rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.form-note a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.join-benefits {
  display: grid;
  gap: 0.85rem;
  color: var(--muted);
}

.join-benefits li {
  padding-left: 1.1rem;
  position: relative;
}

.join-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--ink);
}

.join-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.15;
  font-weight: 500;
}

.contact-grid,
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info dt {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-deep);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.contact-info dd {
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.contact-info a:hover { color: var(--ink); }

/* —— Footer —— */
.site-footer {
  background: var(--footer-bg);
  color: var(--nav-link);
  padding: 3.75rem 0 2rem;
}

.footer-socials {
  display: flex;
  gap: 0.65rem;
  margin: 0.35rem 0 1.1rem;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  margin: 0;
  border: 1px solid var(--line-strong);
  color: var(--steel-bright);
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s;
}

.footer-socials a:hover {
  transform: translateY(-3px);
  background: var(--hover);
  border-color: var(--steel-bright);
  color: var(--hero-fg);
}

.footer-socials svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-dark);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--steel-bright);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.footer-brand img {
  width: 2.35rem;
  height: 2.35rem;
  object-fit: contain;
}

.site-footer h4 {
  color: var(--steel-bright);
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.site-footer a {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
  transition: color 0.25s;
}

.site-footer a:hover { color: var(--steel-bright); }

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--faint);
}

/* —— Surface helpers —— */
.surface-paper { background: var(--paper); }
.surface-panel { background: var(--panel); }
.surface-warm { background: var(--paper-warm); }

/* —— Responsive —— */
@media (max-width: 1100px) {
  .nav-toggle { display: block; margin-left: auto; }
  .theme-toggle { margin-left: 0.35rem; }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    background: var(--header-bg);
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    padding: 1.25rem 1.5rem 1.75rem;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.35s var(--ease);
    border-bottom: 1px solid var(--line-dark);
    justify-content: flex-start;
  }

  .nav-links.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
  }

  .nav-links a:not(.nav-cta)::after {
    left: 0;
    right: auto;
    bottom: 0.75rem;
    width: 1.35rem;
    transform-origin: left;
  }

  .nav-links a:not(.nav-cta).is-active {
    border-bottom-color: var(--line-strong);
  }

  .nav-cta {
    margin-top: 0.75rem;
    justify-content: center;
    font-size: 0.76rem !important;
    padding: 0.58rem 1.15rem;
  }

  .who-grid,
  .ach-grid,
  .domain-grid,
  .join-cta .wrap,
  .contact-grid,
  .split-grid,
  .footer-top,
  .advisor-row,
  .highlight-grid,
  .sponsor-band .wrap,
  .leaders-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .who-stats { grid-template-columns: 1fr; }
  .who-panel { min-height: 300px; }
  .hero-content { padding-bottom: 8.5rem; }
  .member {
    grid-template-columns: 120px 1fr;
  }
  .member-avatar {
    width: 120px;
    min-height: 150px;
    font-size: 1.25rem;
  }
  .domain-grid,
  .domain-grid.units-4,
  .domain-grid.units-5,
  .domain-grid.units-6 {
    grid-template-columns: 1fr;
    border: none;
    gap: 0.75rem;
    background: transparent;
  }
  .domain { border: 1px solid var(--line-light); }
}

@media (min-width: 700px) and (max-width: 980px) {
  .leaders-grid,
  .team-grid,
  .domain-grid.units-4,
  .domain-grid.units-5,
  .domain-grid.units-6 {
    grid-template-columns: 1fr 1fr;
  }
  .domain-grid.units-5 .domain,
  .domain-grid.units-6 .domain {
    grid-column: auto;
  }
}

/* —— Legal / news / gallery / cookie —— */
.legal-content {
  max-width: 720px;
  color: var(--ink-soft);
}
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--ink);
  margin: 2rem 0 0.75rem;
  font-weight: 500;
}
.legal-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.75rem 0 1rem;
}
.legal-content li { margin-bottom: 0.35rem; }
.legal-content a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-list {
  display: grid;
  gap: 1.25rem;
  max-width: 800px;
}
.news-card {
  padding: 1.5rem 1.6rem;
  background: var(--panel);
  border: 1px solid var(--line-light);
}
.news-card time {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.news-card h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}
.news-card p { color: var(--muted); margin-bottom: 0.85rem; }
.text-link {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-field {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  z-index: 45; /* above .site-watermark so logo never sits on photos */
  margin: 0;
  background: var(--void-mid);
  overflow: hidden;
  isolation: isolate;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-item figcaption {
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  color: var(--steel-bright);
  background: var(--void);
}

/* 16:9 hero — native ratio, no crop */
.gallery-field .is-wide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--void-mid);
}

/* 3:4 portrait — centered, full body in frame */
.gallery-field .is-portrait {
  width: min(100%, 520px);
  margin-inline: auto;
}
.gallery-field .is-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: var(--void-mid);
}

/* 4:3 landscapes — equal row, full frame */
.gallery-landscapes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-landscapes .gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--void-mid);
}

/* Square portraits */
.gallery-portraits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-portraits .gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
}
.gallery-logo img {
  object-fit: contain;
  padding: 1.25rem;
  background: var(--void-mid);
}

@media (max-width: 900px) {
  .gallery-landscapes {
    grid-template-columns: 1fr;
  }
  .gallery-portraits {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-field .is-portrait {
    width: min(100%, 420px);
  }
}

@media (max-width: 760px) {
  .mv-grid,
  .hero-specs,
  .cap-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 0 1.5rem 16.5rem; }
  .hero-specs div { border-right: 0; border-bottom: 1px solid var(--line-light); }
  .cap-card { border-right: 0; min-height: 0; }
  .cap-card .unit-hit { min-height: 0; }
  .agenda-row { grid-template-columns: 1fr; gap: 0.35rem; }
  .scroll-hint { display: none; }
  .page-hero { min-height: 0; }
}

@media (max-width: 700px) {
  .gallery-grid,
  .gallery-field { grid-template-columns: 1fr; }
  .gallery-portraits { grid-template-columns: 1fr 1fr; }
  .cookie-bar { flex-direction: column; align-items: stretch; }
}

.map-embed {
  margin-top: 2.5rem;
  border: 1px solid var(--line-light);
  overflow: hidden;
  background: var(--paper-warm);
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}
.map-caption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.cookie-bar {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 10000;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  background: var(--header-bg);
  color: var(--steel-bright);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-soft);
}
.cookie-bar p {
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0;
}
.cookie-bar a {
  color: var(--hero-fg);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-bar .btn { flex-shrink: 0; padding: 0.55rem 0.9rem; font-size: 0.72rem; }

.lang-switch {
  font-size: 0.68rem !important;
  letter-spacing: 0.08em !important;
  font-weight: 700 !important;
  opacity: 0.85;
}
.lang-switch:hover { opacity: 1; }

.form-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.82rem;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
  color: var(--ink-soft);
  margin: 0.5rem 0 1rem;
}
.form-check input {
  margin-top: 0.2rem;
  width: auto;
  accent-color: var(--void);
}
.form-check a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ach-item .press-link {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.error-main {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 6rem 1.5rem 4rem;
  background: var(--paper);
}
.error-box { text-align: center; max-width: 520px; }
.error-box h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0.5rem 0 0.75rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-header.force-solid {
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line-dark);
}

@media (max-width: 700px) {
  .cookie-bar { flex-direction: column; align-items: stretch; }
}

/* —— Nav active / hover underline —— */
.nav-links a {
  position: relative;
  padding-bottom: 0.35rem;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--steel-bright);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.nav-links a:not(.nav-cta):hover::after {
  opacity: 0.4;
}

.nav-links a:not(.nav-cta).is-active::after {
  opacity: 1;
}

.nav-links a:not(.nav-cta).is-active:hover::after {
  opacity: 1;
}

.form-error {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(139, 30, 30, 0.28);
  background: rgba(139, 30, 30, 0.06);
  color: #6b1515;
  font-size: 0.92rem;
  line-height: 1.5;
}

.field-optional {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.form input[type="file"] {
  padding: 0.55rem 0;
  border: 0;
  background: transparent;
}

/* —— Boot / systems intro (home only) —— */
body.is-booting {
  overflow: hidden;
}

html.boot-skip .boot-screen,
.boot-screen.is-done {
  display: none !important;
  pointer-events: none;
}

html.boot-skip body.is-booting {
  overflow: auto;
}

.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: var(--void);
  color: var(--steel-bright);
  isolation: isolate;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.boot-screen.is-leaving {
  opacity: 0;
  transform: translateY(-1.25rem);
  pointer-events: none;
}

.boot-atmosphere {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--card), transparent 40%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 47px,
      var(--grid) 48px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 47px,
      var(--grid) 48px
    );
  pointer-events: none;
}

.boot-hud {
  position: absolute;
  width: 1.1rem;
  height: 1.1rem;
  border-color: var(--line-strong);
  border-style: solid;
  border-width: 0;
  pointer-events: none;
}
.boot-hud.tl { top: 1.25rem; left: 1.25rem; border-top-width: 1px; border-left-width: 1px; }
.boot-hud.tr { top: 1.25rem; right: 1.25rem; border-top-width: 1px; border-right-width: 1px; }
.boot-hud.bl { bottom: 1.25rem; left: 1.25rem; border-bottom-width: 1px; border-left-width: 1px; }
.boot-hud.br { bottom: 1.25rem; right: 1.25rem; border-bottom-width: 1px; border-right-width: 1px; }

.boot-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  width: min(20rem, 86vw);
  text-align: center;
}

.boot-mark {
  position: relative;
  width: 6.5rem;
  height: 6.5rem;
  display: grid;
  place-items: center;
}

.boot-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from -90deg,
    var(--steel-bright) 0deg,
    var(--steel-bright) calc(var(--boot-p, 0) * 3.6deg),
    var(--line-light) calc(var(--boot-p, 0) * 3.6deg)
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
}

.boot-logo {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-light);
  background: var(--void-mid);
  opacity: 0;
  transform: scale(0.92);
  animation: boot-logo-in 0.55s var(--ease) 0.12s forwards;
}

.boot-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--steel-bright);
  opacity: 0;
  animation: boot-fade-up 0.5s var(--ease) 0.28s forwards;
}

.boot-brand em {
  font-style: normal;
  font-weight: 500;
  color: var(--nav-link);
}

.boot-status {
  margin: 0;
  min-height: 1.25rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
}

.boot-track {
  width: 100%;
  height: 1px;
  background: var(--line-light);
  overflow: hidden;
}

.boot-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--steel-bright);
  transform-origin: left center;
}

.boot-meta {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(139, 146, 156, 0.85);
}

.boot-skip-btn {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line-light);
  background: transparent;
  color: var(--steel);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.boot-skip-btn:hover,
.boot-skip-btn:focus-visible {
  color: var(--steel-bright);
  border-color: var(--faint);
  outline: none;
}

@keyframes boot-logo-in {
  to { opacity: 1; transform: scale(1); }
}

@keyframes boot-fade-up {
  from { opacity: 0; transform: translateY(0.4rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-video { display: none; }
  .boot-screen { display: none !important; }
  body.is-booting { overflow: auto; }
}
