/*
 * ══════════════════════════════════════════════════════
 *  SCIENCE ARTISTRY LLC — Shared Stylesheet
 *  Ayesa Kaur · Sammamish, WA
 * ══════════════════════════════════════════════════════
 *
 *  HOW TO UPDATE THIS SITE:
 *  ─────────────────────────────────────────────────────
 *  Colors → Edit the :root section below (Section 1)
 *  Fonts  → Edit the @import line + --font-* variables
 *  Nav links → Edit each HTML file's <nav> section
 *  Footer → Edit each HTML file's <footer> section
 *
 *  Search for "AYESA:" in any HTML file to find
 *  spots that need your content (photo, email, etc.)
 * ══════════════════════════════════════════════════════
 */

/* ── 1. Fonts ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,600&family=Caveat:wght@400;600;700&family=Inter:wght@300;400;500&display=swap');

/* ── 2. Design Tokens (edit these to restyle the site) */
:root {
  /* Brand colors */
  --teal:       #1A6B8A;   /* Primary — change this to update the main color */
  --teal-dark:  #0f4f6a;
  --coral:      #D4643A;   /* Accent/CTA — change this to update button color */
  --coral-lt:   #e8845e;
  --purple:     #6B5CA5;

  /* Backgrounds */
  --cream:      #FDFAF5;   /* Page background */
  --cream-dark: #F2EBE0;   /* Alternate section background */

  /* Text */
  --ink:        #2A2420;   /* Main text */
  --ink-mid:    #5A4F48;   /* Secondary text */
  --border:     #DDD5C8;   /* Dividers */

  /* Fonts */
  --font-display: 'Playfair Display', Georgia, serif;  /* Headings */
  --font-hand:    'Caveat', cursive;                   /* Handwritten accents */
  --font-body:    'Inter', system-ui, sans-serif;      /* Body text */

  /* Layout */
  --max: 1140px;           /* Max content width */
}

/* ── 3. Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── 4. Navigation ────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(253,250,245,0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.2px;
}
.nav-logo .science { color: var(--teal); }
.nav-logo .art     { color: var(--coral); }
.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mid);
  transition: color .2s;
}
.nav-links a:hover { color: var(--teal); }
.nav-links a.active { color: var(--teal); }
.nav-cta {
  background: var(--coral) !important;
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 40px;
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: #b85028 !important; }
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--ink);
}

/* ── 5. Page top padding (below fixed nav) ────────── */
.page-top { padding-top: 64px; }

/* ── 6. Buttons ───────────────────────────────────── */
.btn-solid {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  padding: 14px 32px;
  border-radius: 40px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  transition: background .2s, transform .15s;
  border: none;
  cursor: pointer;
}
.btn-solid:hover { background: var(--teal-dark); transform: translateY(-2px); }

.btn-coral {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  padding: 14px 32px;
  border-radius: 40px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  transition: background .2s, transform .15s;
  border: none;
  cursor: pointer;
}
.btn-coral:hover { background: #b85028; transform: translateY(-2px); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--coral);
  padding: 12px 30px;
  border-radius: 40px;
  border: 2px solid var(--coral);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  transition: all .2s;
}
.btn-outline:hover { background: var(--coral); color: #fff; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-hand);
  font-size: 19px;
  color: var(--teal);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color .2s;
}
.btn-ghost:hover { border-color: var(--teal); }

.btn-white {
  display: inline-block;
  background: #fff;
  color: var(--teal);
  padding: 14px 32px;
  border-radius: 40px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  transition: all .2s;
}
.btn-white:hover { background: var(--cream); transform: translateY(-1px); }

.btn-ghost-white {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 12px 30px;
  border-radius: 40px;
  border: 2px solid rgba(255,255,255,0.5);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  transition: all .2s;
}
.btn-ghost-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ── 7. Section utilities ─────────────────────────── */
.section { padding: 96px 20px; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.alt-bg { background: var(--cream-dark); }
.dark-bg { background: #181210; }

.kicker {
  display: block;
  font-family: var(--font-hand);
  font-size: 21px;
  color: var(--coral);
  margin-bottom: 10px;
}
.kicker-teal { color: var(--teal); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 46px);
  color: var(--ink);
  line-height: 1.12;
  margin-bottom: 18px;
}
.section-title em { font-style: italic; color: var(--teal); }
.section-title-white { color: #fff; }

.section-body {
  font-size: 16px;
  color: var(--ink-mid);
  line-height: 1.85;
  max-width: 600px;
}

/* Brush-stroke SVG divider — drop this HTML anywhere:
   <svg class="brush-line" viewBox="0 0 120 14" xmlns="http://www.w3.org/2000/svg">
     <path d="M4,9 Q30,3 60,8 Q90,13 116,7" stroke="currentColor" stroke-width="3" fill="none" stroke-linecap="round"/>
   </svg>
*/
.brush-line {
  width: 100px;
  color: var(--coral);
  opacity: 0.55;
  display: block;
  margin: 24px 0;
}

/* Page hero banner (used on inner pages) */
.page-hero {
  background: linear-gradient(160deg, #fff 0%, var(--cream-dark) 100%);
  padding: 80px 20px 72px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero .kicker { justify-content: center; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 18px;
}
.page-hero h1 em { font-style: italic; color: var(--teal); }
.page-hero p {
  font-size: 18px;
  color: var(--ink-mid);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

/* ── 8. CTA Banner ────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 55%, var(--purple) 100%);
  padding: 96px 20px;
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}
.cta-banner h2 em { font-style: italic; color: rgba(255,255,255,0.7); }
.cta-banner p {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.75;
}
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── 9. Footer ────────────────────────────────────── */
.footer {
  background: #181210;
  color: rgba(255,255,255,0.6);
  padding: 72px 20px 0;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 24px;
  color: #fff;
  margin-bottom: 12px;
}
.footer-logo .art { color: var(--coral-lt); }
.footer-tagline {
  font-family: var(--font-hand);
  font-size: 17px;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
}
.footer h4 {
  font-family: var(--font-display);
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 12px; }
.footer a {
  font-size: 14px;
  color: rgba(255,255,255,0.42);
  transition: color .2s;
}
.footer a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.22);
}

/* ── 10. Responsive ───────────────────────────────── */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--cream);
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    gap: 6px;
    z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { padding: 10px 4px; display: block; font-size: 16px; }
  .hamburger { display: block; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 64px 16px; }
  .cta-btns { flex-direction: column; align-items: center; }
}
