/* Footring launch site. Tokens are the app's own, so the page and the product look like one thing. */
:root {
  color-scheme: light dark;
  /* Clay paper */
  --surface: #f6f1ea;
  --surface-raised: #fcf9f4;
  --surface-sunken: #ece4d8;
  --plinth: #e9e0d3;
  --plinth-side: #ddd2c3;
  --text: #2b2420;
  --text-muted: #6b5f55;
  --accent: #a4532f;
  --accent-strong: #873f20;
  --accent-soft: #ecd8c8;
  --on-accent: #fffaf4;
  --border: #dcd1c3;
  --border-strong: #b9a998;
  --focus: #1f5f8b;
  --available: #3c6e47;
  --available-soft: #dbe8d8;
  --reserved: #8a5a0b;
  --reserved-soft: #f3e3c2;
  --sold: #8e3b36;
  --sold-soft: #f1d9d4;

  --glaze-white: #f4f1ea;
  --glaze-cream: #e9dcbc;
  --glaze-grey: #9a9893;
  --glaze-black: #2a2826;
  --glaze-blue: #3f6e9a;
  --glaze-green: #6f8b5a;
  --glaze-brown: #7a5232;
  --glaze-red: #a63d2f;
  --glaze-yellow: #d9b44a;
  --glaze-pink: #d9a3a0;

  --shadow-1: 0 1px 2px rgb(60 40 25 / 0.06), 0 2px 8px rgb(60 40 25 / 0.05);
  --shadow-2: 0 2px 4px rgb(60 40 25 / 0.07), 0 8px 24px rgb(60 40 25 / 0.08);
  --shadow-3: 0 6px 12px rgb(60 40 25 / 0.1), 0 18px 48px rgb(60 40 25 / 0.16);
  --swatch-ring: inset 0 0 0 1px rgb(0 0 0 / 0.18);

  --font-display: "Fraunces", ui-serif, "Iowan Old Style", Georgia, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --section-gap: clamp(4.5rem, 10vw, 8rem);
  --radius-card: 18px;
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Kiln charcoal */
    --surface: #1b1917;
    --surface-raised: #24211e;
    --surface-sunken: #141210;
    --plinth: #2c2825;
    --plinth-side: #221f1c;
    --text: #efe8df;
    --text-muted: #b3a89c;
    --accent: #e08a5f;
    --accent-strong: #f0a47d;
    --accent-soft: #4a3226;
    --on-accent: #1b1917;
    --border: #3a3430;
    --border-strong: #5c524a;
    --focus: #8cc4ef;
    --available: #8fc79a;
    --available-soft: #22362a;
    --reserved: #e6b65c;
    --reserved-soft: #3e3019;
    --sold: #ee9a92;
    --sold-soft: #44262a;

    --glaze-white: #e6e2da;
    --glaze-cream: #d6c79f;
    --glaze-grey: #8a8883;
    --glaze-black: #0d0c0b;
    --glaze-blue: #6f9bc6;
    --glaze-green: #8fae78;
    --glaze-brown: #a37850;
    --glaze-red: #cf6553;
    --glaze-yellow: #e6c665;
    --glaze-pink: #e3b2ae;

    --shadow-1: 0 1px 2px rgb(0 0 0 / 0.35), 0 2px 8px rgb(0 0 0 / 0.25);
    --shadow-2: 0 2px 4px rgb(0 0 0 / 0.4), 0 8px 24px rgb(0 0 0 / 0.35);
    --shadow-3: 0 6px 12px rgb(0 0 0 / 0.45), 0 18px 48px rgb(0 0 0 / 0.5);
    --swatch-ring: inset 0 0 0 1px rgb(255 255 255 / 0.22);
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 380;
  font-variation-settings: "SOFT" 50;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}

h3 {
  font-size: 1.375rem;
  font-weight: 450;
}

p {
  margin: 0;
}

a {
  color: var(--accent-strong);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent);
}

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

.defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(72rem, 100% - 2.5rem);
  margin-inline: auto;
}

.narrow {
  width: min(40rem, 100% - 2.5rem);
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-title {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  max-width: 22ch;
}

.lede {
  margin-top: 1rem;
  max-width: 40rem;
  color: var(--text-muted);
}

.band {
  padding-block: var(--section-gap);
  scroll-margin-top: 4rem;
}

.band--sunken {
  background: var(--surface-sunken);
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--surface);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.skip-link:hover {
  color: var(--surface);
}

.scroll-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 8px;
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  min-width: 44px;
  padding: 0 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 160ms var(--ease),
    border-color 160ms var(--ease),
    color 160ms var(--ease);
}

.pill--small {
  min-height: 44px;
  padding: 0 1.125rem;
  font-size: 0.9375rem;
}

.pill--primary {
  background: var(--accent);
  color: var(--on-accent);
}

.pill--primary:hover {
  background: var(--accent-strong);
  color: var(--on-accent);
}

.pill--outline {
  border-color: var(--border-strong);
  color: var(--text);
}

.pill--outline:hover {
  border-color: var(--text);
  color: var(--text);
}

.pill--inverse {
  background: var(--surface);
  color: var(--text);
}

.pill--inverse:hover {
  background: var(--accent-soft);
  color: var(--text);
}

.band--ink :focus-visible {
  outline-color: var(--surface);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 10;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
}

@media (min-width: 48rem) {
  .site-header {
    position: sticky;
    top: 0;
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  color: var(--text);
}

.logo__word {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  font-variation-settings: "SOFT" 50;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-nav__links {
  display: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.75rem;
  color: var(--text);
  font-size: 0.9375rem;
  text-decoration: none;
}

.site-nav__links a:hover {
  color: var(--accent-strong);
}

.wide-only {
  display: none;
}

@media (min-width: 48rem) {
  .site-nav__links {
    display: flex;
  }
  .site-nav {
    gap: 1rem;
  }
  .wide-only {
    display: inline;
  }
  .narrow-only {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(2.5rem, 6vw, 4rem) var(--section-gap);
}

.hero__grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 60rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
    min-height: min(88svh, 52rem);
  }
}

.hero__title {
  font-size: clamp(2.6rem, 1.6rem + 4.2vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 380;
}

.hero__rule {
  display: block;
  width: 56px;
  height: 3px;
  margin: 1.75rem 0;
  background: var(--accent);
}

.hero__sub {
  max-width: 34rem;
  font-size: 1.1875rem;
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__note {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.75rem);
}

.no-js .chips {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-raised);
  color: var(--text);
  font: 600 0.9375rem/1 var(--font-body);
  cursor: pointer;
}

.chip:hover {
  border-color: var(--border-strong);
}

.chip[aria-pressed="true"] {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.chip__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: var(--swatch-ring);
}

/* The shelf: a pale showroom wall with three plinths */
.hero__shelf {
  padding: clamp(1rem, 3vw, 2.25rem) clamp(0.75rem, 2.5vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 24px;
  background: linear-gradient(180deg, var(--surface-raised), var(--surface) 92%);
  border: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
}

.shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.375rem, 1.5vw, 1rem);
  align-items: end;
  padding-top: 1.5rem;
}

.plinth {
  display: flex;
  flex-direction: column;
}

.plinth__pots {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  margin-bottom: -10px;
}

.pot {
  display: flex;
  justify-content: center;
  transition:
    opacity 320ms var(--ease),
    filter 320ms var(--ease),
    transform 320ms var(--ease);
}

.pot__art {
  display: block;
  flex: none;
  width: calc(var(--s) * 150%);
  height: auto;
  /* The drawing's base sits at y = 104 of 120: pull it down onto the plinth top. */
  margin-bottom: calc(var(--s) * -17%);
  overflow: visible;
}

.pot__shadow {
  fill: rgb(0 0 0 / 0.12);
}

.pot__body {
  fill: var(--pot);
}

.pot--pale .pot__body {
  stroke: rgb(0 0 0 / 0.18);
  stroke-width: 1;
}

.shelf[data-filter] .pot.is-dim {
  opacity: 0.18;
  filter: saturate(0.2);
}

.shelf[data-filter] .pot.is-match {
  transform: translateY(-6px);
}

.plinth__block {
  position: relative;
  height: 22px;
  border-radius: 8px 8px 0 0;
  background: var(--plinth);
  box-shadow: var(--shadow-2);
}

.plinth__block::after {
  content: "";
  position: absolute;
  inset: 100% 0 auto;
  height: 14px;
  border-radius: 0 0 6px 6px;
  background: var(--plinth-side);
  box-shadow: var(--shadow-2);
}

.plinth__labels {
  display: none;
}

@media (min-width: 60rem) {
  .plinth__labels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.25rem;
    margin-top: calc(14px + 0.875rem);
  }
}

/* Labels alternate between two rows, like gallery cards, so neighbours never collide. */
.pot-label {
  position: relative;
  justify-self: center;
  width: max-content;
  max-width: 9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-muted);
}

.pot-label--low {
  margin-top: 2.75rem;
}

.pot-label .status {
  display: block;
}

.pot-label .status::before {
  content: "· ";
}

.status--available {
  color: var(--available);
}

.status--reserved {
  color: var(--reserved);
}

.status--sold {
  color: var(--sold);
}

@media (min-width: 60rem) {
  /* Capped lower than the review's 4.25rem: in the 4.5fr column (about 410 px wide)
     anything above 3.5rem still sets in five lines; 3.5rem sets it in three. */
  .hero__title {
    font-size: clamp(2.6rem, 1.6rem + 3.4vw, 3.5rem);
  }
  .hero__shelf {
    padding-inline: 1.25rem;
  }
  .shelf {
    gap: 0.75rem;
  }
  .pot__art {
    width: calc(var(--s) * 180%);
    margin-bottom: calc(var(--s) * -20.4%);
  }
}

/* Phone: the shelf stacks like a wall unit, one plinth per row. */
@media (max-width: 40rem) {
  .shelf {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
    padding-top: 0.5rem;
  }
  .plinth {
    width: min(100%, 20rem);
    margin-inline: auto;
  }
  .pot__art {
    width: calc(var(--s) * 120%);
    margin-bottom: calc(var(--s) * -13.6%);
  }
}

/* ---------- How it works ---------- */
.steps {
  position: relative;
  display: grid;
  gap: 1.25rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 56rem) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

.step {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius-card);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-1);
}

.step__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 1rem;
}

.step h3 {
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-muted);
}

/* ---------- Features (bento) ---------- */
.bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

@media (min-width: 40rem) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .card--filters,
  .card--sold,
  .card--schemes {
    grid-column: span 2;
  }
}

@media (min-width: 60rem) {
  .bento {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .card--filters {
    grid-column: span 4;
  }
  .card--compare,
  .card--draws,
  .card--file,
  .card--schemes {
    grid-column: span 2;
  }
  .card--enquiry,
  .card--sold {
    grid-column: span 3;
  }
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: var(--surface-raised);
  box-shadow: var(--shadow-1);
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
  }
}

.card p {
  color: var(--text-muted);
}

.art {
  display: flex;
  margin-bottom: 1rem;
  padding: 1.25rem;
  border-radius: 12px;
  background: var(--surface-sunken);
  min-height: 9rem;
  align-items: center;
  justify-content: center;
}

/* The illustration takes any extra row height, so titles and copy line up across a row. */
.card > .art {
  flex-grow: 1;
}

/* Where cards sit side by side, each card's art, title and copy share the row's tracks. */
@media (min-width: 40rem) {
  @supports (grid-template-rows: subgrid) {
    .card {
      display: grid;
      grid-row: span 3;
      grid-template-rows: subgrid;
      row-gap: 0.5rem;
    }
  }
}

/* Filters */
.art--facets {
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}

.facet {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.facet__name {
  min-width: 7.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-raised);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
}

.mini-chip.is-pressed {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.mini-chip i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: var(--swatch-ring);
}

/* Compare table */
.art--table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.art--table th {
  text-align: left;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-right: 0.5rem;
}

.art--table th,
.art--table td {
  padding-block: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.art--table tr:last-child > * {
  border-bottom: 0;
}

.art--table td {
  padding-inline: 0.25rem;
}

/* Enquiry */
.art--enquiry {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
}

.enquiry-sample {
  margin: 0;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--text);
}

.fake-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface-raised);
  font-size: 0.9375rem;
  font-weight: 600;
}

/* Status badges */
.art--badges {
  flex-wrap: wrap;
  gap: 0.625rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge--available {
  color: var(--available);
  background: var(--available-soft);
}

.badge--reserved {
  color: var(--reserved);
  background: var(--reserved-soft);
}

.badge--sold {
  color: var(--sold);
  background: var(--sold-soft);
}

/* Drawn forms */
.art--forms {
  align-items: flex-end;
  gap: 0.25rem;
}

.art--forms svg {
  width: 30%;
  max-width: 7rem;
  height: auto;
}

/* File */
.art--file {
  gap: 1rem;
}

.doc {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
  width: 7.5rem;
  height: 9rem;
  padding: 0.875rem;
  border-radius: 8px 22px 8px 8px;
  border: 1px solid var(--border-strong);
  background: var(--surface-raised);
  box-shadow: var(--shadow-1);
}

.doc__fold {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 22px;
  height: 22px;
  border-radius: 0 22px 0 6px;
  background: var(--plinth-side);
  border-left: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

.doc__lines {
  display: grid;
  gap: 6px;
}

.doc__lines i {
  height: 4px;
  border-radius: 2px;
  background: var(--border);
}

.doc__lines i:nth-child(2) {
  width: 70%;
}

.doc__lines i:nth-child(3) {
  width: 85%;
}

.doc__name {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text);
}

.doc__arrow {
  color: var(--text-muted);
}

/* Schemes */
.scheme {
  position: relative;
  width: 6rem;
  height: 6rem;
  border-radius: 20px;
  box-shadow: var(--shadow-1);
}

.scheme i {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.scheme--day {
  background: #f6f1ea;
  border: 1px solid #dcd1c3;
  transform: rotate(-6deg);
}

.scheme--day i {
  background: #a4532f;
}

.scheme--night {
  margin-left: -1.75rem;
  background: #1b1917;
  border: 1px solid #3a3430;
  transform: rotate(5deg) translateY(10px);
}

.scheme--night i {
  background: #e08a5f;
}

@media (max-width: 40rem) {
  .facet__name {
    flex-basis: 100%;
    min-width: 0;
  }
}

/* ---------- See it ---------- */
.see__grid {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

.browser {
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: var(--surface-raised);
  box-shadow: var(--shadow-3);
}

.browser__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 1rem;
  border-bottom: 1px solid var(--border);
}

.browser__dots {
  position: absolute;
  left: 1rem;
  display: flex;
  gap: 6px;
}

.browser__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.browser__address {
  padding: 0.125rem 1rem;
  border-radius: 999px;
  background: var(--surface-sunken);
  color: var(--text-muted);
  font-size: 0.8125rem;
  max-width: calc(100% - 7rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser__view {
  display: block;
  width: 100%;
  height: 620px;
  border: 0;
  background: var(--surface);
}

@media (min-width: 48rem) {
  .browser__view {
    height: min(86vh, 860px);
  }
}

.see__full {
  margin-top: 0.75rem;
}

.try {
  padding-top: 0.5rem;
}

.try__list {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: try;
}

@media (min-width: 48rem) {
  .try__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

.try__list li {
  position: relative;
  padding-left: 2.25rem;
  counter-increment: try;
}

.try__list li::before {
  content: counter(try);
  position: absolute;
  left: 0;
  top: -0.1em;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--accent-strong);
}

/* ---------- Honest part ---------- */
#honest p:not(.eyebrow) {
  margin-top: 1.25rem;
}

.facts {
  display: grid;
  gap: 1.25rem 2rem;
  margin: 2.5rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

@media (min-width: 40rem) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.facts dt {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.facts dd {
  margin: 0.25rem 0 0;
}

/* ---------- Closing band ---------- */
.band--ink {
  background: var(--text);
  color: var(--surface);
}

.closing {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.closing__shelf {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 56px));
  justify-content: center;
  align-items: end;
  gap: clamp(0.125rem, 1.5vw, 1rem);
  width: min(100%, 44rem);
  padding-inline: 1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--surface) 45%, transparent);
  margin-bottom: 3rem;
}

.mini-pot {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -13%;
}

.closing__title {
  font-size: clamp(2.2rem, 1.4rem + 3vw, 3.5rem);
}

.closing__line {
  margin: 1rem 0 2rem;
  opacity: 0.85;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 40rem) {
  .site-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-muted);
}

.site-footer__links a:hover {
  color: var(--accent-strong);
}

/* ---------- Motion (only when the visitor allows it, and only with JS) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .pot__art {
    animation: pot-rise 480ms var(--ease) both;
    animation-delay: calc(var(--i) * 60ms);
  }

  .js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity 480ms var(--ease),
      transform 480ms var(--ease);
    transition-delay: calc(var(--d, 0) * 80ms);
  }

  .js .browser.reveal {
    transform: translateY(24px);
  }

  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }

  .js .band--ink.is-in .mini-pot {
    animation: pot-wave 400ms var(--ease) both;
    animation-delay: calc(var(--i) * 40ms);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .pot,
  .card {
    transition: none;
  }
  .shelf[data-filter] .pot.is-match {
    transform: none;
  }
}

@keyframes pot-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pot-wave {
  0%,
  100% {
    transform: none;
  }
  45% {
    transform: translateY(-4px);
  }
}
