/* =====================================================
   NOLA Flight — styles
   Light, warm, restrained. Purple as an accent only.
   ===================================================== */

:root {
  /* ---- color ---- */
  --bg:          #F5F1E8;      /* warm cream */
  --bg-2:        #EDE7D8;      /* deeper cream for alt sections */
  --ink:         #1A1612;      /* primary text */
  --ink-2:       #4A4339;      /* secondary text */
  --ink-3:       #857C6E;      /* tertiary / captions */
  --rule:        rgba(26, 22, 18, 0.12);
  --rule-strong: rgba(26, 22, 18, 0.22);

  --purple:      #5B21B6;      /* the accent — deep, readable on cream */
  --purple-hot:  #4C1D95;      /* hover */
  --purple-soft: rgba(91, 33, 182, 0.08);

  /* ---- type ---- */
  --f-display:   'Fraunces', Georgia, 'Times New Roman', serif;
  --f-body:      'Mona Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* ---- layout ---- */
  --max:         1240px;
  --gutter:      clamp(20px, 4vw, 56px);
  --section-pad: clamp(80px, 10vw, 140px);
  --radius:      4px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

button { font: inherit; cursor: pointer; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--purple); color: #fff; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* -----------------------------------------------------
   Layout
   ----------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* -----------------------------------------------------
   Section primitives
   ----------------------------------------------------- */
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--purple);
  padding-left: 18px;
  position: relative;
}
.section-label::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 10px; height: 1px;
  background: var(--purple);
}

.section-head {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 22ch;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 64px;
}

/* -----------------------------------------------------
   Brand mark
   ----------------------------------------------------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand-mark {
  height: 26px;
  width: auto;
  color: var(--purple);
  flex-shrink: 0;
}
.footer-brand .brand-mark { height: 32px; }
.brand-word {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.005em;
}

/* -----------------------------------------------------
   Buttons
   ----------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
  white-space: nowrap;
}
.btn-sm { padding: 10px 16px; font-size: 13px; }

.btn-primary {
  background: var(--purple);
  color: #fff;
}
.btn-primary:hover {
  background: var(--purple-hot);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-strong);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

/* -----------------------------------------------------
   Header
   ----------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--rule);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.primary-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 6px 0;
  position: relative;
  transition: color .2s ease;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a:hover::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--rule-strong);
  width: 40px;
  height: 36px;
  border-radius: var(--radius);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
}

@media (max-width: 860px) {
  .primary-nav,
  .header-cta { display: none; }
  .menu-toggle { display: flex; }

  .primary-nav.open {
    display: flex;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    padding: 16px var(--gutter) 24px;
    gap: 4px;
  }
  .primary-nav.open a {
    padding: 12px 0;
    border-bottom: 1px solid var(--rule);
    font-size: 16px;
  }
  .primary-nav.open a::after { display: none; }
}

/* -----------------------------------------------------
   Hero
   ----------------------------------------------------- */
.hero {
  padding-top: clamp(60px, 10vw, 110px);
  padding-bottom: clamp(80px, 12vw, 140px);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 1100px;
}
.kicker {
  font-size: 13px;
  font-weight: 500;
  color: var(--purple);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(44px, 8.2vw, 116px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 36px;
  max-width: 14ch;
}
.hero-title .accent {
  color: var(--purple);
  font-style: italic;
  font-weight: 400;
}
.hero-lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 0 40px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 64px;
}
.hero-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  list-style: none;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.hero-creds li {
  font-size: 14px;
  color: var(--ink-3);
  position: relative;
  padding-left: 16px;
}
.hero-creds li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 4px; height: 4px;
  background: var(--purple);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* -----------------------------------------------------
   Story
   ----------------------------------------------------- */
.story {
  background: var(--bg-2);
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.story-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.story-label { padding-top: 8px; }
.story-body {
  max-width: 760px;
}
.story-body .section-head {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 300;
  letter-spacing: -0.015em;
  max-width: none;
  margin-bottom: 40px;
}
.story-prose p {
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 1.2em;
}
.story-prose p:last-child { margin-bottom: 0; }
.story-sign {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 17px;
  color: var(--ink);
  margin-top: 32px;
}

@media (max-width: 760px) {
  .story-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* -----------------------------------------------------
   Pillars / Life
   ----------------------------------------------------- */
.life { padding: var(--section-pad) 0; }
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.pillar {
  background: var(--bg);
  padding: 36px 28px;
  transition: background-color .3s ease;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pillar:hover { background: var(--bg-2); }
.pillar h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.pillar p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 32ch;
}

@media (max-width: 980px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: 0; padding: 28px 24px; }
}

/* -----------------------------------------------------
   Events
   ----------------------------------------------------- */
.events {
  background: var(--bg-2);
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.event-list {
  list-style: none;
  border-top: 1px solid var(--rule);
}
.event {
  display: grid;
  grid-template-columns: 88px 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  transition: padding-left .3s ease;
}
.event:hover { padding-left: 12px; }

.event-date {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--f-display);
  line-height: 1;
}
.event-date .m {
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
}
.event-date .y {
  font-size: 13px;
  color: var(--ink-3);
}
.event-name {
  font-family: var(--f-display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.event-loc {
  font-size: 14px;
  color: var(--ink-3);
}
.event-cta {
  font-size: 14px;
  font-weight: 500;
  color: var(--purple);
  transition: color .2s ease;
  white-space: nowrap;
}
.event-cta:hover { color: var(--purple-hot); }

.events-foot {
  margin-top: 40px;
  font-size: 15px;
  color: var(--ink-2);
}
.events-foot a {
  color: var(--purple);
  font-weight: 500;
}
.events-foot a:hover { color: var(--purple-hot); }

@media (max-width: 760px) {
  .event {
    grid-template-columns: 70px 1fr;
    grid-template-rows: auto auto;
    gap: 6px 18px;
    padding: 22px 0;
  }
  .event-date { grid-row: 1 / span 2; }
  .event-name { grid-column: 2; }
  .event-loc  { grid-column: 2; }
  .event-cta  { grid-column: 2; margin-top: 4px; text-align: left; }
}

/* -----------------------------------------------------
   Shop
   ----------------------------------------------------- */
.shop { padding: var(--section-pad) 0; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.product-frame {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  transition: transform .35s ease;
}
.product:hover .product-frame { transform: translateY(-3px); }

.product-frame-a {
  background:
    radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--purple) 12%, var(--bg-2)), var(--bg-2) 65%);
}
.product-frame-b {
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--ink) 92%, var(--purple)), var(--ink));
}
.product-frame-b .product-tag { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.2); }
.product-frame-b .product-badge { color: #fff; background: var(--purple); }
.product-frame-c {
  background:
    linear-gradient(140deg, color-mix(in srgb, var(--purple) 16%, var(--bg-2)), var(--bg-2) 70%);
}
.product-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--rule-strong);
  padding: 4px 10px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
}
.product-badge {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--bg);
  border: 1px solid var(--purple);
  padding: 4px 8px;
  border-radius: 99px;
}
.product-meta h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin-bottom: 8px;
}
.product-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.product-price {
  font-size: 15px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.product-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--purple);
  transition: color .2s ease;
}
.product-link:hover { color: var(--purple-hot); }

.shop-foot {
  margin-top: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.shop-foot p {
  font-size: 14px;
  color: var(--ink-3);
}

@media (max-width: 860px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------
   Join / Newsletter
   ----------------------------------------------------- */
.join {
  background: var(--bg-2);
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.join-inner {
  max-width: 560px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.join-inner .section-label { padding-left: 18px; }
.join-inner .section-head {
  max-width: none;
  margin-bottom: 4px;
  font-size: clamp(32px, 4.6vw, 56px);
}
.join-inner p {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 44ch;
}
.join-form {
  display: flex;
  width: 100%;
  margin-top: 12px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
  transition: border-color .2s ease;
}
.join-form:focus-within { border-color: var(--purple); }
.join-form input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 14px 18px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  min-width: 0;
}
.join-form input::placeholder { color: var(--ink-3); }
.join-form button {
  background: var(--purple);
  color: #fff;
  border: 0;
  padding: 0 22px;
  font-weight: 500;
  font-size: 14px;
  transition: background-color .2s ease;
}
.join-form button:hover { background: var(--purple-hot); }
.join-form.success button { background: var(--ink); }
.join-fine {
  font-size: 13px;
  color: var(--ink-3);
}

/* -----------------------------------------------------
   Footer
   ----------------------------------------------------- */
.site-footer {
  padding: 80px 0 36px;
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
}
.footer-brand p {
  font-size: 14px;
  color: var(--ink-2);
  max-width: 320px;
  margin: 18px 0 16px;
  line-height: 1.55;
}
.footer-brand .brand-word { font-size: 20px; }
.footer-email {
  display: inline-block;
  font-size: 14px;
  color: var(--purple);
  font-weight: 500;
  margin-top: 4px;
}
.footer-email:hover { color: var(--purple-hot); }

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--ink-2);
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--purple); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 28px;
  font-size: 13px;
  color: var(--ink-3);
}
.footer-motto {
  font-family: var(--f-display);
  font-style: italic;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: var(--purple); }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { justify-content: flex-start; }
}

/* -----------------------------------------------------
   Reveal animation
   ----------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1),
              transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
