/* A. Zammit General Store: design preview. Tokens and rules are written up in ../DESIGN.md. */

@font-face {
  font-family: 'Bricolage';
  src: url('/fonts/bricolage.woff2') format('woff2');
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage';
  src: url('/fonts/bricolage-ext.woff2') format('woff2');
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --limestone: #F1EEE6;
  --paper: #FAF9F5;
  --sign: #EEE5C5;
  --ink: #1C2731;
  --ink-2: #46515B;
  --muted: #5F6A74;
  --line: rgba(28, 39, 49, 0.12);
  --line-strong: rgba(28, 39, 49, 0.22);
  --blue: #1F5CA4;
  --blue-hover: #184C8A;
  --blue-deep: #12355F;
  --on-blue: #F6F4EE;
  --blue-wash: rgba(31, 92, 164, 0.08);
  --green: #2B6F56;
  --trim: #B23A2F;
  --open: #2B6F56;
  --closed: #9A3A2F;
  --error: #A12A20;
  --r-btn: 6px;
  --r-card: 12px;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(88px, 10vw, 152px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --z-nav: 20;
  --z-menu: 30;
  --z-badge: 40;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  min-height: 100dvh;
  background: var(--limestone);
  color: var(--ink);
  font-family: 'Bricolage', ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  font-weight: 380;
  font-variation-settings: 'opsz' 14;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 99; padding: 10px 16px; border-radius: var(--r-btn); background: var(--ink); color: var(--paper); }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- type ---------- */
h1, h2, h3, .display {
  font-weight: 700;
  font-variation-settings: 'opsz' 96;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); }
h3 { font-size: clamp(1.35rem, 1.8vw, 1.6rem); line-height: 1.1; letter-spacing: -0.02em; }
h1 em, h2 em { font-style: normal; color: var(--blue); }
.lede { max-width: 44ch; color: var(--ink-2); font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.5; }
.body { max-width: 58ch; color: var(--ink-2); }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* live status: the one eyebrow style on the site, and the only coloured dot (real open / closed state) */
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
}
.status::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--muted);
}
.status[data-open='true']::before { background: var(--open); box-shadow: 0 0 0 4px rgba(43, 111, 86, 0.16); }
.status[data-open='false']::before { background: var(--closed); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--r-btn);
  font-size: 15.5px;
  font-weight: 560;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn .icon { transition: transform 0.35s var(--ease); }
.btn:hover .icon--nudge { transform: translate(2px, -2px); }
.btn--blue { background: var(--blue); color: var(--on-blue); }
.btn--blue:hover { background: var(--blue-hover); }
.btn--ghost { box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn--light { background: var(--on-blue); color: var(--blue-deep); }
.btn--light:hover { background: #fff; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 560;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color 0.25s var(--ease);
}
.link:hover { border-color: var(--blue); }

/* ---------- the sign wordmark (their painted sign, redrawn in type) ---------- */
.sign {
  display: inline-grid;
  justify-items: center;
  padding: 6px 12px 5px;
  border: 2px solid var(--trim);
  border-radius: 3px;
  background: var(--sign);
  color: var(--green);
  text-decoration: none;
  line-height: 1;
  font-weight: 700;
  font-variation-settings: 'opsz' 40;
  letter-spacing: 0.02em;
}
.sign__name { font-size: 17px; }
.sign__trade { margin-top: 3px; font-size: 9.5px; letter-spacing: 0.14em; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-nav);
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.nav.is-scrolled { background: rgba(241, 238, 230, 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__in { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav__links { display: none; gap: 30px; margin-left: auto; list-style: none; padding: 0; }
.nav__links a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2); transition: color 0.2s; }
.nav__links a:hover, .nav__links a[aria-current='page'] { color: var(--ink); }
.nav__links a[aria-current='page'] { text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav__cta { display: none; min-height: 44px; }
.nav__menu {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  border-radius: var(--r-btn);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  cursor: pointer;
}
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__menu { display: none; }
}
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  padding: 96px var(--gutter) 40px;
  background: var(--limestone);
}
.menu[hidden] { display: none; }
.menu__close { position: absolute; top: 14px; right: var(--gutter); }
.menu ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.menu ul a { font-size: 2.6rem; font-weight: 700; font-variation-settings: 'opsz' 96; letter-spacing: -0.03em; text-decoration: none; }
.menu .btn { margin-top: auto; justify-content: center; }

/* ---------- reveals (only when JS + GSAP run) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); }
.js .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.js .line__in { display: block; transform: translateY(105%); }
.js [data-hero-fade] { opacity: 0; transform: translateY(14px); }

/* ---------- home: hero ---------- */
.hero { padding-top: 112px; padding-bottom: clamp(56px, 7vw, 96px); }
.hero__grid { display: grid; gap: 40px; }
.hero__copy { display: grid; align-content: center; gap: 26px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__pic { position: relative; }
.hero__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 72dvh;
  border-radius: var(--r-card);
  background: var(--sign);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__note { margin-top: 12px; color: var(--muted); font-size: 14px; }
@media (min-width: 1024px) {
  .hero { min-height: 100dvh; display: grid; align-items: center; padding-top: 96px; }
  .hero__grid { grid-template-columns: 7fr 5fr; gap: 72px; align-items: center; }
  .hero__frame { margin-left: auto; width: min(100%, 470px); }
  .hero__note { text-align: right; }
}

/* ---------- home: the doors (signature moment) ---------- */
.doors { position: relative; background: var(--blue-deep); color: var(--on-blue); }
.doors__stage {
  min-height: 100dvh;
  display: grid;
  align-content: center;
  gap: 36px;
  padding: 96px var(--gutter) 64px;
}
.doors__head { max-width: var(--wrap); width: 100%; margin-inline: auto; display: grid; gap: 14px; }
.doors__head p { max-width: 46ch; color: rgba(246, 244, 238, 0.78); }
.shopfront {
  --door-w: min(42vw, 230px);
  width: min(100%, 560px);
  margin-inline: auto;
  padding: 14px 14px 0;
  border-radius: 6px 6px 0 0;
  background: var(--blue);
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.12);
}
.shopfront__sign {
  display: grid;
  justify-items: center;
  padding: 12px 10px 10px;
  border: 3px solid var(--trim);
  border-radius: 3px;
  background: var(--sign);
  color: var(--green);
  line-height: 1;
  font-weight: 700;
  font-variation-settings: 'opsz' 60;
}
.shopfront__sign b { font-size: clamp(1.7rem, 5vw, 2.6rem); letter-spacing: 0.02em; font-weight: 700; }
.shopfront__sign span { margin-top: 6px; font-size: clamp(0.85rem, 2vw, 1.05rem); letter-spacing: 0.22em; }
.doorway {
  position: relative;
  margin-top: 14px;
  aspect-ratio: 5 / 6;
  max-height: 56dvh;
  margin-inline: auto;
  overflow: hidden;
  perspective: 1400px;
  background: #0B2240;
}
.doorway__inside { position: absolute; inset: 0; }
.doorway__inside img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.doorway__inside::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 30, 56, 0.72), rgba(10, 30, 56, 0) 55%); }
.doorway__open {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 1;
  text-align: center;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 750;
  font-variation-settings: 'opsz' 96;
  letter-spacing: -0.035em;
  line-height: 1;
}
.door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 2;
  display: grid;
  grid-template-rows: 1.15fr 1fr;
  gap: 10px;
  padding: 12px;
  background: var(--blue);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.14);
  backface-visibility: hidden;
}
.door--l { left: 0; transform-origin: left center; border-right: 2px solid #164A86; }
.door--r { right: 0; transform-origin: right center; }
/* upper glass panel, then the louvred lower panel, as on the real doors */
.door__glass { border-radius: 2px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04) 45%, rgba(0, 0, 0, 0.18)); box-shadow: inset 0 0 0 6px #2467B3, inset 0 0 0 8px rgba(0, 0, 0, 0.16); }
.door__louvre {
  border-radius: 2px;
  background: repeating-linear-gradient(to bottom, #2467B3 0 10px, #184F8F 10px 13px, #2A70BF 13px 16px);
  box-shadow: inset 0 0 0 6px #2467B3, inset 0 0 0 8px rgba(0, 0, 0, 0.18);
}
.door__handle { position: absolute; top: 52%; width: 6px; height: 34px; border-radius: 3px; background: #D9D2B8; }
.door--l .door__handle { right: 12px; }
.door--r .door__handle { left: 12px; }
.shopfront__step { height: 14px; margin-inline: -14px; background: #C9C3B4; }
.doors__hours { max-width: var(--wrap); width: 100%; margin-inline: auto; display: flex; flex-wrap: wrap; gap: 10px 28px; color: rgba(246, 244, 238, 0.82); font-size: 15px; }
.doors__hours b { color: var(--on-blue); font-weight: 600; }
/* phones: the pinned stage must fit one screen, so the hours (repeated in the Visit band) step aside */
@media (max-width: 1023px) {
  .doors__stage { gap: 24px; padding: 84px var(--gutter) 32px; }
  .doorway { max-height: 44dvh; }
  .doors__hours { display: none; }
}
@media (min-width: 1024px) {
  .doors__stage { grid-template-columns: 5fr 6fr; align-items: center; column-gap: 64px; padding-block: 72px; }
  .doors__head { grid-column: 1; grid-row: 1; align-self: end; margin: 0; }
  .doors__hours { grid-column: 1; grid-row: 2; align-self: start; margin: 0; flex-direction: column; }
  .shopfront { grid-column: 2; grid-row: 1 / span 2; }
}

/* ---------- home: on the shelves (bento, 5 cells) ---------- */
.shelves { padding-block: var(--section); }
.shelves__head { display: grid; gap: 16px; margin-bottom: 48px; }
.bento { display: grid; gap: 14px; }
.cell {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 28px;
  min-height: 220px;
  padding: 28px;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}
.cell p { color: var(--ink-2); max-width: 34ch; }
.cell h3 { margin-bottom: 8px; }
.cell .icon { width: 40px; height: 40px; color: var(--blue); }
.cell--sign { background: var(--sign); border-color: rgba(178, 58, 47, 0.35); }
.cell--sign .icon { color: var(--green); }
.cell--blue { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.cell--blue p { color: rgba(246, 244, 238, 0.82); }
.cell--blue .icon { color: var(--on-blue); }
.cell--photo { padding: 0; min-height: 360px; border: 0; }
.cell--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.2s var(--ease); }
.cell--photo:hover img { transform: scale(1.03); }
.cell--photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 24px 22px; background: linear-gradient(to top, rgba(12, 22, 32, 0.78), rgba(12, 22, 32, 0)); color: var(--on-blue); font-size: 15px; }
.cell--ask { background: transparent; border-style: dashed; border-color: var(--line-strong); }
.cell--ask a { justify-self: start; }
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell--photo { grid-row: span 2; }
}
@media (min-width: 1100px) {
  .shelves__head { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
  .bento { grid-template-columns: 1.25fr 1fr 1fr; grid-auto-rows: minmax(250px, auto); }
  .cell--photo { grid-column: 1; grid-row: 1 / span 2; }
  .cell--ask { grid-column: 2 / span 2; }
}

/* ---------- home + about: Mr Zammit ---------- */
.owner { padding-block: var(--section); border-top: 1px solid var(--line); }
.owner__grid { display: grid; gap: 48px; }
.owner__pic { overflow: hidden; border-radius: var(--r-card); aspect-ratio: 4 / 5; background: var(--sign); }
.owner__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.owner__copy { display: grid; align-content: center; gap: 28px; }
.quote { display: grid; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.quote blockquote { font-size: clamp(1.35rem, 2.1vw, 1.85rem); font-weight: 520; font-variation-settings: 'opsz' 48; letter-spacing: -0.015em; line-height: 1.25; }
.quote figcaption { color: var(--muted); font-size: 14.5px; }
.score { display: flex; align-items: center; gap: 14px; }
.score__num { font-size: 3rem; font-weight: 750; font-variation-settings: 'opsz' 96; letter-spacing: -0.04em; line-height: 1; }
.stars { display: flex; gap: 2px; color: var(--blue); }
.stars .icon { width: 18px; height: 18px; }
.score p { color: var(--muted); font-size: 14.5px; line-height: 1.35; }
@media (min-width: 1024px) {
  .owner__grid { grid-template-columns: 5fr 6fr; gap: 88px; }
  .owner__pic { aspect-ratio: 4 / 5; }
}

/* ---------- home: visit band ---------- */
.visit { padding-block: var(--section); background: var(--paper); border-block: 1px solid var(--line); }
.visit__grid { display: grid; gap: 40px; }
.visit__title { display: grid; gap: 18px; }
.visit__cols { display: grid; gap: 28px; }
.visit__col h3 { margin-bottom: 10px; font-size: 1.1rem; letter-spacing: -0.01em; }
.visit__col p, .visit__col li { color: var(--ink-2); }
.visit__col ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.visit__col .link { margin-top: 14px; }
@media (min-width: 900px) {
  .visit__grid { grid-template-columns: 4fr 7fr; gap: 64px; }
  .visit__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- closing call ---------- */
.ask { padding-block: var(--section); }
.ask__in { display: grid; gap: 28px; justify-items: start; }
.ask h2 { max-width: 15ch; }
@media (min-width: 900px) {
  .ask__in { grid-template-columns: 1fr auto; align-items: end; }
}

/* ---------- inner pages ---------- */
.page-head { padding-top: 136px; padding-bottom: clamp(48px, 6vw, 80px); display: grid; gap: 24px; }
.page-head h1 { max-width: 16ch; }

.about-wide { overflow: hidden; border-radius: var(--r-card); aspect-ratio: 3 / 4; background: var(--sign); }
.about-wide img { width: 100%; height: 100%; object-fit: cover; }
.about-shop { display: grid; gap: 40px; padding-bottom: var(--section); }
.about-shop__text { display: grid; gap: 20px; align-content: start; }
.facts { list-style: none; padding: 0; display: grid; gap: 0; margin-top: 8px; }
.facts li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding-block: 16px; border-top: 1px solid var(--line); color: var(--ink-2); }
.facts .icon { width: 24px; height: 24px; color: var(--blue); margin-top: 2px; }
.facts b { display: block; color: var(--ink); font-weight: 600; }
@media (min-width: 1024px) {
  .about-shop { grid-template-columns: 5fr 7fr; gap: 88px; align-items: start; }
  .about-wide { aspect-ratio: 4 / 5; position: sticky; top: 96px; }
}
.quotes { display: grid; gap: 28px; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; } }

/* ---------- contact ---------- */
.contact { display: grid; gap: 56px; padding-bottom: var(--section); }
.panel { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-card); border: 1px solid var(--line); background: var(--paper); }
.hours { width: 100%; border-collapse: collapse; margin-top: 18px; }
.hours th, .hours td { padding: 11px 0; text-align: left; font-weight: 400; vertical-align: top; }
.hours tr + tr th, .hours tr + tr td { border-top: 1px solid var(--line); }
.hours th { color: var(--ink); font-weight: 560; width: 40%; }
.hours td { color: var(--ink-2); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--blue); font-weight: 650; }
.hours__today { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--blue-wash); color: var(--blue); font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; vertical-align: 2px; }
.reach { list-style: none; padding: 0; display: grid; gap: 0; margin-top: 18px; }
.reach li { border-top: 1px solid var(--line); }
.reach a, .reach span { display: flex; align-items: center; gap: 14px; padding-block: 15px; text-decoration: none; }
.reach .icon { width: 22px; height: 22px; color: var(--blue); }
.reach small { display: block; color: var(--muted); font-size: 13.5px; }
.reach a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.form { display: grid; gap: 22px; margin-top: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 560; font-size: 15px; }
.field .help { color: var(--muted); font-size: 13.5px; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-btn);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #747E87; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 92, 164, 0.18); }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field .error { color: var(--error); font-size: 14px; font-weight: 500; }
.field .error:empty { display: none; }
.form__note { color: var(--muted); font-size: 14px; }
.form .btn { justify-self: start; }
@media (min-width: 1024px) {
  .contact { grid-template-columns: 5fr 6fr; gap: 48px; align-items: start; }
}

/* ---------- footer ---------- */
.foot { padding: 72px 0 40px; background: var(--blue-deep); color: rgba(246, 244, 238, 0.78); }
.foot__grid { display: grid; gap: 40px; }
.foot h2 { color: var(--on-blue); font-size: 1rem; letter-spacing: 0; font-variation-settings: 'opsz' 14; margin-bottom: 12px; font-weight: 600; }
.foot ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--on-blue); text-decoration: underline; text-underline-offset: 4px; }
.foot__brand p { max-width: 30ch; margin-top: 18px; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(246, 244, 238, 0.16); font-size: 13.5px; }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 2fr 1fr 1.3fr 1fr; } }

/* ---------- 404 ---------- */
.lost { min-height: 100dvh; display: grid; align-content: center; gap: 24px; padding-block: 120px; }

/* ---------- preview badge ---------- */
.badge {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: var(--z-badge);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 5px 5px 16px;
  border-radius: 999px;
  background: rgba(250, 249, 245, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 14px 30px -14px rgba(18, 53, 95, 0.4);
  color: var(--ink-2);
  font-size: 12.5px;
}
.badge a { text-decoration: none; }
.badge strong { color: var(--ink); font-weight: 600; }
.badge__close { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 999px; background: rgba(28, 39, 49, 0.08); cursor: pointer; }
.badge__close svg { width: 14px; height: 14px; }
.badge.is-hidden { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
