/* Travel With Izzy — shared brand system */

:root {
  /* Palette — anchored on the Avida Birdville teal stripe */
  --bg:          oklch(96% 0.012 75);   /* warm sand cream */
  --surface:     oklch(99% 0.006 75);
  --surface-2:   oklch(94% 0.014 75);
  --ink:         oklch(22% 0.02 240);   /* deep charcoal */
  --muted:       oklch(48% 0.018 240);
  --border:      oklch(88% 0.008 75);
  --border-strong: oklch(78% 0.012 75);

  --teal:        oklch(62% 0.11 205);   /* Izzy teal — van stripe */
  --teal-deep:   oklch(48% 0.10 215);
  --teal-soft:   oklch(92% 0.04 200);

  --terracotta:  oklch(65% 0.14 40);    /* sunset accent */
  --terracotta-soft: oklch(94% 0.04 50);
  --sage:        oklch(68% 0.08 145);   /* eucalyptus */
  --sage-soft:   oklch(94% 0.03 145);

  --sky:         oklch(82% 0.06 230);   /* dawn sky */

  /* Type */
  --font-display: 'Bricolage Grotesque', 'Söhne', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
  --font-hand:    'Caveat', 'Bradley Hand', cursive;

  /* Spacing scale */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  /* Radii */
  --r-1: 6px; --r-2: 10px; --r-3: 16px; --r-4: 24px; --r-pill: 999px;

  /* Shadows — restrained */
  --shadow-soft: 0 1px 2px oklch(22% 0.02 240 / 0.04), 0 8px 24px oklch(22% 0.02 240 / 0.06);
  --shadow-lift: 0 4px 16px oklch(22% 0.02 240 / 0.08), 0 16px 48px oklch(22% 0.02 240 / 0.10);

  /* Fluid type */
  --fs-d1: clamp(48px, 7.2vw, 96px);
  --fs-d2: clamp(36px, 5vw, 64px);
  --fs-d3: clamp(28px, 3.6vw, 44px);
  --fs-h1: clamp(24px, 2.8vw, 32px);
  --fs-h2: 22px;
  --fs-body: 17px;
  --fs-small: 14px;
  --fs-mono: 13px;
}

/* Reset + base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--fs-d1); letter-spacing: -0.03em; }
h2 { font-size: var(--fs-d2); letter-spacing: -0.025em; }
h3 { font-size: var(--fs-d3); }
h4 { font-size: var(--fs-h1); }
p  { margin: 0; max-width: 62ch; text-wrap: pretty; }
a  { color: var(--teal-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Layout */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: oklch(96% 0.012 75 / 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand-lockup { display: flex; align-items: center; gap: 12px; }
.brand-lockup .mark { width: 40px; height: 40px; }
.brand-lockup .wordmark { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.brand-lockup .wordmark .izzy { font-family: var(--font-hand); font-size: 30px; font-weight: 600; color: var(--teal-deep); margin-left: 4px; line-height: 1; }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 15px; }
.nav-links a.active { color: var(--teal-deep); }
.nav-links a:hover { color: var(--teal-deep); text-decoration: none; }

/* Nav CTA button — stand out against translucent header */
.site-header .btn-primary {
  background: var(--teal-deep);
  color: white;
  padding: 10px 20px;
  font-size: 15px;
  box-shadow: 0 1px 2px oklch(22% 0.02 240 / 0.10);
}
.site-header .btn-primary:hover {
  background: var(--ink);
  color: white;
  transform: translateY(-1px);
}
.site-header .btn-primary::after {
  content: "→";
  font-weight: 500;
  margin-left: 2px;
}

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-2);
  width: 44px; height: 44px;
  padding: 0;
  cursor: pointer;
  align-items: center; justify-content: center;
  color: var(--ink);
  transition: background .2s, border-color .2s;
}
.nav-toggle:hover { background: var(--surface); border-color: var(--ink); }
.nav-toggle .bars { width: 22px; height: 14px; position: relative; display: block; }
.nav-toggle .bars::before,
.nav-toggle .bars::after,
.nav-toggle .bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform .25s ease, opacity .15s ease, top .25s ease;
}
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars span    { top: 6px; }
.nav-toggle .bars::after  { top: 12px; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after  { top: 6px; transform: rotate(-45deg); }
.nav-toggle[aria-expanded="true"] .bars span    { opacity: 0; }

/* Mobile dropdown menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 72px 0 auto 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lift);
  z-index: 49;
  padding: 8px 0 20px;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, opacity .2s ease;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu .wrap { padding: 0 18px; }
.mobile-menu a {
  display: block;
  padding: 16px 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu a.active { color: var(--teal-deep); }
.mobile-menu a:hover  { color: var(--teal-deep); text-decoration: none; }
.mobile-menu .btn-primary {
  display: flex;
  justify-content: center;
  margin: 16px 12px 0;
  padding: 14px 22px;
  font-size: 17px;
  background: var(--teal-deep);
  color: white;
  border-radius: var(--r-pill);
  border: 0;
}
.mobile-menu .btn-primary:hover { background: var(--ink); color: white; }
body.menu-open { overflow: hidden; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-decoration: none;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--teal-deep); text-decoration: none; transform: translateY(-1px); }
.btn-accent { background: var(--terracotta); color: white; }
.btn-accent:hover { filter: brightness(1.05); text-decoration: none; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface); text-decoration: none; }

/* Pills / tags */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 500;
  background: var(--teal-soft); color: var(--teal-deep);
}
.pill.terracotta { background: var(--terracotta-soft); color: var(--terracotta); }
.pill.sage       { background: var(--sage-soft);       color: oklch(38% 0.06 145); }
.pill.ink        { background: var(--ink); color: var(--bg); }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  padding: 28px;
}

/* Sections */
section { padding: 88px 0; }
section + section { border-top: 1px solid var(--border); }
.section-eyebrow {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 12px;
}

/* Footer */
.site-footer {
  background: var(--ink); color: oklch(85% 0.01 240);
  padding: 64px 0 28px;
  border-top: none;
}
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: white; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: oklch(85% 0.01 240); display: block; padding: 4px 0; font-size: 15px; }
.site-footer a:hover { color: var(--teal-soft); }
.site-footer .copyright { grid-column: 1 / -1; border-top: 1px solid oklch(35% 0.02 240); padding-top: 24px; margin-top: 24px; font-size: 13px; color: oklch(65% 0.01 240); display: flex; justify-content: space-between; }

@media (max-width: 820px) {
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu { display: block; }
  section { padding: 64px 0; }
}
@media (max-width: 540px) {
  .site-footer .wrap { grid-template-columns: 1fr; }
  .wrap, .wrap-narrow { padding: 0 18px; }
}

/* Utility */
.eyebrow { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.divider { height: 1px; background: var(--border); margin: 32px 0; border: 0; }
.text-muted { color: var(--muted); }
.text-teal { color: var(--teal-deep); }
.text-terracotta { color: var(--terracotta); }
.hand { font-family: var(--font-hand); }

/* Animated tiny waves underline */
.squiggle {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 8'><path d='M0 4 Q 10 0 20 4 T 40 4 T 60 4 T 80 4' fill='none' stroke='%23E08B5C' stroke-width='2' stroke-linecap='round'/></svg>");
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: 80px 8px;
  padding-bottom: 10px;
}
