/* ==========================================================================
   Evika Siliņa — Official Website
   Premium Stateswoman Digital Identity
   ========================================================================== */

:root {
  --burgundy: #6B1229;
  --burgundy-deep: #4A0C1C;
  --burgundy-light: #8B2539;
  --ivory: #F8F5F0;
  --ivory-warm: #F1ECE3;
  --charcoal: #1A1A1A;
  --charcoal-soft: #2B2B2B;
  --grey-cool: #6E7480;
  --grey-light: #D9D4CB;
  --silver: #B8A78A;
  --silver-warm: #CBBDA5;
  --gold-muted: #A38858;
  --white: #FFFFFF;
  --shadow-sm: 0 4px 14px rgba(26, 26, 26, 0.06);
  --shadow-md: 0 14px 40px rgba(26, 26, 26, 0.09);
  --shadow-lg: 0 28px 70px rgba(26, 26, 26, 0.15);
  --transition: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --radius: 2px;
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 5.2rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.6rem); }
h3 { font-size: clamp(1.5rem, 2.2vw, 2.2rem); }
h4 { font-size: clamp(1.15rem, 1.5vw, 1.5rem); }

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.container-narrow {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ==========================================================================
   Utility
   ========================================================================== */

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--burgundy);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: '';
  width: 38px;
  height: 1px;
  background: var(--burgundy);
  display: inline-block;
}
.eyebrow.light { color: var(--silver-warm); }
.eyebrow.light::before { background: var(--silver-warm); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 36px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.45s var(--ease);
  background: var(--burgundy);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '→';
  font-family: var(--font-sans);
  font-size: 1rem;
  letter-spacing: 0;
  transition: transform 0.4s var(--ease);
}
.btn:hover::after { transform: translateX(6px); }
.btn:hover {
  background: var(--burgundy-deep);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-outline:hover {
  background: var(--charcoal);
  color: var(--ivory);
}
.btn-light {
  background: transparent;
  color: var(--ivory);
  border-color: var(--silver-warm);
}
.btn-light:hover {
  background: var(--ivory);
  color: var(--burgundy);
  border-color: var(--ivory);
}

.section {
  padding: 140px 0;
  position: relative;
}
.section-sm { padding: 90px 0; }

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .container, .container-narrow { padding: 0 24px; }
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 22px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  transition: all 0.5s var(--ease);
  background: transparent;
}
.nav.scrolled,
.nav.solid {
  background: rgba(248, 245, 240, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 16px 50px;
  border-bottom: 1px solid rgba(184, 167, 138, 0.18);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  z-index: 101;
}
.nav-logo .name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.01em;
}
.nav-logo .title {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-top: 5px;
  font-weight: 500;
}
.nav.on-dark:not(.scrolled) .nav-logo .name { color: var(--ivory); }
.nav.on-dark:not(.scrolled) .nav-logo .title { color: var(--silver-warm); }

.nav-menu {
  display: flex;
  gap: 38px;
  list-style: none;
  align-items: center;
}
.nav-menu a {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  position: relative;
  padding: 6px 0;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 1px;
  background: var(--burgundy);
  transition: width 0.4s var(--ease);
}
.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }
.nav-menu a:hover { color: var(--burgundy); }
.nav-menu a.active { color: var(--burgundy); }

.nav.on-dark:not(.scrolled) .nav-menu a { color: rgba(248, 245, 240, 0.9); }
.nav.on-dark:not(.scrolled) .nav-menu a::after { background: var(--silver-warm); }
.nav.on-dark:not(.scrolled) .nav-menu a:hover { color: var(--white); }

.nav-toggle {
  display: none;
  width: 34px;
  height: 26px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--charcoal);
  position: absolute;
  left: 0;
  transition: all 0.4s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 4px; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 4px; }
.nav.on-dark:not(.scrolled) .nav-toggle span { background: var(--ivory); }
.nav-toggle.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav { padding: 18px 28px; }
  .nav.scrolled, .nav.solid { padding: 14px 28px; }
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    top: 0; right: 0;
    width: 100%;
    max-width: 440px;
    height: 100vh;
    background: var(--burgundy-deep);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 60px;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.6s var(--ease);
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu a {
    color: var(--ivory) !important;
    font-size: 1rem;
  }
  .nav-menu a::after { background: var(--silver-warm) !important; }
}

/* ==========================================================================
   Password Gate
   ========================================================================== */

.gate {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  overflow: hidden;
}
.gate-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.gate-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15,10,12,0.88) 0%, rgba(74,12,28,0.78) 100%);
}
.gate-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(25%) contrast(1.02);
  animation: slowZoom 20s ease-in-out infinite alternate;
}
@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.gate-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 540px;
  padding: 60px 56px;
  background: rgba(248, 245, 240, 0.05);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(203, 189, 165, 0.25);
  color: var(--ivory);
  text-align: center;
  animation: gateFadeUp 1.4s var(--ease) both;
}
@keyframes gateFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.gate-crest {
  width: 62px;
  height: 62px;
  margin: 0 auto 28px;
  border: 1px solid var(--silver-warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--silver-warm);
  letter-spacing: -0.02em;
}
.gate h1 {
  color: var(--ivory);
  font-size: 1.9rem;
  font-weight: 400;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.gate .sub {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--silver-warm);
  margin-bottom: 40px;
}
.gate-form {
  position: relative;
}
.gate-input {
  width: 100%;
  padding: 20px 22px;
  background: rgba(248, 245, 240, 0.04);
  border: 1px solid rgba(203, 189, 165, 0.3);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-align: center;
  outline: none;
  transition: all 0.4s var(--ease);
}
.gate-input:focus {
  border-color: var(--silver-warm);
  background: rgba(248, 245, 240, 0.08);
}
.gate-input::placeholder {
  color: rgba(203, 189, 165, 0.5);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.gate-btn {
  width: 100%;
  margin-top: 18px;
  padding: 20px;
  background: var(--ivory);
  color: var(--burgundy-deep);
  border: none;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s var(--ease);
}
.gate-btn:hover {
  background: var(--silver-warm);
  color: var(--burgundy-deep);
  letter-spacing: 0.36em;
}
.gate-error {
  margin-top: 18px;
  color: #E8B8BE;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  min-height: 22px;
  opacity: 0;
  transform: translateY(-6px);
  transition: all 0.4s var(--ease);
}
.gate-error.show { opacity: 1; transform: translateY(0); }
.gate-error.shake { animation: shake 0.5s; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}
.gate-foot {
  margin-top: 50px;
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(203, 189, 165, 0.6);
}
.gate-foot span { color: var(--silver-warm); }

@media (max-width: 540px) {
  .gate-inner { padding: 44px 30px; margin: 0 20px; }
  .gate h1 { font-size: 1.5rem; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--charcoal);
  padding-bottom: 90px;
}
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  animation: slowZoom 24s ease-in-out infinite alternate;
}
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,10,12,0.55) 0%, rgba(15,10,12,0.25) 45%, rgba(15,10,12,0.85) 100%),
    linear-gradient(95deg, rgba(74,12,28,0.55) 0%, rgba(15,10,12,0) 55%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 60px;
  color: var(--ivory);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: flex-end;
  max-width: 1500px;
  margin: 0 auto;
}
.hero h1 {
  color: var(--ivory);
  font-size: clamp(2.8rem, 6.5vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.02;
  margin-bottom: 26px;
}
.hero h1 .line-italic {
  font-style: italic;
  color: var(--silver-warm);
  font-weight: 300;
}
.hero-tagline {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(248, 245, 240, 0.78);
  max-width: 520px;
  margin-bottom: 40px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-meta {
  border-left: 1px solid rgba(203, 189, 165, 0.3);
  padding-left: 36px;
  padding-bottom: 10px;
}
.hero-meta-item {
  margin-bottom: 28px;
}
.hero-meta-item:last-child { margin-bottom: 0; }
.hero-meta-item .label {
  font-size: 0.64rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--silver-warm);
  margin-bottom: 6px;
  font-weight: 500;
}
.hero-meta-item .value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ivory);
  font-weight: 400;
}

.hero-bottom-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(203, 189, 165, 0.2);
  z-index: 2;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(248, 245, 240, 0.7);
}
.hero-bottom-bar .scroll-indicator {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-bottom-bar .scroll-indicator .line {
  width: 50px;
  height: 1px;
  background: var(--silver-warm);
  position: relative;
  overflow: hidden;
}
.hero-bottom-bar .scroll-indicator .line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ivory);
  animation: scrollLine 2.5s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-meta { border-left: none; padding-left: 0; border-top: 1px solid rgba(203, 189, 165, 0.3); padding-top: 30px; }
  .hero-inner { padding: 0 28px; }
  .hero-bottom-bar { padding: 20px 28px; flex-direction: column; gap: 10px; text-align: center; }
}

/* ==========================================================================
   Page Hero (for internal pages)
   ========================================================================== */

.page-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--charcoal);
  padding: 160px 0 80px;
}
.page-hero .bg {
  position: absolute; inset: 0; z-index: 1;
}
.page-hero .bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.page-hero .bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,10,12,0.65) 0%, rgba(15,10,12,0.35) 40%, rgba(15,10,12,0.88) 100%);
}
.page-hero .inner {
  position: relative; z-index: 2;
  width: 100%;
  padding: 0 60px;
  color: var(--ivory);
}
.page-hero .inner .crumb {
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--silver-warm);
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.page-hero .inner .crumb::before {
  content: ''; width: 40px; height: 1px; background: var(--silver-warm);
}
.page-hero h1 {
  color: var(--ivory);
  font-size: clamp(2.4rem, 5.2vw, 5rem);
  font-weight: 400;
  max-width: 900px;
  margin-bottom: 24px;
  letter-spacing: -0.015em;
}
.page-hero h1 em {
  color: var(--silver-warm);
  font-weight: 300;
}
.page-hero .lead {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  max-width: 620px;
  color: rgba(248, 245, 240, 0.82);
  line-height: 1.75;
}

@media (max-width: 1024px) {
  .page-hero .inner { padding: 0 28px; }
  .page-hero { min-height: 60vh; padding: 130px 0 60px; }
}

/* ==========================================================================
   Counters / Stats
   ========================================================================== */

.stats {
  padding: 110px 0;
  background: var(--ivory-warm);
  position: relative;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}
.stat {
  padding: 56px 36px;
  text-align: left;
  border-right: 1px solid rgba(26, 26, 26, 0.1);
  position: relative;
}
.stat:last-child { border-right: none; }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: var(--burgundy);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.stat .label {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--charcoal);
  font-weight: 500;
  margin-bottom: 10px;
}
.stat .desc {
  font-size: 0.85rem;
  color: var(--grey-cool);
  line-height: 1.6;
  max-width: 240px;
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 1px solid rgba(26, 26, 26, 0.1); border-bottom: 1px solid rgba(26, 26, 26, 0.1); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none !important; border-bottom: 1px solid rgba(26, 26, 26, 0.1); }
  .stat:last-child { border-bottom: none; }
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
}
.section-head .meta {
  padding-bottom: 8px;
}
.section-head h2 {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.section-head h2 em { color: var(--burgundy); font-weight: 400; }
.section-head .intro {
  font-size: 1rem;
  color: var(--grey-cool);
  max-width: 480px;
  line-height: 1.75;
  margin-top: 18px;
}
.section-head.centered {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  gap: 20px;
}
.section-head.centered .eyebrow { justify-content: center; }
.section-head.centered .intro { margin: 10px auto 0; }
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; }
}

/* ==========================================================================
   Introduction / About Preview
   ========================================================================== */

.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.intro-split .img-col {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.intro-split .img-col img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 1.2s var(--ease);
}
.intro-split .img-col:hover img { transform: scale(1.04); }
.intro-split .img-col::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(184, 167, 138, 0.25);
  pointer-events: none;
}
.intro-split .img-col .tag {
  position: absolute;
  left: -20px; bottom: 60px;
  background: var(--ivory);
  padding: 18px 28px;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--burgundy);
  box-shadow: var(--shadow-md);
  border-left: 3px solid var(--burgundy);
}
.intro-split .content h3 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 28px;
  font-weight: 400;
}
.intro-split .content p {
  color: var(--charcoal-soft);
  line-height: 1.85;
  margin-bottom: 20px;
}
.intro-split .content .sig {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--burgundy);
  font-size: 1.5rem;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}
.intro-split .content .sig small {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-cool);
  margin-top: 6px;
  font-weight: 500;
}

@media (max-width: 900px) {
  .intro-split { grid-template-columns: 1fr; gap: 50px; }
  .intro-split .img-col { aspect-ratio: 3/4; }
}

/* ==========================================================================
   Priorities Grid
   ========================================================================== */

.priorities {
  background: var(--charcoal);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.priorities::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(107, 18, 41, 0.15));
  pointer-events: none;
}
.priorities h2 { color: var(--ivory); }
.priorities .section-head h2 em { color: var(--silver-warm); }
.priorities .section-head .intro { color: rgba(248, 245, 240, 0.65); }
.priorities .eyebrow { color: var(--silver-warm); }
.priorities .eyebrow::before { background: var(--silver-warm); }

.priority-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(203, 189, 165, 0.15);
  border: 1px solid rgba(203, 189, 165, 0.15);
}
.priority-card {
  background: var(--charcoal);
  padding: 56px 40px;
  transition: all 0.5s var(--ease);
  cursor: default;
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.priority-card:hover {
  background: var(--burgundy-deep);
}
.priority-card .num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--silver-warm);
  letter-spacing: 0.28em;
  font-weight: 400;
  margin-bottom: 40px;
}
.priority-card h3 {
  color: var(--ivory);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.25;
}
.priority-card p {
  color: rgba(248, 245, 240, 0.65);
  font-size: 0.94rem;
  line-height: 1.7;
}
.priority-card .arrow {
  margin-top: 30px;
  font-size: 1.3rem;
  color: var(--silver-warm);
  transition: transform 0.4s var(--ease);
  width: fit-content;
}
.priority-card:hover .arrow { transform: translateX(10px); color: var(--ivory); }

@media (max-width: 900px) {
  .priority-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .priority-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Leadership Message
   ========================================================================== */

.message-block {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 90px;
  align-items: center;
}
.message-block .portrait {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}
.message-block .portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
.message-block blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  line-height: 1.45;
  color: var(--charcoal);
  font-weight: 400;
  font-style: italic;
  position: relative;
  padding-left: 40px;
  border-left: 2px solid var(--burgundy);
}
.message-block blockquote::before {
  content: '“';
  position: absolute;
  top: -40px; left: 20px;
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--burgundy);
  opacity: 0.15;
  line-height: 1;
}
.message-block .attr {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.message-block .attr .name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--charcoal);
}
.message-block .attr .role {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-top: 4px;
}
@media (max-width: 900px) {
  .message-block { grid-template-columns: 1fr; gap: 40px; }
  .message-block blockquote { padding-left: 24px; font-size: 1.2rem; }
}

/* ==========================================================================
   Updates / News Cards
   ========================================================================== */

.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.update-card {
  display: block;
  cursor: pointer;
  background: transparent;
  transition: transform 0.6s var(--ease);
}
.update-card .img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  margin-bottom: 22px;
}
.update-card .img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 1s var(--ease);
}
.update-card:hover .img img { transform: scale(1.05); }
.update-card .tag {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--ivory);
  padding: 8px 16px;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--burgundy);
  font-weight: 500;
  z-index: 2;
}
.update-card .date {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--grey-cool);
  margin-bottom: 12px;
  font-weight: 500;
}
.update-card h4 {
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: 14px;
  font-weight: 400;
  transition: color 0.3s var(--ease);
}
.update-card:hover h4 { color: var(--burgundy); }
.update-card p {
  font-size: 0.92rem;
  color: var(--grey-cool);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .updates-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 600px) {
  .updates-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CTA Strip
   ========================================================================== */

.cta-strip {
  padding: 120px 0;
  background: var(--burgundy-deep);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(203, 189, 165, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(107, 18, 41, 0.3) 0%, transparent 50%);
}
.cta-strip .inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
}
.cta-strip h2 {
  color: var(--ivory);
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
}
.cta-strip h2 em { color: var(--silver-warm); }
.cta-strip p {
  color: rgba(248, 245, 240, 0.7);
  margin-top: 20px;
  font-size: 1rem;
  max-width: 540px;
}
@media (max-width: 900px) {
  .cta-strip .inner { grid-template-columns: 1fr; gap: 30px; }
}

/* ==========================================================================
   Timeline (Biography)
   ========================================================================== */

.timeline-wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.timeline-wrap::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(107, 18, 41, 0.2);
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  column-gap: 0;
  align-items: start;
  margin-bottom: 90px;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-item .dot {
  grid-column: 2;
  justify-self: center;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--burgundy);
  margin-top: 12px;
  z-index: 2;
  box-shadow: 0 0 0 8px var(--ivory-warm);
}
.tl-item .tl-content {
  padding: 0 48px;
  max-width: 100%;
}
.tl-item.left .tl-content {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
}
.tl-item.right .tl-content {
  grid-column: 3;
  grid-row: 1;
  text-align: left;
}
.tl-item .year {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--burgundy);
  line-height: 1;
  margin-bottom: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.tl-item h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  font-weight: 500;
  line-height: 1.25;
}
.tl-item p {
  color: var(--grey-cool);
  line-height: 1.85;
  font-size: 0.95rem;
}
.tl-item .tl-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-top: 24px;
  max-width: 100%;
}
.tl-item .tl-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 1s var(--ease);
}
.tl-item .tl-img:hover img { transform: scale(1.05); }

@media (max-width: 820px) {
  .timeline-wrap { padding: 0; }
  .timeline-wrap::before { left: 18px; }
  .tl-item {
    grid-template-columns: 40px 1fr;
    margin-bottom: 60px;
  }
  .tl-item .dot {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    margin-left: 11px;
  }
  .tl-item.left .tl-content,
  .tl-item.right .tl-content {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    padding: 0 0 0 20px;
  }
}

/* ==========================================================================
   Values Row
   ========================================================================== */

.values {
  background: var(--ivory-warm);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.value {
  border-top: 1px solid rgba(26, 26, 26, 0.15);
  padding-top: 30px;
}
.value .k {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--burgundy);
  margin-bottom: 12px;
}
.value h4 {
  font-size: 1.1rem;
  margin-bottom: 14px;
  font-weight: 500;
}
.value p {
  font-size: 0.92rem;
  color: var(--grey-cool);
  line-height: 1.7;
}
@media (max-width: 900px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .values-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Agenda Cards (National Progress)
   ========================================================================== */

.agenda-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(26, 26, 26, 0.1);
  border: 1px solid rgba(26, 26, 26, 0.1);
}
.agenda-item {
  background: var(--ivory);
  padding: 64px 54px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease);
}
.agenda-item:hover {
  background: var(--burgundy-deep);
  color: var(--ivory);
}
.agenda-item .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}
.agenda-item .icon {
  width: 56px; height: 56px;
  border: 1px solid var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--burgundy);
  transition: all 0.5s var(--ease);
}
.agenda-item:hover .icon {
  border-color: var(--silver-warm);
  color: var(--silver-warm);
}
.agenda-item .k {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--burgundy);
  line-height: 1;
  font-weight: 500;
  transition: color 0.5s var(--ease);
}
.agenda-item:hover .k { color: var(--silver-warm); }
.agenda-item h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 18px;
  transition: color 0.5s var(--ease);
}
.agenda-item:hover h3 { color: var(--ivory); }
.agenda-item p {
  color: var(--grey-cool);
  line-height: 1.8;
  font-size: 0.95rem;
  transition: color 0.5s var(--ease);
}
.agenda-item:hover p { color: rgba(248, 245, 240, 0.8); }
.agenda-item .metric {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: all 0.5s var(--ease);
}
.agenda-item:hover .metric { border-color: rgba(203, 189, 165, 0.3); }
.agenda-item .metric .v {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--burgundy);
  transition: color 0.5s var(--ease);
}
.agenda-item:hover .metric .v { color: var(--silver-warm); }
@media (max-width: 800px) { .agenda-grid { grid-template-columns: 1fr; } .agenda-item { padding: 44px 32px; } }

/* ==========================================================================
   Vision Board
   ========================================================================== */

.vision-board {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(220px, auto);
  grid-auto-flow: dense;
  gap: 16px;
}
.v-card {
  position: relative;
  overflow: hidden;
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--ivory);
  background: var(--charcoal);
  min-height: 300px;
  transition: transform 0.6s var(--ease);
}
.v-card .bg {
  position: absolute; inset: 0; z-index: 0;
}
.v-card .bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 25%;
  transition: transform 1.4s var(--ease);
}
.v-card:hover .bg img { transform: scale(1.08); }
.v-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,10,12,0.2) 0%, rgba(15,10,12,0.88) 100%);
  z-index: 1;
}
.v-card > * { position: relative; z-index: 2; }
.v-card .num {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--silver-warm);
  letter-spacing: 0.28em;
  margin-bottom: auto;
  padding-bottom: 24px;
}
.v-card h3 {
  color: var(--ivory);
  font-size: 1.55rem;
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.22;
}
.v-card p {
  color: rgba(248, 245, 240, 0.8);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 420px;
}

.v-card.c-wide { grid-column: span 8; }
.v-card.c-narrow { grid-column: span 4; }
.v-card.c-half { grid-column: span 6; }
.v-card.c-third { grid-column: span 4; }
.v-card.c-full { grid-column: span 12; min-height: 380px; }
.v-card.tall { grid-row: span 2; min-height: 440px; }

.v-card.plain {
  background: var(--ivory-warm);
  color: var(--charcoal);
}
.v-card.plain::after { display: none; }
.v-card.plain h3 { color: var(--charcoal); }
.v-card.plain p { color: var(--grey-cool); }
.v-card.plain .num { color: var(--burgundy); }

@media (max-width: 900px) {
  .vision-board { grid-template-columns: 1fr 1fr; }
  .v-card, .v-card.c-wide, .v-card.c-narrow, .v-card.c-half, .v-card.c-third, .v-card.c-full { grid-column: span 2; }
  .v-card.tall { grid-row: span 1; }
}
@media (max-width: 600px) {
  .vision-board { grid-template-columns: 1fr; }
  .v-card, .v-card.c-wide, .v-card.c-narrow, .v-card.c-half, .v-card.c-third, .v-card.c-full { grid-column: span 1; }
}

/* ==========================================================================
   Gallery (Masonry)
   ========================================================================== */

.gallery-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.g-filter {
  padding: 12px 26px;
  background: transparent;
  border: 1px solid rgba(26, 26, 26, 0.15);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.4s var(--ease);
}
.g-filter:hover, .g-filter.active {
  background: var(--burgundy);
  color: var(--ivory);
  border-color: var(--burgundy);
}

.masonry {
  columns: 3;
  column-gap: 16px;
}
.masonry .m-item {
  break-inside: avoid;
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  background: var(--charcoal);
}
.masonry .m-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1s var(--ease), filter 0.6s var(--ease);
}
.masonry .m-item:hover img { transform: scale(1.04); filter: brightness(0.88); }
.masonry .m-item::after {
  content: '⤢';
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  background: var(--ivory);
  color: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.masonry .m-item:hover::after { opacity: 1; }

@media (max-width: 900px) { .masonry { columns: 2; } }
@media (max-width: 540px) { .masonry { columns: 1; } }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 12, 0.96);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: var(--shadow-lg);
  animation: lbIn 0.5s var(--ease);
}
@keyframes lbIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
.lightbox .lb-close,
.lightbox .lb-prev,
.lightbox .lb-next {
  position: absolute;
  background: rgba(248, 245, 240, 0.1);
  border: 1px solid rgba(203, 189, 165, 0.3);
  color: var(--ivory);
  width: 54px; height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s var(--ease);
}
.lightbox .lb-close:hover,
.lightbox .lb-prev:hover,
.lightbox .lb-next:hover {
  background: var(--burgundy);
  border-color: var(--burgundy);
}
.lightbox .lb-close { top: 30px; right: 30px; }
.lightbox .lb-prev { left: 30px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 30px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   Global / Diplomacy
   ========================================================================== */

.diplomacy-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--charcoal);
  color: var(--ivory);
  position: relative;
}
.diplomacy-hero .content {
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.diplomacy-hero h2 {
  color: var(--ivory);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 28px;
}
.diplomacy-hero h2 em { color: var(--silver-warm); }
.diplomacy-hero p {
  color: rgba(248, 245, 240, 0.72);
  line-height: 1.8;
  margin-bottom: 18px;
}
.diplomacy-hero .visual {
  position: relative;
  min-height: 600px;
  overflow: hidden;
}
.diplomacy-hero .visual img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
}
@media (max-width: 900px) {
  .diplomacy-hero { grid-template-columns: 1fr; }
  .diplomacy-hero .content { padding: 60px 28px; }
  .diplomacy-hero .visual { min-height: 400px; }
}

.relations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.rel-card {
  background: var(--ivory);
  border-top: 2px solid var(--burgundy);
  padding: 40px 34px;
  transition: all 0.5s var(--ease);
}
.rel-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.rel-card .k {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 22px;
  font-weight: 500;
}
.rel-card h4 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  font-weight: 400;
}
.rel-card p {
  color: var(--grey-cool);
  line-height: 1.75;
  font-size: 0.95rem;
}
@media (max-width: 900px) { .relations-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .relations-grid { grid-template-columns: 1fr; } }

/* Partner logos band */
.partners-band {
  background: var(--ivory-warm);
  padding: 70px 0;
  text-align: center;
}
.partners-band .list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px 80px;
  margin-top: 40px;
  align-items: center;
}
.partners-band .list .p-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--charcoal);
  opacity: 0.55;
  transition: opacity 0.3s var(--ease);
  letter-spacing: 0.04em;
}
.partners-band .list .p-name:hover { opacity: 1; color: var(--burgundy); }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-hero-info {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 90px;
  align-items: start;
}
.contact-info .card {
  background: var(--ivory-warm);
  padding: 44px 40px;
  border-left: 3px solid var(--burgundy);
  margin-bottom: 24px;
}
.contact-info .card .k {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 12px;
  font-weight: 500;
}
.contact-info .card h4 {
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 10px;
}
.contact-info .card a {
  display: block;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.8;
  transition: color 0.3s var(--ease);
}
.contact-info .card a:hover { color: var(--burgundy); }

.contact-form {
  background: var(--ivory);
  padding: 50px 48px;
  border: 1px solid rgba(26, 26, 26, 0.1);
  box-shadow: var(--shadow-sm);
}
.contact-form h3 {
  font-size: 1.7rem;
  font-weight: 400;
  margin-bottom: 10px;
}
.contact-form .sub {
  font-size: 0.88rem;
  color: var(--grey-cool);
  margin-bottom: 36px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
}
.form-field label {
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 10px;
  font-weight: 500;
}
.form-field input,
.form-field textarea,
.form-field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(26, 26, 26, 0.15);
  padding: 12px 2px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.4s var(--ease);
}
.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--burgundy);
}
.form-field textarea {
  resize: vertical;
  min-height: 140px;
}
.form-full { grid-column: span 2; margin-bottom: 20px; }
.form-full .form-field { width: 100%; }

.form-submit {
  margin-top: 20px;
  padding: 20px 40px;
  background: var(--burgundy);
  color: var(--ivory);
  border: none;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  width: 100%;
}
.form-submit:hover {
  background: var(--burgundy-deep);
  letter-spacing: 0.36em;
}

.form-note {
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--grey-cool);
  text-align: center;
}
.form-note.success { color: #4d8a4d; font-weight: 500; }

@media (max-width: 900px) {
  .contact-hero-info { grid-template-columns: 1fr; gap: 50px; }
  .form-row { grid-template-columns: 1fr; }
  .form-full { grid-column: span 1; }
  .contact-form { padding: 36px 26px; }
}

/* ==========================================================================
   Quote Banner (reusable)
   ========================================================================== */

.quote-banner {
  padding: 130px 0;
  background: var(--ivory-warm);
  text-align: center;
}
.quote-banner blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--charcoal);
  max-width: 900px;
  margin: 30px auto;
  font-weight: 400;
}
.quote-banner blockquote em { color: var(--burgundy); }
.quote-banner .attr {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-top: 24px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--charcoal);
  color: rgba(248, 245, 240, 0.72);
  padding: 90px 0 30px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(203, 189, 165, 0.15);
}
.footer .ft-brand .name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ivory);
  line-height: 1.1;
}
.footer .ft-brand .title {
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--silver-warm);
  margin-top: 10px;
}
.footer .ft-brand p {
  margin-top: 20px;
  font-size: 0.92rem;
  line-height: 1.75;
  max-width: 380px;
}
.footer h5 {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 24px;
  font-weight: 500;
}
.footer ul {
  list-style: none;
}
.footer ul li {
  margin-bottom: 12px;
  font-size: 0.92rem;
}
.footer ul li a { transition: color 0.3s var(--ease); }
.footer ul li a:hover { color: var(--silver-warm); }

.footer .ft-contact a {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
  transition: color 0.3s var(--ease);
}
.footer .ft-contact a:hover { color: var(--silver-warm); }

.footer-base {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}
.footer-base .credit {
  color: rgba(248, 245, 240, 0.6);
}
.footer-base .credit a {
  color: var(--silver-warm);
  text-decoration: none;
  font-weight: 500;
}
.footer-base .credit a:hover { color: var(--ivory); }
.footer-base .contact-line a {
  color: rgba(248, 245, 240, 0.72);
  margin: 0 6px;
}
.footer-base .contact-line a:hover { color: var(--silver-warm); }

.socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.socials a {
  width: 38px; height: 38px;
  border: 1px solid rgba(203, 189, 165, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver-warm);
  transition: all 0.4s var(--ease);
  font-size: 0.9rem;
}
.socials a:hover {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--ivory);
  transform: translateY(-3px);
}
.socials svg {
  width: 16px; height: 16px;
  fill: currentColor;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer .ft-brand { grid-column: span 2; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer .ft-brand { grid-column: span 1; }
  .footer-base { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   Reveal Animations
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.55s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.65s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 0.75s; }

/* Selection */
::selection {
  background: var(--burgundy);
  color: var(--ivory);
}

/* Loader on page transitions */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--burgundy-deep);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}
.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}
.page-loader .crest {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--silver-warm);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: crestPulse 1.4s ease-in-out infinite;
}
@keyframes crestPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
