/* ============================================
   SHARED — design tokens, reset, nav, footer,
   buttons, scroll reveal
   Loaded by both index.html and about.html
   ============================================ */

/* Design tokens */
:root {
  --bg: #FFF8F0;
  --bg-warm: #FFF1E3;
  --bg-card: #FFFFFF;
  --coral: #FF6B4A;
  --coral-light: #FF8B70;
  --coral-soft: #FFDDD4;
  --coral-deep: #E8553A;
  --amber: #F5A623;
  --amber-soft: #FFF0D4;
  --plum: #6B3FA0;
  --plum-soft: #EDE5F5;
  --teal: #2ABFB3;
  --teal-soft: #D4F5F1;
  --teal-deep: #1FA89D;
  --text-dark: #2D2019;
  --text-body: #5C4A3A;
  --text-muted: #9B8A7A;
  --border: rgba(45,32,25,0.08);
  --font-display: 'Fraunces', serif;
  --font-body: 'DM Sans', sans-serif;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body); background: var(--bg);
  color: var(--text-body); line-height: 1.6; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; border: none; background: none; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.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; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 28px; transition: background 0.4s ease, box-shadow 0.4s ease;
}
.nav.scrolled {
  background: rgba(255,248,240,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(45,32,25,0.06);
}
.nav__inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--text-dark); letter-spacing: -0.01em; }
.nav__logo span { color: var(--coral); }
.nav__links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav__links a { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); transition: color 0.25s ease; position: relative; }
.nav__links a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--coral); border-radius: 1px; transform: scaleX(0); transition: transform 0.3s var(--ease-out-expo); transform-origin: left; }
.nav__links a:hover { color: var(--coral); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a.active { color: var(--coral); }
.nav__links a.active::after { transform: scaleX(1); }
.nav__hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; width: 40px; height: 40px; cursor: pointer; background: none; border: none; }
.nav__hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text-dark); transition: transform 0.3s var(--ease-out-expo), opacity 0.2s ease; }
.nav__hamburger span:nth-child(1) { margin-bottom: 6px; }
.nav__hamburger span:nth-child(3) { margin-top: 6px; }
.nav__hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav__mobile { display: none; position: fixed; inset: 0; background: #FFF8F0; z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 36px; opacity: 0; transition: opacity 0.35s ease; }
.nav__mobile.open { display: flex; opacity: 1; }
.nav__mobile a { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--text-dark); transition: color 0.2s ease; }
.nav__mobile a:hover { color: var(--coral); }
@media (max-width: 768px) { .nav__links { display: none; } .nav__hamburger { display: flex; } }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 16px 32px; border-radius: 100px; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.25s ease, color 0.25s ease;
  position: relative; overflow: hidden; border: none;
}
.btn:active { transform: scale(0.97); }
.btn__arrow { transition: transform 0.3s var(--ease-out-expo); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 4px 16px rgba(255,107,74,0.3); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,107,74,0.4); background: var(--coral-deep); }
.btn--outline { background: transparent; color: var(--coral); border: 2px solid var(--coral); }
.btn--outline:hover { background: var(--coral); color: #fff; transform: translateY(-2px); }
.btn--primary::after { content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent); transform: skewX(-20deg); animation: btn-shimmer 3s ease-in-out infinite; }
@keyframes btn-shimmer { 0% { left: -100%; } 40%, 100% { left: 160%; } }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--text-dark); color: rgba(255,255,255,0.6); padding: 56px 0 36px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer__brand { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: #fff; margin-bottom: 12px; }
.footer__brand span { color: var(--coral); }
.footer__address { font-size: 0.85rem; line-height: 1.7; }
.footer__address a { color: var(--coral-light); transition: color 0.2s; }
.footer__address a:hover { color: var(--coral); }
.footer__nav { display: flex; gap: 28px; list-style: none; }
.footer__nav a { font-size: 0.85rem; transition: color 0.2s; }
.footer__nav a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.78rem; color: rgba(255,255,255,0.3); }
@media (max-width: 600px) { .footer__top { flex-direction: column; } .footer__nav { flex-wrap: wrap; gap: 14px 24px; } }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.25,1,0.5,1), transform 0.7s cubic-bezier(0.25,1,0.5,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: 0.1s; } .rd2 { transition-delay: 0.2s; } .rd3 { transition-delay: 0.3s; } .rd4 { transition-delay: 0.4s; }
