/* Ulme – concept site
   Dark, smoky, condensed type, poster-like. Left-aligned and tight.
   Motion style: heavy and slow (data-motion="heavy"). A fine film grain lies over the whole page. */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --soot: #15130F;
  --char: #211E19;
  --smoke: #4A453E;
  --ash: #B9B2A6;
  --bone: #EDE6D8;
  --ember: #FF5A1F;
  --ember-deep: #D8430C;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --text: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: 1.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--soot); color: var(--bone);
  font-family: var(--text); font-size: 1.0625rem; line-height: 1.6;
}
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, dl, dd, table, address { margin: 0; padding: 0; }
ol, ul { list-style: none; }
address { font-style: normal; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; }

/* Film grain: one small noise tile, repeated. It never moves, so it costs nothing while scrolling. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 30; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 3rem; background: var(--bone); color: var(--soot); padding: .5rem 1rem; z-index: 40; }

.concept-bar {
  position: relative; z-index: 31;
  background: var(--bone); color: var(--soot);
  font-size: .8125rem; line-height: 1.4; text-align: center; padding: .5rem 1rem;
}

/* Top: sits on the hero video */
.stage { position: relative; }
.top {
  position: absolute; left: 0; right: 0; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1rem var(--pad);
}
.wordmark {
  font-family: var(--display); font-weight: 900; font-size: 2rem; line-height: 1;
  text-transform: uppercase; letter-spacing: .02em; text-decoration: none;
}
.top-nav { display: none; gap: 2rem; margin-left: auto; }
.top-nav a { text-decoration: none; color: var(--bone); }
.top-nav a:hover { color: var(--ember); }

.btn {
  display: inline-block; background: var(--ember); color: var(--soot); text-decoration: none;
  font-family: var(--text); font-weight: 700; font-size: 1.0625rem; line-height: 1.2;
  padding: 1rem 1.75rem; border-radius: 2px; transition: background-color .15s ease;
}
.btn:hover { background: var(--bone); }
.btn-small { font-size: .9375rem; padding: .8125rem 1.125rem; }
.link { color: var(--bone); text-underline-offset: .3em; text-decoration-color: var(--ember); }
.link:hover { color: var(--ember); }

/* Hero: the fire fills the screen, the headline sits on the dark side of it */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  min-height: calc(100vh - 2.875rem); min-height: calc(100svh - 2.875rem);
  display: grid; align-items: end;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(21, 19, 15, .96) 0%, rgba(21, 19, 15, .74) 40%, rgba(21, 19, 15, .1) 72%, rgba(21, 19, 15, .6) 100%);
}
.hero-text { padding: 6rem var(--pad) 4.5rem; }
h1 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3.5rem, 18.5vw, 9rem); line-height: .84; letter-spacing: -.01em;
}
.glow { color: var(--ember); }
.hero-info { margin-top: 1.5rem; }
.lede { font-size: 1.1875rem; line-height: 1.45; max-width: 26rem; }
.status { margin: 1rem 0 1.25rem; color: var(--ash); min-height: 1.6em; }
.status::before {
  content: ""; display: inline-block; width: .625rem; height: .625rem; border-radius: 50%;
  margin-right: .5rem; background: var(--ash);
}
.status.is-open { color: var(--bone); }
.status.is-open::before { background: var(--ember); box-shadow: 0 0 0 4px rgba(255, 90, 31, .25); }
.hero-toggle {
  position: absolute; right: var(--pad); bottom: 1.25rem;
  font: inherit; font-size: .8125rem; line-height: 1.3; color: var(--ash); background: none; cursor: pointer;
  border: 1px solid var(--smoke); border-radius: 2px; padding: .5rem .875rem; min-height: 2.25rem;
}
.hero-toggle:hover { color: var(--bone); border-color: var(--bone); }

/* Menu */
.menu { background: var(--bone); color: var(--soot); padding: 3.5rem var(--pad); }
.menu-head { max-width: 60rem; }
h2 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.5rem, 9vw, 5rem); line-height: .9; margin-bottom: 1rem;
}
.menu-head p { font-size: 1.125rem; }
.courses { counter-reset: course; margin: 2.5rem 0; border-top: 3px solid var(--soot); }
.courses li {
  counter-increment: course; display: grid; grid-template-columns: 3rem 1fr; column-gap: .75rem;
  padding: 1rem 0; border-bottom: 1px solid rgba(21, 19, 15, .3);
}
.courses li::before {
  content: counter(course); grid-row: 1 / 3;
  font-family: var(--display); font-weight: 900; font-size: 3.25rem; line-height: .9; color: var(--ember-deep);
}
.courses h3 { font-family: var(--text); font-weight: 700; font-size: 1.1875rem; line-height: 1.3; }
.courses p { color: #4A453E; }
.prices { display: grid; gap: 0; max-width: 30rem; }
.prices div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid rgba(21, 19, 15, .3); }
.prices dd { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu-note { margin-top: 1.5rem; max-width: 34rem; color: #4A453E; }

/* Photos: a frame that clips, so the picture can be revealed and drift inside it */
.ph { overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* Story */
.story { display: grid; gap: 2rem; padding: 3.5rem var(--pad); }
.story-photos { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.story-photos .ph { aspect-ratio: 3 / 4; }
.story-photos .ph:last-child { margin-top: 2.5rem; }
.story-text p { color: var(--ash); max-width: 32rem; }
.story-text p + p { margin-top: 1rem; }

/* Sunday */
.sunday { display: grid; gap: 2rem; background: var(--char); padding: 3.5rem var(--pad); }
.sunday h2 { color: var(--ember); }
.sunday p { max-width: 34rem; color: var(--ash); }
.sunday .ph { aspect-ratio: 3 / 2; }
.takeaway { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.takeaway a {
  display: inline-block; text-decoration: none; font-weight: 700;
  border: 2px solid var(--bone); border-radius: 2px; padding: .75rem 1.125rem;
  transition: background-color .15s ease, color .15s ease;
}
.takeaway a:hover { background: var(--bone); color: var(--soot); }

/* Visit */
.visit { display: grid; gap: 3rem; padding: 3.5rem var(--pad); }
.visit h2 { font-size: 2.75rem; }
.visit p + p { margin-top: .75rem; }
.visit address { margin-bottom: .75rem; }
.status-inline { margin: 0 0 1rem; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; font-weight: 400; padding: .5rem 0; border-bottom: 1px solid var(--smoke); color: var(--ash); }
.hours td { text-align: right; }
.hours .is-today th, .hours .is-today td { color: var(--ember); font-weight: 700; }
.small { font-size: .9375rem; color: var(--ash); margin-top: 1rem; }

/* Footer */
.foot { padding: 2.5rem var(--pad) 3rem; border-top: 1px solid var(--smoke); color: var(--ash); }
.foot-name { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 4rem; line-height: .9; color: var(--bone); margin-bottom: .75rem; }

/* The dish photo that follows the mouse gets a bone-coloured edge here */
.dish-float { border: 6px solid var(--bone); }

@media (min-width: 720px) {
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(21, 19, 15, .94) 0%, rgba(21, 19, 15, .7) 34%, rgba(21, 19, 15, 0) 70%),
      linear-gradient(0deg, rgba(21, 19, 15, .85) 0%, rgba(21, 19, 15, 0) 40%),
      linear-gradient(180deg, rgba(21, 19, 15, .7) 0%, rgba(21, 19, 15, 0) 22%);
  }
}

@media (min-width: 900px) {
  :root { --pad: 3rem; }
  .top { padding-top: 1.5rem; }
  .top-nav { display: flex; }
  .hero-text { padding-top: 7rem; padding-bottom: 4.5rem; }
  h1 { font-size: clamp(6rem, 12.5vw, 14rem); }
  .hero-info { display: flex; align-items: flex-end; gap: 3rem; margin-top: 2.25rem; }
  .hero-info .lede { font-size: 1.3125rem; }
  .hero-info .status { margin: 0 0 .9rem; }
  .hero-toggle { bottom: 2rem; }
  .menu { padding-top: 6rem; padding-bottom: 6rem; }
  .courses { display: grid; grid-template-columns: 1fr 1fr; column-gap: 4rem; border-top: 0; }
  .courses li { grid-template-columns: 4.5rem 1fr; padding: 1.25rem 0; border-top: 3px solid var(--soot); border-bottom: 0; cursor: default; }
  .courses li::before { font-size: 4.5rem; }
  .story { grid-template-columns: 1fr 1fr; gap: 5rem; padding-top: 6rem; padding-bottom: 6rem; align-items: center; }
  .sunday { grid-template-columns: 1fr 1fr; gap: 5rem; padding-top: 5rem; padding-bottom: 5rem; align-items: center; }
  .visit { grid-template-columns: 1.1fr 1fr 1fr; gap: 4rem; padding-top: 6rem; padding-bottom: 6rem; }
}

/* Concept bar with the button back to Webcrops. Stays at the top of the screen while scrolling. */
html { scroll-padding-top: 3.5rem; }
.concept-bar {
  --bar-bg: var(--bone); --bar-fg: var(--soot);
  position: sticky; top: 0; z-index: 50; margin: 0;
  display: flex; align-items: center; justify-content: center; gap: .375rem 1rem;
  background: var(--bar-bg); color: var(--bar-fg); text-align: left; padding: .4375rem 1rem;
}
.concept-bar a { color: inherit; }
.concept-back {
  flex: none; display: inline-flex; align-items: center; gap: .375rem;
  font-weight: 700; font-size: .8125rem; line-height: 1; text-decoration: none; white-space: nowrap;
  border: 1.5px solid var(--bar-fg); border-radius: 999px; padding: .5rem .875rem; min-height: 2rem;
  transition: background-color .15s ease, color .15s ease;
}
.concept-back:hover { background: var(--bar-fg); color: var(--bar-bg) !important; }
.concept-bar :focus-visible { outline: 2px solid var(--bar-fg); outline-offset: 2px; }
@media (max-width: 479px) {
  .concept-bar { justify-content: flex-start; font-size: .75rem; }
}

/* Smart sticky header (assets/js/nav.js): slides away on the way down, comes back on the way up.
   It sits just under the concept bar, and gets a background while it is stuck. */
.top[data-smart-nav] {
   z-index: 45; 
  transition: transform .28s ease, background-color .28s ease, box-shadow .28s ease;
}
.top.nav-ready { position: fixed; top: var(--bar-h, 0px); }
.top.is-hidden { transform: translateY(-101%); }
.top.is-stuck { background: rgba(21, 19, 15, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);  }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
