/* ============================================
   MINAS CHRYSOPOULO — SHARED STYLES
   Cormorant Garamond + DM Sans
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  --navy:        #0f1923;
  --navy-mid:    #1a2b3c;
  --navy-light:  #243448;
  --cream:       #f8f5f0;
  --warm-white:  #fdfcfa;
  --gold:        #c9a96e;
  --gold-light:  #dfc08f;
  --slate:       #4a5568;
  --slate-light: #718096;
  --rule:        #e2ddd7;
  --rule-dark:   rgba(255,255,255,0.09);
  --text:        #1a1a2e;
  --serif:       'Cormorant Garamond', Georgia, serif;
  --sans:        'DM Sans', system-ui, sans-serif;
  --max:         1120px;
  --pad:         clamp(24px, 5vw, 64px);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- NAVIGATION ---- */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--navy);
  border-bottom: 1px solid var(--rule-dark);
  transition: box-shadow 0.3s;
}

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

.nav-brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-brand-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.01em;
  line-height: 1;
}

.nav-brand-title {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.nav-links a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.07);
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,0.6);
  transition: all 0.2s;
}

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px var(--pad) 20px;
  border-top: 1px solid var(--rule-dark);
  gap: 4px;
}

.nav-mobile-menu a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-dark);
}

.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a:hover { color: #fff; }

/* ---- PAGE WRAPPER ---- */

.page-body {
  padding-top: 64px;
}

/* ---- SECTION UTILITIES ---- */

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: clamp(64px, 8vw, 112px) var(--pad);
}

.section-dark {
  background: var(--navy);
}

.section-mid {
  background: var(--navy-mid);
}

.section-white {
  background: var(--warm-white);
}

.section-cream {
  background: var(--cream);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

/* ---- TYPOGRAPHY ---- */

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 20px;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.display-xl {
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 1.06;
}

.display-lg {
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.1;
}

.display-md {
  font-size: clamp(26px, 3.5vw, 42px);
  line-height: 1.15;
}

.display-sm {
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.2;
}

.body-lg {
  font-family: var(--sans);
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 300;
  line-height: 1.8;
  color: var(--slate);
}

.body-md {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--slate);
}

.body-sm {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--slate-light);
}

.body-lg-dark {
  font-family: var(--sans);
  font-size: clamp(15px, 1.7vw, 17px);
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255,255,255,0.55);
}

.italic-serif {
  font-family: var(--serif);
  font-style: italic;
}

/* ---- RULE ---- */

hr.rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 40px 0;
}

hr.rule-dark {
  border: none;
  border-top: 1px solid var(--rule-dark);
  margin: 40px 0;
}

hr.rule-gold {
  border: none;
  border-top: 2px solid var(--gold);
  width: 48px;
  margin: 0 0 32px 0;
}

/* ---- BUTTONS & LINKS ---- */

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  border-bottom: 1.5px solid var(--navy);
  padding-bottom: 3px;
  transition: opacity 0.2s;
}

.link-arrow:hover { opacity: 0.6; }

.link-arrow-light {
  color: rgba(255,255,255,0.7);
  border-bottom-color: rgba(255,255,255,0.3);
}

.link-arrow-light:hover { opacity: 0.7; }

.link-arrow-gold {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.link-plain {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.2s;
}

.link-plain:hover { opacity: 0.7; }

/* ---- GOLD BAR ---- */

.gold-bar {
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 28px;
}

/* ---- FOOTER ---- */

.site-footer {
  background: var(--navy);
  border-top: 1px solid var(--rule-dark);
  padding: 48px var(--pad);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.footer-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  margin-bottom: 6px;
}

.footer-tagline {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(255,255,255,0.7); }

.footer-bottom {
  max-width: var(--max);
  margin: 24px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--rule-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-family: var(--sans);
  font-size: 11px;
  color: rgba(255,255,255,0.2);
}

.footer-disclosure {
  font-family: var(--sans);
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  max-width: 520px;
  line-height: 1.6;
  text-align: right;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .nav-mobile-menu.open { display: flex; }

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

  .footer-links {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-disclosure { text-align: left; }
}

@media (max-width: 480px) {
  :root { --pad: 20px; }
}

/* ---- PAGE-SPECIFIC SHARED ---- */

.page-hero-dark {
  background: var(--navy);
  padding: clamp(80px, 10vw, 140px) var(--pad) clamp(64px, 8vw, 100px);
}

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.page-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 24px;
}

.page-subtitle {
  font-family: var(--sans);
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  max-width: 580px;
}

/* Fade-in animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.7s ease forwards;
}

.fade-up-2 { animation-delay: 0.12s; opacity: 0; animation-fill-mode: forwards; }
.fade-up-3 { animation-delay: 0.22s; opacity: 0; animation-fill-mode: forwards; }
.fade-up-4 { animation-delay: 0.32s; opacity: 0; animation-fill-mode: forwards; }
