/* =========================================================
   OFFBRiEF — hand-built rebuild (no Framer)
   Breakpoints mirror the original site:
     ≥2560 large · 1200–2559 desktop · 810–1199 tablet · <810 phone
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face { font-family: "Felt Tip Senior"; src: url("../fonts/felt-tip-senior.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Dunbar Tall Bold"; src: url("../fonts/dunbar-tall-bold.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Dunbar Tall Regular"; src: url("../fonts/dunbar-tall-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Biennale Arabic"; src: url("../fonts/biennale-arabic-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Apfel Grotezk"; src: url("../fonts/apfel-grotezk-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* Metric-matched fallbacks so text doesn't jump while fonts load */
@font-face { font-family: "Felt Tip Senior Fallback"; src: local("Arial"); ascent-override: 81.25%; descent-override: 39.36%; line-gap-override: 0%; size-adjust: 90.7%; }
@font-face { font-family: "Dunbar Tall Bold Fallback"; src: local("Arial"); ascent-override: 95.17%; descent-override: 19.64%; line-gap-override: 0%; size-adjust: 112.54%; }
@font-face { font-family: "Dunbar Tall Regular Fallback"; src: local("Arial"); ascent-override: 99.84%; descent-override: 20.6%; line-gap-override: 0%; size-adjust: 107.27%; }
@font-face { font-family: "Biennale Arabic Fallback"; src: local("Arial"); ascent-override: 112.62%; descent-override: 56.77%; line-gap-override: 0%; size-adjust: 107.45%; }

:root {
  --bg: #eaefd4;
  --cream: #ecefd5;
  --red: #c11410;
  --ink: #280f0f;

  --f-script: "Felt Tip Senior", "Felt Tip Senior Fallback", sans-serif;
  --f-display: "Dunbar Tall Bold", "Dunbar Tall Bold Fallback", sans-serif;
  --f-display-reg: "Dunbar Tall Regular", "Dunbar Tall Regular Fallback", sans-serif;
  /* The original asks for "Oldschool Grotesk Compact" but never ships the file,
     so every visitor actually sees the system sans-serif. Same here. */
  --f-body: "Oldschool Grotesk Compact", sans-serif;
  --f-loc: "Biennale Arabic", "Biennale Arabic Fallback", sans-serif;
  --f-foot: "Apfel Grotezk", sans-serif;
  --f-ui: "Inter", sans-serif;

  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-spring: cubic-bezier(0.3, 1.35, 0.55, 1);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--cream); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; padding: 0; font-weight: inherit; font-size: inherit; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.br-phone { display: none; }

.page {
  background: var(--bg);
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page > * { width: 100%; }

/* ---------- Shared type ---------- */
.script {
  font-family: var(--f-script);
  font-size: 32px;
  line-height: 1;
  text-align: center;
  color: var(--ink);
  white-space: pre;
}
.display {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 72px;
  line-height: 1;
  text-align: center;
  color: var(--red);
  text-transform: uppercase;
  white-space: pre;
}
.link {
  font-family: var(--f-body);
  font-size: 18px;
  font-weight: 410;
  line-height: 1;
  white-space: nowrap;
  display: inline-block;
  cursor: pointer;
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1500px;
  z-index: 10;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 20px;
  align-items: start;
  color: var(--red);
  pointer-events: none;
}
.site-header a, .site-header button, .header__clock { pointer-events: auto; }
.header__bar, .header__menu { display: contents; }
.header__logo { grid-column: 1; grid-row: 1; width: 92px; }
.header__logo img { width: 92px; height: 79px; object-fit: contain; }
.header__clock { grid-column: 4 / span 3; grid-row: 1; display: flex; flex-direction: column; gap: 1px; }
.header__time { font-size: 18px; font-weight: 410; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.header__loc { font-family: var(--f-loc); font-size: 18px; line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.header__nav { grid-column: 9 / span 3; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.header__nav .link--cta { padding-bottom: 5px; }
.header__toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  height: 800px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.hero__center {
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero__grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(8, minmax(50px, 1fr));
  column-gap: 20px;
}
.hero__logo { grid-column: 3 / span 4; }
.hero__logo img { width: 100%; height: auto; aspect-ratio: 3.2231; }
.hero__tagline { font-size: 32px; }

/* Ticker */
.ticker {
  position: relative;
  width: 100%;
  height: 200px;
  flex: none;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.ticker.is-dragging { cursor: grabbing; }
.ticker__track {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  height: 100%;
  width: max-content;
  will-change: transform;
}
.ticker__set { display: flex; align-items: flex-end; gap: 20px; height: 100%; flex: none; }
.ticker__item { flex: none; height: 200px; width: auto; pointer-events: none; -webkit-user-drag: none; }
.ticker__item--s { height: 184px; }

/* ---------- About ---------- */
.about {
  padding: 46px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about__head { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.about__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.about__text {
  width: 570px;
  max-width: 570px;
  font-family: var(--f-body);
  font-size: 20px;
  font-weight: 400; /* 350 on phones, matching the original */
  line-height: 1.1;
  text-align: center;
  color: var(--ink);
  overflow-wrap: break-word;
}
.about__text p { white-space: pre-wrap; }
.about__text p:empty { font-size: 18px; }
.about__text p:empty::before { content: "\00a0"; }

/* ---------- Menu ---------- */
.menus {
  position: relative;
  padding: 0 20px 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 88px;
  overflow: hidden;
}
.menus__art { width: 473px; aspect-ratio: 1.4644; }
.menus__art img { width: 100%; height: 100%; object-fit: cover; }
.menus__block { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.menus__head { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.menus__list { width: 620px; max-width: 100%; display: flex; flex-direction: column; gap: 24px; position: relative; z-index: 2; }
.menus__scribble {
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1500px;
  aspect-ratio: 7.24956;
  z-index: 1;
  pointer-events: none;
}
.menus__scribble img { width: 100%; height: 100%; }

/* Accordion */
/* inset outline (like the original) so the 1px border doesn't add height */
.acc { position: relative; background: var(--bg); }
.acc::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--red); pointer-events: none; }
.acc__head {
  width: 100%;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  color: var(--red);
}
.acc__title {
  display: block;
  padding-bottom: 4px;
  font-family: var(--f-body);
  font-size: 28px;
  font-weight: 350;
  line-height: 1;
  letter-spacing: -0.03em;
}
.acc__icon {
  width: 26px; height: 26px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round;
  transition: transform 0.5s var(--ease-out);
}
.acc.is-open .acc__icon { transform: rotate(45deg); }
.acc__head:focus-visible { outline: 2px solid var(--red); outline-offset: -4px; }
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s cubic-bezier(0.44, 0, 0.2, 1);
}
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; min-height: 0; }
.acc__body {
  box-shadow: inset 0 1px 0 var(--red);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.acc__currency { display: flex; justify-content: flex-end; }
.acc__currency svg { width: 24px; height: 26px; fill: var(--red); }
.items { display: flex; flex-direction: column; gap: 26px; }
/* Like the original: text never wraps and the info column never shrinks,
   so on narrow phones a long name pushes the price over rather than wrapping */
.item { display: flex; align-items: center; justify-content: space-between; }
.item__info { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; flex: none; }
.item__name { display: flex; align-items: center; gap: 6px; }
.item__name h3 { font-family: var(--f-display); font-weight: 700; font-size: 18px; line-height: 1; color: var(--ink); white-space: pre; }
.item__icons { display: flex; }
.item__icons img { width: 32px; height: 32px; }
.item__meta { font-family: var(--f-display-reg); font-size: 12px; line-height: 1; color: var(--red); white-space: pre; }
.item__price { font-family: var(--f-script); font-size: 26px; line-height: 1; color: var(--ink); white-space: nowrap; flex: none; }
.item__price--sizes { display: flex; gap: 10px; }
.item__price--sizes span { display: flex; gap: 4px; }
.item__price em { font-style: normal; color: var(--red); }
.addons { display: flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 700; font-size: 14px; line-height: 1; }
.addons__badge { flex: none; background: var(--red); color: #fffeef; padding: 2.5px 6px 4px 4px; white-space: nowrap; }
.addons__text { color: var(--red); padding-bottom: 3px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 2;
  background: var(--ink);
  color: var(--cream);
  padding: 20px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer__top, .footer__bottom { width: 620px; max-width: 100%; }
.footer__top { display: flex; flex-direction: column; gap: 16px; }
.footer__heading {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 71px;
  line-height: 1;
  color: #c11310;
  text-transform: uppercase;
  white-space: pre-wrap;
}
.footer__body p, .footer__body address { white-space: pre-wrap; font-style: normal; }
.footer__hours { margin-top: 24px; }
/* The original's line break sits in a 71px span, which sets the first line's height at every size */
.footer__br { font-size: 71px; line-height: 71px; }
.footer__body { font-family: var(--f-foot); font-weight: 500; font-size: 18px; line-height: 24px; display: flex; flex-direction: column; padding-bottom: 9px; }
.footer__body .footer__pitch { margin-top: 24px; }
.footer__cta { margin-top: 4px; align-self: flex-start; padding-bottom: 5px; }
.footer__links { display: flex; gap: 88px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__bottom { padding-top: 0; }
.footer__logo { width: 90%; }
.footer__logo img { width: 100%; height: auto; aspect-ratio: 3.2254; object-fit: contain; }

/* ---------- Event page ---------- */
.event {
  position: relative;
  padding: 186px 20px 186px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.event__head { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 24px; }
.form { width: 469px; max-width: 100%; display: flex; flex-direction: column; gap: 20px; position: relative; z-index: 2; }
.form__field { display: flex; flex-direction: column; gap: 10px; }
.form__label { font-family: var(--f-ui); font-weight: 500; font-size: 12px; line-height: 14px; color: var(--ink); }
.form__input {
  width: 100%;
  font-family: var(--f-display-reg);
  font-size: 12px;
  line-height: 1.2;
  color: var(--ink);
  background: #bbbbbb26;
  border: 1px solid #8888881a;
  border-radius: 10px;
  padding: 12px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form__input::placeholder { color: var(--ink); }
.form__input:focus { border-color: var(--red); }
.form__input[type="date"] { height: 40px; }
.form__input::-webkit-date-and-time-value { text-align: left; }
.form__input::-webkit-calendar-picker-indicator { opacity: 0.45; cursor: pointer; }
textarea.form__input { height: 100px; resize: vertical; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit {
  height: 40px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14px;
  transition: opacity 0.2s;
}
.form__submit:hover { opacity: 0.9; }
.form__submit[disabled] { opacity: 0.6; cursor: default; }
/* sits above the Submit button, clear of the drawing (the background keeps it readable on
   ultra-wide screens, where the drawing reaches this high); takes no space until there is a message */
.form__status { align-self: center; max-width: 100%; margin: -4px 0; padding: 4px 8px; border-radius: 6px; background: var(--bg); font-family: var(--f-display-reg); font-size: 12px; line-height: 1.2; color: var(--red); text-align: center; }
.form__status:empty { margin: -20px 0 0; padding: 0; }

/* ---------- 404 page ---------- */
.notfound { min-height: 820px; }
.notfound__text { font-family: var(--f-foot); font-weight: 500; font-size: 18px; line-height: 24px; text-align: center; color: var(--ink); position: relative; z-index: 2; }
.notfound__link { margin-top: 16px; color: var(--red); position: relative; z-index: 2; }

/* =========================================================
   Motion
   ========================================================= */
/* Load-in (mirrors the original's appear animations) */
.js [data-appear] { opacity: 0.001; transform: translateY(var(--ay, 100px)); }
.js.is-loaded [data-appear] {
  opacity: 1;
  transform: none;
  transition: opacity var(--ad, 1.5s) var(--ae, var(--ease-out)) var(--adelay, 0s),
              transform var(--ad, 1.5s) var(--ae, var(--ease-out)) var(--adelay, 0s);
}

/* Line-by-line text reveal (letters get a delay per line).
   Same structure as the original: inline word > inline-block letters. */
.split-word { display: inline; white-space: nowrap; }
.split-char { display: inline-block; white-space: nowrap; }
[data-reveal], [data-reveal-mount] { word-break: break-word; overflow-wrap: break-word; }
/* hidden until main.js has split the text into letters, so it never flashes before its animation */
.js [data-reveal]:not(.is-split),
.js [data-reveal-mount]:not(.is-split) { visibility: hidden; }
.js [data-reveal] .split-u,
.js [data-reveal-mount] .split-u {
  opacity: 0.001;
  transform: translateY(var(--ry, 20px));
  filter: var(--rf, none);
}
.js [data-reveal].is-in .split-u,
.js [data-reveal-mount].is-in .split-u {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity var(--rd, 0.7s) var(--re, cubic-bezier(0.12, 0.23, 0.5, 1)) var(--wd, 0s),
              transform var(--rd, 0.7s) var(--re, cubic-bezier(0.12, 0.23, 0.5, 1)) var(--wd, 0s),
              filter var(--rd, 0.7s) var(--re, cubic-bezier(0.12, 0.23, 0.5, 1)) var(--wd, 0s);
}
.hero__tagline { --ry: 100px; --rf: blur(10px); --rd: 1.5s; --re: var(--ease-out); }
.reveal--footer { --ry: 30px; --rd: 1s; --re: var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  .js [data-appear], .js [data-reveal] .split-u, .js [data-reveal-mount] .split-u { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .acc__panel, .acc__icon { transition: none; }
}

/* =========================================================
   Large desktop ≥ 2560
   ========================================================= */
@media (min-width: 2560px) {
  .site-header, .hero, .menus__scribble { max-width: none; }
  .hero { height: 1360px; }
  .hero__grid { display: flex; justify-content: center; }
  .hero__logo { width: 805px; }
  .hero__tagline { font-size: 42px; }
  .ticker { height: 461px; }
  .ticker__item { height: 461px; }
  .ticker__item--s { height: 440px; }
  .about { padding: 200px 20px; }
  .about__text { width: 900px; max-width: none; }
  .menus { padding-bottom: 450px; }
  .menus__art { width: 835px; }
  .menus__block { width: 900px; }
  .menus__list { width: 100%; }
}

/* =========================================================
   Tablet 810–1199
   ========================================================= */
@media (min-width: 810px) and (max-width: 1199.98px) {
  .site-header { padding: 16px; grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .header__clock { grid-column: 3 / span 2; }
  .header__nav { grid-column: 6 / span 2; margin-left: -3px; }
  .header__loc { font-size: 17px; }

  .hero { padding: 180px 16px 16px; }
  .hero__grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .hero__logo { grid-column: 2 / span 6; }
  .hero__tagline { font-size: 17px; }

  .about { padding: 96px 16px; }
  .about .display { font-size: 32px; }
  .about__text p:empty { line-height: 18px; }

  .menus { gap: 120px; padding: 0 16px 200px; }
  .menus .display { font-size: 62px; }
  .menus .script { font-size: 30px; }

  .site-footer { padding: 20px 16px 16px; }
  .footer__top, .footer__bottom { width: 100%; }
  .footer__top { gap: 32px; }
}

/* =========================================================
   Phone < 810
   ========================================================= */
@media (max-width: 809.98px) {
  .br-phone { display: inline; }
  .br-desk, .sp-desk { display: none; }

  /* Header becomes a cream bar with a Menu / Close toggle */
  .site-header {
    position: absolute;
    left: 0;
    transform: none;
    padding: 12px;
    display: block;
    background: var(--bg);
    height: 103px;
    overflow: hidden;
    transition: height 0.5s var(--ease-out);
  }
  .site-header.is-open { height: 301px; }
  .header__bar { display: flex; align-items: center; justify-content: space-between; height: 79px; }
  .header__menu { display: flex; flex-direction: column; align-items: flex-start; }
  .header__nav, .header__clock { display: flex; }
  .header__nav { order: 1; }
  .header__clock { order: 2; }
  .header__toggle { display: inline-block; color: var(--red); line-height: 1.17; }
  .header__logo { width: 92px; }
  .header__nav { margin-top: 39px; gap: 9px; }
  .header__nav .link { line-height: 1.17; }
  .header__nav .link--cta { padding-bottom: 0; }
  .header__clock { margin-top: 43px; }
  .header__loc { font-size: 16px; }
  .header__menu { opacity: 0; transition: opacity 0.35s ease; }
  .site-header.is-open .header__menu { opacity: 1; transition-delay: 0.1s; }
  .site-header:not(.is-open) .header__menu { visibility: hidden; transition: opacity 0.2s ease, visibility 0s linear 0.2s; }

  .hero { height: 720px; padding: 0 0 0 16px; }
  .hero__center { padding: 116px 16px 116px 0; gap: 10px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__logo { grid-column: 1; }
  .hero__tagline { font-size: 30px; }

  .about { padding: 64px 16px; }
  .about__text { width: 100%; max-width: none; font-size: 16px; font-weight: 350; }
  .about__text p:empty { font-size: 16px; }
  .about .script { font-size: 26px; }
  .about .display { font-size: 44px; }

  .menus { gap: 54px; padding: 0 12px 120px; }
  .menus__art { width: auto; height: 228px; }
  .menus .display { font-size: 44px; }
  .menus .script { font-size: 26px; }
  .menus__list { width: 100%; }

  .site-footer { padding: 0 12px 16px; }
  .footer__top, .footer__bottom { width: 100%; }
  /* 340px box on phones like the original, but the type shrinks on very small
     screens so "LET US FIND YOU." always fits on one line instead of being cut off */
  .footer__heading { font-size: min(42px, calc((100vw - 24px) / 8.1)); width: 340px; max-width: 100%; }
  .footer__body { padding-bottom: 9px; }
  .footer__links { gap: 12px; }
  .footer__bottom { padding-top: 32px; }
  .footer__logo { width: 90%; }

  .event { padding: 174.5px 16px 176px; }
  .event .display { font-size: 44px; }
  .notfound .display { font-size: min(44px, calc((100vw - 32px) / 8.8)); }
}
