/*
! 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;
  }
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.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;
}

.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;
}

/* ─── AEYH Brand Palette ───────────────────────────────────────────────── */

:root {
  --gold:       #C9A84C;
  --gold-light: #E8C97A;
  --gold-dark:  #A07830;
  --navy:       #0D1F3C;
  --navy-mid:   #162844;
  --navy-light: #1E3A5F;
  --white:      #FFFFFF;
  --off-white:  #F7F5F0;
  --gray-100:   #F0EDE8;
  --gray-300:   #C8C4BC;
  --gray-600:   #6B6560;
  --gray-800:   #2A2520;
  --green:      #2E7D52;
  --green-light:#3BA068;
}

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

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ─── Typography ────────────────────────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

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

h4 {
  font-size: 1.1rem;
}

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

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

.section-title {
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-subtitle {
  max-width: 600px;
  font-size: 1.05rem;
  line-height: 1.75;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-pad {
  padding: 6rem 0;
}

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

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

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

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

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

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

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

#navbar.scrolled {
  background: var(--navy-light);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo-icon {
  width: 44px;
  height: 44px;
  /* background: var(--white); */
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
}

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

.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(--gold-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 0.5rem 1.2rem !important;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.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(--navy) 0%, var(--navy-light) 50%, #0B2A4A 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 20% 50%, rgba(201,168,76,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201,168,76,0.06) 0%, transparent 40%);
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.5rem;
}

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

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

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

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

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

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  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(201,168,76,0.6));
}

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

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

/* ─── About Strip ───────────────────────────────────────────────────────── */

#about-strip {
  background: var(--gold);
  padding: 1.25rem 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

.marquee-dot {
  width: 6px;
  height: 6px;
  background: var(--navy);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to   {
    transform: translateX(-50%);
  }
}

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

#about {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-card-big {
  background: var(--navy);
  border-radius: 8px;
  padding: 3rem;
  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(201,168,76,0.12);
}

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

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

.about-card-float {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background: var(--gold);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  min-width: 140px;
}

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

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

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.value-chip {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  padding: 1rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.value-chip:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.value-chip-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.value-chip-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  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: 1.5rem;
  margin-top: 3rem;
}

.program-card {
  background: var(--off-white);
  border-radius: 8px;
  padding: 2.25rem;
  border: 1px solid transparent;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.3s ease;
}

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

.program-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(13,31,60,0.12);
}

.program-icon {
  width: 52px;
  height: 52px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.program-card h3 {
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.program-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.program-tag {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

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

/* ═══════════════════════════════════════════════════════════════
   TEAM SECTION — full CSS
   Replace ALL previous team CSS with this block
═══════════════════════════════════════════════════════════════ */

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

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

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

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

/* ── Carousel wrapper ───────────────────────────────────────────── */

.team-carousel-wrap {
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
}

.team-carousel {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  cursor: grab;
  align-items: stretch;
}

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

/* ── Card ───────────────────────────────────────────────────────── */

.team-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 0;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  background: var(--navy-light);
  transition: border-color 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem 1.75rem;
  cursor: pointer;
}

.team-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

/* ── Background photo — hidden by default ───────────────────────── */

.tc-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 58%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center top;
     object-position: center top;
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 0;
  pointer-events: none;
  border-radius: 8px 8px 0 0;
}

.team-card:hover .tc-bg {
  opacity: 1;
}

/* ── Gradient over photo so bottom blends into card ─────────────── */

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

.team-card:hover .tc-photo-overlay {
  opacity: 1;
}

/* ── Circular avatar ────────────────────────────────────────────── */

.tc-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(201,168,76,0.3);
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  flex-shrink: 0;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
  transition: margin-top 0.45s ease, border-color 0.3s ease;
}

/* On hover: push avatar down so it sits on the photo/card boundary */

.team-card:hover .tc-avatar {
  margin-top: calc(58% - 36px);
  border-color: rgba(201,168,76,0.7);
}

.tc-avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center top;
     object-position: center top;
  display: block;
}

/* ── Text body ──────────────────────────────────────────────────── */

.tc-body {
  position: relative;
  z-index: 2;
  width: 100%;
}

.tc-body h4 {
  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(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.tc-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  transition: opacity 0.25s ease;
}

/* Hide description on hover — photo takes visual focus */

.team-card:hover .tc-desc {
  opacity: 0;
}

/* ── Controls ───────────────────────────────────────────────────── */

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

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

.carousel-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

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

/* ── Dots ───────────────────────────────────────────────────────── */

.carousel-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

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

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

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

@media (max-width: 900px) {
  .team-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

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

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

#projects {
  background: var(--off-white);
}

.projects-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

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

.timeline-item {
  display: flex;
  gap: 1rem;
  position: relative;
}

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

.timeline-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--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(--navy);
  border-radius: 50%;
}

.timeline-body {
  padding-bottom: 2.5rem;
}

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

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

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

.project-cards {
  display: grid;
  gap: 1.25rem;
}

.project-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  border: 1px solid var(--gray-300);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.project-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(13,31,60,0.08);
}

.project-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(201,168,76,0.25);
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
}

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

.project-card p {
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
}

.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(--gold);
}

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

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

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

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

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

#get-involved::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 90% 10%, rgba(201,168,76,0.1) 0%, transparent 50%);
}

.involved-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  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: 8px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.involved-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(201,168,76,0.4);
  transform: translateY(-4px);
}

.involved-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

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

.involved-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.75rem;
}

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

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

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.news-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--gray-300);
  transition: transform 0.25s, box-shadow 0.25s;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(13,31,60,0.12);
}

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

.news-body {
  padding: 1.75rem;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

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

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

.news-card h4 {
  color: var(--navy);
  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: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-dark);
  transition: gap 0.2s;
}

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

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

#contact {
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

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

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

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

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

.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  background: var(--white);
  color: var(--gray-800);
  transition: border-color 0.2s;
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
}

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

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

#dev-page {
  display: none;
  min-height: 100vh;
  background: var(--navy);
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

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

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

.dev-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.dev-spinner {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  border: 3px solid rgba(201,168,76,0.2);
  border-top-color: var(--gold);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

.dev-desc {
  color: rgba(255,255,255,0.55);
  margin-bottom: 2rem;
  font-size: 1rem;
}

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

footer {
  background: var(--gray-800);
  color: rgba(255,255,255,0.6);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
  max-width: 280px;
}

.footer-col h5 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  margin-bottom: 1.25rem;
  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 0.2s;
}

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

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.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 0.2s;
  cursor: pointer;
}

.footer-social:hover {
  background: var(--gold);
  color: var(--navy);
}

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

.footer-values {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

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

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s 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(--navy);
    padding: 1.5rem;
    gap: 0.25rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  }

  .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: 1rem;
    text-align: center;
  }

  .section-pad {
    padding: 4rem 0;
  }

  .hero-stats {
    gap: 1.5rem;
  }
}

/* Youtube */

/* ═══════════════════════════════════════════════════════════════════
   AEYH — YOUTUBE SECTION CSS  (isolated snippet)
   ───────────────────────────────────────────────────────────────────
   Add this block anywhere in style.css
   Depends on: --gold, --navy, --white CSS variables already defined
   ═══════════════════════════════════════════════════════════════════ */

/* ── Layout grid ──────────────────────────────────────────────────── */

#yt-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

/* ── Featured player wrapper ──────────────────────────────────────── */

#yt-player-wrap {
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

/* 16:9 aspect-ratio lock */

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

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

/* ── Info bar below player ────────────────────────────────────────── */

#yt-video-info {
  padding: 1.25rem 1.5rem;
  background: #162844;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.yt-badge-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.yt-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.25);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
}

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

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

#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.4);
}

/* ── Side panel ───────────────────────────────────────────────────── */

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

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

#yt-playlist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ── Side video cards ─────────────────────────────────────────────── */

.yt-side-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  border-left: 2px solid transparent;
}

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

.yt-side-card.active-card        {
  background: rgba(201, 168, 76, 0.1);
  border-left-color: var(--gold);
}

/* Thumbnail inside card */

.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.82);
  color: #fff;
  font-size: 0.62rem;
  padding: 1px 4px;
  border-radius: 2px;
}

/* Text inside card */

.yt-card-title {
  color: rgba(255, 255, 255, 0.85);
  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.35);
  font-size: 0.72rem;
  margin-top: 0.3rem;
}

/* ── Skeleton loader ──────────────────────────────────────────────── */

.yt-skel-thumb {
  width: 96px;
  height: 54px;
  background: rgba(255, 255, 255, 0.06);
  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.06);
  border-radius: 4px;
  animation: shimmer 1.6s ease-in-out infinite;
}

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

  50%       {
    opacity: 0.4;
  }
}

/* ── Channel stats card ───────────────────────────────────────────── */

#yt-channel-stats {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  text-align: center;
}

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

.yt-subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FF0000;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.yt-subscribe-btn:hover {
  opacity: 0.85;
}

.yt-ch-note {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.72rem;
  margin-top: 0.75rem;
}

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

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

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

/* Youtube */