/* =========================================================
   OBUR · Fusion Street Food
   Layout, type and colour follow Audrey's Figma (page "website", frames Hero / 1 / Menu).
   Alexandria for headings and text, Baberry for the wordmark and the odd accent word.
   ========================================================= */

/* Baberry ships one weight; the range stops the browser from faking bold */
@font-face {
  font-family: "Baberry";
  src: url("../assets/fonts/Baberry.otf") format("opentype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #024346;
  --teal-2: #0B4F52;
  --coral: #F26C47;
  --coral-ink: #D9532F;          /* coral text on cream: passes contrast at heading sizes */
  --cream: #F4EDE7;
  --teal-hi: #005155;             /* headings, logo and bands in the Figma */
  --line: rgba(2, 67, 70, .18);
  --white: #FFFFFF;

  --font: "Alexandria", "Helvetica Neue", Arial, sans-serif;
  --font-brand: "Baberry", "Arial Rounded MT Bold", sans-serif;

  --wrap: 1168px;
  --gutter: clamp(20px, 4vw, 40px);
  --nav-h: 88px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0; font-family: var(--font); font-weight: 400; font-size: 16px; line-height: 1.5;
  color: var(--teal); background: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.accent { color: var(--coral); }
.skip { position: fixed; top: -100px; left: 1rem; z-index: 200; background: var(--teal); color: var(--white); padding: .75rem 1rem; font-weight: 700; }
.skip:focus { top: 1rem; }

/* ---------- buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 28px; border-radius: 999px;
  font-family: var(--font); font-weight: 500; font-size: 16px; line-height: 1; text-decoration: none;
  border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.pill:active { transform: translateY(1px); }
.pill--coral { background: var(--coral); color: var(--white); }
.pill--coral:hover { background: var(--coral-ink); }
.pill--white { background: var(--white); color: var(--teal); }
.pill--white:hover { background: var(--teal); color: var(--white); }
.pill--outline { min-height: 40px; padding: 0 24px; border-color: var(--teal); color: var(--teal); font-weight: 600; font-size: 15px; }
.pill--outline:hover { background: var(--teal); color: var(--white); }
.pill--block { width: 100%; }

/* ---------- logo: Audrey's mark (assets/brand/logo.svg) as a mask, so it takes the text colour ---------- */
.logo { display: inline-flex; text-decoration: none; color: var(--teal-hi); }
.logo__mark {
  display: block; width: 153px; aspect-ratio: 153 / 64; background: currentColor;
  -webkit-mask: url("../assets/brand/logo.svg") center / contain no-repeat;
          mask: url("../assets/brand/logo.svg") center / contain no-repeat;
}
/* Baberry wordmark, used on photo placeholders */
.logo__word { font-family: var(--font-brand); font-size: 44px; letter-spacing: .01em; line-height: .9; }
.logo__u { font-family: var(--font-brand); text-transform: none; }

/* ---------- nav ---------- */
.nav {
  position: relative; z-index: 20; height: var(--nav-h);
  display: flex; align-items: center; gap: 32px; padding: 0 var(--gutter);
}
.nav .logo { margin-right: auto; }
.nav__links { display: flex; gap: 40px; margin-right: auto; }
.nav__links a { text-decoration: none; font-size: 15px; font-weight: 400; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav__links a:hover, .nav__links a[aria-current="page"] { border-color: currentColor; }
.nav__order { min-height: 42px; padding: 0 24px; font-size: 15px; }
.nav__burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav__burger span { width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.nav--over { position: absolute; inset: 0 0 auto 0; color: var(--white); }
.nav--over .logo { color: var(--white); }
.nav--over .nav__links a[aria-current="page"] { color: var(--coral); }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 100; background: var(--cream); color: var(--teal);
  display: flex; flex-direction: column; padding: 0 var(--gutter) 28px;
}
.drawer[hidden] { display: none; }
.drawer__top { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.drawer__close { width: 44px; height: 44px; font-size: 34px; line-height: 1; }
.drawer__links { display: flex; flex-direction: column; margin-top: 24px; }
.drawer__links a {
  display: flex; justify-content: space-between; align-items: center; text-decoration: none;
  font-weight: 800; font-size: 26px; text-transform: uppercase; padding: 18px 0; border-bottom: 1px solid var(--line);
}
.drawer__links a::after { content: "›"; font-weight: 400; font-size: 26px; }
.drawer__links a:first-child { color: var(--coral); }
.drawer__foot { margin-top: auto; text-align: center; }
.drawer__foot p { font-size: 13px; margin-top: 12px; }
body.drawer-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; margin-top: calc(-1 * var(--nav-h)); padding-top: var(--nav-h); min-height: min(798px, 92svh); }
.hero { background: var(--cream); }
/* Audrey's Vancouver drawing: 1680 wide on the 1440 frame, bottom on the stripe, fading out to the left */
.hero__sky { position: absolute; left: -2.7%; bottom: 0; width: max(116.7%, 1100px); max-width: none; height: auto; pointer-events: none; user-select: none; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--coral); z-index: 2; }
.hero__inner { position: relative; z-index: 3; padding-top: clamp(48px, 9vw, 118px); padding-bottom: 210px; }
.hero__title {
  font-weight: 800; text-transform: uppercase; letter-spacing: -.005em;
  font-size: clamp(34px, 4.4vw, 62px); line-height: 1.12; max-width: 19em; color: var(--teal-hi);
}
.hero__accent { font-family: var(--font-brand); font-weight: 400; color: var(--coral); text-transform: none; letter-spacing: .01em; }
.hero__sub { margin-top: 22px; max-width: 30em; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.45; font-weight: 300; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__rider { position: absolute; z-index: 3; bottom: 0; right: max(var(--gutter), calc(50% - 584px + 72px)); width: clamp(190px, 21.3vw, 307px); height: auto; }

/* ---------- ticker ---------- */
.ticker { background: var(--teal-hi); color: var(--white); overflow: hidden; white-space: nowrap; }
.ticker__track { display: inline-flex; animation: ticker 40s linear infinite; padding: 16px 0; }
.ticker__item { display: inline-flex; align-items: center; font-weight: 800; text-transform: uppercase; font-size: clamp(20px, 2.4vw, 34px); line-height: 1; }
.ticker__item::after { content: "✦"; color: var(--coral); margin: 0 .55em; font-size: .8em; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- menu ---------- */
.menu { padding: clamp(56px, 7vw, 96px) 0 24px; }
.menu__title { font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 4.6vw, 64px); line-height: 1; }
.menu__tabs { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 28px; padding-bottom: 22px; }
.menu__tab { font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: .02em; padding: 6px 0; color: var(--teal); }
.menu__tab[aria-selected="true"] { color: var(--coral); }
.menu__tab:hover { color: var(--coral); }
.menu__panel { border-top: 1px solid var(--line); }
.menu__head { padding-top: clamp(32px, 4vw, 48px); padding-bottom: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--line); }
.menu__cat { font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.05; }
.menu__note { margin-top: 8px; font-size: 14px; font-weight: 300; }
.menu__row { border-bottom: 1px solid var(--line); }
.menu__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.menu__grid .dish:nth-child(odd) { padding-right: 20px; }
.menu__grid .dish:nth-child(even) { padding-left: 20px; }
.dish { display: grid; grid-template-columns: clamp(120px, 15vw, 196px) 1fr; gap: 20px; align-items: center; padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); }
.dish__img, .dish__ph { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 10px; background: #fff; }
.dish__ph { display: grid; place-items: center; background: #E9E1D5; color: var(--teal); }
.dish__ph .logo__word { font-size: 28px; opacity: .35; }
.dish__name { font-weight: 700; font-size: 17px; line-height: 1.25; }
.dish__desc { margin-top: 8px; font-size: 15px; line-height: 1.4; font-weight: 300; }
.dish__price { display: block; margin-top: 10px; font-size: 16px; font-weight: 400; }
.dish__price small { font-size: .8em; }
.dish__soldout { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--coral-ink); }
.dish .pill { margin-top: 14px; }

/* ---------- catering ---------- */
.catering { padding: clamp(64px, 8vw, 110px) 0; }
.catering__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.catering__title { font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; }
.catering__copy p { font-size: 15px; font-weight: 300; line-height: 1.5; max-width: 34em; }
.catering__copy p + p { margin-top: 14px; }
.catering__copy .pill { margin-top: 22px; }

/* ---------- hours band + footer ---------- */
.hours-band { background: var(--coral); color: var(--white); overflow: hidden; white-space: nowrap; text-align: center; }
.hours-band__track { display: inline-flex; align-items: center; padding: 18px var(--gutter); font-weight: 800; text-transform: uppercase; font-size: clamp(16px, 1.8vw, 26px); }
.hours-band__track i { font-style: normal; color: var(--teal); margin: 0 .5em; font-size: .85em; }
.hours-band.is-moving { text-align: left; }
.hours-band.is-moving .hours-band__track { padding-left: 0; padding-right: 0; animation: ticker 30s linear infinite; }
.footer { background: var(--teal); color: var(--white); padding: clamp(40px, 5vw, 64px) 0 28px; }
.footer__title { font-weight: 800; text-transform: uppercase; color: var(--coral); font-size: clamp(36px, 4.6vw, 64px); line-height: 1; }
.footer__cols { display: grid; grid-template-columns: 1fr 1.3fr 1fr 1fr; gap: 32px; margin-top: clamp(32px, 4vw, 48px); }
.footer__col h3 { font-weight: 500; font-size: 18px; text-transform: uppercase; margin-bottom: 14px; }
.footer__col p { font-size: 14px; font-weight: 300; line-height: 1.55; }
.footer__col p + p { margin-top: 12px; }
.footer__col a { text-decoration: none; }
.footer__col a:hover { text-decoration: underline; }
.footer__accent { color: var(--coral); font-weight: 600; }
.footer__social { display: flex; gap: 10px; }
.footer__social svg { width: 26px; height: 26px; fill: currentColor; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 13px; font-weight: 300; }
.footer__base a { text-decoration: none; }
.footer__base a:hover { text-decoration: underline; }

/* ---------- about ---------- */
.about-hero { position: relative; min-height: min(940px, 100svh); display: grid; place-items: center; overflow: hidden; color: var(--white); text-align: center; }
.about-hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.about-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.45)); }
.about-hero__inner { position: relative; z-index: 2; padding: calc(var(--nav-h) + 24px) var(--gutter) 64px; max-width: 980px; }
.about-hero__mascot { width: clamp(140px, 14.5vw, 209px); height: auto; margin: 0 auto 16px; }
.about-hero__word img { width: clamp(220px, 27.8vw, 400px); height: auto; margin: 0 auto; }
.about-hero__phon { margin-top: 18px; font-weight: 700; font-size: clamp(17px, 1.6vw, 22px); }
.about-hero__lead { margin-top: 18px; font-weight: 400; font-size: clamp(16px, 1.6vw, 22px); line-height: 1.35; }
.pillars { padding: clamp(56px, 7vw, 96px) 0 clamp(24px, 3vw, 40px); }
.pillar { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: clamp(32px, 6vw, 88px) 0; }
.pillar__title { font-weight: 800; text-transform: uppercase; font-size: clamp(32px, 4vw, 52px); line-height: 1.1; }
.pillar p { font-size: 15px; font-weight: 300; max-width: 30em; }
.crumbs { padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); text-align: center; }
.crumbs__title { font-weight: 800; text-transform: uppercase; color: var(--coral); font-size: clamp(26px, 2.6vw, 36px); }
.crumbs__lead { margin-top: 10px; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.4; }
.crumbs__lead a { font-weight: 500; }
.crumbs__grid { display: flex; justify-content: center; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.crumbs__grid a { display: block; width: clamp(110px, 12vw, 150px); aspect-ratio: 1; border-radius: 6px; overflow: hidden; }
.crumbs__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.crumbs__grid a:hover img { transform: scale(1.05); }

/* ---------- catering page (Figma "3- form", "3-2 form - Confirmation page", "3- form / Mobile") ---------- */
/* clip, not hidden: a hidden box scrolls itself when #thanks becomes the target */
.cater { position: relative; overflow: clip; background: var(--teal-hi); min-height: max(860px, min(80vw, 1240px)); display: grid; align-items: center; }
/* same framing as the Figma frame: the tray scaled to 132% of the width, nudged up and left */
.cater__photo { position: absolute; left: -13.6%; top: -5.9vw; width: 131.8%; max-width: none; height: auto; }
.cater::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .3); }
.cater__inner { position: relative; z-index: 2; display: flex; justify-content: flex-end; padding: calc(var(--nav-h) + 48px) var(--gutter) 72px; max-width: none; }
.cater__card { width: min(100%, 886px); background: var(--cream); color: #111827; border-radius: 10px; padding: 50px; }
.cater__title { font-weight: 700; font-size: 32px; line-height: 1.25; text-transform: uppercase; }
.cater__lead { margin-top: 12px; font-weight: 500; font-size: 16px; line-height: 1.4; }
.cater__lead a { color: inherit; font-weight: 700; }
.cater__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.cater__col { display: grid; gap: 20px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label { font-weight: 500; font-size: 16px; }
.field input, .field textarea, .field__phone {
  font: inherit; font-size: 16px; font-weight: 400; color: #111827; width: 100%;
  background: #F6F9FF; border: 1px solid #EEF4FF; border-radius: 5px; min-height: 51px; padding: 0 12px;
}
.field textarea { flex: 1; min-height: 196px; padding: 12px; line-height: 1.45; resize: vertical; }
.field ::placeholder { color: #9AA1AD; opacity: 1; }
.field input:focus-visible, .field textarea:focus-visible, .field__phone:focus-within { outline: 2px solid var(--coral); outline-offset: 1px; }
.field__phone { display: flex; align-items: center; gap: 6px; }
.field__phone input { border: 0; background: transparent; min-height: 49px; padding: 0 0 0 4px; outline: none; }
.field [aria-invalid="true"], .field__phone:has([aria-invalid="true"]) { border-color: #E46363; }
.field__err { color: #C23B3B; font-size: 14px; font-weight: 500; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cater__status { margin-top: 18px; font-size: 15px; font-weight: 500; }
.cater__status:empty { display: none; }
.cater__actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cater__actions .pill { min-width: 153px; }
.cater__actions .pill[disabled] { opacity: .6; cursor: progress; }
.cater__next-title { margin-top: 30px; font-weight: 500; font-size: 18px; }
.cater__next { margin: 4px 0 0 1.3em; font-weight: 500; font-size: 18px; line-height: 1.5; }
.cater__help { margin-top: 26px; font-weight: 500; font-size: 18px; }
.accent-text { color: var(--coral-ink); }
.cater__done { display: none; }
.cater__done:target, .cater__done.is-shown { display: block; }
.cater__card:has(.cater__done:target) .cater__form, .cater__card.is-sent .cater__form { display: none; }

/* ---------- policy + 404 ---------- */
.policy { padding: clamp(32px, 5vw, 64px) var(--gutter) clamp(64px, 8vw, 96px); }
.policy__inner { max-width: 44rem; margin: 0 auto; overflow-wrap: anywhere; }
.policy__title { font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 5vw, 56px); line-height: 1; margin-bottom: 28px; }
.policy__inner h2 { font-weight: 800; text-transform: uppercase; font-size: 20px; margin: 32px 0 10px; }
.policy__inner p, .policy__inner li { font-size: 16px; font-weight: 300; line-height: 1.6; margin-bottom: 12px; }
.policy__inner ul { padding-left: 1.2rem; }
.tbc { background: #FBE3D9; padding: 0 .3em; border-radius: 3px; }
.thanks { padding: clamp(64px, 10vw, 140px) var(--gutter); text-align: center; }
.thanks__title { font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 7vw, 88px); line-height: 1; }
.thanks__lead { margin-top: 14px; font-size: 18px; font-weight: 300; }
.thanks__cta { margin-top: 28px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 28px; border-radius: 999px; background: var(--coral); color: var(--white); text-decoration: none; font-weight: 500; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { gap: 26px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --nav-h: 76px; }
  .nav__links, .nav__order { display: none; }
  .nav__burger { display: flex; }
  .logo__mark { width: 96px; }
  .cater { display: block; min-height: 0; background: var(--teal); padding: var(--nav-h) 0 16px; }
  .cater::before { display: none; }
  .cater__photo { position: static; width: 100%; height: 240px; object-fit: cover; object-position: 50% 48%; filter: brightness(.82); }
  .cater__inner { display: block; padding: 0 16px; }
  .cater__card { padding: 24px 20px; }
  .cater__title { font-size: 28px; }
  .cater__lead { font-size: 14px; line-height: 1.55; }
  .cater__grid { grid-template-columns: 1fr; }
  .cater__actions .pill { flex: 1 1 100%; }
  .menu__grid { grid-template-columns: 1fr; }
  .menu__grid .dish:nth-child(n) { padding-left: 0; padding-right: 0; }
  .catering__inner, .pillar { grid-template-columns: 1fr; gap: 20px; }
  .hero__inner { padding-bottom: 250px; }
  .hero__rider { right: var(--gutter); width: 200px; }
  .hero__sky { width: 1260px; left: auto; right: -50px; bottom: -190px; }
}
@media (max-width: 520px) {
  .dish { grid-template-columns: 112px 1fr; gap: 14px; align-items: start; }
  .dish__name { font-size: 16px; }
  .dish__desc { font-size: 14px; }
  .footer__cols { grid-template-columns: 1fr; gap: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track, .hours-band__track { animation: none; }
  .pill, .crumbs__grid img { transition: none; }
}
.br-wide { display: none; }
@media (min-width: 1100px) { .br-wide { display: inline; } }
