/* Ciabatta Club storefront · page layouts: home, collection (PLP), product (PDP), how it works. */

.section { padding-top: var(--s-16); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s-6); flex-wrap: wrap; margin-bottom: var(--s-6); }
.display { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); line-height: 1.02; }
.lede { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 56ch; }

/* ---------- home hero: rounded full-bleed card ---------- */
.hero { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: min(80vh, 760px); display: grid; align-items: end; background: #cfc5b6; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: heroIn 1.2s var(--ease) both; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 16, 14, 0.5), rgba(18, 16, 14, 0.14) 52%, rgba(18, 16, 14, 0) 72%), linear-gradient(to top, rgba(18, 16, 14, 0.42), rgba(18, 16, 14, 0) 50%); }
.hero__copy { color: #fff; padding: clamp(24px, 4.5vw, 64px); max-width: 820px; }
.hero__copy .kicker { opacity: 0.92; }
.hero h1 { font-size: clamp(48px, 7.6vw, 112px); margin: 14px 0 0; color: #fff; }
.hero__ctas { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-top: var(--s-8); }
@keyframes heroIn { from { transform: scale(1.06); opacity: 0.6; } to { transform: none; opacity: 1; } }
@media (max-width: 47.99em) { .hero { min-height: 76vh; border-radius: var(--r-lg); } .hero h1 { font-size: 48px; } }

/* category panels */
.panels { display: grid; gap: var(--s-3); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 60em) { .panels { grid-template-columns: repeat(4, 1fr); } }
.panel { position: relative; display: grid; grid-template-rows: 1fr auto; justify-items: center; gap: var(--s-4); aspect-ratio: 3 / 4.2; padding: var(--s-6) var(--s-4) var(--s-8); border-radius: var(--r-xl); background: var(--panel, var(--panel-sand)); color: #212121; text-decoration: none; overflow: hidden; transition: transform var(--d-slow) var(--ease), box-shadow var(--d-slow) var(--ease); }
.panel:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.panel:hover .pill-label { background: #212121; color: #fff; border-color: #212121; }
.panel--oval { border-radius: 999px; padding-top: var(--s-12); }
.panel__img { position: relative; width: 100%; align-self: center; aspect-ratio: 1; }
.panel__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform var(--d-slow) var(--ease); }
.panel:hover .panel__img img { transform: scale(1.05) rotate(-2deg); }
.panel__img .ph { position: absolute; inset: 12%; border-radius: 50%; }
@media (max-width: 47.99em) { .panel { padding: var(--s-4) var(--s-2) var(--s-5); } .panel .pill-label { height: 32px; padding: 0 12px; font-size: 10px; } }

/* editorial cards */
.editorial { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
@media (min-width: 60em) { .editorial { grid-template-columns: repeat(3, 1fr); } }
.ed { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 560px; padding: var(--s-6); border-radius: var(--r-xl); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.ed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.ed::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(18, 16, 14, 0.46), rgba(18, 16, 14, 0) 42%, rgba(18, 16, 14, 0) 60%, rgba(18, 16, 14, 0.4)); }
.ed:hover img { transform: scale(1.04); }
.ed h3 { font-size: clamp(34px, 3.6vw, 52px); }
.ed .btn { align-self: flex-start; }
@media (max-width: 47.99em) { .ed { min-height: 460px; } }

/* value cards + materials */
.values { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
@media (min-width: 60em) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { background: var(--card); border-radius: var(--r-xl); padding: var(--s-8) var(--s-6); display: grid; gap: var(--s-3); align-content: start; }
.value .kicker { font-size: 13px; }
.value p { color: var(--ink-2); }
.materials { display: grid; gap: var(--s-3); grid-template-columns: 1fr; margin-top: var(--s-3); }
@media (min-width: 60em) { .materials { grid-template-columns: repeat(3, 1fr); } .materials > :first-child { grid-column: span 2; } } /* lines up with the value cards above */
.mat { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--card); display: grid; grid-template-rows: 1fr auto; text-decoration: none; }
.mat__img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.mat__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
@media (min-width: 60em) { .materials > :nth-child(2) .mat__img { aspect-ratio: auto; min-height: 240px; } }
.mat:hover .mat__img img { transform: scale(1.03); }
.mat__body { padding: var(--s-5) var(--s-6) var(--s-6); display: grid; gap: var(--s-2); }
.mat__body h3 { font-size: 30px; }
.mat__body p { color: var(--ink-2); }

/* business model, in the same card language */
.model { background: var(--card); border-radius: var(--r-xl); padding: clamp(24px, 4.5vw, 64px); display: grid; gap: var(--s-8); grid-template-columns: 1fr; }
@media (min-width: 60em) { .model { grid-template-columns: 1fr 1.4fr; align-items: start; } }
.model h2 { font-size: clamp(36px, 4.4vw, 60px); margin-top: 12px; }
.model .lede { margin-top: var(--s-4); }
.model__photo { margin-top: var(--s-6); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.model__photo img { width: 100%; height: 100%; object-fit: cover; }
.route { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.route li { display: grid; grid-template-columns: 56px 1fr; gap: var(--s-4); padding: var(--s-5); border-radius: var(--r-lg); background: var(--surface); }
.route .num { font: 500 13px/1 var(--font-mono); letter-spacing: 0.1em; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; }
.route h3 { font: 700 13px/1.3 var(--font-ui); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px; }
.route p { color: var(--ink-2); }
.route .where { display: block; margin-top: 8px; font: 500 11px/1.4 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* size finder */
.finder { background: var(--card); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 56px); display: grid; gap: var(--s-8); grid-template-columns: 1fr; }
@media (min-width: 60em) { .finder { grid-template-columns: 1fr 1fr; } }
.finder h2 { font-size: clamp(32px, 3.6vw, 48px); margin: 12px 0 var(--s-6); }
.finder label { display: block; font: 500 11px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: var(--s-5) 0 var(--s-2); }
.opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opt { height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1.5px solid var(--line-2); background: var(--card); font: 600 14px/1 var(--font-ui); transition: background-color var(--d-fast), border-color var(--d-fast), color var(--d-fast), transform var(--d-fast) var(--ease); }
.opt:hover { border-color: var(--ink); }
.opt:active { transform: scale(0.97); }
.opt[aria-pressed="true"] { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
.select { height: 44px; border-radius: var(--r-pill); border: 1.5px solid var(--line-2); background: var(--card); padding: 0 16px; font-size: 16px; }
.finder__result { background: var(--surface); border-radius: var(--r-lg); padding: var(--s-6); display: grid; gap: var(--s-3); align-content: start; }
.finder__size { font: var(--display-weight) 104px/0.9 var(--font-display); letter-spacing: -0.03em; }
.finder__avail { list-style: none; margin: var(--s-2) 0 0; padding: 0; display: grid; font-size: 15px; }
.finder__avail li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.finder__avail .dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; box-shadow: inset 0 0 0 1px rgba(20, 20, 20, 0.2); }

/* ---------- PLP ---------- */
.plp-hero { position: relative; border-radius: var(--r-xl); overflow: hidden; display: grid; align-items: end; min-height: 320px; color: #fff; isolation: isolate; background: #cfc5b6; }
.plp-hero__media { position: absolute; inset: 0; z-index: -2; }
.plp-hero__media .ph { position: absolute; inset: 0; }
.plp-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 16, 14, 0.55), rgba(18, 16, 14, 0.1) 65%); }
.plp-hero__copy { padding: clamp(24px, 4vw, 48px); display: grid; gap: 10px; max-width: 640px; }
.plp-hero h1 { font-size: clamp(40px, 5.4vw, 72px); color: #fff; }
.plp-hero .lede { color: rgba(255, 255, 255, 0.9); }
.pillnav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: var(--s-5) 0 var(--s-2); }
.pillnav::-webkit-scrollbar { display: none; }
.pill { flex: none; height: 40px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: var(--r-pill); border: 1.5px solid var(--line-2); text-decoration: none; font: 700 12px/1 var(--font-ui); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; background: var(--card); transition: background-color var(--d-fast), color var(--d-fast); }
.pill:hover { border-color: var(--ink); }
.pill[aria-current="true"] { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
.toolbar { position: sticky; top: 86px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: 10px 0; background: var(--page); border-bottom: 1px solid var(--line); margin-bottom: var(--s-5); }
.toolbar__count { font: 500 12px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.toolbar__right { display: flex; gap: var(--s-2); align-items: center; }
.filter-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1.5px solid var(--ink); font: 700 12px/1 var(--font-ui); letter-spacing: 0.1em; text-transform: uppercase; }
.filter-btn .n { background: var(--dark); color: var(--on-dark); border-radius: 10px; padding: 2px 7px; font-size: 11px; }
.plp { display: grid; gap: var(--s-8); grid-template-columns: 1fr; }
@media (min-width: 72em) { .plp { grid-template-columns: 250px 1fr; } #open-filters { display: none; } }
.facets { display: none; position: sticky; top: 150px; align-self: start; max-height: calc(100vh - 170px); overflow: auto; overscroll-behavior: contain; padding-right: 6px; scrollbar-width: thin; }
@media (min-width: 72em) { .facets { display: block; } }
.facet { border-bottom: 1px solid var(--line); padding: var(--s-4) 0; }
.facet h3 { font: 500 11px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-3); }
.facet .opts .opt { height: 36px; padding: 0 12px; font-size: 13px; }
.facet-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.facet-swatches button { display: grid; justify-items: center; gap: 4px; font-size: 12px; color: var(--muted); width: 48px; }
.facet-swatches .swatch { width: 28px; height: 28px; }
.range { width: 100%; accent-color: var(--dark); }
.range-val { display: flex; justify-content: space-between; font: 500 13px/1 var(--font-ui); color: var(--muted); margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--s-4); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 8px 0 14px; border-radius: var(--r-pill); background: var(--card); font: 600 13px/1 var(--font-ui); }
.chip button { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }
.chip button .icon { width: 14px; height: 14px; }
.chip--clear { background: none; text-decoration: underline; padding: 0 8px; }
.grid { display: grid; gap: var(--s-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 60em) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 90em) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 47.99em) { .grid { gap: var(--s-2); } .card__media { margin: 6px 6px 0; } .card__body { padding: 10px 10px 12px; } .card__name { font-size: 12px; } .card__sub { font-size: 14px; } .swatch { width: 18px; height: 18px; } }
.grid-empty { grid-column: 1 / -1; text-align: center; padding: var(--s-16) var(--s-4); display: grid; gap: var(--s-4); justify-items: center; }

/* ---------- PDP ---------- */
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font: 500 11px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: var(--s-3) 0 var(--s-5); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.pdp { display: grid; gap: var(--s-6); grid-template-columns: 1fr; }
@media (min-width: 60em) { .pdp { grid-template-columns: minmax(0, 1.55fr) minmax(380px, 1fr); gap: var(--s-8); } }
.stack { display: grid; gap: var(--s-3); }
.stack .ph { aspect-ratio: 1; border-radius: var(--r-xl); }
.stack .ph:first-child { view-transition-name: product-hero; }
.stack .ph:not(:first-child) { aspect-ratio: 4 / 3; }
@media (max-width: 47.99em) {
  .stack { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: var(--s-2); margin: 0 calc(-1 * var(--px)); padding: 0 var(--px); }
  .stack::-webkit-scrollbar { display: none; }
  .stack .ph, .stack .ph--life { flex: 0 0 88%; scroll-snap-align: center; aspect-ratio: 1; border-radius: var(--r-lg); }
}
.buycard { background: var(--card); border-radius: var(--r-xl); padding: var(--s-8) var(--s-6); align-self: start; }
@media (min-width: 60em) { .buycard { position: sticky; top: 96px; } }
.buycard h1 { font-size: clamp(36px, 3.4vw, 48px); }
.buycard__price { display: flex; align-items: center; gap: var(--s-3); margin: var(--s-3) 0 var(--s-3); flex-wrap: wrap; }
.buycard__price b { font: 600 20px/1 var(--font-ui); }
.pill-free { height: 28px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: var(--r-pill); background: var(--surface); font: 700 11px/1 var(--font-ui); letter-spacing: 0.1em; text-transform: uppercase; }
.rating { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: var(--s-4); }
.rating:hover { color: var(--ink); }
.stars { display: inline-flex; gap: 1px; color: var(--ink); }
.stars svg { width: 15px; height: 15px; }
.buycard__desc { color: var(--ink-2); }
.tabhead { display: flex; justify-content: space-between; align-items: end; margin: var(--s-6) 0 var(--s-3); border-bottom: 1px solid var(--line); }
.tabhead > span:first-child { font: 500 11px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-bottom: -1px; }
.tabhead > span:last-child { font-size: 14px; color: var(--muted); padding-bottom: 10px; }
.colorways { display: flex; gap: 10px; flex-wrap: wrap; }
.colorways a { display: grid; gap: 6px; justify-items: center; text-decoration: none; font-size: 12px; color: var(--muted); width: 64px; }
.colorways .ph { width: 60px; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow var(--d-fast); }
.colorways .ph__chip { width: 64%; transform: translate(-50%, -50%); }
.colorways a[aria-current="true"] .ph { box-shadow: 0 0 0 2px var(--card), 0 0 0 3.5px var(--ink); }
.colorways a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
@media (min-width: 30em) { .sizes { grid-template-columns: repeat(6, 1fr); } }
.sizes--3 { grid-template-columns: repeat(3, 1fr) !important; }
.size { position: relative; height: 50px; border-radius: var(--r-md); border: 1.5px solid var(--line-2); background: var(--card); display: grid; place-items: center; align-content: center; font: 600 15px/1 var(--font-ui); transition: border-color var(--d-fast), background-color var(--d-fast), color var(--d-fast), transform var(--d-fast) var(--ease); overflow: hidden; }
.size:hover:not([aria-disabled="true"]) { border-color: var(--ink); }
.size:active:not([aria-disabled="true"]) { transform: scale(0.97); }
.size small { display: block; font: 500 10px/1 var(--font-ui); color: var(--low); margin-top: 4px; }
.size[aria-checked="true"] { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
.size[aria-checked="true"] small { color: var(--on-dark); }
.size[aria-disabled="true"] { color: var(--faint); cursor: not-allowed; background: linear-gradient(to top right, transparent calc(50% - 0.75px), var(--line-2), transparent calc(50% + 0.75px)); }
.shake { animation: shake 440ms var(--ease); }
@keyframes shake { 0%, 100% { transform: none; } 25% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.fit { display: flex; justify-content: space-between; gap: 12px; margin-top: var(--s-3); font-size: 15px; color: var(--ink-2); }
.fit a { white-space: nowrap; font-weight: 600; }
.atc { margin-top: var(--s-5); }
.atc .btn.is-added { background: var(--ok); color: #fff; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.delivery { margin-top: var(--s-3); text-align: center; font-size: 14px; color: var(--ink-2); display: grid; gap: 4px; }
.buycard .upsell { margin: var(--s-5) 0 0; }
.acc { margin-top: var(--s-5); border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font: 700 12px/1 var(--font-ui); letter-spacing: 0.12em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 20px; font-weight: 300; transition: transform var(--d-base) var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .acc__body { padding: 0 0 16px; color: var(--ink-2); display: grid; gap: 10px; font-size: 15px; }
.pdp-material { display: grid; grid-template-columns: 1fr; background: var(--card); border-radius: var(--r-xl); overflow: hidden; }
@media (min-width: 60em) { .pdp-material { grid-template-columns: 1.3fr 1fr; align-items: center; } }
.pdp-material img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.pdp-material__body { padding: var(--s-6) var(--s-8) var(--s-8); display: grid; gap: var(--s-3); }
.pdp-material__body h2 { font-size: clamp(30px, 3vw, 42px); }
.pdp-material__body p { color: var(--ink-2); }
.reviews { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
@media (min-width: 60em) { .reviews { grid-template-columns: 320px 1fr; } }
.reviews__sum { background: var(--card); border-radius: var(--r-xl); padding: var(--s-8) var(--s-6); display: grid; gap: var(--s-2); align-content: start; }
.reviews__avg { font: var(--display-weight) 72px/1 var(--font-display); letter-spacing: -0.02em; }
.reviews__list { display: grid; gap: var(--s-3); }
.review { background: var(--card); border-radius: var(--r-lg); padding: var(--s-5) var(--s-6); display: grid; gap: 6px; }
.review h3 { font: 700 15px/1.3 var(--font-ui); }
.review p { color: var(--ink-2); }
.review .meta { font: 500 11px/1.4 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.sticky-atc { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 65; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-radius: var(--r-pill); background: var(--card); box-shadow: var(--shadow-3); transform: translateY(calc(100% + 40px)); visibility: hidden; transition: transform var(--d-slow) var(--ease), visibility 0s linear var(--d-slow); }
.sticky-atc.is-on { transform: none; visibility: visible; transition: transform var(--d-slow) var(--ease), visibility 0s; }
.sticky-atc__txt { flex: 1; min-width: 0; font: 700 12px/1.3 var(--font-ui); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-atc__txt span { display: block; font: 500 13px/1.3 var(--font-ui); letter-spacing: 0; text-transform: none; color: var(--muted); }
.sticky-atc .btn { height: 44px; padding: 0 18px; }
@media (min-width: 60em) { .sticky-atc { display: none; } }

/* ---------- how it works ---------- */
.how-hero { padding: var(--s-8) 0; display: grid; gap: var(--s-6); grid-template-columns: 1fr; align-items: end; }
@media (min-width: 60em) { .how-hero { grid-template-columns: 1.2fr 1fr; } }
.how-hero h1 { font-size: clamp(48px, 7vw, 104px); margin-top: 12px; }
.how-banner { margin: 0 0 var(--s-3); border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21 / 9; background: var(--surface); }
.how-banner img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 47.99em) { .how-banner { aspect-ratio: 4 / 3; } }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); margin: 0 0 var(--s-12); }
@media (min-width: 60em) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts div { background: var(--card); border-radius: var(--r-lg); padding: var(--s-5) var(--s-5) var(--s-6); }
.facts dt { font: 500 11px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 12px 0 0; font: var(--display-weight) 24px/1.2 var(--font-display); letter-spacing: var(--display-tracking); }
.prose-layout { display: grid; gap: var(--s-10); grid-template-columns: 1fr; }
@media (min-width: 60em) { .prose-layout { grid-template-columns: 280px minmax(0, 1fr); gap: var(--s-3); } } /* spans the full page width, like the banner above */
.toc { position: sticky; top: 100px; align-self: start; display: none; }
@media (min-width: 60em) { .toc { display: block; } }
.toc ol { list-style: none; margin: 0; padding: var(--s-3); display: grid; gap: 2px; background: var(--card); border-radius: var(--r-xl); }
.toc a { display: block; padding: 11px 16px; border-radius: var(--r-pill); text-decoration: none; color: var(--muted); font: 600 12px/1.3 var(--font-ui); letter-spacing: 0.08em; text-transform: uppercase; transition: color var(--d-fast), background-color var(--d-base); }
.toc a:hover { color: var(--ink); background: var(--surface); }
.toc a.is-active { color: #fff; background: #212121; }
.prose section { background: var(--card); border-radius: var(--r-xl); padding: var(--s-8); margin-bottom: var(--s-3); }
.prose h2 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: clamp(30px, 3vw, 40px); margin-bottom: var(--s-4); }
.prose p { font-size: 17px; line-height: 1.65; color: var(--ink-2); max-width: 72ch; }
.prose p + p { margin-top: var(--s-3); }
.prose .ph { aspect-ratio: 16 / 9; border-radius: var(--r-lg); margin-top: var(--s-6); }
.numbered { counter-reset: n; list-style: none; margin: 0 0 var(--s-4); padding: 0; display: grid; gap: var(--s-3); }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 40px 1fr; gap: 10px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.numbered li::before { content: counter(n); width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font: 500 12px/1 var(--font-mono); color: var(--ink); }
.pay-list { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: grid; gap: var(--s-2); }
.pay-list li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface); }
@media (max-width: 47.99em) { .prose section { padding: var(--s-6) var(--s-5); } }
.panel__img img { filter: brightness(1.08); }

.mat__img--pack { background: #EFEBE5; }
.mat__img--pack img { object-fit: cover; object-position: 50% 82%; }

/* category tiles: products cut out of their packshots, floating on the panel colour */
.panel__img--cut img { object-fit: contain; mix-blend-mode: normal; filter: drop-shadow(0 16px 18px rgba(40, 30, 20, 0.16)); }
.how-photo { margin: var(--s-6) 0 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface); }
.how-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Product page: the details settle in one after another as the photo lands */
@keyframes settle { from { opacity: 0; transform: translateY(10px); } }
.buycard.settle > * { animation: settle 520ms var(--ease) both; }
.buycard.settle > :nth-child(2) { animation-delay: 40ms; } .buycard.settle > :nth-child(3) { animation-delay: 80ms; } .buycard.settle > :nth-child(4) { animation-delay: 120ms; }
.buycard.settle > :nth-child(5) { animation-delay: 160ms; } .buycard.settle > :nth-child(6) { animation-delay: 200ms; } .buycard.settle > :nth-child(n+7) { animation-delay: 240ms; }

/* Careers (hosted site only) */
.role { display: grid; gap: var(--s-3); grid-template-columns: 1fr; margin: 0 0 var(--s-3); }
@media (min-width: 60em) { .role { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.role__photo { margin: 0; border-radius: var(--r-xl); overflow: hidden; min-height: 320px; background: var(--surface); }
.role__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.role__text { background: var(--card); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 56px); display: grid; gap: var(--s-3); align-content: center; }
.role__text h2, .join h2 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: clamp(30px, 3vw, 44px); }
.role__text p { font-size: 17px; line-height: 1.65; color: var(--ink-2); max-width: 60ch; }
.role__list { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: 16px; line-height: 1.5; }
.join { background: var(--card); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 56px); margin: 0 0 var(--s-3); }
.join__steps { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
@media (min-width: 60em) { .join__steps { grid-template-columns: repeat(3, 1fr); } }
.join__step { background: var(--surface); border-radius: var(--r-lg); padding: var(--s-6); display: grid; gap: 10px; align-content: start; }
.join__n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--dark); color: var(--on-dark); font: 600 14px/1 var(--font-ui); }
.join__step h3 { font: var(--display-weight) 24px/1.2 var(--font-display); letter-spacing: var(--display-tracking); }
.join__step p { color: var(--ink-2); line-height: 1.55; }
.join__cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.finn-quote { margin: var(--s-12) 0 var(--s-16); text-align: center; }
.finn-quote blockquote { margin: 0; font: var(--display-weight) clamp(40px, 6vw, 84px)/1.02 var(--font-display); letter-spacing: var(--display-tracking); }
.finn-quote figcaption { margin-top: var(--s-3); color: var(--muted); font-size: 17px; }

