/*
! tailwindcss v3.4.4 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

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

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden] {
  display: none;
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

.container {
  width: 100%;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

.visible {
  visibility: visible;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.flex-shrink {
  flex-shrink: 1;
}

.grow {
  flex-grow: 1;
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.flex-wrap {
  flex-wrap: wrap;
}

.border {
  border-width: 1px;
}

.text-center {
  text-align: center;
}

.uppercase {
  text-transform: uppercase;
}

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.outline {
  outline-style: solid;
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* ══════════════════════════════════════════════════════════════════════
   AFRICAN ELITE YOUTH HUB — DESIGN SYSTEM
   Primary:   Deep Rwandan Emerald
   Secondary: Radiant Sun Gold
   Neutrals:  Deep Slate (dark) · Warm Sand (light canvas)
   Grid:      8pt spatial system · Modular type scale · WCAG AAA-targeted
   ══════════════════════════════════════════════════════════════════════ */

:root {
  /* ── Brand: Primary — Rwandan Emerald ─────────────────────────────── */
  --emerald: #00a35c;
  --emerald-light: #10c97a;
  --emerald-dark: #0b6623;
  --emerald-50: #e6f7ef;
  --emerald-100: #c3ecd9;
  /* ── Brand: Secondary — Radiant Sun Gold ──────────────────────────── */
  --sun-gold: #e5a93c;
  --sun-gold-light: #fad201;
  --sun-gold-dark: #b9832a;
  /* ── Neutrals: Deep Slate (dark surfaces) ─────────────────────────── */
  --slate: #0f172a;
  --slate-mid: #16233b;
  --slate-light: #1e293b;
  /* ── Neutrals: Warm Sand (light canvas) ───────────────────────────── */
  --sand: #f8f5ef;
  --sand-100: #f1ece1;
  --white: #ffffff;
  /* ── Neutral text/border scale (WCAG AAA-targeted on white/sand) ──── */
  --gray-900: #12181f;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #47525e;
  /* ≥7:1 on white — body copy */
  --gray-300: #d7d2c6;
  /* borders on light surfaces */
  --gray-100: #f0ebe1;
  /* ── Status ────────────────────────────────────────────────────────── */
  --status-green: #1e8e5a;
  --status-green-light: #3bc488;
  /* ── 8pt Spatial Grid ──────────────────────────────────────────────── */
  --space-1: 0.5rem;
  /* 8px  */
  --space-2: 1rem;
  /* 16px */
  --space-3: 1.5rem;
  /* 24px */
  --space-4: 2rem;
  /* 32px */
  --space-5: 2.5rem;
  /* 40px */
  --space-6: 3rem;
  /* 48px */
  --space-8: 4rem;
  /* 64px */
  --space-10: 5rem;
  /* 80px */
  --space-12: 6rem;
  /* 96px */
  /* ── Radii ─────────────────────────────────────────────────────────── */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 999px;
  /* ── Elevation ─────────────────────────────────────────────────────── */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06),
    0 1px 1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.16);
  --shadow-emerald: 0 10px 28px rgba(0, 163, 92, 0.28);
  /* ── Motion ────────────────────────────────────────────────────────── */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.2s;
  --dur-base: 0.35s;
  --dur-slow: 0.6s;
}

/* ─── Reset & Base ────────────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
}

/* ─── Typography — Modular Scale ─────────────────────────────────────── */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.15;
  color: var(--gray-900);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
}

h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
}

h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
}

h4 {
  font-size: 1.05rem;
}

h5 {
  font-size: 0.95rem;
}

p {
  font-size: 1rem;
  color: var(--gray-600);
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald-dark);
  display: block;
  margin-bottom: var(--space-1);
}

.section-title {
  color: var(--gray-900);
  margin-bottom: var(--space-2);
}

.section-title em {
  color: var(--emerald);
  font-style: normal;
}

.section-subtitle {
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--gray-600);
}

/* ─── Icon System ─────────────────────────────────────────────────────── */

.icon {
  width: 1.4em;
  height: 1.4em;
  flex-shrink: 0;
}

.hero-badge .icon {
  color: var(--sun-gold-light);
  width: 1rem;
  height: 1rem;
}

.value-chip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-1);
}

.value-chip-icon .icon {
  color: var(--emerald-dark);
  width: 1.6rem;
  height: 1.6rem;
}

.program-icon .icon,
.contact-icon .icon {
  color: var(--sun-gold-light);
  width: 1.5rem;
  height: 1.5rem;
}

.involved-icon {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-3);
}

.involved-icon .icon {
  color: var(--emerald-light);
  width: 2rem;
  height: 2rem;
}

.dev-badge .icon {
  width: 0.95rem;
  height: 0.95rem;
}

.news-img .icon {
  color: rgba(255, 255, 255, 0.45);
  width: 2.25rem;
  height: 2.25rem;
}

/* ─── Social Buttons ──────────────────────────────────────────────────── */

.social-row {
  display: flex;
  gap: var(--space-2);
}

.social-btn {
  width: 40px;
  height: 40px;
  /* background: var(--slate); */
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition:
    background var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease);
}

.social-btn svg {
  width: 17px;
  height: 17px;
}

.social-btn:hover {
  background: var(--emerald);
  color: var(--white);
  transform: translateY(-2px);
}

.social-btn:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 2px;
}

/* ─── Utility ─────────────────────────────────────────────────────────── */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.section-pad {
  padding: var(--space-12) 0;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin: 0 auto;
}

.gold {
  color: var(--sun-gold);
}

.navy {
  color: var(--slate);
}

/* ─── Buttons ─────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    transform var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease),
    background-color var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    color var(--dur-fast) ease;
}

.btn-primary {
  background: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
}

.btn-primary:hover {
  background: var(--emerald-dark);
  border-color: var(--emerald-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-emerald);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--slate);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  color: var(--slate);
  border-color: var(--slate);
}

.btn-outline-navy:hover {
  background: var(--slate);
  color: var(--white);
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 2px solid var(--sun-gold);
  outline-offset: 3px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* ─── Navigation ──────────────────────────────────────────────────────── */

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition:
    background var(--dur-base) var(--ease),
    box-shadow var(--dur-base) var(--ease);
}

#navbar.scrolled {
  background: rgba(15, 23, 42, 0.92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
          backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 var(--space-3);
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-logo-name {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
}

.nav-logo-tagline {
  font-size: 0.65rem;
  color: var(--sun-gold-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  transition:
    color var(--dur-fast) ease,
    background var(--dur-fast) ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--sun-gold-light);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  background: var(--emerald) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  padding: 0.6rem 1.3rem !important;
  margin-left: 0.4rem;
}

.nav-cta:hover {
  background: var(--emerald-dark) !important;
  box-shadow: var(--shadow-emerald);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-1);
  background: none;
  border: none;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition:
    transform var(--dur-fast) var(--ease),
    opacity var(--dur-fast) ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── Hero ────────────────────────────────────────────────────────────── */

#hero {
  min-height: 100vh;
  background: linear-gradient(
    160deg,
    var(--slate) 0%,
    var(--slate-light) 55%,
    #0b2418 100%
  );
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 84% 16%,
      rgba(229, 169, 60, 0.12) 0%,
      transparent 42%
    ),
    radial-gradient(
      circle at 8% 88%,
      rgba(0, 163, 92, 0.14) 0%,
      transparent 46%
    );
  pointer-events: none;
}

/* .hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
} */

/* ============================================================ */

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-8);
  align-items: center;
}

.hero-content {
  max-width: 580px;
}

/* ── Hero Visual (image + floating stat cards) ─────────────────────── */

.hero-visual {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 3 / 4;
}

.hero-visual-blob {
  position: absolute;
  inset: -6% -12% -6% 8%;
  background: linear-gradient(150deg, var(--emerald-light) 0%, var(--emerald-dark) 55%, var(--sun-gold-dark) 135%);
  border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%;
  z-index: 0;
}

.hero-visual-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50% 50% 46% 54% / 54% 46% 54% 46%;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg);
}

.hero-visual-frame img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center 22%;
     object-position: center 22%;
  display: block;
}

.hero-float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem 0.65rem 0.65rem;
  box-shadow: var(--shadow-lg);
  animation: hero-float 4.5s ease-in-out infinite;
}

.hero-float-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--emerald-50);
  color: var(--emerald-dark);
}

.hero-float-icon .icon {
  width: 1.05rem;
  height: 1.05rem;
}

.hero-float-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gray-700);
  line-height: 1.3;
}

.hero-float-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--emerald-dark);
  line-height: 1.3;
}

.hero-float-1 {
  top: 4%;
  right: -6%;
  animation-delay: 0s;
}

.hero-float-2 {
  bottom: 22%;
  left: -14%;
  animation-delay: 1.4s;
}

.hero-float-3 {
  bottom: -3%;
  right: 10%;
  animation-delay: 2.8s;
}

@keyframes hero-float {
  0%, 100% {
    transform: translateY(0);
  }

  50%       {
    transform: translateY(-8px);
  }
}

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

  .hero-content {
    max-width: 100%;
  }

  .hero-visual {
    max-width: 340px;
    margin: var(--space-6) auto 0;
  }

  .hero-float-card {
    padding: 0.5rem 0.85rem 0.5rem 0.5rem;
  }

  .hero-float-1 {
    right: -2%;
  }

  .hero-float-2 {
    left: -6%;
  }

  .hero-float-3 {
    right: 2%;
  }
}

@media (max-width: 480px) {
  .hero-float-label, .hero-float-value {
    font-size: 0.65rem;
  }

  .hero-float-icon {
    width: 28px;
    height: 28px;
  }
}

/* ============================================================ */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  background: rgba(229, 169, 60, 0.14);
  border: 1px solid rgba(229, 169, 60, 0.32);
  color: var(--sun-gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.hero-title {
  color: var(--white);
  margin-bottom: var(--space-3);
}

.hero-title .highlight {
  color: var(--emerald-light);
  display: block;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 600px;
  margin-bottom: var(--space-5);
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  margin-top: var(--space-6);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-num {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--sun-gold-light);
  display: block;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll::after {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(transparent, rgba(229, 169, 60, 0.6));
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ─── Focus Strip ─────────────────────────────────────────────────────── */

#about-strip {
  background: var(--sun-gold);
  padding: var(--space-2) 0;
}

.focus-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-3);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 1.75rem;
}

.focus-item {
  position: relative;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 0.15rem 0;
}

.focus-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.45);
}

/* ─── About Section ───────────────────────────────────────────────────── */

#about {
  background: var(--sand);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-card-big {
  background: var(--slate);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.about-card-big::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(229, 169, 60, 0.14);
}

.about-card-big::after {
  content: '"';
  position: absolute;
  bottom: -1rem;
  right: 1.5rem;
  font-size: 10rem;
  font-family: "Playfair Display", serif;
  color: rgba(0, 163, 92, 0.16);
  line-height: 1;
}

.about-quote {
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.about-card-float {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background: var(--sun-gold);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  text-align: center;
  min-width: 140px;
  box-shadow: var(--shadow-md);
}

.about-card-float .num {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--slate);
  display: block;
}

.about-card-float .lbl {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.05em;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.value-chip {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: var(--space-2);
  text-align: center;
  transition:
    border-color var(--dur-fast) ease,
    transform var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
}

.value-chip:hover {
  border-color: var(--emerald);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.value-chip-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-900);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── Programs ────────────────────────────────────────────────────────── */

#programs {
  background: var(--white);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.program-card {
  background: var(--sand);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  border: 1px solid var(--gray-100);
  transition:
    border-color var(--dur-base) var(--ease),
    transform var(--dur-base) var(--ease),
    box-shadow var(--dur-base) var(--ease);
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--emerald);
  transition: height var(--dur-base) var(--ease);
}

.program-card:hover::before {
  height: 100%;
}

.program-card:hover {
  border-color: rgba(0, 163, 92, 0.3);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.program-icon {
  width: 52px;
  height: 52px;
  background: var(--slate);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
}

.program-card h3 {
  color: var(--gray-900);
  margin-bottom: var(--space-1);
}

.program-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.program-tag {
  display: inline-block;
  background: var(--emerald-50);
  color: var(--emerald-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

/* ─── Team ────────────────────────────────────────────────────────────── */

#team {
  background: var(--slate);
}

#team .section-title {
  color: var(--white);
}

#team .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.team-carousel-wrap {
  position: relative;
  overflow: hidden;
  margin-top: var(--space-6);
}

.team-carousel {
  display: flex;
  gap: var(--space-3);
  transition: transform var(--dur-slow) var(--ease);
  will-change: transform;
  cursor: grab;
  align-items: stretch;
}

.team-carousel:active {
  cursor: grabbing;
}

/* 
-----------------------------------------------------------------------------------
 */

.team-card {
  background: rgba(255, 255, 255, 0.05);
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition:
    border-color var(--dur-base) ease,
    transform var(--dur-base) var(--ease);
  flex: 0 0 calc((100% - (2 * var(--space-3))) / 3);
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.team-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(0, 163, 92, 0.45);
  transform: translateY(-4px);
}

/* FOR TEST */

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  border: 3px solid rgba(201, 168, 76, 0.3);
  overflow: hidden;
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  transition:
    top var(--dur-base) var(--ease),
    left var(--dur-base) var(--ease),
    width var(--dur-base) var(--ease),
    height var(--dur-base) var(--ease),
    transform var(--dur-base) var(--ease),
    border-radius var(--dur-base) var(--ease),
    border-color var(--dur-base) ease;
}

.team-card:hover .team-avatar {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: none;
  border-radius: 8px;
  border-color: transparent;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  /* border-radius: 50%; */
}

/* FORT TEST */

.team-card h4 {
  color: var(--white);
  margin-bottom: 0.4rem;
}

.team-card-role {
  font-size: 0.78rem;
  color: var(--sun-gold-light);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.team-card-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.team-card-info {
  position: relative;
  z-index: 2;
  margin-top: 5.75rem;
  transition: opacity var(--dur-base) ease;
}

.team-card:hover .team-card-info {
  opacity: 0;
  pointer-events: none;
}

.team-card-position {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1rem;
  z-index: 3;
  margin: 0;
  text-align: right;
  opacity: 0;
  pointer-events: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
  transition: opacity var(--dur-base) ease 0.1s;
}

.team-card:hover .team-card-position {
  opacity: 1;
  color: var(--sun-gold);
}

/* 
-----------------------------------------------------------------------------------
*/

/* .team-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 0;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--slate-light);
  transition: border-color var(--dur-base) ease, transform var(--dur-base) var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-4) var(--space-3) var(--space-3);
  cursor: pointer;
}
.team-card:hover { border-color: var(--emerald); transform: translateY(-4px); }

.tc-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 58%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity var(--dur-base) ease;
  z-index: 0;
  pointer-events: none;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.team-card:hover .tc-bg { opacity: 1; }

.tc-photo-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 65%;
  background: linear-gradient(to bottom, transparent 40%, var(--slate-light) 100%);
  opacity: 0;
  transition: opacity var(--dur-base) ease;
  z-index: 1;
  pointer-events: none;
}
.team-card:hover .tc-photo-overlay { opacity: 1; }

.tc-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(0, 163, 92, 0.35);
  background: linear-gradient(135deg, var(--emerald-dark), var(--emerald));
  flex-shrink: 0;
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 2;
  transition: margin-top var(--dur-base) ease, border-color var(--dur-fast) ease;
}
.team-card:hover .tc-avatar {
  margin-top: calc(58% - 36px);
  border-color: rgba(229, 169, 60, 0.75);
}
.tc-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

.tc-body { position: relative; z-index: 2; width: 100%; }
.tc-body h3 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.tc-role {
  font-size: 0.75rem;
  color: var(--sun-gold-light);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.tc-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
  transition: opacity var(--dur-fast) ease;
}
.team-card:hover .tc-desc { opacity: 0; } */

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    color var(--dur-fast) ease;
}

.carousel-btn:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--white);
}

.carousel-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.carousel-dots {
  display: flex;
  gap: var(--space-1);
  align-items: center;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition:
    width var(--dur-fast) var(--ease),
    background var(--dur-fast) ease;
  padding: 0;
}

.carousel-dot.active {
  background: var(--sun-gold);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .team-card {
    flex: 0 0 calc((100% - var(--space-3)) / 2);
  }
}

@media (max-width: 580px) {
  .team-card {
    flex: 0 0 100%;
  }
}

/* ─── Projects ────────────────────────────────────────────────────────── */

#projects {
  background: var(--sand);
}

.projects-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-8);
  align-items: start;
  margin-top: var(--space-6);
}

.project-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: flex;
  gap: var(--space-2);
  position: relative;
}

.timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 36px;
  width: 2px;
  height: 100%;
  background: var(--gray-300);
}

.timeline-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sun-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  margin-top: 0.25rem;
}

.timeline-dot-inner {
  width: 10px;
  height: 10px;
  background: var(--slate);
  border-radius: 50%;
}

.timeline-body {
  padding-bottom: var(--space-5);
}

.timeline-date {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--sun-gold-dark);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.timeline-body h4 {
  color: var(--gray-900);
  margin-bottom: 0.35rem;
}

.timeline-body p {
  font-size: 0.85rem;
}

.project-cards {
  display: grid;
  gap: var(--space-3);
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  border: 1px solid var(--gray-300);
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  transition:
    border-color var(--dur-fast) ease,
    box-shadow var(--dur-fast) ease;
}

.project-card:hover {
  border-color: var(--emerald);
  box-shadow: var(--shadow-sm);
}

.project-num {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--emerald-100);
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
}

.project-card h4 {
  color: var(--gray-900);
  margin-bottom: 0.4rem;
}

.project-card p {
  font-size: 0.88rem;
  margin-bottom: var(--space-1);
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-upcoming .status-dot {
  background: var(--sun-gold);
}

.status-upcoming {
  color: var(--sun-gold-dark);
}

.status-planning .status-dot {
  background: var(--status-green);
}

.status-planning {
  color: var(--status-green);
}

/* ─── Get Involved ────────────────────────────────────────────────────── */

#get-involved {
  background: linear-gradient(135deg, var(--slate) 0%, var(--slate-light) 100%);
  position: relative;
  overflow: hidden;
}

#get-involved::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 90% 10%,
    rgba(229, 169, 60, 0.12) 0%,
    transparent 50%
  );
}

.involved-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-6);
  position: relative;
  z-index: 1;
}

.involved-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-4);
  text-align: center;
  transition:
    background var(--dur-base) ease,
    border-color var(--dur-base) ease,
    transform var(--dur-base) var(--ease);
}

.involved-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(0, 163, 92, 0.45);
  transform: translateY(-4px);
}

.involved-card h3 {
  color: var(--white);
  margin-bottom: var(--space-2);
}

.involved-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: var(--space-4);
}

/* ─── News ────────────────────────────────────────────────────────────── */

#news {
  background: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.news-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-300);
  transition:
    transform var(--dur-base) var(--ease),
    box-shadow var(--dur-base) var(--ease);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.news-img {
  height: 180px;
  background: linear-gradient(135deg, var(--slate), var(--slate-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-body {
  padding: var(--space-3);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-1);
}

.news-cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald-dark);
}

.news-date {
  font-size: 0.78rem;
  color: var(--gray-600);
}

.news-card h4 {
  color: var(--gray-900);
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.news-card p {
  font-size: 0.85rem;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: var(--space-2);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--emerald-dark);
  transition: gap var(--dur-fast) ease;
}

.news-link:hover {
  gap: 0.6rem;
}

/* ─── Contact ─────────────────────────────────────────────────────────── */

#contact {
  background: var(--sand);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-8);
  margin-top: var(--space-6);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--slate);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald-dark);
  margin-bottom: 0.2rem;
}

.contact-item-val {
  color: var(--gray-800);
  font-weight: 500;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-900);
  letter-spacing: 0.02em;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  background: var(--white);
  color: var(--gray-800);
  transition:
    border-color var(--dur-fast) ease,
    box-shadow var(--dur-fast) ease;
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px var(--emerald-50);
}

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

/* ─── Under Development Overlay ───────────────────────────────────────── */

#dev-page {
  display: none;
  min-height: 100vh;
  background: var(--slate);
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-8) var(--space-3);
}

#dev-page.active {
  display: flex;
}

.dev-inner {
  max-width: 520px;
}

.dev-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  background: rgba(0, 163, 92, 0.15);
  border: 1px solid rgba(0, 163, 92, 0.32);
  color: var(--emerald-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.dev-progress {
  width: 140px;
  height: 3px;
  margin: 0 auto var(--space-4);
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.dev-progress span {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--emerald);
  border-radius: var(--radius-full);
  animation: dev-progress-slide 1.8s var(--ease) infinite;
}

@keyframes dev-progress-slide {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(350%);
  }
}

.dev-title {
  color: var(--white);
  margin-bottom: var(--space-2);
  font-size: 2.5rem;
}

.dev-title .accent {
  color: var(--sun-gold-light);
}

.dev-desc {
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: var(--space-4);
  font-size: 1rem;
}

.dev-btn-group {
  justify-content: center;
  gap: var(--space-2);
}

.dev-footnote {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.78rem;
  margin-top: var(--space-6);
}

/* ─── Footer ──────────────────────────────────────────────────────────── */

footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.68);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-6);
  padding: var(--space-8) 0 var(--space-6);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-1);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.brand-name {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: var(--white);
  font-size: 1.1rem;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin: var(--space-2) 0 var(--space-3);
  max-width: 280px;
}

.status-line {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 0.78rem;
  color: var(--status-green-light);
}

.status-dot-live {
  width: 8px;
  height: 8px;
  background: var(--status-green-light);
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-col h3 {
  font-family: "Playfair Display", serif;
  color: var(--white);
  margin-bottom: var(--space-3);
  font-size: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.85rem;
  transition: color var(--dur-fast) ease;
}

.footer-links a:hover {
  color: var(--sun-gold-light);
}

.footer-social {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: background var(--dur-fast) ease;
  cursor: pointer;
}

.footer-social:hover {
  background: var(--emerald);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-3) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.footer-values {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.footer-values span {
  color: var(--sun-gold-light);
  font-size: 0.75rem;
  font-weight: 600;
}

.footer-values span::before {
  content: "• ";
  color: rgba(255, 255, 255, 0.25);
}

/* ─── Scroll Reveal ───────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--dur-slow) var(--ease),
    transform var(--dur-slow) var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ──────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .projects-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta-wrapper {
    display: none;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--slate);
    padding: var(--space-3);
    gap: 0.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }

  .hamburger {
    display: flex;
  }

  .involved-cards {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
  }

  .section-pad {
    padding: var(--space-8) 0;
  }

  .hero-stats {
    gap: var(--space-3);
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   YOUTUBE / WATCH SECTION
   ═══════════════════════════════════════════════════════════════════════ */

#yt-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-4);
  align-items: start;
}

#yt-player-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.yt-ratio {
  position: relative;
  padding-bottom: 56.25%;
}

.yt-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

#yt-video-info {
  padding: var(--space-3) var(--space-4);
  background: var(--slate-mid);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.yt-badge-row {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-bottom: var(--space-1);
}

.yt-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 163, 92, 0.16);
  border: 1px solid rgba(0, 163, 92, 0.3);
  color: var(--emerald-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
}

.yt-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  animation: pulse 1.5s infinite;
}

.yt-dur {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.42);
}

#yt-title {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  line-height: 1.4;
  font-family: "Playfair Display", serif;
}

#yt-meta {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.48);
}

.yt-side-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.yt-more-label {
  color: var(--sun-gold-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#yt-playlist {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.yt-side-card {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--dur-fast) ease;
  border-left: 2px solid transparent;
}

.yt-side-card:hover {
  background: rgba(255, 255, 255, 0.06);
}

.yt-side-card.active-card {
  background: rgba(0, 163, 92, 0.12);
  border-left-color: var(--emerald);
}

.yt-side-card .yt-thumb-wrap {
  position: relative;
  width: 96px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
}

.yt-side-card .yt-thumb-wrap img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.yt-side-card .yt-thumb-dur {
  position: absolute;
  bottom: 3px;
  right: 4px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 0.62rem;
  padding: 1px 4px;
  border-radius: 2px;
}

.yt-card-title {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-card-meta {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  margin-top: 0.3rem;
}

.yt-skel-thumb {
  width: 96px;
  height: 54px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  flex-shrink: 0;
  animation: shimmer 1.6s ease-in-out infinite;
}

.yt-skel-body {
  flex: 1;
}

.yt-skel-line {
  height: 10px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  animation: shimmer 1.6s ease-in-out infinite;
}

@keyframes shimmer {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

#yt-channel-stats {
  margin-top: var(--space-3);
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  text-align: center;
}

.yt-ch-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  margin-bottom: var(--space-2);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
}

.yt-subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  background: #ff0000;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition:
    opacity var(--dur-fast) ease,
    transform var(--dur-fast) var(--ease);
}

.yt-subscribe-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.yt-ch-note {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.72rem;
  margin-top: var(--space-2);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

@media (max-width: 900px) {
  #yt-layout {
    grid-template-columns: 1fr;
  }

  #yt-channel-stats {
    display: none;
  }
}

/* ─── Reduced Motion — accessibility ──────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .dev-progress span {
    width: 100%;
  }
}