/* ============================================================
   SYDNEY SWEENEY — Official Site
   Design System & Shared Styles
   Inspired by: Luxury editorial, warm cream palette, bold serif
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,900;1,6..96,400&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* ---- CSS Variables ---- */
:root {
  /* Colors */
  --cream:        #F5EDE0;
  --cream-light:  #FAF5EE;
  --cream-dark:   #EDE0CE;
  --charcoal:     #1C1C1C;
  --charcoal-mid: #2E2E2E;
  --charcoal-soft:#444444;
  --gold:         #B8935A;
  --gold-light:   #D4AF7A;
  --gold-pale:    #EDD9B4;
  --white:        #FFFFFF;
  --black:        #0A0A0A;
  --muted:        #8A7D6E;
  --border:       #D9CFC2;
  --panel-dark:   #1A1510;

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --nav-h:    80px;
  --section-pad: 100px;
  --container: 1280px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur:  0.35s;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--cream-light);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 48px;
  transition: background var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
}

.site-nav.scrolled {
  background: rgba(250, 245, 238, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.site-nav.nav-dark {
  /* For dark hero pages — text flips white until scrolled */
}

/* Home page: hero is light-background — default nav (charcoal text) is fine */

.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo .logo-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.nav-logo .logo-tag {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--dur) var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--dur) var(--ease);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Nav CTA */
.nav-cta {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--charcoal);
  padding: 10px 24px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--white);
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  transition: transform var(--dur) var(--ease), opacity var(--dur);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---- Left-side drawer menu (v2) ---- */
.mobile-menu {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  z-index: 9999;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 100px 40px 60px;

  /* Fully transparent — blends with landing page, no panel effect */
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-right: none;
  box-shadow: none;

  /* Offscreen by default */
  transform: translateX(-100%);
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 0.42s;
}

.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: all;
  transition:
    transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 0s;
}

/* No overlay behind the drawer */
.mobile-menu::after { display: none; }

/* No ::before label — brand link replaces it */
.mobile-menu::before { display: none; }

/* Brand / home button at the top of the drawer */
.mobile-menu .menu-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  border: none !important;
  padding: 0 !important;
  opacity: 1 !important;
  margin-bottom: 32px;
}

.menu-brand-name {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  font-optical-sizing: auto;
  font-variation-settings: 'opsz' 96;
  letter-spacing: 0.06em;
  line-height: 1;
  color: #b8933a;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  text-shadow: 0 1px 12px rgba(240, 235, 227, 0.95), 0 0 28px rgba(240, 235, 227, 0.8);
  transition: color 0.2s;
}

.menu-brand-tag {
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(184, 147, 58, 0.65);
  transition: color 0.2s;
}

.mobile-menu .menu-brand:hover .menu-brand-name { color: #d4a84b; }
.mobile-menu .menu-brand:hover .menu-brand-tag  { color: rgba(212, 168, 75, 0.8); }

.mobile-menu a {
  display: block;
  width: 100%;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 1;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(180, 165, 145, 0.35);
  /* crisp shadow keeps text readable against any background */
  text-shadow: 0 1px 8px rgba(240, 235, 227, 0.9), 0 0 20px rgba(240, 235, 227, 0.7);
  transition: opacity 0.2s, color 0.2s, letter-spacing 0.2s;
}

.mobile-menu a:first-of-type {
  border-top: 1px solid rgba(217, 207, 194, 0.4);
}

.mobile-menu a:hover {
  opacity: 1;
  color: var(--gold);
  letter-spacing: 0.38em;
}

/* ============================================================
   BUTTONS & CTAs
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 14px 32px;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  border: none;
}

.btn-dark {
  background: var(--charcoal);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
}

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

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background: var(--charcoal);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

.btn-arrow::after {
  content: '→';
  font-size: 14px;
  font-weight: 400;
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  padding-top: var(--nav-h);
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.page-header-inner {
  padding: 80px 0 60px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}

.page-title em {
  font-style: italic;
  color: var(--gold);
}

.page-subtitle {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.7;
  margin-top: 8px;
}

/* ============================================================
   SECTION LABELS & DIVIDERS
   ============================================================ */
.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-label::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}

.section-heading em {
  font-style: italic;
  color: var(--gold);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--panel-dark);
  color: var(--cream-dark);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-light);
}

.footer-brand .logo-tag {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
  color: var(--muted);
  margin-top: 20px;
  line-height: 1.6;
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  transition: all var(--dur);
}

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

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul a {
  font-size: 13px;
  color: var(--muted);
  transition: color var(--dur);
}

.footer-col ul a:hover {
  color: var(--cream-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
}

.footer-copyright {
  font-size: 11px;
  color: rgba(138,125,110,0.6);
  letter-spacing: 0.05em;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 11px;
  color: rgba(138,125,110,0.6);
  letter-spacing: 0.05em;
  transition: color var(--dur);
}

.footer-legal a:hover {
  color: var(--muted);
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.text-gold    { color: var(--gold); }
.text-muted   { color: var(--muted); }
.text-center  { text-align: center; }
.text-italic  { font-style: italic; font-family: var(--font-display); }

.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}

.fade-in.visible {
  opacity: 1;
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================================
   CUSTOM SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream-light); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .site-nav  { padding: 0 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 68px;
    --section-pad: 70px;
  }

  .container { padding: 0 20px; }
  .site-nav  { padding: 0 20px; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-legal { justify-content: center; }
}

@media (max-width: 480px) {
  .btn { padding: 12px 24px; font-size: 9px; }
  .page-title { font-size: clamp(40px, 12vw, 64px); }
}
