/* ==========================================================================
   PAGES — hero, trust strip, story, dishes, rating, gallery, menu, contact
   ========================================================================== */

/* --------------------------------------------------------------------------
   HOME HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(600px, 92svh, 940px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--clr-ink);
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: -12% 0 -12% 0;   /* overscan so parallax never exposes an edge */
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .40;
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 9, 6, .82) 0%, rgba(14, 9, 6, .40) 40%, rgba(14, 9, 6, .96) 100%),
    linear-gradient(90deg, rgba(14, 9, 6, .92) 0%, transparent 60%);
}
.hero__inner { position: relative; z-index: var(--z-raised); padding-block: var(--sp-9) var(--sp-8); }
.hero__content { max-width: 62ch; }

.hero h1 {
  font-size: var(--fs-hero);
  line-height: .96;
  letter-spacing: -0.035em;
  margin-bottom: var(--sp-5);
}
.hero h1 em {
  display: block;
  font-style: normal;
  font-size: .58em;
  letter-spacing: -0.02em;
}
.hero__deva {
  font-family: var(--ff-deva);
  font-size: var(--fs-lg);
  color: var(--clr-brass);
  letter-spacing: .02em;
  margin-bottom: var(--sp-3);
  opacity: .95;
}
.hero__lede { font-size: var(--fs-md); color: var(--clr-text-muted); max-width: 52ch; margin-bottom: var(--sp-6); }
.hero__cta { display: flex; gap: var(--sp-4); flex-wrap: wrap; }

/* Meta row under the CTAs */
.hero__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--clr-line);
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}
.hero__meta-item { display: inline-flex; align-items: center; gap: var(--sp-2); }
.hero__meta-item svg { width: 15px; height: 15px; color: var(--clr-clay-lite); }

/* Scroll cue */
.hero__cue {
  position: absolute;
  left: 50%; bottom: var(--sp-5);
  transform: translateX(-50%);
  z-index: var(--z-raised);
  display: grid;
  justify-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}
.hero__cue-line {
  width: 1px; height: 46px;
  background: linear-gradient(180deg, var(--clr-brass), transparent);
  overflow: hidden;
  position: relative;
}
.hero__cue-line::after {
  content: "";
  position: absolute;
  top: -46px; left: 0;
  width: 100%; height: 46px;
  background: linear-gradient(180deg, transparent, var(--clr-brass-lite));
  animation: cue 2.4s var(--ease-io) infinite;
}
@keyframes cue { to { transform: translateY(92px); } }
@media (max-width: 900px) { .hero__cue { display: none; } }

/* Floating hero handi image */
.hero__float {
  position: absolute;
  right: clamp(-4rem, -2vw, 2rem);
  top: 50%;
  translate: 0 -50%;
  width: clamp(260px, 30vw, 440px);
  z-index: var(--z-base);
  filter: drop-shadow(0 40px 70px rgba(8, 4, 2, .7));
}
.hero__float img { border-radius: var(--r-xl); }
@media (max-width: 1180px) { .hero__float { display: none; } }

/* --------------------------------------------------------------------------
   TRUST STRIP
   -------------------------------------------------------------------------- */
.trust {
  position: relative;
  overflow: hidden;
  background: var(--clr-ink-2);
  border-block: 1px solid var(--clr-line);
  padding-block: var(--sp-6);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}
.trust__item { text-align: center; position: relative; }
.trust__item + .trust__item::before {
  content: "";
  position: absolute;
  left: calc(var(--sp-5) / -2); top: 12%;
  width: 1px; height: 76%;
  background: linear-gradient(180deg, transparent, var(--clr-line-strong), transparent);
}
.trust__num {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1;
  color: var(--clr-brass);
  display: block;
}
.trust__label {
  margin-top: var(--sp-2);
  font-size: var(--fs-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}
@media (max-width: 720px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6) var(--sp-4); }
  .trust__item:nth-child(odd)::before { display: none; }
}

/* --------------------------------------------------------------------------
   STORY — asymmetric overlap
   -------------------------------------------------------------------------- */
.story__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.story__media { position: relative; }
.story__media-main {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-3);
  border: 1px solid var(--clr-line);
}
.story__media-main img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
/* Overlapping secondary image that breaks the grid bound */
.story__media-sub {
  position: absolute;
  right: -14%;
  bottom: -8%;
  width: 52%;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--clr-line-strong);
  box-shadow: var(--sh-3);
}
.story__media-sub img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
/* Brass frame offset behind the main image */
.story__frame {
  position: absolute;
  inset: -18px -18px auto auto;
  width: 62%; height: 62%;
  border: 1px solid var(--clr-line-strong);
  border-radius: var(--r-lg);
  z-index: -1;
}
.story__quote {
  margin-top: var(--sp-6);
  padding-left: var(--sp-5);
  border-left: 2px solid var(--clr-clay);
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  font-style: italic;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .story__media-sub { right: -4%; width: 44%; }
  .story__media-main img { aspect-ratio: 4 / 3; }
}

/* --------------------------------------------------------------------------
   DISHES GRID
   -------------------------------------------------------------------------- */
.dishes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
@media (max-width: 980px) { .dishes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .dishes { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   RATING PANEL (honest 3.2 / 8 votes — no invented reviews)
   -------------------------------------------------------------------------- */
.rating__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) { .rating__grid { grid-template-columns: 1fr; gap: var(--sp-7); } }

.rating__score {
  padding: var(--sp-7) var(--sp-6);
  text-align: center;
  border-radius: var(--r-lg);
}
.rating__big {
  font-family: var(--ff-display);
  font-size: clamp(4rem, 9vw, 6.4rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -0.04em;
}
.rating__outof { font-size: var(--fs-sm); color: var(--clr-text-muted); margin-top: var(--sp-2); }
.rating__stars { margin: var(--sp-4) 0 var(--sp-3); display: flex; justify-content: center; }
.rating__votes { font-size: var(--fs-sm); color: var(--clr-text-muted); }
.rating__src {
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--clr-line);
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
}

/* Distribution bars */
.dist { display: flex; flex-direction: column; gap: var(--sp-3); }
.dist__row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--sp-4); }
.dist__star { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs); color: var(--clr-text-muted); min-width: 3.2rem; }
.dist__star svg { width: 12px; height: 12px; color: var(--clr-brass); }
.dist__track { height: 7px; background: rgba(210, 162, 68, .12); border-radius: var(--r-pill); overflow: hidden; }
.dist__fill {
  height: 100%;
  width: 0;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--clr-clay), var(--clr-ember));
  transition: width 1.1s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.dist__val { font-size: var(--fs-xs); color: var(--clr-text-muted); min-width: 2.6rem; text-align: right; font-variant-numeric: tabular-nums; }

/* Honest empty-state for reviews */
.no-reviews {
  margin-top: var(--sp-6);
  padding: var(--sp-5);
  border: 1px dashed var(--clr-line-strong);
  border-radius: var(--r-md);
  background: rgba(210, 162, 68, .04);
}
.no-reviews h3 { font-size: var(--fs-md); margin-bottom: var(--sp-3); }
.no-reviews p { font-size: var(--fs-sm); color: var(--clr-text-muted); margin-bottom: var(--sp-4); }

/* Service-category tabs */
.tabs { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-bottom: var(--sp-6); }
.tab {
  padding: var(--sp-2) var(--sp-5);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: transparent;
  border: 1px solid var(--clr-line);
  border-radius: var(--r-pill);
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: color var(--d-fast) var(--ease-out),
              border-color var(--d-fast) var(--ease-out),
              background var(--d-fast) var(--ease-out);
}
.tab:hover { color: var(--clr-text); border-color: var(--clr-line-strong); }
.tab[aria-selected="true"] {
  background: var(--clr-clay);
  border-color: var(--clr-clay);
  color: var(--clr-text);
  box-shadow: var(--sh-1);
}
.tab__count {
  font-size: var(--fs-xs);
  opacity: .75;
  font-variant-numeric: tabular-nums;
}
.tab[disabled] { opacity: .4; cursor: not-allowed; }
.section--light .tab { border-color: rgba(122, 45, 15, .2); color: var(--clr-text-ink-mut); }
.section--light .tab:hover { color: var(--clr-text-ink); border-color: rgba(122, 45, 15, .42); }
.section--light .tab[aria-selected="true"] { background: var(--clr-clay); border-color: var(--clr-clay); color: var(--clr-cream); }

/* --------------------------------------------------------------------------
   MENU PAGE — editorial typeset list
   -------------------------------------------------------------------------- */
.menu-sec + .menu-sec { margin-top: var(--sp-8); }
.menu-sec__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--clr-line-strong);
  margin-bottom: var(--sp-5);
}
.menu-sec__title { font-size: var(--fs-xl); }
.menu-sec__note { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--clr-brass); white-space: nowrap; }

.menu-cols { columns: 2; column-gap: clamp(2rem, 5vw, 4.5rem); }
@media (max-width: 820px) { .menu-cols { columns: 1; } }

.mitem {
  break-inside: avoid;
  padding: var(--sp-4) 0;
  border-bottom: 1px dashed var(--clr-line);
}
.mitem__top { display: flex; align-items: baseline; gap: var(--sp-3); }
.mitem__name { font-family: var(--ff-display); font-size: var(--fs-md); font-weight: 700; }
/* Dot leader between name and price — classic menu typesetting */
.mitem__dots {
  flex: 1;
  height: 1px;
  margin-bottom: 5px;
  background-image: radial-gradient(circle, var(--clr-line-strong) 1px, transparent 1px);
  background-size: 6px 1px;
  background-repeat: repeat-x;
  background-position: bottom;
  min-width: 2rem;
}
.mitem__prices { display: flex; gap: var(--sp-4); font-variant-numeric: tabular-nums; }
.mitem__price { text-align: right; }
.mitem__price-lbl {
  display: block;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}
.mitem__price-val { font-size: var(--fs-base); font-weight: 700; color: var(--clr-brass); }
.mitem__meta { display: flex; align-items: center; gap: var(--sp-4); margin-top: var(--sp-2); }
.mitem__desc { font-size: var(--fs-sm); color: var(--clr-text-muted); margin-top: var(--sp-2); max-width: 46ch; }

.section--light .mitem__price-val { color: var(--clr-clay); }
.section--light .mitem__desc, .section--light .mitem__price-lbl { color: var(--clr-text-ink-mut); }
.section--light .mitem { border-bottom-color: var(--clr-line-ink); }
.section--light .menu-sec__head { border-bottom-color: rgba(122, 45, 15, .3); }
.section--light .menu-sec__note { color: var(--clr-clay); }
.section--light .mitem__dots { background-image: radial-gradient(circle, rgba(122, 45, 15, .3) 1px, transparent 1px); }

.mitem.is-hidden { display: none; }

/* --------------------------------------------------------------------------
   GALLERY
   -------------------------------------------------------------------------- */
.gal {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  grid-auto-rows: 12px;
  gap: var(--sp-4);
}
.gal__item {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--clr-line);
  box-shadow: var(--sh-1);
  cursor: pointer;
  background: var(--clr-ink-2);
  transition: box-shadow var(--d-base) var(--ease-out), border-color var(--d-base) var(--ease-out);
}
.gal__item:hover { box-shadow: var(--sh-2); border-color: var(--clr-line-strong); }
/* <picture> defaults to height:auto, so a percentage height on the <img> has
   nothing to resolve against and collapses to the image's natural aspect,
   leaving dead space in the card. Make the picture fill the item first. */
.gal__item picture {
  display: block;
  width: 100%;
  height: 100%;
}
.gal__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--d-slow) var(--ease-out);
}
.gal__item:hover img { transform: scale(1.05); }
.gal__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--sp-5) var(--sp-4) var(--sp-4);
  background: linear-gradient(transparent, rgba(14, 9, 6, .92));
  font-size: var(--fs-xs);
  color: var(--clr-text);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--d-base) var(--ease-out), transform var(--d-base) var(--ease-out);
}
.gal__item:hover .gal__cap, .gal__item:focus-visible .gal__cap { opacity: 1; transform: none; }
.gal__item.is-hidden { display: none; }

/* Lightbox */
.lb {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: var(--gutter);
  background: rgba(8, 4, 2, .93);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--d-base) var(--ease-out), visibility 0s linear var(--d-base);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .lb { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}
.lb.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lb__fig { max-width: min(1100px, 94vw); }
.lb__fig img {
  max-height: 78svh;
  width: auto;
  border-radius: var(--r-md);
  box-shadow: var(--sh-3);
  border: 1px solid var(--clr-line-strong);
}
.lb__cap { margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--clr-text-muted); text-align: center; }
.lb__close, .lb__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  background: rgba(23, 16, 9, .8);
  border: 1px solid var(--clr-line-strong);
  border-radius: 50%;
  color: var(--clr-brass);
  cursor: pointer;
  transition: background var(--d-fast) var(--ease-out), color var(--d-fast) var(--ease-out);
}
.lb__close:hover, .lb__nav:hover { background: var(--clr-clay); color: var(--clr-text); }
.lb__close { top: var(--sp-5); right: var(--sp-5); }
.lb__nav--prev { left: var(--sp-5); top: 50%; translate: 0 -50%; }
.lb__nav--next { right: var(--sp-5); top: 50%; translate: 0 -50%; }
.lb__close svg, .lb__nav svg { width: 22px; height: 22px; }
@media (max-width: 640px) {
  .lb__nav { width: 46px; height: 46px; }
  .lb__nav--prev { left: var(--sp-3); }
  .lb__nav--next { right: var(--sp-3); }
}

/* --------------------------------------------------------------------------
   CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--clr-clay-deep), var(--clr-clay) 55%, #8F3312);
  border-block: 1px solid var(--clr-line-strong);
}
.cta-band__inner { position: relative; z-index: var(--z-raised); text-align: center; }
.cta-band h2 { font-size: var(--fs-2xl); margin-bottom: var(--sp-4); }
.cta-band p { color: rgba(250, 244, 236, .88); max-width: 54ch; margin: 0 auto var(--sp-6); }
.cta-band__btns { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   CONTACT / MAP
   -------------------------------------------------------------------------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

.info-list { display: flex; flex-direction: column; gap: var(--sp-5); }
.info-item { display: flex; gap: var(--sp-4); }
.info-item__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border: 1px solid var(--clr-line-strong);
  border-radius: var(--r-md);
  color: var(--clr-brass);
  background: rgba(210, 162, 68, .06);
}
.info-item__icon svg { width: 19px; height: 19px; }
.info-item__label {
  font-size: var(--fs-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clr-brass);
  margin-bottom: 3px;
}
.info-item__val { font-size: var(--fs-sm); color: var(--clr-text-muted); line-height: 1.6; }
.info-item__val a:hover { color: var(--clr-brass-lite); }

.map-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--clr-line-strong);
  box-shadow: var(--sh-2);
  aspect-ratio: 16 / 11;
  background: var(--clr-ink-2);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
@media (max-width: 640px) { .map-wrap { aspect-ratio: 4 / 3; } }

/* Map facade — click to load, keeps the iframe off the critical path */
.map-facade {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: var(--sp-4);
  cursor: pointer;
  border: 0;
  width: 100%;
  background: var(--clr-ink-2);
  color: var(--clr-text);
  padding: var(--sp-5);
  text-align: center;
}
.map-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.map-facade__body { position: relative; z-index: var(--z-raised); display: grid; justify-items: center; gap: var(--sp-3); }
.map-facade__pin { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--clr-clay); box-shadow: var(--sh-ember); }
.map-facade__pin svg { width: 24px; height: 24px; }
.map-facade__txt { font-size: var(--fs-sm); font-weight: 600; letter-spacing: .06em; }
.map-facade__sub { font-size: var(--fs-xs); color: var(--clr-text-muted); }

/* --------------------------------------------------------------------------
   HOURS TABLE
   -------------------------------------------------------------------------- */
.hours { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.hours caption { text-align: left; padding-bottom: var(--sp-3); font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--clr-brass); }
.hours th, .hours td { padding: var(--sp-3) 0; border-bottom: 1px solid var(--clr-line); text-align: left; }
.hours th { font-weight: 600; color: var(--clr-text); white-space: nowrap; padding-right: var(--sp-4); }
.hours td { color: var(--clr-text-muted); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr[data-today] th { color: var(--clr-brass); }
.hours tr[data-today] td { color: var(--clr-brass); }
.hours__today {
  display: inline-block;
  margin-left: var(--sp-2);
  padding: 1px 7px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--clr-clay);
  color: var(--clr-text);
  border-radius: var(--r-pill);
  vertical-align: middle;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 78ch; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--clr-line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  font-weight: 700;
  color: inherit;
  cursor: pointer;
  transition: color var(--d-fast) var(--ease-out);
}
.faq__q:hover { color: var(--clr-brass); }
.faq__icon {
  position: relative;
  width: 18px; height: 18px;
  flex: none;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: var(--clr-brass);
  transition: transform var(--d-base) var(--ease-out), opacity var(--d-base) var(--ease-out);
}
.faq__icon::before { top: 8px; left: 0; width: 18px; height: 1.8px; }
.faq__icon::after  { left: 8px; top: 0; width: 1.8px; height: 18px; }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--d-slow) var(--ease-out);
}
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a p { padding-bottom: var(--sp-5); font-size: var(--fs-sm); color: var(--clr-text-muted); max-width: 66ch; }
.section--light .faq__item { border-bottom-color: var(--clr-line-ink); }
.section--light .faq__a p { color: var(--clr-text-ink-mut); }
.section--light .faq__icon::before, .section--light .faq__icon::after { background: var(--clr-clay); }
.section--light .faq__q:hover { color: var(--clr-clay); }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.e404 {
  position: relative;
  min-height: 78svh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  padding-block: var(--sp-8);
}
.e404__num {
  font-family: var(--ff-display);
  font-size: clamp(6rem, 22vw, 15rem);
  font-weight: 900;
  line-height: .84;
  letter-spacing: -0.05em;
  margin-bottom: var(--sp-4);
}
.e404__links { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; margin-top: var(--sp-6); }

/* --------------------------------------------------------------------------
   TIMELINE (about)
   -------------------------------------------------------------------------- */
.tl { position: relative; padding-left: var(--sp-6); }
.tl::before {
  content: "";
  position: absolute;
  left: 5px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--clr-line-strong) 12%, var(--clr-line-strong) 88%, transparent);
}
.tl__item { position: relative; padding-bottom: var(--sp-7); }
.tl__item:last-child { padding-bottom: 0; }
.tl__dot {
  position: absolute;
  left: calc(var(--sp-6) * -1);
  top: 7px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--clr-clay);
  box-shadow: 0 0 0 4px rgba(169, 64, 24, .18);
}
.tl__k { font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--clr-brass); margin-bottom: var(--sp-2); }
.tl__h { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.tl__p { font-size: var(--fs-sm); color: var(--clr-text-muted); max-width: 60ch; }

/* --------------------------------------------------------------------------
   FEATURE GRID (about / order)
   -------------------------------------------------------------------------- */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
@media (max-width: 900px) { .feats { grid-template-columns: 1fr; } }
.feat { padding: var(--sp-6); border-radius: var(--r-lg); }
.feat__icon {
  display: grid; place-items: center;
  width: 50px; height: 50px;
  margin-bottom: var(--sp-4);
  border-radius: var(--r-md);
  background: rgba(210, 162, 68, .08);
  border: 1px solid var(--clr-line-strong);
  color: var(--clr-brass);
}
.feat__icon svg { width: 22px; height: 22px; }
.feat h3 { font-size: var(--fs-md); margin-bottom: var(--sp-3); }
.feat p { font-size: var(--fs-sm); color: var(--clr-text-muted); }
