/* ═══════════════════════════════════════════════
   Michaela & Tushar Wedding — Shared Stylesheet
   Palette from brand guide:
   Orange #F5590E · Gold #F5C220 · Purple #670A75
   Magenta #D90D58 · Amber #D17708
   ═══════════════════════════════════════════════ */

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

:root {
  --orange:  #F5590E;
  --gold:    #F5C220;
  --purple:  #670A75;
  --magenta: #D90D58;
  --amber:   #D17708;
  --cream:   #FAF6EE;
  --ivory:   #FDFAF3;
  --white:   #FFFFFF;
  --text:    #2a1a0e;
  --soft:    #6b4c2a;
  --sage:    #8a9a5a;
  --nav-h:   64px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; background: var(--ivory); color: var(--text); overflow-x: hidden; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, .caveat { font-family: 'Caveat', cursive; }
.serif { font-family: 'Libre Baskerville', serif; }
p { font-family: 'Lato', sans-serif; line-height: 1.85; color: var(--soft); font-weight: 300; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--amber); }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: var(--ivory);
  border-bottom: 2px solid var(--gold);
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 2rem; gap: 1rem;
  overflow: hidden;
}
.nav-logo {
  font-family: 'Caveat', cursive; font-size: 1.4rem; font-weight: 700;
  color: var(--purple); white-space: nowrap; text-decoration: none; flex-shrink: 0;
}
.nav-logo span { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 0 1.6rem; flex-wrap: nowrap; flex-shrink: 0; }
.nav-links a {
  font-size: 0.875rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--purple); text-decoration: none; transition: color 0.2s; padding: 0.3rem 0;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--orange); transform: scaleX(0); transition: transform 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-sep { color: var(--gold); font-size: 0.875rem; opacity: 0.6; }
.nav-rsvp {
  background: var(--orange); color: white !important; padding: 0.45rem 1.1rem !important;
  border-radius: 50px; font-size: 0.875rem !important;
  transition: background 0.2s !important;
}
.nav-rsvp:hover { background: var(--amber) !important; }
.nav-rsvp::after { display: none !important; }

@media (max-width: 900px) {
  .nav-links { gap: 0 0.9rem; }
  .nav-links a { font-size: 0.875rem; letter-spacing: 0.08em; }
}
@media (max-width: 780px) {
  nav { padding: 0 1rem; gap: 0.5rem; }
  .nav-links { gap: 0 0.5rem; }
  .nav-links a { font-size: 0.875rem; letter-spacing: 0.05em; }
  .nav-sep { display: none; }
}
@media (max-width: 580px) {
  :root { --nav-h: 92px; }
  nav {
    height: auto;
    flex-wrap: wrap;
    padding: 0.45rem 1rem 0.5rem;
    overflow: visible;
    align-items: flex-start;
    gap: 0;
  }
  .nav-logo { font-size: 1.1rem; padding: 0.3rem 0; flex: 0 0 auto; }
  .nav-links {
    flex: 0 0 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.2rem 0.55rem;
    overflow-x: visible;
    padding-bottom: 0.3rem;
  }
  .nav-links a { font-size: 0.78rem; letter-spacing: 0.04em; white-space: nowrap; }
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  padding: calc(var(--nav-h) + 3.5rem) 2rem 3.5rem;
  text-align: center; background: var(--cream); position: relative; overflow: hidden;
  z-index: 1;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(245,194,32,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(217,13,88,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-tag {
  font-size: 0.875rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 0.5rem; display: block;
}
.page-hero h1 {
  font-family: 'Caveat', cursive; font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700; color: var(--purple); line-height: 1.1; margin-bottom: 0.6rem;
}
.page-hero p {
  font-family: 'Libre Baskerville', serif; font-style: italic;
  font-size: 1rem; max-width: 520px; margin: 0 auto;
}

/* ─── SECTIONS ─── */
section { padding: 5rem 2rem; }
.section-inner { max-width: 900px; margin: 0 auto; }
.section-inner.wide { max-width: 1120px; }
.section-tag {
  font-size: 0.875rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 0.5rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.tag-line { flex: 1; height: 1px; background: var(--gold); opacity: 0.5; max-width: 60px; }
h2 {
  font-family: 'Caveat', cursive; font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700; color: var(--purple); margin-bottom: 1rem; line-height: 1.1;
}
h3 { font-family: 'Caveat', cursive; font-weight: 700; color: var(--purple); }

/* ─── PHOTO PLACEHOLDERS ─── */
.photo-placeholder {
  background: linear-gradient(135deg, rgba(103,10,117,0.06) 0%, rgba(245,194,32,0.08) 100%);
  border: 2px dashed rgba(103,10,117,0.2);
  border-radius: 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.8rem; color: rgba(103,10,117,0.4);
  position: relative; overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
  cursor: default;
}
.photo-placeholder:hover {
  border-color: rgba(103,10,117,0.35);
  background: linear-gradient(135deg, rgba(103,10,117,0.09) 0%, rgba(245,194,32,0.11) 100%);
}
.photo-placeholder-icon { font-size: 2.5rem; opacity: 0.5; }
.photo-placeholder-label {
  font-size: 0.875rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 700; opacity: 0.6; text-align: center; padding: 0 1rem;
}
.photo-placeholder-dims {
  font-size: 0.875rem; opacity: 0.4; letter-spacing: 0.08em;
}
/* Photo corners decoration */
.photo-placeholder::before, .photo-placeholder::after {
  content: ''; position: absolute; width: 24px; height: 24px;
  border-color: var(--gold); border-style: solid; opacity: 0.4;
}
.photo-placeholder::before { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.photo-placeholder::after { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; }

/* Sizes */
.photo-xl { height: 480px; }
.photo-lg { height: 380px; }
.photo-md { height: 280px; }
.photo-sq { aspect-ratio: 1; }
.photo-portrait { aspect-ratio: 3/4; }
.photo-landscape { aspect-ratio: 16/9; }
.photo-wide { aspect-ratio: 21/9; }

/* ─── BOTANICAL BANNER ─── */
.botanical-banner { width: 100%; overflow: hidden; line-height: 0; background: var(--ivory); }
.botanical-banner svg { width: 100%; display: block; }

/* ─── CEREMONY BAND ─── */
.ceremony-band {
  background: var(--purple); padding: 1.8rem 2rem; text-align: center;
}
.ceremony-band-title {
  font-family: 'Caveat', cursive; font-size: 1.7rem; color: var(--gold); margin-bottom: 0.3rem;
}
.ceremony-band p { font-size: 0.88rem; color: rgba(255,255,255,0.7); font-weight: 300; }

/* ─── CARDS ─── */
.card {
  background: white; border-radius: 16px; padding: 2rem;
  border: 1px solid rgba(245,194,32,0.3);
  box-shadow: 0 2px 16px rgba(103,10,117,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(103,10,117,0.1); }
.card-icon { font-size: 2rem; margin-bottom: 0.7rem; display: block; }
.card h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.88rem; line-height: 1.75; }

/* Event cards */
.event-item {
  background: white; border-radius: 16px; border-left: 4px solid var(--orange);
  display: grid; grid-template-columns: auto 1fr; overflow: hidden;
  box-shadow: 0 2px 12px rgba(245,89,14,0.07); transition: transform 0.2s, box-shadow 0.2s;
}
.event-item:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(103,10,117,0.12); }
.event-item.b-purple { border-left-color: var(--purple); }
.event-item.b-magenta { border-left-color: var(--magenta); }
.event-item.b-amber { border-left-color: var(--amber); }
.event-time-col {
  background: var(--cream); padding: 1.4rem 1.2rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 88px; text-align: center; border-right: 1px solid rgba(245,194,32,0.2);
}
.event-time { font-family: 'Caveat', cursive; font-size: 1.5rem; font-weight: 700; color: var(--purple); line-height: 1; }
.event-ampm { font-size: 0.875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); margin-top: 0.15rem; }
.event-icon { font-size: 1.4rem; margin-bottom: 0.4rem; }
.event-body { padding: 1.4rem 1.6rem; }
.event-tag {
  display: inline-block; font-size: 0.875rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.2rem 0.7rem; border-radius: 20px; margin-bottom: 0.5rem; margin-right: 0.3rem;
}
.t-luth { background: #e8f0fa; color: #2255a4; }
.t-hindu { background: #fff3e0; color: var(--amber); }
.t-both { background: #f3e8ff; color: var(--purple); }
.t-social { background: #fce4ec; color: var(--magenta); }
.event-body h3 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.event-body p { font-size: 0.88rem; line-height: 1.75; }
.event-venue { font-size: 0.875rem; color: var(--orange); letter-spacing: 0.06em; margin-top: 0.5rem; display: block; }

/* ─── NOTE BOXES ─── */
.note-box {
  background: white; border-radius: 14px; border: 1.5px dashed var(--gold);
  padding: 1.4rem 1.8rem; display: flex; gap: 1rem; align-items: flex-start;
}
.note-box.magenta { border-color: var(--magenta); }
.note-box-icon { font-size: 1.4rem; flex-shrink: 0; }
.note-box h4 { font-family: 'Caveat', cursive; font-size: 1.2rem; font-weight: 700; color: var(--purple); margin-bottom: 0.3rem; }
.note-box p { font-size: 0.875rem; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-block; background: var(--orange); color: white;
  padding: 0.9rem 2.5rem; border-radius: 50px; border: none;
  font-family: 'Caveat', cursive; font-size: 1.15rem; font-weight: 700;
  cursor: pointer; transition: background 0.2s, transform 0.15s; text-decoration: none;
}
.btn:hover { background: var(--amber); transform: translateY(-2px); color: white; }
.btn-purple { background: var(--purple); }
.btn-purple:hover { background: #4d0857; }
.btn-outline { background: transparent; border: 2px solid var(--purple); color: var(--purple); }
.btn-outline:hover { background: var(--purple); color: white; transform: translateY(-2px); }
.btn-sm { padding: 0.6rem 1.5rem; font-size: 0.95rem; }

/* ─── FORM ELEMENTS ─── */
.form-group { margin-bottom: 1.3rem; }
.form-label {
  display: block; font-size: 0.875rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 0.4rem; font-weight: 700;
}
input[type="text"], input[type="email"], select, textarea {
  width: 100%; border: 1.5px solid rgba(245,194,32,0.4); border-radius: 10px;
  padding: 0.8rem 1rem; font-family: 'Lato', sans-serif; font-size: 0.9rem;
  color: var(--text); background: var(--ivory); outline: none; transition: border-color 0.2s;
  -webkit-appearance: none; appearance: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--orange); }
textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
@media (max-width: 460px) { .check-grid { grid-template-columns: 1fr; } }
.check-item {
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--ivory); border: 1.5px solid rgba(245,194,32,0.35);
  border-radius: 10px; padding: 0.65rem 0.9rem;
  cursor: pointer; font-size: 0.875rem; color: var(--text);
}
.check-item input[type="checkbox"] { width: auto; padding: 0; border: none; background: none; accent-color: var(--orange); }
.attend-opts { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.attend-btn {
  flex: 1; min-width: 140px; padding: 0.85rem 1.2rem; border-radius: 10px;
  border: 1.5px solid rgba(245,194,32,0.4); background: var(--ivory);
  cursor: pointer; font-family: 'Lato', sans-serif; font-size: 0.88rem;
  color: var(--text); text-align: center; transition: all 0.2s;
}
.attend-btn:hover, .attend-btn.sel { background: var(--purple); color: white; border-color: var(--purple); }

/* ─── CONTAINER ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── DRIVE CHIPS / BADGE PILLS ─── */
.drive-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.8rem; }
.drive-chip { font-size: 0.875rem; font-weight: 700; background: rgba(245,89,14,0.1); color: var(--orange); padding: 0.3rem 0.8rem; border-radius: 20px; }

/* ─── GRIDS ─── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
@media (max-width: 680px) { .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 780px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .grid-3 { grid-template-columns: 1fr; } }

/* ─── TABS ─── */
.tab-btns { display: flex; gap: 0.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.tab-btn {
  padding: 0.55rem 1.4rem; border-radius: 50px; border: 1.5px solid var(--purple);
  background: transparent; color: var(--purple);
  font-family: 'Lato', sans-serif; font-size: 0.875rem; letter-spacing: 0.12em;
  text-transform: uppercase; cursor: pointer; transition: all 0.2s;
}
.tab-btn.active, .tab-btn:hover { background: var(--purple); color: white; }
.tab-btn.soon { border-color: rgba(103,10,117,0.3); color: rgba(103,10,117,0.35); cursor: default; }
.tab-btn.soon:hover { background: transparent; color: rgba(103,10,117,0.35); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ─── TBD PANEL ─── */
.tbd-panel {
  text-align: center; padding: 4rem 2rem; background: white;
  border-radius: 20px; border: 2px dashed rgba(103,10,117,0.2);
}
.tbd-panel h3 { font-size: 1.8rem; margin-bottom: 0.6rem; }

/* ─── PHOTO STRIP (gallery row) ─── */
.photo-strip { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 0.5rem; }
.photo-strip .photo-placeholder { flex: 0 0 260px; height: 320px; }

/* ─── FOOTER ─── */
footer {
  background: var(--purple); padding: 4rem 2rem; text-align: center;
  position: relative; overflow: hidden;
}
.footer-top-strip {
  height: 6px;
  background: repeating-linear-gradient(90deg,
    var(--orange) 0, var(--orange) 8px, var(--gold) 8px, var(--gold) 16px,
    var(--amber) 16px, var(--amber) 24px, var(--magenta) 24px, var(--magenta) 32px,
    var(--gold) 32px, var(--gold) 40px);
  margin-bottom: 2.5rem;
}
.footer-doodles { display: flex; justify-content: center; gap: 2.5rem; margin-bottom: 1.5rem; align-items: flex-end; }
.footer-names { font-family: 'Caveat', cursive; font-size: clamp(2rem,5vw,3.5rem); font-weight: 700; color: var(--gold); margin-bottom: 0.3rem; }
.footer-date { font-size: 0.875rem; letter-spacing: 0.15em; color: white; }
.footer-nav { display: flex; justify-content: center; gap: 0.4rem 1.5rem; flex-wrap: wrap; margin-top: 2rem; }
.footer-nav a { font-size: 0.875rem; letter-spacing: 0.15em; text-transform: uppercase; color: white; text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: var(--gold); }
.footer-syms { display: flex; justify-content: center; gap: 2rem; margin-top: 2rem; align-items: center; }
.footer-copy { font-size: 0.875rem; color: white; margin-top: 1.5rem; letter-spacing: 0.08em; }

/* ─── COUNTDOWN ─── */
.countdown { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.cd-unit {
  display: flex; flex-direction: column; align-items: center; background: white;
  border: 1.5px solid var(--gold); border-radius: 10px; padding: 0.8rem 1.1rem; min-width: 72px;
  box-shadow: 0 3px 12px rgba(245,89,14,0.1);
}
.cd-num { font-family: 'Caveat', cursive; font-size: 2.2rem; font-weight: 700; color: var(--purple); line-height: 1; }
.cd-lbl { font-size: 0.875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); margin-top: 0.2rem; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:translateY(0)} }
.fu { animation: fadeUp 0.9s ease both; }
.fu1{animation-delay:0.1s}.fu2{animation-delay:0.25s}.fu3{animation-delay:0.4s}
.fu4{animation-delay:0.55s}.fu5{animation-delay:0.7s}

/* ─── QUOTE BLOCK ─── */
.quote-block {
  background: linear-gradient(135deg, rgba(245,194,32,0.08), rgba(103,10,117,0.06));
  border-left: 4px solid var(--gold); border-radius: 0 16px 16px 0;
  padding: 1.6rem 2rem; margin: 2rem 0;
}
.quote-block p {
  font-family: 'Libre Baskerville', serif; font-style: italic;
  font-size: 1.1rem; color: var(--text); line-height: 1.8;
}
.quote-block cite { font-size: 0.875rem; color: var(--soft); display: block; margin-top: 0.5rem; }

/* ─── TRAVEL CARD ─── */
.travel-card { background: white; border-radius: 14px; padding: 1.5rem 1.6rem; border: 1px solid rgba(245,194,32,0.35); transition: transform 0.15s; }
.travel-card:hover { transform: translateY(-3px); }
.travel-card-icon { font-size: 1.5rem; margin-bottom: 0.6rem; display: block; }
.travel-card h4 { font-family: 'Caveat', cursive; font-size: 1.25rem; font-weight: 700; color: var(--purple); margin-bottom: 0.4rem; }
.travel-card p { font-size: 0.875rem; line-height: 1.75; }
.travel-hl { border-left: 3px solid var(--orange); border-radius: 0 14px 14px 0; }
.hotel-badge { display: inline-block; background: var(--gold); color: var(--text); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.2rem 0.7rem; border-radius: 20px; margin-bottom: 0.5rem; }

/* ─── REGISTRY CARD ─── */
.registry-card { background: white; border-radius: 18px; border: 1.5px solid var(--gold); padding: 2rem 1.5rem; text-align: center; transition: transform 0.2s, box-shadow 0.2s; }
.registry-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(103,10,117,0.1); }
.registry-card-icon { font-size: 2.2rem; margin-bottom: 0.6rem; display: block; }
.registry-card h4 { font-family: 'Caveat', cursive; font-size: 1.35rem; font-weight: 700; color: var(--purple); margin-bottom: 0.4rem; }
.registry-card p { font-size: 0.875rem; margin-bottom: 1.1rem; }

/* ─── STORY TIMELINE ─── */
.timeline { list-style: none; margin-top: 2rem; position: relative; }
.timeline::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--gold), var(--magenta)); opacity: 0.3; }
.timeline li { display: flex; gap: 1.5rem; margin-bottom: 2.5rem; align-items: flex-start; position: relative; }
.tl-dot {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--cream); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; position: relative; z-index: 1;
  overflow: hidden; padding: 8px;
}
.tl-content h4 { font-family: 'Caveat', cursive; font-size: 1.4rem; font-weight: 700; color: var(--purple); margin-bottom: 0.2rem; }
.tl-year { font-size: 0.875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.4rem; display: block; }
.tl-content p { font-size: 0.88rem; line-height: 1.75; }

/* ─── CROSS DOODLE PNG → orange tint (#F5590E) — footer use ─── */
.doodle-cross-tint {
  filter: brightness(0) saturate(100%) invert(42%) sepia(96%) saturate(800%) hue-rotate(349deg) brightness(105%);
}

/* ─── CROSS DOODLE PNG → magenta tint (#D90D58) — matches Ganesha on cream backgrounds ─── */
.cross-tint-pink {
  filter: invert(19%) sepia(94%) saturate(5143%) hue-rotate(318deg) brightness(96%) contrast(103%);
}

/* ─── MOBILE RESPONSIVE ─── */
@media (max-width: 768px) {
  section { padding: 3rem 1.2rem; }
  .grid-2 { grid-template-columns: 1fr; gap: 1.5rem; }
  .grid-3 { grid-template-columns: 1fr; gap: 1rem; }
  .grid-auto { grid-template-columns: 1fr; }
  .hero-locations-row { flex-direction: column; align-items: center; gap: 2rem; }
  .hero-loc-divider { display: none; }
  .hero-location-block, .hero-location-block + .hero-location-block { align-items: center; text-align: center; }
  .event-item { grid-template-columns: 1fr; }
  .event-time-col { border-right: none; border-bottom: 1px solid rgba(245,194,32,0.2); padding: 1rem 1.2rem; flex-direction: row; gap: 1rem; justify-content: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .tab-btns { flex-direction: column; align-items: flex-start; }
  .note-box { flex-direction: column; gap: 0.6rem; }
  .page-hero { padding: calc(var(--nav-h) + 2rem) 1.2rem 2.5rem; }
  footer { padding: 2.5rem 1.2rem; }
  h2 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
}
@media (max-width: 480px) {
  nav { padding: 0 0.8rem; gap: 0.3rem; }
  .nav-links { gap: 0 0.4rem; }
  .btn { padding: 0.75rem 1.5rem; font-size: 1rem; }
  .btn-sm { padding: 0.55rem 1.1rem; font-size: 0.9rem; }
  .quick-links { gap: 0.5rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-doodles { gap: 1.5rem; }
  .footer-nav { gap: 0.3rem 1rem; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 3.5rem); }
}

/* Footer doodle tint: converts SVG fills to #F5590E on dark purple footer */
.footer-svg-tint {
  filter: brightness(0) saturate(100%) invert(42%) sepia(96%) saturate(800%) hue-rotate(349deg) brightness(105%);
}
