/* =========================================================
   Royal Ykold – Corporate Stylesheet
   Brand: Dark Navy #002B5B | Royal Gold #C8A951 | White #FFFFFF
   ========================================================= */

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:       #002B5B;
  --navy-dark:  #001A3A;
  --navy-light: #003D7A;
  --gold:       #C8A951;
  --gold-light: #D4BB72;
  --gold-dark:  #A8882F;
  --white:      #FFFFFF;
  --off-white:  #F7F8FA;
  --grey-100:   #EEF0F3;
  --grey-200:   #D8DBE2;
  --grey-400:   #9BA3B2;
  --grey-600:   #5A6475;
  --grey-800:   #2C3342;
  --black:      #0D1117;

  --font-sans:  'Inter', 'Segoe UI', Arial, sans-serif;
  --font-serif: 'Georgia', 'Times New Roman', serif;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.10);
  --shadow-md:  0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.16);
  --shadow-xl:  0 16px 56px rgba(0,0,0,.20);

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;

  --transition: .25s cubic-bezier(.4,0,.2,1);
  --header-h:   72px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--grey-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Typography ───────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }

p  { max-width: 70ch; }

.lead {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--grey-600);
  line-height: 1.7;
}

.section-label {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

/* ── Layout helpers ───────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--white); }

.section--grey {
  background: var(--off-white);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.gap-1  { gap: .5rem; }
.gap-2  { gap: 1rem; }
.gap-3  { gap: 1.5rem; }

.text-center { text-align: center; }
.text-white  { color: var(--white); }
.text-gold   { color: var(--gold); }
.text-navy   { color: var(--navy); }

.mt-1  { margin-top: .5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mb-1  { margin-bottom: .5rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }
.mb-4  { margin-bottom: 2rem; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition),
              box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-sm {
  padding: .5rem 1.25rem;
  font-size: .875rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.0625rem;
}

/* ── Header / Navigation ──────────────────────────────── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--grey-100);
  transition: box-shadow var(--transition), background var(--transition);
}

#site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-mark::after {
  content: 'RY';
  font-size: .75rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: .05em;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .02em;
}

.logo-sub {
  font-size: .6875rem;
  font-weight: 400;
  color: var(--grey-600);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Primary nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .5rem .875rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--grey-800);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link[aria-expanded="true"] {
  color: var(--navy);
  background: var(--grey-100);
}

.nav-link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Mega menu */
.mega-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 520px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--grey-200);
  padding: 1.5rem;
  z-index: 999;
  animation: menuFadeIn .18s ease;
}

.mega-menu.is-open { display: flex; gap: 2rem; }

@keyframes menuFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0);    }
}

.mega-col { flex: 1; min-width: 140px; }

.mega-col-title {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--grey-100);
}

.mega-link {
  display: block;
  padding: .4rem 0;
  font-size: .875rem;
  color: var(--grey-800);
  transition: color var(--transition);
}
.mega-link:hover { color: var(--navy); }

.mega-featured {
  flex: 0 0 220px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.mega-featured-label {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}

.mega-featured-title {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .75rem;
  line-height: 1.3;
}

/* Header right actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .375rem .75rem;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--grey-600);
  transition: all var(--transition);
  background: none;
}
.lang-btn:hover { border-color: var(--navy); color: var(--navy); }
.lang-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  color: var(--grey-600);
  transition: all var(--transition);
  background: none;
}
.search-btn:hover { background: var(--grey-100); color: var(--navy); }

/* Mobile hamburger */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--grey-800);
  transition: background var(--transition);
  background: none;
}
.menu-toggle:hover { background: var(--grey-100); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  overflow-y: auto;
  z-index: 999;
  padding: 1rem 1.5rem;
  transform: translateX(-100%);
  transition: transform .3s ease;
}

.mobile-nav.is-open {
  display: block;
  transform: translateX(0);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .875rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--grey-800);
  border-bottom: 1px solid var(--grey-100);
}

.mobile-submenu {
  padding: .5rem 0 .5rem 1rem;
  display: none;
}
.mobile-submenu.is-open { display: block; }
.mobile-submenu a {
  display: block;
  padding: .5rem 0;
  font-size: .9375rem;
  color: var(--grey-600);
  border-bottom: 1px solid var(--grey-100);
}

/* ── Search Overlay ───────────────────────────────────── */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,43,91,.92);
  z-index: 2000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: overlayFade .2s ease;
}

.search-overlay.is-open { display: flex; }

@keyframes overlayFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.search-overlay-inner {
  width: 100%;
  max-width: 720px;
}

.search-overlay-title {
  font-size: 1.125rem;
  font-weight: 400;
  color: rgba(255,255,255,.7);
  margin-bottom: 1.5rem;
  text-align: center;
}

.search-form {
  display: flex;
  gap: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.search-input {
  flex: 1;
  padding: 1.125rem 1.5rem;
  font-size: 1.125rem;
  border: none;
  outline: none;
  background: var(--white);
  color: var(--grey-800);
}

.search-submit {
  padding: 0 1.5rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: background var(--transition);
}
.search-submit:hover { background: var(--gold-light); }

.search-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: var(--white);
  font-size: 1.5rem;
  transition: background var(--transition);
}
.search-close:hover { background: rgba(255,255,255,.25); }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  margin-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0,43,91,.95) 0%, rgba(0,61,122,.6) 60%, rgba(200,169,81,.15) 100%);
  z-index: 1;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 50%, rgba(200,169,81,.12) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(200,169,81,.08) 0%, transparent 40%);
  z-index: 0;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
  max-width: 740px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .375rem 1rem;
  background: rgba(200,169,81,.15);
  border: 1px solid rgba(200,169,81,.3);
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.4); }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -.02em;
}

.hero h1 span { color: var(--gold); }

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 2.5rem;
  max-width: 56ch;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollAnim 1.6s ease-in-out infinite;
}

@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Stats bar ────────────────────────────────────────── */
.stats-bar {
  background: var(--navy);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-item {
  padding: 1.25rem;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .375rem;
}

.stat-label {
  font-size: .8125rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ── Section header ───────────────────────────────────── */
.section-header {
  max-width: 640px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-header p { margin: 1rem auto 0; }

.divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 1rem auto 0;
}

/* ── Business Cards ───────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-100);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  min-height: 180px;
}

.card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-tag {
  display: inline-block;
  padding: .25rem .75rem;
  background: var(--off-white);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .04em;
  margin-bottom: .875rem;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .75rem;
  line-height: 1.35;
}

.card-text {
  font-size: .9375rem;
  color: var(--grey-600);
  line-height: 1.6;
  flex: 1;
}

.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--grey-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-meta {
  font-size: .8125rem;
  color: var(--grey-400);
}

.card-link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: .25rem;
  transition: gap var(--transition), color var(--transition);
}
.card-link:hover { color: var(--gold-dark); gap: .5rem; }

/* ── News cards ───────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-100);
  transition: box-shadow var(--transition), transform var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.news-img {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--grey-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-img-placeholder {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.news-body { padding: 1.25rem; }

.news-cat {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .5rem;
}

.news-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: .625rem;
}

.news-excerpt {
  font-size: .875rem;
  color: var(--grey-600);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8125rem;
  color: var(--grey-400);
}

/* ── Leadership ───────────────────────────────────────── */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.leader-card {
  text-align: center;
}

.leader-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
  background: var(--grey-100);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--grey-400);
}

.leader-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .25rem;
}

.leader-title {
  font-size: .8125rem;
  color: var(--grey-600);
}

/* ── Download center ──────────────────────────────────── */
.download-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.download-item:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.download-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.download-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.download-name {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .125rem;
}

.download-meta {
  font-size: .8125rem;
  color: var(--grey-400);
}

/* ── Quote / callout ──────────────────────────────────── */
.callout {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.callout::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 24px;
  font-size: 12rem;
  color: rgba(200,169,81,.1);
  font-family: var(--font-serif);
  line-height: 1;
}

.callout-quote {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.callout-author {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--gold);
  position: relative;
  z-index: 1;
}

.callout-role {
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  position: relative;
  z-index: 1;
}

/* ── Timeline ─────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: .3125rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.timeline-year {
  font-size: .8125rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .06em;
  margin-bottom: .25rem;
}

.timeline-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .375rem;
}

.timeline-text {
  font-size: .9375rem;
  color: var(--grey-600);
  line-height: 1.6;
}

/* ── Pillars / Feature icons ──────────────────────────── */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-100);
  background: var(--white);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.pillar-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--grey-200);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.pillar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .625rem;
}

.pillar-text {
  font-size: .9375rem;
  color: var(--grey-600);
  line-height: 1.65;
}

/* ── Banner / CTA strip ───────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 50%, rgba(200,169,81,.12) 0%, transparent 50%);
}

.cta-banner h2,
.cta-banner p { position: relative; z-index: 1; }

.cta-banner h2 { color: var(--white); margin-bottom: .875rem; }
.cta-banner p  { color: rgba(255,255,255,.75); margin: 0 auto 2rem; max-width: 56ch; }
.cta-banner .btn { position: relative; z-index: 1; }

/* ── Tables ───────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--grey-200); }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
}

thead {
  background: var(--navy);
  color: var(--white);
}

thead th {
  padding: .875rem 1.25rem;
  text-align: left;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

tbody tr { border-bottom: 1px solid var(--grey-100); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--off-white); }

tbody td {
  padding: .875rem 1.25rem;
  color: var(--grey-800);
}

/* ── Form ─────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--grey-800);
  margin-bottom: .4rem;
}

.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-family: inherit;
  color: var(--grey-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0,43,91,.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A6475' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .875rem center;
  padding-right: 2.5rem;
}

/* ── Page hero (inner pages) ──────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 5.5rem 0 4rem;
  margin-top: var(--header-h);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  right: -10%;
  top: -20%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,81,.15) 0%, transparent 65%);
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255,255,255,.75);
  font-size: 1.1rem;
  max-width: 56ch;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: rgba(255,255,255,.65); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ── Accordion ────────────────────────────────────────── */
.accordion-item {
  border-bottom: 1px solid var(--grey-200);
}

.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  background: none;
  text-align: left;
  transition: color var(--transition);
}

.accordion-btn:hover { color: var(--gold-dark); }
.accordion-btn svg { flex-shrink: 0; transition: transform var(--transition); }
.accordion-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.accordion-body.is-open { max-height: 600px; }

.accordion-content {
  padding: 0 0 1.25rem;
  font-size: .9375rem;
  color: var(--grey-600);
  line-height: 1.7;
}

/* ── Tabs ─────────────────────────────────────────────── */
.tab-list {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--grey-200);
  margin-bottom: 2rem;
  overflow-x: auto;
}

.tab-btn {
  padding: .875rem 1.5rem;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--grey-600);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
  background: none;
}

.tab-btn:hover { color: var(--navy); }
.tab-btn.active { color: var(--navy); border-bottom-color: var(--gold); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Progress / sustainability ────────────────────────── */
.progress-bar {
  height: 8px;
  background: var(--grey-200);
  border-radius: 999px;
  overflow: hidden;
  margin-top: .5rem;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  transition: width 1s ease;
}

.goal-card {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-100);
  box-shadow: var(--shadow-sm);
}

.goal-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .25rem;
}

.goal-target {
  font-size: .8125rem;
  color: var(--grey-400);
  margin-bottom: 1rem;
}

/* ── Job listings ─────────────────────────────────────── */
.job-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.job-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.job-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.job-info { flex: 1; }

.job-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .375rem;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}

.job-tag {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .2rem .625rem;
  background: var(--off-white);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 500;
  color: var(--grey-600);
}

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.8);
  padding-top: 4rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .logo { margin-bottom: 1.25rem; }
.footer-brand .logo-name { color: var(--white); }
.footer-brand p {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  max-width: 28ch;
}

.footer-col-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-social {
  display: flex;
  gap: .625rem;
  margin-top: 1.25rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  font-weight: 700;
  transition: background var(--transition), color var(--transition);
}
.social-link:hover {
  background: var(--gold);
  color: var(--navy);
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.35);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255,255,255,.35);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--white); }

/* ── Animations ───────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }
.fade-in-delay-4 { transition-delay: .4s; }

/* ── Skip link (a11y) ─────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--gold);
  color: var(--navy);
  padding: .75rem 1.5rem;
  font-weight: 700;
  z-index: 9999;
  transition: top .1s;
}
.skip-link:focus { top: 0; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .primary-nav,
  .header-actions .lang-btn { display: none; }

  .menu-toggle { display: flex; }

  .stats-grid        { grid-template-columns: repeat(2, 1fr); }
  .news-grid         { grid-template-columns: repeat(2, 1fr); }
  .grid-3            { grid-template-columns: repeat(2, 1fr); }
  .grid-4            { grid-template-columns: repeat(2, 1fr); }
  .leader-grid       { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid       { grid-template-columns: repeat(2, 1fr); }
  .footer-top        { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  :root { --header-h: 64px; }

  .hero { min-height: 80vh; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .stats-grid        { grid-template-columns: repeat(2, 1fr); }
  .news-grid         { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .leader-grid       { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid       { grid-template-columns: 1fr; }
  .footer-top        { grid-template-columns: 1fr; }
  .footer-bottom     { flex-direction: column; text-align: center; }
  .footer-legal      { justify-content: center; }
  .job-card          { flex-direction: column; align-items: flex-start; }
  .callout           { padding: 2rem 1.25rem; }
  .section           { padding: 3.5rem 0; }
}

/* ── Utility ──────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.badge {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.badge-gold  { background: rgba(200,169,81,.15); color: var(--gold-dark); }
.badge-navy  { background: rgba(0,43,91,.1);     color: var(--navy);      }
.badge-green { background: rgba(34,197,94,.1);   color: #15803D;          }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
