/* Trintee preview, v2. Editorial: ivory page, espresso ink, deep bordô signature (the red lining of the Sapato Anna). */
:root {
  --ivory: #f8f4ee;
  --paper: #fffdf9;
  --tile: #ece4d8;
  --sand: #ece2d5;
  --blush: #f2dccb;
  --ink: #1e1512;
  --muted: #5f4b3f;
  --bordo: #5e1521;
  --bordo-2: #7a1f2b;
  --line: #dccfc0;
  --line-strong: #b9a794;
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1360px;
  --gutter: clamp(1.25rem, 3vw, 3rem);
  --hh: 86px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { background: var(--ink); font-size: 112.5%; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hh) + 1rem); }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 1rem/1.6 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, figure, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.012em; line-height: 1.04; font-variant-numeric: lining-nums; }
h2 { font-size: clamp(2.3rem, 4.2vw, 3.7rem); }
h1 em, h2 em { font-style: italic; font-weight: 400; }
h1, h2, h3, .sec-head p, .chapter p, .quote blockquote, .hero-panel > p, .lede { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--bordo-2); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 99; background: var(--ink); color: var(--ivory); padding: .6rem 1rem; }
.skip:focus { left: 1rem; }
.only-sm { display: none !important; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.fill { fill: currentColor; stroke: none; }

/* scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 56px; padding: .8rem 2rem; border: 0; border-radius: 999px; background: var(--bordo); color: var(--ivory); font-weight: 500; font-size: 1.05rem; letter-spacing: .01em; text-decoration: none; transition: background .25s, color .25s, transform .25s; }
.btn:hover { background: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn-light { background: var(--ivory); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--bordo); }
.btn-line { background: none; color: var(--ivory); box-shadow: inset 0 0 0 1px rgb(248 244 238 / .65); }
.btn-line:hover { background: var(--ivory); color: var(--bordo); }
.ulink { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; padding: 0; border: 0; background: none; font-weight: 500; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1px; background-position: 0 calc(50% + .72em); background-repeat: no-repeat; transition: background-size .35s var(--ease); }
a:hover > .ulink, .ulink:hover { background-size: 35% 1px; }
.stars { display: inline-flex; gap: 2px; color: #a8702f; }
.stars svg { width: 18px; height: 18px; }

/* announcement and header */
.announce { background: var(--ink); color: var(--ivory); font-size: .9rem; letter-spacing: .03em; }
.announce p { display: flex; justify-content: center; gap: 3rem; padding: .6rem 1rem; }
.header { position: sticky; top: 0; z-index: 30; background: rgb(248 244 238 / .93); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; min-height: var(--hh); padding-inline: var(--gutter); }
.logo img { height: 66px; width: auto; }
.nav { display: flex; gap: clamp(.7rem, 1.3vw, 1.4rem); font-size: .9rem; font-weight: 500; letter-spacing: .02em; }
.nav a { text-decoration: none; padding: .5rem 0; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .3s var(--ease); white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { background-size: 100% 1px; }
.nav a.sale { color: var(--bordo-2); }
.header-icons { display: flex; justify-content: flex-end; gap: .1rem; }
.icon-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 0; background: none; border-radius: 50%; transition: background .2s; }
.icon-btn:hover { background: var(--sand); }

/* mobile drawer */
.drawer { margin: 0; width: min(88vw, 400px); height: 100dvh; max-height: none; padding: 1.25rem; border: 0; background: var(--ivory); color: var(--ink); }
.drawer::backdrop, .modal::backdrop { background: rgb(30 21 18 / .5); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-head img { height: 48px; width: auto; }
.drawer-search input { width: 100%; margin: 1.25rem 0 .5rem; padding: .95rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font: inherit; }
.drawer nav a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 1.9rem; text-decoration: none; }
.drawer-help { display: grid; gap: .9rem; margin-top: 1.5rem; }
.drawer-help a { display: flex; align-items: center; gap: .6rem; font-weight: 500; text-decoration: none; }

/* hero: image, signature panel, image */
.hero { display: grid; grid-template-columns: minmax(420px, .6fr) 1fr; height: min(calc(100svh - 128px), 800px); min-height: 560px; background: var(--bordo); }
.hero-img { position: relative; display: block; overflow: hidden; color: #fff; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 80%; animation: settle 2.2s var(--ease) both; }
.hero-img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 28%; background: linear-gradient(to top, rgb(30 21 18 / .55), transparent); }
.hero-tag { position: absolute; right: 1.6rem; bottom: 1.4rem; z-index: 1; font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: .5rem .85rem; background: rgb(30 21 18 / .78); }
.hero-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(2rem, 4vw, 4.5rem); color: var(--ivory); }
.hero-panel > * { animation: rise 1.1s var(--ease) both; }
.hero-panel > :nth-child(2) { animation-delay: .12s; }
.hero-panel > :nth-child(3) { animation-delay: .24s; }
.hero-panel > :nth-child(4) { animation-delay: .36s; }
.hero-since { display: flex; flex-direction: column; align-items: center; gap: .9rem; margin-bottom: 1.6rem; font-size: .74rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: rgb(248 244 238 / .8); }
.hero-since img { width: 44px; height: auto; }
.hero h1 { font-size: clamp(3rem, 5.1vw, 5.2rem); line-height: .98; }
.hero-panel > p:not(.hero-since) { margin-top: 1.4rem; max-width: 27ch; font-size: 1.1rem; color: rgb(248 244 238 / .86); }
.actions { display: flex; flex-direction: column; align-items: stretch; gap: .7rem; margin-top: 2.1rem; min-width: 240px; }
@keyframes settle { from { transform: scale(1.07); } to { transform: none; } }
/* transform only: the headline must never depend on an animation to be visible */
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }

/* assurances */
.assure { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.assure li { display: flex; align-items: center; justify-content: center; gap: .7rem; padding: 1.2rem .8rem; font-size: .88rem; }
.assure li + li { border-left: 1px solid var(--line); }
.assure svg { color: var(--bordo-2); }
.assure strong { font-weight: 600; }
.assure span { color: var(--muted); }
.assure-note { margin-top: .5rem; text-align: right; font-size: .85rem; color: var(--muted); }

/* sections */
.section { padding-top: clamp(4.5rem, 9vw, 8rem); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: clamp(1.8rem, 3vw, 2.8rem); }
.sec-head-center { flex-direction: column; align-items: center; text-align: center; gap: .8rem; }
.sec-head p { color: var(--muted); font-size: 1.1rem; }
.sec-tools { display: flex; align-items: center; gap: 1.5rem; }
.rail-arrows { display: flex; gap: .5rem; }
.arrow-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: none; transition: background .2s, color .2s, border-color .2s; }
.arrow-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--ivory); }

/* one grade and one grain on every campaign image */
.hero-img img, .chapter img, .heritage-media img, .cat-hero-media img, .insta-grid img { filter: saturate(.9) sepia(.07) contrast(1.03); }
.chapter figure, .insta-grid a { position: relative; }
.hero-img::before, .chapter figure::after, .heritage-media::after, .cat-hero-media::after, .insta-grid a::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5; mix-blend-mode: soft-light; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* chapters */
.chapter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 2rem); }
.chapter { display: flex; flex-direction: column; text-decoration: none; }
.chapter .ulink { margin-top: auto; align-self: flex-start; }
.chapter figure { aspect-ratio: 4 / 5; overflow: hidden; background: var(--tile); }
.chapter img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.chapter:hover img { transform: scale(1.045); }
.chapter h3 { margin-top: 1.3rem; font-size: clamp(1.8rem, 2.4vw, 2.3rem); }
.chapter p { margin: .5rem 0 .6rem; color: var(--muted); max-width: 34ch; }

/* product cards: one per model, colors as swatches */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem 1.5rem; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((min(var(--wrap), 100vw - 2 * var(--gutter)) - 3.75rem) / 4); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(var(--gutter), (100vw - var(--wrap)) / 2); scroll-padding-inline: max(var(--gutter), (100vw - var(--wrap)) / 2); }
.rail::-webkit-scrollbar { display: none; }
.rail { --peek: max(var(--gutter), (100vw - var(--wrap)) / 2); -webkit-mask-image: linear-gradient(to right, #000 calc(100% - var(--peek)), transparent); mask-image: linear-gradient(to right, #000 calc(100% - var(--peek)), transparent); }
.rail > * { scroll-snap-align: start; }
.card { min-width: 0; }
.card[hidden] { display: none; }
.card-media { position: relative; display: block; aspect-ratio: 1 / 1.04; overflow: hidden; background: var(--tile); }
.card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .55s var(--ease), transform 1.4s var(--ease); }
.pack { mix-blend-mode: multiply; }
.card-img.pack { object-fit: cover; }
.card-img-alt { opacity: 0; }
.card:hover .card-img:not(.card-img-alt) { opacity: 0; }
.card:hover .card-img-alt { opacity: 1; transform: scale(1.03); }
.tag { position: absolute; left: .75rem; bottom: .75rem; padding: .28rem .7rem; background: var(--ivory); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.card-info { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "name name" "price terms" "dots dots"; align-items: baseline; gap: .1rem .6rem; margin-top: .85rem; }
.card-name { grid-area: name; font-size: 1rem; font-weight: 500; line-height: 1.4; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-name:hover { text-decoration: underline; }
.card-price { grid-area: price; font-size: 1.04rem; font-weight: 600; white-space: nowrap; }
.card-terms { grid-area: terms; font-size: .86rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dots { grid-area: dots; display: flex; align-items: center; min-height: 32px; margin-left: -7px; }
.dot { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: none; }
.dot span { width: 17px; height: 17px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(30 21 18 / .18); transition: box-shadow .2s; }
.dot[aria-pressed="true"] span { box-shadow: 0 0 0 2px var(--ivory), 0 0 0 3.5px var(--ink); }
.dot-static { cursor: default; }
.card-color { margin-left: .3rem; font-size: .86rem; color: var(--muted); }

/* product page campaign band */
.band { position: relative; margin-top: clamp(3.5rem, 7vw, 6rem); }
.band img { width: 100%; height: auto; max-height: 78vh; object-fit: cover; }
.band-caption { padding: .7rem var(--gutter) 0; font-size: .82rem; color: var(--muted); text-align: right; }

/* anatomy of a shoe */
.anatomy { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; margin-top: clamp(4.5rem, 9vw, 8rem); background: var(--sand); }
.anatomy-stage { padding: clamp(2rem, 4vw, 4rem) clamp(.5rem, 2vw, 2rem); }
.anatomy-shoe { position: relative; aspect-ratio: 1 / .66; background: var(--sand); }
.anatomy-shoe img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; mix-blend-mode: multiply; }
.spots { margin: 0; padding: 0; list-style: none; }
.spot, .num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); color: var(--bordo); font-size: .82rem; font-weight: 600; line-height: 1; box-shadow: 0 0 0 1px var(--bordo-2), 0 4px 14px rgb(30 21 18 / .18); }
.spot { position: absolute; left: var(--x); top: var(--y); margin: -15px 0 0 -15px; }
.num { margin-right: .7rem; box-shadow: 0 0 0 1px var(--bordo-2); background: none; flex: none; }
.anatomy-text { padding: clamp(3rem, 6vw, 6rem) var(--gutter) clamp(3rem, 6vw, 6rem) clamp(1rem, 3vw, 3rem); max-width: 620px; }
.lede { margin-top: 1.2rem; font-size: 1.12rem; color: var(--muted); }
.feats { margin: 1.8rem 0 2.2rem; border-top: 1px solid var(--line-strong); }
.feats div { display: grid; grid-template-columns: 1fr; gap: .25rem; padding: .95rem 0; border-bottom: 1px solid var(--line-strong); }
.feats dt { display: flex; align-items: center; font-weight: 600; }
.feats dd { color: var(--muted); padding-left: calc(30px + .7rem); }

/* heritage */
.heritage { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(4.5rem, 9vw, 8rem); background: var(--ink); color: var(--ivory); }
.heritage-media { position: relative; min-height: 580px; overflow: hidden; background: var(--ink); }
.heritage-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0% 60%; }
.heritage-text { align-self: center; padding: clamp(3rem, 7vw, 7rem); max-width: 680px; }
.crest { width: 48px; height: auto; margin-bottom: 1.8rem; }
.heritage-text p { margin: 1.4rem 0 1.2rem; font-size: 1.12rem; color: rgb(248 244 238 / .82); max-width: 44ch; }

/* quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); }
.quote { padding: .5rem clamp(1.2rem, 3vw, 3rem); text-align: center; }
.quote + .quote { border-left: 1px solid var(--line); }
.quote blockquote { margin: 1.1rem 0 1.2rem; font-family: var(--display); font-weight: 500; font-variant-numeric: lining-nums; font-size: clamp(1.5rem, 2.1vw, 1.9rem); line-height: 1.25; }
.quote figcaption { color: var(--muted); font-size: .95rem; }

/* instagram */
.insta h2 { font-size: clamp(2.1rem, 3.4vw, 3rem); }
.insta { padding-bottom: clamp(3rem, 6vw, 5rem); }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.insta-grid a { aspect-ratio: 1; overflow: hidden; }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.insta-grid a:hover img { transform: scale(1.06); }

/* footer */
.footer { margin-top: clamp(4.5rem, 9vw, 8rem); padding-top: clamp(3.5rem, 6vw, 5.5rem); background: var(--ink); color: var(--ivory); }
.page-home .footer { margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 6vw, 6rem); }
.footer-news h2 { font-size: clamp(2.2rem, 3.4vw, 3.1rem); }
.footer-news p { margin-top: .7rem; color: rgb(248 244 238 / .75); }
.news-form { display: flex; gap: .8rem; margin-top: 1.8rem; max-width: 480px; border-bottom: 1px solid rgb(248 244 238 / .5); }
.news-form input { flex: 1; min-width: 0; min-height: 54px; border: 0; background: none; color: var(--ivory); font: inherit; }
.news-form input::placeholder { color: rgb(248 244 238 / .6); }
.news-form input:focus { outline: none; }
.news-form:focus-within { border-color: var(--ivory); }
.news-form button { border: 0; background: none; color: var(--ivory); font-weight: 600; min-height: 54px; padding: 0 .3rem; }
.footer-cols { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 2rem; }
.fcol summary { margin-bottom: 1rem; font-size: .84rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; list-style: none; pointer-events: none; }
.fcol summary::-webkit-details-marker { display: none; }
.fcol p { margin-bottom: .55rem; }
.fcol a { color: rgb(248 244 238 / .82); text-decoration: none; white-space: nowrap; }
.fcol a:hover { color: #fff; text-decoration: underline; }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: .9rem; margin-top: clamp(2.2rem, 4vw, 3.2rem); padding-top: clamp(2.2rem, 4vw, 3.2rem); border-top: 1px solid rgb(248 244 238 / .16); text-align: center; }
.footer-brand img { height: 92px; width: auto; }
.footer-brand p { font-family: var(--display); font-style: italic; font-size: 1.35rem; color: rgb(248 244 238 / .85); }
.social { display: flex; gap: .4rem; }
.social .icon-btn:hover { background: rgb(248 244 238 / .12); }
.footer-legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; padding-block: 1.4rem 1.8rem; border-top: 1px solid rgb(248 244 238 / .16); font-size: .88rem; color: rgb(248 244 238 / .65); }
.footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.whats-float { position: fixed; right: 1.25rem; bottom: calc(1.25rem + var(--preview-bar-h, 0px)); z-index: 40; display: flex; align-items: center; gap: .5rem; padding: .75rem 1.15rem .75rem .9rem; border-radius: 999px; background: #1f6f4a; color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 8px 24px rgb(0 0 0 / .2); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s, visibility .3s, bottom .25s; }
.show-float .whats-float { opacity: 1; visibility: visible; transform: none; }

/* category */
.crumbs { display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; font-size: .9rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs-top { justify-content: flex-start; padding-block: 1.1rem; color: var(--muted); }
.cat-hero { display: grid; grid-template-columns: 1fr 1.3fr; min-height: 390px; border-bottom: 1px solid var(--line); }
.cat-hero-text { align-self: center; padding: 2.2rem 2.5rem 2.4rem max(var(--gutter), (100vw - var(--wrap)) / 2); }
.cat-hero .crumbs { justify-content: flex-start; color: var(--muted); }
.cat-hero h1 { margin: .9rem 0 .8rem; font-size: clamp(3.4rem, 6vw, 5.2rem); }
.cat-hero-text > p:last-child { max-width: 34ch; font-size: 1.08rem; color: var(--muted); text-wrap: balance; }
.cat-hero-media { position: relative; overflow: hidden; background: var(--tile); }
.cat-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; animation: settle 2.2s var(--ease) both; }
.filterbar { position: sticky; top: var(--hh); z-index: 20; background: rgb(248 244 238 / .95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.filterbar-row { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: .8rem; }
.chips { display: flex; gap: .5rem; }
.chip { min-height: 44px; padding: 0 1.15rem; border: 1px solid var(--line); border-radius: 999px; background: none; font-size: .92rem; font-weight: 500; white-space: nowrap; transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--ivory); }
.fdots { display: flex; align-items: center; }
.fdots-label { margin-right: .6rem; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.fdot { display: inline-grid; place-items: center; width: 36px; height: 44px; padding: 0; border: 0; background: none; }
.fdot span { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(30 21 18 / .18); transition: box-shadow .2s; }
.fdot[aria-pressed="true"] span { box-shadow: 0 0 0 2px var(--ivory), 0 0 0 3.5px var(--ink); }
.filterbar-right { display: flex; align-items: center; gap: 1.2rem; }
.count { color: var(--muted); font-size: .95rem; white-space: nowrap; }
.sort select { min-height: 44px; padding: 0 2.3rem 0 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e1512' stroke-width='1.8'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .8rem center / 16px; font: inherit; font-size: .92rem; font-weight: 500; color: var(--ink); appearance: none; }
.cat-grid { padding-top: clamp(2rem, 4vw, 3.2rem); }
.grid-feature { display: flex; flex-direction: column; background: var(--bordo); color: var(--ivory); text-decoration: none; overflow: hidden; }
.grid-feature[hidden] { display: none; }
.feature-photo { position: relative; flex: 1 1 0; min-height: 0; overflow: hidden; }
.feature-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; filter: saturate(.9) sepia(.07) contrast(1.03); transition: transform 1.4s var(--ease); }
.grid-feature:hover .feature-photo img { transform: scale(1.045); }
.feature-text { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; padding: clamp(1.1rem, 1.7vw, 1.6rem); }
.grid-feature .stars { color: #e3b780; }
.feature-top { display: flex; align-items: center; gap: .7rem; font-size: .9rem; color: rgb(248 244 238 / .85); }
.grid-feature .ulink { white-space: normal; }
.grid-feature h2 { font-size: clamp(1.6rem, 2.1vw, 2.1rem); line-height: 1.05; }
.empty { padding: 3rem 0; text-align: center; color: var(--muted); }
.grid-help { display: none; }
.fit-by { font-size: .95rem; }
.grid-end { text-wrap: balance; margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.6rem; border-top: 1px solid var(--line); text-align: center; color: var(--muted); }
.help-band { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-top: clamp(3rem, 6vw, 5rem); padding: clamp(2rem, 4vw, 3.5rem); background: var(--sand); }
.help-band h2 { font-size: clamp(2rem, 3.2vw, 2.9rem); }
.help-band p { margin-top: .5rem; color: var(--muted); }

/* product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr); align-items: start; border-top: 1px solid var(--line); }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.shot { aspect-ratio: 1; overflow: hidden; background: var(--tile); }
.shot-wide { grid-column: span 2; aspect-ratio: 1 / .62; }
.shots .shot-wide img.pack { object-fit: contain; padding: 4% 12%; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot img.pack { object-fit: contain; padding: 8%; }
.shot img.bleed { object-fit: cover; padding: 0; }
.buy { position: sticky; top: var(--hh); }
.buy-inner { max-width: 600px; padding: clamp(1.5rem, 2.6vw, 2.3rem) clamp(1.5rem, 4vw, 4.2rem) 3rem; }
.buy h1 { font-size: clamp(2.6rem, 3.8vw, 3.7rem); }
.rating { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; margin-top: .5rem; color: var(--muted); font-size: .95rem; text-decoration: none; }
.rating:hover span:last-child { text-decoration: underline; }
.price { margin-top: 1rem; font-size: 1.9rem; font-weight: 500; }
.terms { color: var(--muted); }
.terms strong { color: var(--bordo); font-weight: 600; white-space: nowrap; }
.opt { margin-top: 1.35rem; }
.opt-row { display: flex; justify-content: space-between; align-items: center; }
.opt-label { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.opt-label strong { margin-left: .5rem; font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 1rem; color: var(--muted); }
.colors { display: flex; gap: .6rem; margin-top: .7rem; }
.color-opt { display: block; width: 84px; height: 84px; background: var(--tile); border: 1.5px solid transparent; }
.color-opt img { width: 100%; height: 100%; object-fit: contain; }
.color-opt[aria-current="true"] { border-color: var(--ink); }
.sizes { display: grid; grid-template-columns: repeat(7, 1fr); gap: .4rem; margin-top: .4rem; }
.size { min-height: 54px; border: 1px solid var(--line-strong); border-radius: 0; background: none; font-size: 1.05rem; font-weight: 500; transition: border-color .2s, background .2s, color .2s; }
.size:hover { border-color: var(--ink); }
.size[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.foot { margin-top: .7rem; font-size: 1rem; color: var(--muted); min-height: 3em; }
.btn-buy { width: 100%; min-height: 62px; margin-top: 1rem; font-size: 1.12rem; }
.ship-note { margin-top: .8rem; font-size: .95rem; color: var(--muted); }
.perks a { text-decoration: underline; text-underline-offset: 3px; }
.whats-link { display: flex; align-items: center; justify-content: flex-start; gap: .55rem; min-height: 52px; margin-top: .4rem; font-weight: 500; text-decoration: none; }
.whats-link:hover { text-decoration: underline; }
.perks { display: grid; gap: .75rem; margin-top: 1.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: 1rem; }
.perks li { display: flex; align-items: center; gap: .8rem; }
.perks svg { color: var(--bordo-2); }
.details { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.details details { border-bottom: 1px solid var(--line); }
.details summary { display: flex; justify-content: space-between; align-items: center; padding: 1.15rem 0; font-weight: 600; font-size: 1.02rem; cursor: pointer; list-style: none; }
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: "+"; font-size: 1.5rem; font-weight: 300; line-height: 1; }
.details details[open] summary::after { content: "\2212"; }
.details details > *:not(summary) { padding-bottom: 1.3rem; color: var(--muted); }
.specs { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.5rem; }
.specs dt { font-weight: 600; color: var(--ink); }
.reviews-sec { display: grid; grid-template-columns: .8fr 1.6fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.reviews-summary { position: sticky; top: calc(var(--hh) + 2rem); }
.score { margin: 1.2rem 0 .8rem; font-family: var(--display); font-size: 5.5rem; line-height: 1; font-variant-numeric: lining-nums; }
.reviews-summary > p:not(.score) { margin-top: .6rem; color: var(--muted); }
.reviews-summary > p.fit-quote { font-variant-numeric: lining-nums; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-family: var(--display); font-style: italic; font-size: 1.5rem; line-height: 1.3; color: var(--ink); }
.review { padding: 1.7rem 0; border-bottom: 1px solid var(--line); }
.reviews-list > .reviews > .review:first-child { padding-top: 0; }
.review > p:not(.review-by) { margin-top: .7rem; font-family: var(--display); font-weight: 500; font-variant-numeric: lining-nums; font-size: 1.5rem; line-height: 1.3; }
.review-by { margin-top: .7rem; color: var(--muted); font-size: .95rem; }
.reviews-more summary { list-style: none; padding-top: 1.2rem; cursor: pointer; }
.reviews-more summary::-webkit-details-marker { display: none; }
.reviews-more[open] summary { display: none; }
.swipe-bar { display: none; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: var(--preview-bar-h, 0px); z-index: 45; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 1.25rem calc(.8rem + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgb(30 21 18 / .1); }
.sticky-buy[hidden] { display: none; }
.sticky-buy .btn { min-height: 52px; }
.sticky-name { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.sticky-price { font-weight: 600; }
.sticky-price span { font-weight: 400; color: var(--muted); font-size: .92rem; }
.modal { width: min(92vw, 520px); padding: 2rem; border: 0; background: var(--ivory); color: var(--ink); }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8rem; }
.modal-head h2 { font-size: 2.2rem; }
.modal > p { color: var(--muted); }
.size-table { width: 100%; margin-top: 1.2rem; border-collapse: collapse; }
.size-table th, .size-table td { padding: .7rem .4rem; border-bottom: 1px solid var(--line); text-align: left; }

/* tablet */
@media (max-width: 1320px) {
  .nav a:nth-child(4) { display: none; }
  .count { display: none; }
}
@media (max-width: 1180px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail { grid-auto-columns: calc((100vw - 2 * var(--gutter) - 2.5rem) / 3); }
  .fdots-label { display: none; }
}

/* mobile */
@media (max-width: 900px) {
  :root { --hh: 68px; --gutter: 1.25rem; }
  html { font-size: 106.25%; }
  .hide-sm { display: none !important; }
  .only-sm { display: inline-grid !important; }
  .announce p { padding-block: .55rem; }
  .header-row { gap: .5rem; padding-inline: .5rem; }
  .header-left { display: flex !important; }
  .logo img { height: 58px; }
  .hero { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .hero-img { order: -1; height: 40svh; min-height: 270px; max-height: 350px; }
  .hero-img img { object-position: 0% 100%; }
  .hero-tag { right: 1.25rem; }
  .hero-panel { padding: 1.8rem 1.5rem 1.7rem; }
  .hero-since { margin-bottom: 1rem; }
  .hero-since img { display: none; }
  .hero h1 { font-size: 2.9rem; }
  .hero-panel > p:not(.hero-since) { margin-top: 1rem; font-size: 1.05rem; max-width: 30ch; }
  .actions { margin-top: 1.5rem; width: 100%; }
  .actions .btn { width: 100%; }
  .actions { gap: .2rem; }
  .actions .btn-line { min-height: 46px; box-shadow: none; background: none; text-decoration: underline; text-underline-offset: 5px; }
  .assure { grid-template-columns: 1fr 1fr; }
  .assure li { flex-direction: column; gap: .4rem; padding: 1.1rem .5rem; text-align: center; font-size: .94rem; line-height: 1.35; }
  .assure li:nth-child(3) { border-left: 0; }
  .assure li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .assure span { display: block; }
  .assure-note { text-align: center; }
  .sec-head { align-items: baseline; flex-wrap: wrap; gap: .2rem 1.5rem; }
  .sec-head-center { align-items: center; }
  .section { padding-top: 3.8rem; }
  .chapter-grid { display: flex; gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -1.25rem; padding-inline: 1.25rem; scroll-padding-inline: 1.25rem; scrollbar-width: none; }
  .chapter-grid::-webkit-scrollbar { display: none; }
  .chapter { flex: 0 0 80%; scroll-snap-align: start; }
  .chapter p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  .chapter:last-child { margin-right: 3rem; }
  .js .chapter.reveal { opacity: 1; transform: none; }
  .chapter h3 { margin-top: 1rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.9rem .75rem; }
  .rail { grid-auto-columns: 47%; gap: .7rem; }
  .rail, .chapter-grid, .quotes { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 3.4rem), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 3.4rem), transparent); }
  .rail.at-end, .chapter-grid.at-end, .quotes.at-end { -webkit-mask-image: none; mask-image: none; }
  .swipe-bar { display: block; height: 2px; margin-top: 1.1rem; background: var(--line); }
  .rail + .swipe-bar { margin-inline: 1.25rem; }
  .swipe-bar span { display: block; height: 100%; width: 30%; background: var(--ink); transition: transform .15s linear; }
  .card-info { gap: .05rem .5rem; margin-top: .7rem; grid-template-areas: "name name" "price price" "terms terms" "dots dots"; }
  .card-name { font-size: .95rem; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .card-terms { font-size: .9rem; }
  .card-terms .de { display: none; }
  .dots { min-height: 34px; margin-left: -7px; }
  .dot { width: 34px; height: 36px; }
  .dot span { width: 20px; height: 20px; }
  .dots { flex-wrap: wrap; }
  .card-color[data-color-label] { flex-basis: 100%; margin: 0 0 0 7px; }
  .tag { left: .5rem; top: .5rem; bottom: auto; padding: .25rem .55rem; font-size: .8rem; letter-spacing: .02em; text-transform: none; }
  .page-home .grid .card:nth-child(n+7) { display: none; }
  .anatomy { grid-template-columns: 1fr; }
  .anatomy-stage { padding: 2rem .5rem 0; }
  .anatomy-stage { padding-inline: 1.25rem; }
  .anatomy-text { padding: 2rem 1.25rem 3.2rem; }
  .feats div { grid-template-columns: 1fr; gap: .25rem; }
  .feats dd { padding-left: calc(30px + .7rem); }
  .heritage { grid-template-columns: 1fr; }
  .heritage-media { min-height: 0; aspect-ratio: 1 / .9; }
  .heritage-text { padding: 2.8rem 1.25rem 3.4rem; }
  .quotes { display: flex; gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -1.25rem; padding-inline: 1.25rem; scroll-padding-inline: 1.25rem; scrollbar-width: none; }
  .quotes::-webkit-scrollbar { display: none; }
  .quote { flex: 0 0 80%; scroll-snap-align: start; padding: 1.8rem 1.3rem; background: var(--tile); }
  .quote + .quote { border-left: 0; }
  .js .quote.reveal { opacity: 1; transform: none; }
  .insta .sec-head { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 0; border-top: 1px solid rgb(248 244 238 / .16); }
  .fcol { border-bottom: 1px solid rgb(248 244 238 / .16); }
  .fcol summary { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 1.15rem 0; pointer-events: auto; cursor: pointer; }
  .fcol summary::after { content: "+"; font-size: 1.4rem; font-weight: 300; letter-spacing: 0; }
  .fcol[open] summary::after { content: "\2212"; }
  .fcol p:last-child { padding-bottom: 1rem; }
  .fcol a { display: inline-flex; align-items: center; min-height: 40px; }
  .footer-brand { margin-top: 0; border-top: 0; }
  .footer-brand img { height: 72px; }
  .footer-legal { flex-direction: column; gap: .4rem; }
  .whats-float span { display: none; }
  .whats-float { padding: .85rem; }
  .cat-hero { grid-template-columns: 1fr; min-height: 0; }
  .cat-hero-media { order: -1; height: 190px; }
  .cat-hero-media img { object-position: 62% 50%; }
  .cat-hero-text { padding: 1.1rem 1.25rem 1.2rem; }
  .cat-hero-text > p:last-child { font-size: 1rem; }
  .cat-hero h1 { margin: .3rem 0 .3rem; font-size: 2.7rem; }
  .filterbar { position: static; }
  .filterbar-row { flex-wrap: wrap; gap: .3rem .8rem; padding-block: .7rem .5rem; }
  .chips { flex: 0 0 calc(100% + 1.25rem); margin-right: -1.25rem; padding-right: 2.5rem; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 86%, transparent); mask-image: linear-gradient(to right, #000 86%, transparent); }
  .chips::-webkit-scrollbar, .fdots::-webkit-scrollbar { display: none; }
  .fdots { flex: 0 0 calc(100% + 1.25rem); margin-right: -1.25rem; padding-right: 2.5rem; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent); }
  .fdots-label { display: inline; margin-right: .5rem; }
  .fdot { flex: none; width: 40px; height: 44px; }
  .fdot span { width: 24px; height: 24px; }
  .filterbar-right { flex: 0 0 100%; justify-content: space-between; }
  .count { display: block; }
  .sort select { padding-left: .9rem; }
  .grid-feature { grid-column: 1 / -1; flex-direction: row; min-height: 200px; }
  .feature-photo { flex: 0 0 46%; }
  .feature-text { justify-content: center; padding: 1.2rem 1.1rem; }
  .grid-feature h2 { font-size: 1.7rem; }
  .feature-top > span:not(.stars) { display: none; }
  .help-band { display: none; }
  .grid-help { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .7rem; padding: 1.1rem; background: var(--sand); text-decoration: none; }
  .grid-help-t { font-family: var(--display); font-size: 1.6rem; line-height: 1.08; }
  .crumbs-top { padding-block: .8rem; font-size: .88rem; }
  .pdp { grid-template-columns: 1fr; border-top: 0; }
  .shots { display: flex; gap: 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .shots::-webkit-scrollbar { display: none; }
  .shots { gap: 0; }
  .shots .shot-wide img.pack { object-fit: contain; padding: 5%; }
  .shot, .shot-wide { flex: 0 0 100%; aspect-ratio: 1 / .8; scroll-snap-align: start; }
  .shot img.pack, .shots .shot-wide img.pack { padding: 6%; }
  .shot-dots { display: flex !important; justify-content: center; gap: .45rem; padding: .9rem 0 0; }
  .shot-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgb(30 21 18 / .28); transition: background .2s, transform .2s; }
  .shot-dots span.on { background: var(--ink); transform: scale(1.25); }
  .buy { position: static; }
  .buy-inner { padding: 1.4rem 1.25rem 0; max-width: none; }
  .buy h1 { font-size: 2.5rem; }
  .price { font-size: 1.7rem; margin-top: .6rem; }
  .terms .ou { display: none; }
  .terms strong { display: block; width: fit-content; margin: .4rem 0 0; }
  .sizes { grid-template-columns: repeat(7, 1fr); gap: 6px; }
  .size { min-height: 52px; font-size: 1.02rem; padding: 0; }
  .foot { min-height: 0; }
  .reviews-sec { grid-template-columns: 1fr; gap: 2rem; }
  .reviews-summary { position: static; }
  .score { font-size: 4.4rem; margin-top: .8rem; }
  .review > p:not(.review-by) { font-size: 1.4rem; }
  .band img { aspect-ratio: 5 / 4; object-position: 62% 50%; }
  .band-caption { text-align: left; }
  .page-produto .whats-float { display: none; }
  .page-produto .footer { padding-bottom: 5.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
