/* Daraz Black Friday: The specimen catalogue (General Sans, Three stones) */

:root {
  /* Three stones palette (zero yellow-cream; neutral low-chroma light stone) */
  --bg: #eeecea;
  --surface: #e4e1dd;
  --plinth: #f2f2f1;
  --ink: #333231;
  --muted: #4a4744;
  --accent: #4c5b44;
  --accent-ink: #ffffff;
  --field-1: #cdc3b6;
  --field-1-ink: #333231;

  /* Fluid type scale (body >= 16px everywhere, max <= 2.5x min per WCAG 1.4.4) */
  --step-small: 1rem;
  --step-body: clamp(1rem, 0.98rem + 0.14vw, 1.0625rem);
  --step-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem);
  --step-head: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);
  --step-display: clamp(2.25rem, 1.5rem + 3.4vw, 4.75rem);

  /* Page frame: one equal outer margin everywhere */
  --gutter: clamp(1.25rem, 3.8vw, 3.5rem);
  --content-max: 84rem;
  --section-gap: clamp(4rem, 8vw, 6.5rem);

  /* Motion tokens */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 250ms;
  --t-reveal: 750ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  background-color: var(--bg);
  color: var(--ink);
  font-family: "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-size: var(--step-body);
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-inline-size: 100%;
  block-size: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   HERO: Single object on a plinth + Slow crossfade
   ========================================================= */
.hero {
  min-block-size: 92svh;
  display: grid;
  grid-template-rows: auto 1fr;
  padding-inline: var(--gutter);
  padding-block: clamp(1.5rem, 3.2vw, 2.75rem) clamp(2.5rem, 5vw, 4rem);
  background-color: var(--bg);
}

.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 38ch);
  align-items: start;
  gap: 1.5rem;
  inline-size: 100%;
  max-inline-size: var(--content-max);
  margin-inline: auto;
}

.wordmark {
  margin: 0;
  font-size: var(--step-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.94;
  text-wrap: balance;
}

.hero-support {
  margin: 0.25rem 0 0;
  font-size: var(--step-lead);
  line-height: 1.4;
  color: var(--ink);
  text-align: end;
  text-wrap: pretty;
  max-inline-size: 36ch;
  justify-self: end;
}

.hero-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block-start: clamp(1.5rem, 3vw, 2.25rem);
  gap: 1.15rem;
}

.plinth {
  position: relative;
  inline-size: min(30rem, 84vw);
  aspect-ratio: 1 / 1;
  max-block-size: 48svh;
  background-color: var(--plinth);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 2.5vw, 1.75rem);
  overflow: clip;
}

.plinth-slide {
  position: absolute;
  inset: clamp(1rem, 2.5vw, 1.75rem);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.985);
  transition: opacity 1.5s var(--ease-soft), transform 1.6s var(--ease-soft);
}

.plinth-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.plinth-slide img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.plinth-caption {
  margin: 0;
  font-size: var(--step-lead);
  font-weight: 500;
  text-align: center;
  max-inline-size: 54ch;
  font-variant-numeric: tabular-nums;
  text-wrap: pretty;
}

.plinth-tabs {
  display: flex;
  flex-wrap: wrap;
  flex-wrap: balance;
  justify-content: center;
  gap: 0.5rem;
  max-inline-size: 52rem;
}

.plinth-tab {
  background: var(--surface);
  color: var(--ink);
  border: 0;
  padding: 0.5rem 0.95rem;
  font-size: var(--step-small);
  font-weight: 500;
  cursor: pointer;
  min-block-size: 2.625rem;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}

.plinth-tab:hover {
  background-color: var(--field-1);
}

.plinth-tab:active {
  transform: scale(0.97);
}

.plinth-tab.is-active {
  background-color: var(--ink);
  color: var(--bg);
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 15rem;
  min-block-size: 3.125rem;
  padding: 0.85rem 1.75rem;
  background-color: var(--accent);
  color: var(--accent-ink);
  font-size: var(--step-body);
  font-weight: 500;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}

.primary-btn:hover {
  background-color: #3d4a36;
}

.primary-btn:active {
  transform: scale(0.98);
}

/* =========================================================
   SECTION 1 (showcase): Two objects, two fields
   ========================================================= */
.split-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  inline-size: 100%;
  margin-block-start: clamp(1.5rem, 3vw, 3rem);
}

.split-panel {
  position: relative;
  min-block-size: min(82svh, 48rem);
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: clip;
}

.split-panel-left {
  background-color: var(--surface);
}

.split-panel-right {
  background-color: var(--field-1);
}

.split-heading {
  position: absolute;
  inset-block-start: clamp(1.5rem, 3vw, 2.5rem);
  inset-inline-start: var(--gutter);
  margin: 0;
  font-size: var(--step-head);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.96;
  z-index: 2;
  max-inline-size: 14ch;
  text-wrap: balance;
}

.split-media {
  display: grid;
  place-items: center;
  padding-inline: clamp(1.5rem, 4vw, 3.5rem);
  padding-block: clamp(5.5rem, 10vw, 7.5rem) 1.5rem;
  overflow: clip;
}

.split-media img {
  inline-size: min(100%, 29rem);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 450ms var(--ease-expo);
}

.split-media:hover img {
  transform: scale(1.04);
}

.split-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-inline: var(--gutter);
  padding-block: 1.5rem clamp(1.75rem, 3vw, 2.5rem);
}

.split-info {
  min-inline-size: 0;
  flex: 1 1 16rem;
}

.split-name {
  display: block;
  font-size: var(--step-lead);
  font-weight: 500;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.split-name:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.split-fact {
  margin: 0.35rem 0 0;
  font-size: var(--step-body);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.btn-ink,
.btn-paper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 2.75rem;
  padding: 0.65rem 1.2rem;
  font-size: var(--step-small);
  font-weight: 500;
  border: 0;
  cursor: pointer;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}

.btn-ink {
  background-color: var(--ink);
  color: var(--bg);
}

.btn-ink:hover {
  background-color: #1f1e1d;
}

.btn-paper {
  background-color: var(--bg);
  color: var(--ink);
}

.btn-paper:hover {
  background-color: var(--plinth);
}

.btn-ink:active,
.btn-paper:active {
  transform: scale(0.97);
}

/* =========================================================
   SECTION 2 (gallery): Framed specimen tiles inside page grid
   ========================================================= */
.strip-gallery {
  padding-block: var(--section-gap);
  background-color: var(--bg);
}

.strip-wrap {
  max-inline-size: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.strip-header {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin-block-end: 2rem;
}

.strip-header h2 {
  margin: 0;
  font-size: var(--step-head);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.98;
  text-wrap: balance;
}

.strip-count {
  font-size: var(--step-lead);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

.gallery-frame {
  display: block;
  aspect-ratio: 1 / 1;
  background-color: var(--plinth);
  overflow: clip;
  transition: transform var(--t-ui) var(--ease-out);
}

.gallery-frame img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.gallery-frame:hover,
.gallery-frame:focus-visible {
  transform: scale(1.07);
}

/* =========================================================
   SECTION 3 (list): Two-column menu, photo bullets + Live Filter
   ========================================================= */
.catalogue {
  padding-block: clamp(3.5rem, 6.5vw, 5.5rem) var(--section-gap);
  background-color: var(--surface);
}

.catalogue-inner {
  max-inline-size: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.catalogue-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-block-end: 1.75rem;
}

.catalogue-head h2 {
  margin: 0;
  font-size: var(--step-head);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.98;
  text-wrap: balance;
}

.catalogue-summary {
  margin: 0;
  font-size: var(--step-body);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* Live interactive filter bar */
.controls-bar {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  background-color: var(--bg);
  margin-block-end: clamp(2.25rem, 4.5vw, 3.5rem);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  flex-wrap: balance;
  gap: 0.5rem;
}

.filter-btn {
  background-color: var(--surface);
  color: var(--ink);
  border: 0;
  padding: 0.55rem 0.95rem;
  min-block-size: 2.625rem;
  font-size: var(--step-small);
  font-weight: 500;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}

.filter-btn:hover {
  background-color: var(--field-1);
}

.filter-btn:active {
  transform: scale(0.97);
}

.filter-btn.is-active {
  background-color: var(--ink);
  color: var(--bg);
}

.query-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.field-wrap {
  display: block;
  min-inline-size: 0;
}

.query-row input,
.query-row select {
  inline-size: 100%;
  min-block-size: 2.875rem;
  padding: 0.6rem 0.85rem;
  background-color: var(--plinth);
  color: var(--ink);
  border: 1px solid #a8a29a;
  font-size: var(--step-small);
}

.cat-group {
  margin-block-start: clamp(6rem, 8.5vw, 8rem);
  padding-block-start: 3rem;
}

.cat-group:first-child {
  margin-block-start: 0;
  padding-block-start: 0;
}

.cat-group[hidden] {
  display: none;
}

.cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  margin-block-end: clamp(1.25rem, 2.5vw, 1.85rem);
}

.cat-head h3 {
  margin: 0;
  font-size: clamp(1.625rem, 1.25rem + 1.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}

.cat-count {
  font-size: var(--step-body);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 4vw, 3.75rem);
  row-gap: clamp(1.5rem, 2.6vw, 2.1rem);
}

.menu-item {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  min-inline-size: 0;
}

.menu-item[hidden] {
  display: none;
}

.item-thumb {
  display: block;
  inline-size: 4.75rem;
  aspect-ratio: 1 / 1;
  background-color: var(--plinth);
  overflow: clip;
  transition: transform var(--t-ui) var(--ease-out);
}

.item-thumb img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.item-thumb:hover {
  transform: scale(1.06);
}

.item-body {
  min-inline-size: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.item-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.item-name {
  font-size: var(--step-body);
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
  min-inline-size: 0;
  flex: 1 1 auto;
}

.item-name:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.item-price {
  font-size: var(--step-body);
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.item-desc {
  margin: 0;
  font-size: var(--step-body);
  line-height: 1.45;
  color: var(--muted);
  max-inline-size: 48ch;
  text-wrap: pretty;
}

.item-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-block-start: 0.15rem;
}

.item-verdict {
  font-size: var(--step-small);
  font-weight: 500;
}

.verdict-steal {
  color: var(--accent);
}

.verdict-floor {
  color: var(--ink);
}

.verdict-campaign {
  color: var(--muted);
}

.verdict-token {
  color: #6c3e26;
}

.item-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.action-link {
  font-size: var(--step-small);
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.22em;
  padding-block: 0.25rem;
}

.action-link:hover {
  color: var(--accent);
}

.copy-link-btn {
  background: transparent;
  border: 0;
  padding: 0.25rem 0;
  font-size: var(--step-small);
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: color var(--t-hover) ease;
}

.copy-link-btn:hover {
  color: var(--accent);
}

.proof-disclosure {
  margin-block-start: 0.45rem;
}

.proof-disclosure summary {
  cursor: pointer;
  font-size: var(--step-small);
  font-weight: 500;
  color: var(--accent);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding-block: 0.2rem;
}

.proof-disclosure summary::-webkit-details-marker {
  display: none;
}

.proof-disclosure summary::before {
  content: "+";
  font-weight: 700;
}

.proof-disclosure[open] summary::before {
  content: "-";
}

.proof-body {
  margin-block-start: 0.5rem;
  padding: 0.85rem 1rem;
  background-color: var(--bg);
  font-size: var(--step-body);
  line-height: 1.48;
  color: var(--ink);
}

.proof-body p {
  margin: 0 0 0.4rem;
  max-inline-size: 52ch;
}

.proof-body p:last-child {
  margin-block-end: 0;
  color: var(--muted);
}

.empty-state {
  margin: 2rem 0 0;
  font-size: var(--step-lead);
  color: var(--ink);
}

/* =========================================================
   SECTION 4 (proof): Retail price proof table + audited brands
   ========================================================= */
.proof-band {
  background-color: var(--field-1);
  padding-inline: var(--gutter);
  padding-block: clamp(4rem, 7.5vw, 6rem) 0;
  overflow: clip;
}

.proof-inner {
  max-inline-size: var(--content-max);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}

.proof-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 52ch);
  align-items: end;
  gap: 1.25rem 2.5rem;
}

.proof-header h2 {
  margin: 0;
  font-size: var(--step-head);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.98;
  text-wrap: balance;
}

.proof-intro {
  margin: 0;
  font-size: var(--step-body);
  line-height: 1.5;
  color: var(--ink);
  text-wrap: pretty;
}

/* Responsive data table (modern-web-guidance: container query + sticky headers + stacked mobile labels) */
.table-wrapper {
  overflow-x: auto;
  max-inline-size: 100%;
  container-type: inline-size;
  background-color: var(--bg);
  scrollbar-gutter: stable;
}

.proof-table {
  inline-size: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--step-body);
  text-align: start;
  --label-2: "Daraz price";
  --label-3: "Local SL retail";
  --label-4: "Real savings";
  --label-5: "Stores checked";
}

.proof-table thead {
  position: sticky;
  inset-block-start: 0;
  z-index: 2;
}

.proof-table thead th {
  background-color: var(--ink);
  color: var(--bg);
  font-weight: 700;
  padding: 0.9rem 1rem;
  white-space: nowrap;
}

.proof-table tbody th,
.proof-table tbody td {
  padding: 0.9rem 1rem;
  border-block-end: 1px solid #d4cfc8;
  vertical-align: top;
  background-color: var(--bg);
}

.proof-table tbody th {
  position: sticky;
  inset-inline-start: 0;
  z-index: 1;
  font-weight: 700;
  max-inline-size: 24rem;
}

.proof-table tbody th a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.proof-table tbody th a:hover {
  color: var(--accent);
}

.proof-table .num {
  white-space: nowrap;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.proof-table .savings-cell {
  color: var(--accent);
  font-weight: 500;
}

@container (width < 700px) {
  .proof-table,
  .proof-table thead,
  .proof-table tbody,
  .proof-table tr,
  .proof-table th,
  .proof-table td {
    display: block;
  }

  .proof-table thead {
    display: none;
  }

  .proof-table tr {
    margin-block-end: 1rem;
    background-color: var(--bg);
    border-block-end: 2px solid var(--field-1);
  }

  .proof-table tbody th {
    position: sticky;
    inset-block-start: 0;
    inset-inline-start: auto;
    z-index: 2;
    background-color: var(--surface);
    max-inline-size: none;
    border-block-end: 0;
  }

  .proof-table tbody td {
    padding: 0.55rem 1rem;
    border-block-end: 0;
  }

  .proof-table td:nth-child(2)::before {
    content: var(--label-2) ": ";
    font-weight: 700;
    color: var(--ink);
  }

  .proof-table td:nth-child(3)::before {
    content: var(--label-3) ": ";
    font-weight: 700;
    color: var(--ink);
  }

  .proof-table td:nth-child(4)::before {
    content: var(--label-4) ": ";
    font-weight: 700;
    color: var(--ink);
  }

  .proof-table td:nth-child(5)::before {
    content: var(--label-5) ": ";
    font-weight: 700;
    color: var(--ink);
  }
}

.proof-card {
  inline-size: min(56rem, 100%);
  margin-inline: auto;
  margin-block-start: clamp(5rem, 7vw, 7rem);
  background-color: var(--bg);
  color: var(--ink);
  padding: clamp(2.5rem, 5vw, 4rem);
  padding-block-end: clamp(3rem, 5.5vw, 4rem);
  transform: rotate(-1deg) translateY(1.25rem);
  text-align: center;
}

.proof-card h3 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}

.proof-names {
  margin: 0 auto 1.25rem;
  font-size: var(--step-lead);
  line-height: 1.7;
  font-weight: 500;
  max-inline-size: 46ch;
  text-wrap: pretty;
}

.brand-chip {
  white-space: nowrap;
}

.proof-note {
  margin: 0 auto;
  font-size: var(--step-body);
  line-height: 1.5;
  color: var(--muted);
  max-inline-size: 56ch;
  text-wrap: pretty;
}

/* =========================================================
   SECTION 5 (footer): The mark, built large
   ========================================================= */
.site-footer {
  background-color: var(--ink);
  color: var(--bg);
  padding-inline: var(--gutter);
  padding-block: clamp(3.5rem, 6.5vw, 5rem) clamp(2.5rem, 4vw, 3.5rem);
}

.footer-inner {
  max-inline-size: var(--content-max);
  margin-inline: auto;
}

.footer-mark {
  inline-size: 100%;
  margin-block-end: clamp(2.25rem, 4.5vw, 3.5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 2.5rem;
  margin-block-end: clamp(2.25rem, 4vw, 3rem);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: var(--step-small);
}

.footer-col a {
  color: var(--bg);
}

.footer-col a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-meta {
  font-size: var(--step-small);
  line-height: 1.55;
  color: #e0dcd7;
}

.footer-meta p {
  margin: 0 0 0.5rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.disclosure {
  margin: 0;
  font-size: var(--step-small);
  color: #d6d2cd;
  max-inline-size: 62ch;
}

.footer-top-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 2.625rem;
  padding: 0.6rem 1.25rem;
  background-color: var(--accent);
  color: var(--accent-ink);
  font-size: var(--step-small);
  font-weight: 500;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}

.footer-top-btn:hover {
  background-color: #617457;
}

/* =========================================================
   ACCESSIBLE TOP-LAYER TOAST (modern-web-guidance)
   ========================================================= */
.toast-region {
  position: fixed;
  inset-block-end: 1.25rem;
  inset-inline-end: 1.25rem;
  z-index: 90;
  pointer-events: none;
}

[popover].copy-toast {
  inset: auto 1.25rem 1.25rem auto;
  margin: 0;
  border: 0;
  padding: 0.85rem 1.15rem;
  background-color: var(--ink);
  color: var(--bg);
  font-size: var(--step-small);
  max-inline-size: min(26rem, calc(100% - 2.5rem));
  display: none;
  align-items: center;
  gap: 1rem;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), overlay 220ms, display 220ms;
  transition-behavior: allow-discrete;
}

[popover].copy-toast:is(:popover-open, .\:popover-open) {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

@starting-style {
  [popover].copy-toast:is(:popover-open, .\:popover-open) {
    opacity: 0;
    transform: translateY(0.75rem);
  }
}

@supports not selector(:popover-open) {
  [popover]:not(.\:popover-open) {
    display: none;
  }
}

.toast-close {
  background-color: var(--accent);
  color: var(--accent-ink);
  border: 0;
  padding: 0.35rem 0.7rem;
  font-size: var(--step-small);
  font-weight: 500;
  cursor: pointer;
}

/* =========================================================
   REVEAL MOTION (upper blocks + first 24 catalogue items only)
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js-ready .reveal-block,
  .js-ready .reveal-row {
    opacity: 0;
    transform: translateY(1.125rem);
    transition: opacity var(--t-reveal) var(--ease-expo), transform var(--t-reveal) var(--ease-expo);
    transition-delay: var(--reveal-delay, 0ms);
  }

  .js-ready .reveal-block.is-visible,
  .js-ready .reveal-row.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .plinth-slide,
  .split-media img,
  .gallery-frame,
  [popover].copy-toast {
    transition: none;
  }
}

/* =========================================================
   RESPONSIVE: Tablet (<= 960px) & Phone (<= 640px)
   ========================================================= */
@media (max-width: 960px) {
  .split-showcase {
    grid-template-columns: 1fr;
  }

  .split-panel {
    min-block-size: min(74svh, 40rem);
  }

  .strip-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .query-row {
    grid-template-columns: 1fr;
  }

  .proof-header {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-top {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .hero-support {
    text-align: start;
    justify-self: start;
  }

  .plinth {
    inline-size: min(84vw, 22rem);
    max-block-size: 44svh;
  }

  .strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-item {
    grid-template-columns: 3.75rem minmax(0, 1fr);
    gap: 0.85rem;
  }

  .item-thumb {
    inline-size: 3.75rem;
  }

  .split-actions {
    inline-size: 100%;
  }

  .split-actions > * {
    flex: 1 1 0;
  }

  .proof-card {
    inline-size: 100%;
    padding: 1.75rem 1.5rem 2.75rem;
    transform: rotate(-0.6deg) translateY(0.75rem);
  }
}
