/* ============================================================
   ALEXANDRA MOWDAY — Global Styles (Warm Direction)
   ============================================================ */

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

:root {
  --paper:       #f4f1ea;
  --paper-deep:  #ebe6dc;
  --ink:         #0000AB;   /* was near-black; now Alex blue — no black on site */
  --soft:        #6f6a60;
  --line:        rgba(38, 36, 31, 0.12);
  --blue:        #0000AB;
  --blue-tint:   rgba(0, 0, 171, 0.05);
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Helvetica Neue', Helvetica, Arial, sans-serif;
  --nav-h:       96px;
  --page-pad:    44px;
  --max-w:       1500px;
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0.0, 0, 0.2, 1);
}

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

html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { font-family: var(--font-sans); background: var(--paper); color: var(--soft); min-height: 100vh; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* NAV */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; display: flex; align-items: flex-start; justify-content: space-between; padding: 30px var(--page-pad); transition: background 0.4s ease, padding 0.4s ease; }
.site-nav.scrolled { background: rgba(244,241,234,0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; flex-direction: column; gap: 8px; opacity: 0; animation: fadeDown 0.9s var(--ease-out) 0.2s forwards; }
.brand-sig { height: 84px; width: auto; transition: height 0.4s ease; }
.site-nav.scrolled .brand-sig { height: 66px; }
.brand-sub { font-size: 11px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--blue); font-weight: 500; padding-left: 3px; }
.nav-links { display: flex; gap: 36px; list-style: none; padding-top: 8px; opacity: 0; animation: fadeDown 0.9s var(--ease-out) 0.4s forwards; }
.nav-links a { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--soft); opacity: 0.85; font-weight: 500; transition: opacity 0.25s ease, color 0.25s ease; position: relative; padding-bottom: 3px; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--blue); transition: width 0.3s var(--ease-smooth); }
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--blue); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 24px; height: 1.5px; background: var(--blue); transition: transform 0.3s ease, opacity 0.3s ease; }

/* FOOTER */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 64px var(--page-pad) 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; align-items: start; }
.footer-brand .footer-sig { height: 60px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 12px; line-height: 1.85; color: var(--soft); letter-spacing: 0.02em; max-width: 280px; }
.footer-nav h4, .footer-contact h4 { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--blue); margin-bottom: 20px; font-weight: 600; }
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { font-size: 12px; letter-spacing: 0.06em; color: var(--soft); transition: color 0.25s ease; }
.footer-nav a:hover { color: var(--blue); }
.footer-contact p { font-size: 12px; line-height: 1.95; color: var(--soft); letter-spacing: 0.02em; }
.footer-contact a { color: var(--ink); border-bottom: 1px solid var(--line); transition: border-color 0.25s ease, color 0.25s ease; }
.footer-contact a:hover { border-color: var(--blue); color: var(--blue); }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 28px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 10px; color: var(--soft); letter-spacing: 0.08em; }
.footer-socials { display: flex; gap: 20px; }
.footer-socials a { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--soft); transition: color 0.25s ease; }
.footer-socials a:hover { color: var(--blue); }

/* PAGE WRAP + HERO */
.page-wrap { padding-top: var(--nav-h); min-height: 100vh; }
.page-hero { padding: 72px var(--page-pad) 56px; border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { font-size: 9px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--blue); margin-bottom: 20px; display: block; font-weight: 600; opacity: 0; animation: fadeUp 0.8s var(--ease-out) 0.1s forwards; }
.page-hero h1 { font-family: var(--font-sans); font-size: clamp(48px, 6vw, 84px); font-weight: 700; line-height: 1.0; letter-spacing: -0.02em; color: var(--ink); opacity: 0; animation: fadeUp 0.8s var(--ease-out) 0.25s forwards; }
.page-hero h1 em { font-style: italic; }

/* UTILITY */
.label { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.btn-line { display: inline-flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); padding-bottom: 5px; border-bottom: 1px solid rgba(0,0,171,0.3); transition: border-color 0.3s ease, gap 0.3s ease; font-weight: 500; cursor: pointer; }
.btn-line:hover { border-color: var(--blue); gap: 20px; }
.btn-line .arrow { display: inline-block; width: 20px; height: 1px; background: var(--blue); transition: width 0.3s ease; }
.btn-line:hover .arrow { width: 30px; }

/* ANIMATIONS */
@keyframes fadeDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 768px) {
  :root { --page-pad: 22px; --nav-h: 76px; }
  .brand-sig { height: 60px; }
  .brand-sub { font-size: 9.5px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; inset: 0; background: var(--paper); justify-content: center; align-items: center; gap: 32px; z-index: 190; }
  .nav-links.open a { font-size: 14px; }
  .nav-burger { display: flex; z-index: 201; order: -1; }

  /* Nav: logo centred, burger right */
  .site-nav { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 16px var(--page-pad); }
  .brand { grid-column: 2; display: flex; flex-direction: column; align-items: center; opacity: 1; animation: none; }
  .nav-burger { grid-column: 3; justify-self: end; }

  /* Footer: centred */
  .site-footer { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .site-footer--minimal { text-align: center; }
  .site-footer--minimal .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-brand .footer-sig { margin-left: auto; margin-right: auto; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; align-items: center; }
  .footer-socials { justify-content: center; }
}

/* Footer tagline (replaces descriptive paragraph) */
.footer-brand .footer-tagline { font-size: 11px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--blue); font-weight: 500; margin-top: 4px; }


/* Minimal footer */
.site-footer--minimal { display: block; padding: 56px var(--page-pad) 40px; }
.site-footer--minimal .footer-brand { margin-bottom: 40px; }
.site-footer--minimal .footer-bottom { grid-column: auto; margin-top: 0; }
