/* =========================================================
   Shop of Stuffs — site styles
   Palette and type come from the logo. See README for the rules.
   ========================================================= */

/* ---------- Fonts (self-hosted: drop the files into /assets/fonts) ---------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Permanent Marker";
  src: url("../fonts/permanent-marker-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Saira Stencil";
  src: url("../fonts/saira-stencil-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #291424;
  --coral: #FB695B;
  --coral-deep: #B8352A;     /* marker text on paper/white */
  --coral-dark: #9E2A1C;     /* marker text on kraft (contrast) */
  --kraft: #E1A874;
  --kraft-light: #EBBA8D;
  --tape: #FBEBD4;
  --paper: #FFF8EE;
  --card: #FFFDF8;
  --photo: #F5E9D8;
  --pencil: #5E4A52;
  --lilac: #C9B8FF;          /* categories only */

  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-marker: "Permanent Marker", "Comic Sans MS", cursive;
  --font-stencil: "Saira Stencil", "Arial Narrow", "Helvetica Neue", sans-serif;

  --wrap: 1240px;
  --shadow: 5px 5px 0 var(--ink);
  --kraft-texture: repeating-linear-gradient(90deg, rgba(41, 20, 36, 0.05) 0 2px, transparent 2px 10px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--coral-deep); }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--paper); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Type helpers ---------- */
.stencil { font-family: var(--font-stencil); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.marker {
  font-family: var(--font-marker); font-weight: 400; color: var(--coral-deep);
  display: inline-block; transform: rotate(-3deg); letter-spacing: 0;
}
.on-kraft .marker, .marker--on-kraft { color: var(--coral-dark); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.section-head h2 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; }
.section-head .marker { font-size: 22px; transform: rotate(-4deg); }
.lede { font-size: 17px; color: var(--pencil); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 14px 24px;
  border: 3px solid var(--ink); border-radius: 14px; box-shadow: var(--shadow);
  font: 800 17px/1.2 var(--font-body); color: var(--ink); text-decoration: none;
  background: var(--coral); cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { color: var(--ink); transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn--paper { background: var(--paper); }
.btn--small { min-height: 44px; padding: 10px 18px; font-size: 16px; border-radius: 12px; box-shadow: 4px 4px 0 var(--ink); }
.ext-icon { width: 14px; height: 14px; flex: none; }

/* ---------- Kraft box face ---------- */
.kraft {
  position: relative;
  background-color: var(--kraft);
  background-image: var(--kraft-texture);
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
}
.tape-strip {
  position: absolute; top: 0; bottom: 14%;
  width: clamp(28px, 4vw, 58px);
  background: var(--tape);
  border-left: 3px solid var(--ink); border-right: 3px solid var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), 75% 100%, 50% calc(100% - 16px), 25% 100%, 0 calc(100% - 16px));
  pointer-events: none;
}
.tape-strip--left { left: clamp(10px, 3vw, 44px); }
.tape-strip--right { right: clamp(10px, 3vw, 44px); bottom: 22%; }
.tape-piece {
  position: absolute; top: -16px; left: 50%;
  width: 100px; height: 30px; margin-left: -50px;
  background: var(--kraft-light); opacity: 0.95; transform: rotate(-4deg);
  pointer-events: none;
}

/* ---------- Tape banner ---------- */
.tape-banner-wrap { padding: 18px 0 16px; overflow: hidden; }
.tape-banner {
  width: 104%; margin-left: -2%;
  transform: rotate(-0.6deg);
  background: var(--kraft);
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  padding: 9px 12px;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 26px;
  font-size: 18px; text-align: center;
}
.tape-banner a { color: var(--ink); }

/* ---------- Header ---------- */
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 14px; padding-bottom: 18px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 92px; }
.wordmark { font-weight: 800; font-size: 30px; letter-spacing: -0.02em; line-height: 1; display: inline-flex; align-items: baseline; gap: 0.25em; }
.wordmark .marker { transform: rotate(-8deg); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.site-nav a:not(.btn) {
  padding: 12px 14px; font-weight: 700; font-size: 16px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.site-nav .btn { margin-left: 10px; }
.menu-toggle {
  display: none; width: 48px; height: 48px; padding: 0;
  border: 3px solid var(--ink); border-radius: 12px; background: var(--coral);
  box-shadow: 3px 3px 0 var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}

@media (max-width: 760px) {
  .tape-banner { font-size: 14px; gap: 4px 14px; }
  .tape-banner .hide-sm { display: none; }
  .brand img { width: 60px; }
  .wordmark { font-size: 22px; }
  .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-top: 8px; }
  .js .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 4px; border-bottom: 2px dashed var(--ink); font-size: 18px; }
  .site-nav .btn { margin: 14px 0 6px; }
}

/* ---------- Hero ---------- */
.hero .wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 40px;
  padding-top: 64px; padding-bottom: 80px; padding-left: clamp(64px, 10vw, 140px);
}
.hero__copy { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero__copy .marker { font-size: 26px; align-self: flex-start; }
.hero h1 { font-weight: 800; font-size: clamp(42px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.03em; }
.hero__lede { font-size: 20px; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__art { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }
.hero__art img { width: 100%; max-width: 540px; }

@media (max-width: 760px) {
  .hero .wrap { padding: 24px 20px 32px 56px; gap: 18px; flex-direction: column-reverse; align-items: stretch; }
  .hero__art img { max-width: 260px; margin: 0 auto; }
  .hero__copy { gap: 14px; }
  .hero__copy .marker { font-size: 20px; }
  .hero__lede { font-size: 17px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .tape-strip--left { width: 24px; left: 14px; }
}

/* ---------- Listings ---------- */
.shop { padding: 72px 0 96px; }
.shop .wrap { display: flex; flex-direction: column; gap: 40px; }
.shop__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.shop__head > div { display: flex; flex-direction: column; gap: 8px; }
.shop__all { font-weight: 800; font-size: 17px; padding: 12px 0; }

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.filters__label { font-size: 16px; margin-right: 6px; }
.chip {
  min-height: 44px; padding: 8px 18px;
  border: 3px solid var(--ink); border-radius: 999px;
  background: var(--paper); color: var(--ink); box-shadow: 3px 3px 0 var(--ink);
  font: 600 15px/1 var(--font-stencil); letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--lilac); box-shadow: inset 0 0 0 2px var(--ink); transform: translate(2px, 2px); }

.listing-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 48px 32px;
}
.listing {
  position: relative; height: 100%;
  display: flex; flex-direction: column;
  text-decoration: none; color: var(--ink);
  background: var(--card); border: 3px solid var(--ink); border-radius: 14px; box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(var(--rot, 0deg));
  transition: transform .15s ease, box-shadow .15s ease;
}
.listing:hover { color: var(--ink); transform: rotate(0deg) translateY(-3px); box-shadow: 8px 9px 0 var(--ink); }
.listing__top { display: flex; justify-content: flex-end; padding: 18px 16px 10px; }
.tag {
  font: 600 13px/1 var(--font-stencil); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
  padding: 5px 10px; background: var(--lilac); border: 2px solid var(--ink); border-radius: 999px;
}
.listing__photo {
  margin: 0 16px; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--photo); border: 2px solid var(--ink); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.listing__photo img { width: 100%; height: 100%; object-fit: cover; }
.listing__photo svg { width: 56px; height: 56px; }
.listing__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.listing__title { font-weight: 700; font-size: 17px; line-height: 1.35; }
.listing__row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.listing__price { font-weight: 800; font-size: 28px; letter-spacing: -0.02em; }
.listing__cta { font-size: 14px; font-weight: 800; color: var(--coral-deep); display: inline-flex; align-items: center; gap: 4px; }
.barcode { margin: 0 16px 16px; padding-top: 12px; border-top: 2px dashed var(--ink); }
.barcode span {
  display: block; height: 30px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 5px, var(--ink) 5px 6px, transparent 6px 9px, var(--ink) 9px 13px, transparent 13px 15px, var(--ink) 15px 16px, transparent 16px 20px);
}
.listing-empty { padding: 24px; border: 3px dashed var(--ink); border-radius: 14px; text-align: center; font-weight: 600; }
.sample-note { font-size: 14px; color: var(--pencil); }

@media (max-width: 760px) {
  .shop { padding: 44px 0 64px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding: 4px 4px 10px; margin: 0 -4px; }
  .chip { flex: none; }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .listing__top { padding: 16px 10px 8px; }
  .listing__photo { margin: 0 10px; }
  .listing__body { padding: 10px; }
  .listing__title { font-size: 14px; }
  .listing__price { font-size: 20px; }
  .listing__cta { display: none; }
  .barcode { display: none; }
  .tape-piece { width: 70px; margin-left: -35px; height: 24px; top: -12px; }
}

/* ---------- Confidence ---------- */
.confidence { padding: 0 0 96px; }
.confidence .wrap { display: flex; flex-direction: column; gap: 32px; }
.promise-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.promise {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 22px; background: var(--card);
  border: 3px solid var(--ink); border-radius: 6px; box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(var(--rot, 0deg));
}
.promise__big { font: 600 36px/1 var(--font-stencil); letter-spacing: 0.04em; text-transform: uppercase; color: var(--coral-deep); }
.promise__small { font-size: 16px; font-weight: 700; line-height: 1.3; }
.feedback-note {
  align-self: flex-start; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px;
  padding: 22px 26px; background: var(--card);
  border: 3px solid var(--ink); border-radius: 12px; box-shadow: var(--shadow);
}
.feedback-note p { font-size: 18px; font-weight: 500; max-width: 520px; }

/* ---------- Sell ---------- */
.sell .wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 56px;
  padding-top: 72px; padding-bottom: 88px; padding-right: clamp(64px, 10vw, 140px);
}
.sell__copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.sell h2 { font-size: clamp(36px, 4.5vw, 52px); font-weight: 800; letter-spacing: -0.03em; }
.sell__copy .marker { font-size: 26px; transform: rotate(-2deg); align-self: flex-start; }
.sell__copy > p:not(.marker) { font-size: 19px; }
.sell__copy .btn { align-self: flex-start; }
.slip {
  flex: 1 1 420px; min-width: 0; position: relative;
  background: var(--card); border: 3px solid var(--ink); border-radius: 6px; box-shadow: 8px 8px 0 var(--ink);
  padding: 34px 32px 28px; transform: rotate(1.5deg);
  display: flex; flex-direction: column; gap: 18px;
}
.slip .tape-piece { top: -14px; width: 110px; }
.slip .tape-piece--l { left: -22px; margin-left: 0; transform: rotate(-35deg); }
.slip .tape-piece--r { left: auto; right: -22px; margin-left: 0; transform: rotate(35deg); }
.slip__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 12px; border-bottom: 3px solid var(--ink); padding-bottom: 12px; }
.slip__head h3 { font: 600 clamp(24px, 3vw, 32px)/1 var(--font-stencil); letter-spacing: 0.08em; text-transform: uppercase; }
.slip__head span { font-size: 14px; font-weight: 700; color: var(--pencil); }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 2px dashed var(--ink); }
.steps li:last-child { border-bottom: 0; }
.tickbox { flex: none; width: 28px; height: 28px; border: 3px solid var(--ink); border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.steps strong { display: block; font-size: 18px; }
.steps span.step-desc { font-size: 16px; color: var(--pencil); }
.slip__sign { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font-size: 15px; font-weight: 700; color: var(--pencil); }
.slip__sign .marker { font-size: 24px; color: var(--ink); transform: rotate(-2deg); }

@media (max-width: 760px) {
  .sell .wrap { padding: 48px 56px 56px 20px; gap: 40px; }
  .slip { padding: 28px 20px 20px; transform: rotate(0.8deg); }
  .tape-strip--right { width: 24px; right: 14px; }
}

/* ---------- Footer ---------- */
.site-footer { border-bottom: 0; }
main > .kraft:last-child { border-bottom: 0; }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 40px; padding-bottom: 32px;
}
.site-footer .brand img { width: 72px; }
.site-footer .wordmark { font-size: 24px; }
.this-way-up { display: flex; align-items: center; gap: 10px; font-size: 20px; letter-spacing: 0.1em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 16px; font-weight: 700; }
.footer-links a { padding: 10px 0; }
.footer-legal { flex-basis: 100%; font-size: 14px; border-top: 2px dashed var(--ink); padding-top: 18px; }

/* ---------- About ---------- */
.polaroid {
  position: relative; margin: 0; width: 100%; max-width: 400px;
  background: var(--card); border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink);
  padding: 16px 16px 20px; transform: rotate(2deg);
  display: flex; flex-direction: column; gap: 12px;
}
.polaroid__frame { aspect-ratio: 4 / 5; background: var(--photo); border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; padding: 22px; }
.polaroid figcaption { font-family: var(--font-marker); font-size: 22px; text-align: center; }
.why { padding: 88px 0 56px; }
.why .wrap { max-width: 1040px; display: flex; flex-direction: column; gap: 24px; }
.why-list { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.why-list li { display: grid; grid-template-columns: 170px 1fr; gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 2px dashed var(--ink); }
.why-list .stencil { font-size: 24px; }
.why-list p { font-size: 18px; }
.table-steps { padding: 40px 0 96px; }
.table-steps .wrap { display: flex; flex-direction: column; gap: 44px; }
.step-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 40px 28px; }
.step-card {
  position: relative; background: var(--card); border: 3px solid var(--ink); border-radius: 12px; box-shadow: var(--shadow);
  padding: 26px 22px 22px; display: flex; flex-direction: column; gap: 10px; transform: rotate(var(--rot, 0deg));
}
.step-card .stencil.small { font-size: 15px; letter-spacing: 0.1em; color: var(--coral-deep); }
.step-card .stencil.big { font-size: 34px; letter-spacing: 0.06em; line-height: 1; }
.hello .wrap { display: flex; flex-direction: column; gap: 32px; padding-top: 72px; padding-bottom: 88px; }
.hello-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 28px; }
.hello-card {
  background: var(--card); border: 3px solid var(--ink); border-radius: 14px; box-shadow: 6px 6px 0 var(--ink);
  padding: 28px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
}
.hello-card h3 { font-size: 26px; font-weight: 800; }
@media (max-width: 760px) {
  .why { padding: 56px 0 32px; }
  .why-list li { grid-template-columns: 1fr; gap: 6px; }
  .hello .wrap { padding-top: 48px; padding-bottom: 56px; }
  .hello-card { padding: 22px; }
}

/* ---------- Privacy / prose pages ---------- */
.page-head .wrap { max-width: 1040px; padding-top: 56px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 16px; }
.page-head h1 { font-weight: 800; font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.03em; }
.page-head .tag { align-self: flex-start; font-size: 16px; padding: 7px 14px; border-width: 3px; }
.legal { max-width: 1040px; margin: 0 auto; padding: 56px 24px 96px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.legal__aside { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.legal__main { flex: 999 1 540px; min-width: 0; }
.short-version {
  position: relative; background: var(--card); border: 3px solid var(--ink); border-radius: 12px; box-shadow: 6px 6px 0 var(--ink);
  padding: 28px 24px 22px; transform: rotate(-1deg);
}
.short-version h2, .toc h2 { font: 600 20px/1.1 var(--font-stencil); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.short-version ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.55; }
.toc { background: var(--card); border: 3px solid var(--ink); border-radius: 12px; padding: 18px 22px; }
.toc ol { margin: 0; padding: 0; list-style: none; font-size: 16px; }
.toc a { font-weight: 700; text-decoration: none; display: block; padding: 6px 0; }
.legal section { display: flex; flex-direction: column; gap: 14px; padding: 36px 0; border-top: 2px dashed var(--ink); scroll-margin-top: 20px; }
.legal section:first-child { padding-top: 0; border-top: 0; }
.legal h2 { font-weight: 800; font-size: 28px; display: flex; align-items: baseline; gap: 16px; }
.legal h2 .num { font: 600 28px/1 var(--font-stencil); color: var(--coral-deep); }
.legal p, .legal li { font-size: 18px; line-height: 1.7; }
.legal ul { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }

/* ---------- Holding page ---------- */
.holding {
  min-height: 100vh; min-height: 100dvh;
  border-top-width: 6px; border-bottom-width: 6px;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 48px 24px 80px;
}
.holding .tape-strip--left { bottom: 18%; }
.holding__inner { width: 100%; max-width: 760px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.holding__inner > .marker { font-size: clamp(21px, 2.4vw, 30px); }
.holding__art { position: relative; width: min(460px, 78vw); }
.stamp {
  position: absolute; right: -8%; top: 6%;
  width: clamp(92px, 13vw, 132px); aspect-ratio: 1; border-radius: 50%;
  border: 4px solid var(--coral-dark); color: var(--coral-dark);
  display: flex; align-items: center; justify-content: center; transform: rotate(12deg);
}
.stamp span {
  width: 82%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed currentColor;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font: 600 clamp(13px, 1.5vw, 19px)/1.05 var(--font-stencil); letter-spacing: 0.04em; text-transform: uppercase;
}
.holding h1 { font-weight: 800; font-size: clamp(46px, 7vw, 88px); line-height: 1; letter-spacing: -0.03em; margin-top: 8px; }
.holding h1 .wordmark { font-size: inherit; }
.holding h1 .marker { color: var(--coral-dark); }
.holding__line { font-size: clamp(18px, 1.8vw, 23px); line-height: 1.5; font-weight: 600; max-width: 520px; }
@media (max-width: 760px) { .holding .tape-strip--left { bottom: auto; height: 26%; width: 22px; left: 12px; } }
.holding .this-way-up { position: absolute; bottom: 22px; left: 0; right: 0; justify-content: center; font-size: 17px; }

/* ---------- 404 ---------- */
.lost .wrap { padding-top: 72px; padding-bottom: 96px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.lost h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; }

/* =========================================================
   Motion — only when the visitor hasn't asked for less
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  @keyframes sos-drop { from { opacity: 0; translate: 0 -18px; } }
  @keyframes sos-slide-r { from { opacity: 0; translate: 30% 0; } }
  @keyframes sos-wipe-l { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
  @keyframes sos-wipe-r { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
  @keyframes sos-tape { from { scale: 1 0; } }
  @keyframes sos-rise { from { opacity: 0; translate: 0 28px; } }
  @keyframes sos-pop { 0% { opacity: 0; scale: 0.7; translate: 0 30px; } 70% { opacity: 1; scale: 1.04; } 100% { scale: 1; translate: 0 0; } }
  @keyframes sos-leap { 0% { opacity: 0; scale: 0.6; translate: 0 60px; } 65% { opacity: 1; scale: 1.05; translate: 0 -8px; } 100% { scale: 1; translate: 0 0; } }
  @keyframes sos-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
  @keyframes sos-stamp { 0% { opacity: 0; scale: 1.9; } 60% { opacity: 1; scale: 0.92; } 100% { scale: 1; } }

  .a-banner { animation: sos-slide-r .7s cubic-bezier(.2,.8,.2,1) both; }
  .a-drop { animation: sos-drop .6s .15s ease-out both; }
  .a-wipe { animation: sos-wipe-l .9s .25s cubic-bezier(.7,0,.2,1) both; }
  .a-wipe .tape-strip, .a-tape { transform-origin: top; animation: sos-tape .6s 1.05s ease-out both; }
  .a-rise { animation: sos-rise .7s var(--d, .6s) ease-out both; }
  .a-pop { animation: sos-pop .9s .9s cubic-bezier(.2,.9,.3,1.2) both; }
  .a-leap { animation: sos-leap 1s .5s cubic-bezier(.2,.9,.3,1.2) both; }
  .a-leap img { animation: sos-float 3.2s 1.6s ease-in-out infinite; }
  .a-stamp { animation: sos-stamp .5s 1.7s cubic-bezier(.2,.9,.3,1.2) both; }

  @supports (animation-timeline: view()) {
    .s-rise { animation: sos-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
    .s-pop { animation: sos-pop linear both; animation-timeline: view(); animation-range: entry var(--rs, 0%) entry calc(var(--rs, 0%) + 65%); }
    .s-wipe { animation: sos-wipe-r linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    .s-wipe .tape-strip { transform-origin: top; animation: sos-tape linear both; animation-timeline: view(); animation-range: entry 50% entry 100%; }
  }
}
