/* ============================================================
   NALU — Matcha & Espresso Van
   Coastal premium. Photography-first. Single blue accent.
   ============================================================ */

:root {
  --cream:      #FBF6EC;
  --cream-2:    #F4ECDC;
  --sand:       #EFE5D2;
  --white:      #FFFFFF;

  --ink:        #283544;   /* deep coastal navy — primary text */
  --ink-soft:   #4F5E6E;
  --muted:      #7C8794;

  --blue:       #7C9AD0;   /* soft cornflower — logo + wave + accents */
  --ocean:      #355E8C;   /* deep ocean — CTAs, links */
  --ocean-deep: #2A4D73;   /* hover/pressed */
  --matcha:     #84A05B;   /* secondary product accent, used sparingly */

  --hairline:   #E7DCC6;
  --hairline-2: #DCD0B8;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --pill: 999px;

  --shadow-sm: 0 2px 8px rgba(40,53,68,.05);
  --shadow:    0 18px 40px -22px rgba(40,53,68,.28);
  --shadow-lg: 0 30px 60px -28px rgba(40,53,68,.36);

  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 64px);

  --ff-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-body: "Hanken Grotesk", -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--blue); color: #fff; }

/* ---------- Typography helpers ---------- */
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 500; color: var(--ink); line-height: 1.08; letter-spacing: -0.01em; }
em { font-style: italic; }

.eyebrow {
  font-family: var(--ff-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1;
  padding: 14px 26px;
  border-radius: var(--pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--ocean); color: #fff; box-shadow: 0 8px 20px -10px rgba(53,94,140,.7); }
.btn--primary:hover { background: var(--ocean-deep); transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(53,94,140,.75); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--hairline-2); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--lg { padding: 16px 32px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(0) scale(.98); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; color: var(--ocean); font-size: .96rem;
}
.link-arrow::after { content: "\2192"; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Brand / logo ---------- */
.brand { display: inline-flex; align-items: center; gap: .5rem; }
.brand__wave { width: 42px; height: 26px; overflow: visible; }
.brand__wave path { fill: none; stroke: var(--blue); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.brand__word {
  font-family: var(--ff-display); font-style: italic; font-weight: 500;
  font-size: 1.75rem; color: var(--blue); letter-spacing: .01em; line-height: 1;
  margin-top: 2px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  background: rgba(251,246,236,.88);
  transition: box-shadow .25s ease, background .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(251,246,236,.97); border-bottom-color: var(--hairline); box-shadow: var(--shadow-sm); }
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut);
  height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { font-weight: 500; font-size: .98rem; color: var(--ink-soft); position: relative; padding: 4px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--ocean); transition: width .22s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { padding: 11px 22px; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none; flex-direction: column; gap: .25rem;
  padding: 0 var(--gut); max-height: 0; overflow: hidden;
  background: var(--cream); border-bottom: 1px solid transparent;
  transition: max-height .32s ease, padding .32s ease, border-color .3s ease;
}
.nav__mobile.open { max-height: 420px; padding: 8px var(--gut) 24px; border-bottom-color: var(--hairline); }
.nav__mobile a { padding: 13px 0; font-weight: 500; font-size: 1.08rem; border-bottom: 1px solid var(--hairline); color: var(--ink); }
.nav__mobile .btn { margin-top: 14px; border-bottom: 0; }

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--gut); }
.section__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.section__head .section__lead { margin-top: 1.1rem; color: var(--ink-soft); font-size: 1.12rem; max-width: 60ch; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(120px, 16vh, 180px) var(--gut) clamp(56px, 8vw, 96px);
  display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero__title {
  font-size: clamp(2.7rem, 6.2vw, 4.6rem);
  line-height: 1.02; letter-spacing: -0.02em;
}
.hero__title em { color: var(--ocean); }
.hero__lead { margin-top: 1.5rem; font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--ink-soft); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }
.hero__note { margin-top: 1.5rem; font-size: .95rem; color: var(--muted); }

.hero__media { position: relative; }
.hero__frame {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5; background: var(--cream-2);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__wave { position: absolute; top: -26px; left: -22px; width: 130px; height: 64px; overflow: visible; }
.hero__wave path { fill: none; stroke: var(--blue); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.hero__media figcaption {
  position: absolute; right: 14px; bottom: 14px;
  background: rgba(255,255,255,.94);
  font-family: var(--ff-display); font-style: italic; font-size: .92rem; color: var(--ink);
  padding: 7px 14px; border-radius: var(--pill); box-shadow: var(--shadow-sm);
}

/* ============================================================
   COASTAL BAND
   ============================================================ */
.band { max-width: 1340px; margin: 0 auto; padding: clamp(8px, 2vw, 24px) var(--gut); text-align: center; }
.band__frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.band__frame img { width: 100%; height: clamp(220px, 34vw, 420px); object-fit: cover; }
.band__caption {
  font-family: var(--ff-display); font-size: clamp(1.2rem, 2.4vw, 1.9rem); color: var(--ink);
  max-width: 26ch; margin: clamp(28px, 4vw, 44px) auto 8px; line-height: 1.3;
}
.band__caption em { color: var(--ocean); }

/* ============================================================
   UNITS
   ============================================================ */
.units__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3.5vw, 48px); }
.unit__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 13 / 10; box-shadow: var(--shadow); background: var(--cream-2); }
.unit__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.unit:hover .unit__media img { transform: scale(1.045); }
.unit__body { padding: 26px 4px 0; }
.unit__body h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .6rem; }
.unit__body p { color: var(--ink-soft); margin-bottom: 1.1rem; max-width: 46ch; }

/* ============================================================
   MENU
   ============================================================ */
.menu { background: var(--cream-2); max-width: none; }
.menu > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.menu__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 34px); }
.card { background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--hairline); transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 26px 26px 30px; }
.card__body h3 { font-size: 1.55rem; }
.card__lead { color: var(--matcha); font-weight: 600; font-size: .95rem; margin: .4rem 0 1.1rem; }
.card__list { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.card__list li { color: var(--ink-soft); font-size: 1rem; padding-left: 18px; position: relative; }
.card__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.menu__foot { text-align: center; margin-top: clamp(32px, 4vw, 48px); color: var(--ink-soft); font-family: var(--ff-display); font-style: italic; font-size: 1.15rem; }

/* ============================================================
   CRAFT
   ============================================================ */
.craft {
  max-width: 1340px; margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--gut);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.craft__media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 7 / 5; }
.craft__media img { width: 100%; height: 100%; object-fit: cover; }
.craft__copy h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 1.2rem; }
.craft__copy p { color: var(--ink-soft); margin-bottom: 1rem; max-width: 48ch; font-size: 1.1rem; }

/* ============================================================
   FIND US
   ============================================================ */
.find__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.slot {
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 38px) clamp(24px, 2.6vw, 32px);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.slot:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--hairline-2); }
.slot__day { display: inline-block; font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ocean); margin-bottom: 1rem; }
.slot h3 { font-size: 1.4rem; margin-bottom: .7rem; }
.slot p { color: var(--ink-soft); font-size: 1rem; }
.find__cta { text-align: center; margin-top: clamp(40px, 5vw, 60px); }
.find__cta p { color: var(--ink-soft); margin-bottom: 1.2rem; font-family: var(--ff-display); font-style: italic; font-size: 1.15rem; }

/* ============================================================
   STORY
   ============================================================ */
.story {
  background: var(--sand);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 5vw, 80px);
  padding: clamp(56px, 8vw, 110px) var(--gut);
}
.story > * { max-width: 600px; }
.story__media { justify-self: end; width: 100%; }
.story__media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; }
.story__copy { justify-self: start; }
.story__copy h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 1.3rem; }
.story__copy p { color: var(--ink-soft); margin-bottom: 1rem; font-size: 1.1rem; max-width: 50ch; }
.story__sign { font-family: var(--ff-display); font-style: italic; font-size: 1.3rem; color: var(--ink); margin-top: 1.4rem; }

/* ============================================================
   EVENTS
   ============================================================ */
.events__panel {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px);
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: clamp(32px, 5vw, 64px); box-shadow: var(--shadow); align-items: center;
}
.events__copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 1.1rem; }
.events__copy p { color: var(--ink-soft); margin-bottom: 1rem; font-size: 1.08rem; max-width: 46ch; }
.events__hint { font-family: var(--ff-display); font-style: italic; color: var(--ink) !important; }

.events__form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field textarea {
  font-family: var(--ff-body); font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1px solid var(--hairline-2); border-radius: var(--r-sm);
  padding: 13px 15px; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ocean); background: #fff; box-shadow: 0 0 0 3px rgba(53,94,140,.14); }
.form__note { font-size: .92rem; color: var(--muted); margin-top: 2px; }
.form__note a { color: var(--ocean); font-weight: 600; }
.form__note a:hover { text-decoration: underline; }
.events__form.sent .form__note { color: var(--matcha); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: #D9E0E8; }
.footer__inner {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 7vw, 88px) var(--gut) clamp(32px, 4vw, 48px);
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(32px, 5vw, 64px);
}
.brand--footer .brand__word { color: #fff; }
.brand--footer .brand__wave path { stroke: var(--blue); }
.footer__brand p { margin-top: 1rem; color: #A9B4C0; max-width: 38ch; font-size: 1rem; }
.footer__nav, .footer__social { display: flex; flex-direction: column; gap: .7rem; }
.footer h4 { font-family: var(--ff-body); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #8896A4; margin-bottom: .4rem; }
.footer__nav a, .footer__social a { color: #D9E0E8; font-size: 1rem; width: fit-content; transition: color .2s ease; }
.footer__nav a:hover, .footer__social a:hover { color: var(--blue); }
.footer__loc { color: #8896A4; font-size: .95rem; margin-top: .4rem; }
.footer__base {
  max-width: var(--maxw); margin: 0 auto; padding: 22px var(--gut);
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .88rem; color: #8896A4;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile { display: flex; }

  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: clamp(108px, 16vh, 140px); }
  .hero__media { max-width: 460px; margin: 0 auto; width: 100%; }
  .hero__actions { }

  .units__grid { grid-template-columns: 1fr; gap: 36px; }
  .unit__body { padding-top: 20px; }

  .menu__grid { grid-template-columns: 1fr; max-width: 460px; }
  .craft { grid-template-columns: 1fr; gap: 32px; }
  .craft__media { order: -1; }

  .find__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .story { grid-template-columns: 1fr; }
  .story > * { max-width: 560px; margin: 0 auto; }
  .story__media { order: -1; }

  .events__panel { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero__title { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .band__frame img { height: 240px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; gap: .4rem; }
}
