@font-face { font-family: 'Inter Tight'; src: url('../fonts/inter-tight-latin-wght-normal.woff2') format('woff2-variations'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gloock'; src: url('../fonts/gloock-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }

/* Plain cross-page fade. Browsers without support simply navigate. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }

:root {
  --ink: #000;
  --paper: #f6f4ee;
  --tile: #ebe9e2;
  --line: #dcdad2;
  --ash: #6b6a67;
  --rust: #96410c;
  --trip-bg: var(--rust); /* The same brown as the "Your Redemption" lettering in the logo */
  --gutter: 16px;
  --nav: 60px;
  --display: 'Gloock', 'Didot', 'Bodoni 72', serif;
  --sans: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
}
@media (min-width: 900px) { :root { --gutter: 24px; --nav: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
html:has(dialog[open]) { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.45 var(--sans); letter-spacing: -.004em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip:focus { top: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Type. Everything is small and tight; page titles alone keep the serif from the monogram. */
.display { font-family: var(--display); font-weight: 400; letter-spacing: -.012em; line-height: 1.08; }
.h-xl { font-size: clamp(2.4rem, 5.5vw, 5rem); }
.h-lg { font-size: clamp(1.7rem, 2.6vw, 2.6rem); }
.h-md { font-size: clamp(1.6rem, 2.2vw, 2.2rem); line-height: 1.12; }
.label { font-size: 14px; letter-spacing: -.009em; text-transform: uppercase; line-height: 1.25; }
.lede { font-size: 18px; line-height: 1.4; max-width: 44ch; }
.muted { color: var(--ash); }
.link { display: inline-block; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }
.wrap { padding-inline: var(--gutter); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 28px; border-radius: 24px; font-size: 14px; font-weight: 600; letter-spacing: -.009em; text-transform: uppercase; white-space: nowrap; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); transition: background .2s, color .2s; }
.btn:hover { background: transparent; color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--full { width: 100%; }
.btn[disabled] { background: transparent; color: var(--ash); border-color: var(--line); cursor: not-allowed; }

/* Header */
.head { position: sticky; top: 0; z-index: 40; height: var(--nav); padding-inline: var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: var(--paper); transition: background .25s; }
.head__l, .head__r { display: flex; align-items: center; gap: 24px; }
.head__l { align-self: stretch; }
.head__r { justify-content: flex-end; gap: 16px; }
.head__search { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -12px; }
.head__search svg, .search__bar svg { display: block; flex: none; }
/* Full logo with its lettering. 46px tall on phones and 56px on larger screens, the smallest sizes where "Your Redemption" still reads. */
.head__mono { display: block; height: calc(var(--nav) - 14px); aspect-ratio: 619 / 463; transition: opacity .3s; }
@media (min-width: 900px) { .head__mono { height: calc(var(--nav) - 16px); } }
.head__mono svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.head .label { white-space: nowrap; }
.head a.label { text-decoration: underline transparent; text-underline-offset: 3px; transition: text-decoration-color .2s; }
.head a.label:hover { text-decoration-color: currentColor; }
.head__menu, .head__store { display: none; }
[data-page='home'] .head__mono { opacity: 0; pointer-events: none; }
.is-past [data-page='home'] .head__mono { opacity: 1; pointer-events: auto; }
@media (min-width: 900px) {
  [data-page='home'] .head { background: transparent; }
  .is-past [data-page='home'] .head, [data-page='home'] .head:has(.is-open) { background: var(--paper); }
}
@media (max-width: 899px) {
  .head__l > a, .head__l > .nav__item { display: none; }
  .head__menu, .head__store { display: inline-block; padding-block: 12px; }
  .head__search { margin-right: 0; }
}

/* Dropdowns under Store and Request. They appear in place, with no sliding. */
.nav__item { display: flex; align-items: center; gap: 2px; }
.nav__caret { display: inline-grid; place-items: center; width: 22px; height: 44px; transition: transform .2s; }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }
.drop { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-block: 1px solid var(--line); }
.nav__item.is-open .drop { display: block; animation: fade-in .15s ease; }
.drop__in { display: flex; gap: 72px; padding: 24px var(--gutter) 32px; }
.drop__col h2 { margin-bottom: 12px; font-weight: 400; }
.drop__col ul { display: grid; grid-auto-flow: column; grid-template-rows: repeat(6, auto); justify-content: start; gap: 8px 48px; }
.drop__col a { font-size: 16px; text-decoration: underline transparent; text-underline-offset: 3px; transition: text-decoration-color .2s; white-space: nowrap; }
.drop__col a:hover { text-decoration-color: currentColor; }
.drop__col .muted { white-space: nowrap; }

/* Search: drops over the top of the page with results below */
.search { position: fixed; inset: 0 0 auto 0; z-index: 80; width: 100%; max-width: none; max-height: 100dvh; margin: 0; border: 0; padding: 0; background: var(--paper); color: var(--ink); overflow-y: auto; }
.search[open] { animation: fade-in .15s ease; }
.search::backdrop { background: rgb(0 0 0 / .35); animation: fade-in .2s ease; }
.search__bar { display: flex; align-items: center; gap: 12px; min-height: 64px; padding-inline: var(--gutter); border-bottom: 1px solid var(--line); }
.search__bar input { flex: 1; min-width: 0; min-height: 44px; background: transparent; border: 0; font-size: 18px; outline: none; appearance: none; -webkit-appearance: none; }
.search__bar input::-webkit-search-cancel-button { display: none; }
.search__bar input::placeholder { color: var(--ash); }
.search__close { min-height: 44px; flex: none; }
.search__hits:empty { display: none; }
.search__hits { padding: 8px var(--gutter) 24px; }
.search__hit { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding-block: 8px; font-size: 14px; line-height: 1.3; }
.search__hit + .search__hit { border-top: 1px solid var(--line); }
.search__hit .frame { display: block; aspect-ratio: 3 / 4; }
.search__hit:hover .card__brand { text-decoration: underline; text-underline-offset: 3px; }
.search__price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.search__none { padding-block: 16px; }
.search__all { margin-top: 16px; font-size: 14px; }

/* Full screen menu */
.menu { position: fixed; inset: 0; z-index: 70; background: var(--paper); display: none; flex-direction: column; justify-content: space-between; gap: 32px; padding: 88px var(--gutter) 28px; overflow-y: auto; }
.menu.is-open { display: flex; animation: fade-in .2s ease; }
.menu__close { position: absolute; top: calc(var(--nav) / 2 - 12px); left: var(--gutter); padding-block: 4px; }
.menu__links > a, .menu__links summary { display: block; font-family: var(--display); font-size: clamp(2rem, 9vw, 4.4rem); line-height: 1.24; letter-spacing: -.012em; }
.menu__links summary { display: flex; justify-content: space-between; align-items: baseline; cursor: pointer; list-style: none; }
.menu__links summary::-webkit-details-marker { display: none; }
.menu__links summary::after { content: '+'; font-family: var(--sans); font-size: 24px; }
.menu__links details[open] summary::after { content: '\2212'; }
.menu__sub { display: grid; gap: 20px; padding: 8px 0 20px; }
.menu__sub .drop__col ul { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.menu__sub .drop__col a, .menu__sub .drop__col .muted { display: flex; align-items: center; min-height: 40px; font-size: 16px; white-space: normal; }
.menu__sub .drop__col h2 { margin-bottom: 4px; }
.menu__foot { display: flex; justify-content: flex-end; color: var(--ash); }
@keyframes fade-in { from { opacity: 0; } }

/* Loader: the logo rises into view. On the homepage it then travels down to its place in the banner. */
html.yr-boot::before { content: ''; position: fixed; inset: 0; z-index: 100; background: var(--paper); }
.loader { position: fixed; inset: 0; z-index: 90; background: var(--paper); display: grid; place-items: center; animation: loader-out .4s ease 1.15s forwards; }
.loader--fly { animation: none; }
.loader svg { display: block; width: min(46vw, 42vh); height: auto; overflow: visible; transform-origin: 0 0; }
.loader__mono { fill: var(--ink); clip-path: inset(100% 0 0 0); animation: loader-up .8s cubic-bezier(.65, 0, .2, 1) .1s forwards; }
.logo-word { fill: var(--rust); }
@keyframes loader-up { to { clip-path: inset(0 0 0 0); } }
@keyframes loader-out { to { opacity: 0; visibility: hidden; } }
html.yr-loader .hero__mono img { visibility: hidden; }

/* Soft fade as things enter the screen. Opacity only, so it costs nothing on a slow phone. */
.rv { opacity: 0; transition: opacity .7s ease; }
.rv.is-in { opacity: 1; }

/* Hero: the logo, and the horse and belt photograph melting into the page. The photo's background was evened out to pure white,
   and multiply turns that white into the page colour, so the photo has no visible edge. The belt sits on the button's baseline. */
.hero { position: relative; overflow: hidden; background: var(--paper); }
.hero__horse { display: block; mix-blend-mode: multiply; animation: horse-in 1.2s cubic-bezier(.2, .7, .2, 1) both; }
.hero__body .btn { animation: fade-in .8s ease .35s both; }
html.yr-wait .hero__horse, html.yr-wait .hero__body .btn { animation-play-state: paused; }
@keyframes horse-in { from { opacity: 0; transform: translateX(2.5%); } }
.hero__mono { font-size: 0; }
.hero__mono img { height: auto; }
@media (min-width: 900px) {
  /* Linen behind the hero on computers (chosen 6 Nov 2026). It is a 38 KB repeating tile in the page colour, made by lintile.mjs.
     The horse multiplies over it, so the weave shows through the photo's white with no edge. Phones keep the plain page,
     because their menu bar is solid and would leave a line above the linen. */
  .hero { height: calc(100svh - 88px); min-height: 560px; margin-top: calc(var(--nav) * -1); background: var(--paper) url(../img/linen.webp) 0 0 / 1024px 1024px repeat; }
  /* 7% is the white space below the belt, the lowest point in the photo. The height cap keeps the mane clear of the menu.
     On screens wider than about 16:10 the logo and horse both reach their height caps and drift apart, so the horse moves in
     to stay 77px from the logo, its spacing on a 1440 x 900 screen. The spare width goes to the right edge. */
  .hero__horse { position: absolute; right: max(0px, 100% - var(--gutter) - min(36vw, 56vh) - 77px - min(58vw, calc((100svh - 190px) * 1.21))); bottom: 32px; translate: 0 7%; width: min(58vw, calc((100svh - 190px) * 1.21)); height: auto; }
  .hero__body { position: absolute; left: var(--gutter); bottom: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
  .hero__mono { width: min(36vw, 56vh); }
}
@media (max-width: 899px) {
  /* Tightened on 6 Nov 2026 because the phone hero felt too empty. The horse sits inside the side margins, and the photo's own
     empty strip below the belt is cropped (the faint shadow ends 1256px down the 1317px photo, so 1260 keeps it). The logo is
     smaller. Both are capped by screen height so the logo and button still fit on a tablet or a phone held sideways. */
  .hero__horse { width: min(calc(100% - 2 * var(--gutter)), calc(40svh * 1.27)); height: auto; aspect-ratio: 1600 / 1260; object-fit: cover; object-position: 50% 30%; margin: 0 auto; }
  .hero__body { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; padding: 8px var(--gutter) 18px; }
  .hero__mono { width: min(33vw, 21svh); }
  .hero__body .btn { min-height: 36px; padding-inline: 14px; font-size: 12px; }
}

/* As seen on Instagram: posts on the logo brown, in a carousel moved by hand. Four in view on a computer, two on a phone. Nothing moves on its own. */
.gram { --gram-gap: clamp(10px, 2vw, 32px); --gram-view: 4; background: var(--trip-bg); color: #fff; padding-block: clamp(28px, 3.4vw, 56px); }
.gram__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 var(--gutter) clamp(16px, 2vw, 28px); }
.gram__end { display: flex; align-items: center; gap: 20px; }
.gram__handle { font-size: 18px; font-weight: 600; line-height: 1.2; letter-spacing: -.025em; text-decoration: underline transparent; text-underline-offset: 3px; transition: text-decoration-color .2s; }
.gram__handle:hover { text-decoration-color: currentColor; }
.gram__arrows { display: flex; gap: 8px; }
.gram__arrow { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid #fff; border-radius: 22px; color: #fff; transition: background .2s, color .2s, opacity .2s; }
.gram__arrow:hover:not(:disabled) { background: #fff; color: var(--trip-bg); }
.gram__arrow:disabled { opacity: .35; cursor: default; }
.gram__arrow:focus-visible, .gram__item:focus-visible, .gram__handle:focus-visible { outline-color: #fff; }
.gram__track { display: flex; gap: var(--gram-gap); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; scrollbar-width: none; }
.gram__track::-webkit-scrollbar { display: none; }
.gram__item { display: block; flex: 0 0 calc((100% - (var(--gram-view) - 1) * var(--gram-gap)) / var(--gram-view)); scroll-snap-align: start; aspect-ratio: 4 / 5; overflow: hidden; background: var(--tile); }
.gram__dots { display: none; }
@media (max-width: 767px) {
  .gram { --gram-gap: 12px; --gram-view: 2; }
  .gram__item { scroll-snap-align: none; }
  .gram__item:nth-child(odd) { scroll-snap-align: start; }
  .gram__arrows { display: none; }
  .gram__bar .bar__t, .gram__handle { font-size: 16px; }
  .gram__dots { display: flex; justify-content: center; gap: 8px; padding-top: 16px; }
  .gram__dots span { width: 6px; height: 6px; border-radius: 3px; background: #fff; opacity: .4; transition: opacity .2s; }
  .gram__dots span.on { opacity: 1; }
}

/* Section title row: title on the left, one quiet signal on the right */
.bar { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 64px var(--gutter) 16px; }
.bar__t { font-size: 18px; font-weight: 600; line-height: 1.2; letter-spacing: -.025em; text-transform: uppercase; }
.bar__signal { font-size: 18px; font-weight: 600; line-height: 1.2; letter-spacing: -.025em; text-transform: uppercase; color: var(--rust); text-decoration: underline transparent; text-underline-offset: 3px; transition: text-decoration-color .2s; white-space: nowrap; }
.bar__signal:hover { text-decoration-color: currentColor; }
.more-cta { display: flex; justify-content: center; padding: 36px var(--gutter) 0; }
@media (max-width: 767px) {
  .bar { padding-top: 44px; }
  .bar__t, .bar__signal { font-size: 16px; }
  .more-cta .btn { width: 100%; }
}

/* Category tiles */
.cats__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.tile { display: block; padding-bottom: 12px; text-align: center; font-size: 14px; font-weight: 600; letter-spacing: -.009em; text-transform: uppercase; }
.tile__img { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--tile); margin-bottom: 12px; }
@media (max-width: 767px) {
  .cats__grid { grid-template-columns: repeat(2, 1fr); }
  .tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .tile:last-child:nth-child(odd) .tile__img { aspect-ratio: 2 / 1; }
}

/* Brands, a plain run of links */
.brands { display: grid; grid-template-columns: 1fr 3fr; gap: 12px var(--gutter); padding: 64px var(--gutter); }
.brands p { font-size: 18px; line-height: 1.5; letter-spacing: -.012em; max-width: 60ch; }
.brands a { text-decoration: underline transparent; text-underline-offset: 3px; transition: text-decoration-color .2s; }
.brands a:hover { text-decoration-color: currentColor; }
.brands span { color: var(--ash); }
@media (max-width: 767px) { .brands { grid-template-columns: 1fr; padding-block: 44px; } }

/* How buying works */
.your { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.your__row { display: block; padding: 20px var(--gutter) 32px; font-size: 14px; }
.your__row + .your__row { border-left: 1px solid var(--line); }
.your__t { display: block; font-weight: 600; text-transform: uppercase; letter-spacing: -.009em; margin-bottom: 4px; }
.your__d { display: block; color: var(--ash); max-width: 30ch; }
.your__row:hover .your__t { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 899px) {
  .your { grid-template-columns: 1fr 1fr; }
  .your__row:nth-child(odd) { border-left: 0; }
  .your__row:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* Product card */
.card { display: block; }
.card__img { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--tile); transition: opacity .15s; }
.card:active .card__img { opacity: .82; }
.card__img img { position: absolute; inset: 0; }
.card__img .alt { opacity: 0; transition: opacity .3s ease; }
@media (hover: hover) { .card:hover .card__img .alt { opacity: 1; } }
.card__meta { display: block; padding-top: 12px; font-size: 14px; line-height: 1.3; }
.card__brand { display: block; font-weight: 600; }
.card__name { display: block; color: var(--ash); }
.card__price { display: block; margin-top: 4px; font-variant-numeric: tabular-nums; }
.card__price s, .info__price s { color: var(--ash); font-weight: 400; }
.card__price + .card__price { margin-top: 0; }
.card.is-sold .card__img img { filter: saturate(.55); opacity: .72; }
.is-flag { color: var(--rust); }

/* Footer */
.foot { position: relative; z-index: 2; border-top: 1px solid var(--ink); padding: 44px var(--gutter) 24px; margin-top: 64px; font-size: 14px; }
.your + .foot, main:has(.your) + .foot { margin-top: 0; }
.foot__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 36px var(--gutter); }
.foot__intro { grid-column: span 5; }
.foot__intro .bar__t { display: block; }
.foot__col { grid-column: span 2; }
.foot__col:first-of-type { grid-column: 7 / span 2; }
.foot__col h2 { font: inherit; font-weight: 600; text-transform: uppercase; margin-bottom: 12px; }
.foot__col li + li { margin-top: 6px; }
.foot__col a { text-decoration: none; }
.foot__col a:hover { text-decoration: underline; }
.foot__legal { margin-top: 44px; display: grid; grid-template-columns: 1fr auto; gap: 12px 36px; font-size: 12px; color: var(--ash); }
.foot__legal > p:first-child { max-width: 72ch; }
.foot__meta { text-align: right; }
.foot__meta p + p { margin-top: 4px; }
.foot__meta a:hover { text-decoration: underline; }
.alert { margin-top: 16px; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; max-width: 440px; scroll-margin-top: calc(var(--nav) + 24px); }
.alert .field__err { grid-column: 1 / -1; }
.alert .form__msg { grid-column: 1 / -1; order: 3; }
.alert__done { margin-top: 16px; }
@media (max-width: 899px) {
  .foot__intro { grid-column: 1 / -1; }
  .foot__col, .foot__col:first-of-type { grid-column: span 6; }
  .foot__col:last-child { grid-column: 1 / -1; }
  .foot__legal { grid-template-columns: 1fr; }
  .foot__meta { text-align: left; }
  .alert .btn { padding-inline: 20px; }
}

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; background: transparent; border: 1px solid var(--ink); border-radius: 4px; padding: 10px 12px; font-size: 16px; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
.field textarea { resize: vertical; min-height: 120px; }
.field__err { min-height: 18px; font-size: 14px; color: var(--rust); }

/* Store */
.store__head { padding: 28px var(--gutter) 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.store__count { white-space: nowrap; }
.filters { position: sticky; top: var(--nav); z-index: 30; background: var(--paper); border-block: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-inline: var(--gutter); min-height: 52px; }
.filters--home { position: static; }
.tabs { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 16px 0 15px; white-space: nowrap; color: var(--ash); border-bottom: 1px solid transparent; margin-bottom: -1px; transition: color .2s; }
.tab:hover, .tab[aria-pressed='true'] { color: var(--ink); }
.tab[aria-pressed='true'] { border-color: var(--ink); }
.filters__r { display: flex; align-items: center; gap: 24px; flex: none; }
.filters__toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; }
.filters__n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding-inline: 5px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 600; }
.sort select { appearance: none; -webkit-appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23000'/%3E%3C/svg%3E") no-repeat right center; border: 0; min-height: 44px; padding: 0 18px 0 0; field-sizing: content; text-transform: inherit; letter-spacing: inherit; font-size: inherit; cursor: pointer; outline-offset: 0; }

/* Active filters, shown as pills you can remove */
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px var(--gutter); border-bottom: 1px solid var(--line); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border: 1px solid var(--ink); border-radius: 24px; font-size: 14px; transition: background .2s, color .2s; }
.chip:hover { background: var(--ink); color: var(--paper); }
.chips__clear { min-height: 34px; margin-left: 4px; font-size: 14px; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line); margin-left: -1px; transition: opacity .16s; }
.grid.is-swapping { opacity: 0; }
.grid .card { padding: 12px 12px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.empty { padding: 64px var(--gutter); max-width: 720px; }
.empty .link { margin-top: 16px; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid .card { padding: 0 0 20px; }
  .card__meta { padding: 10px 10px 0; }
  .store__head { padding: 20px var(--gutter) 16px; }

  /* Phone filter bar: two equal cells, then one line of categories. It takes the top of the screen while scrolling. */
  [data-page='store'] .head { position: relative; }
  .filters { top: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
  .filters__r { order: -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-bottom: 1px solid var(--line); }
  .filters__toggle { width: 100%; min-height: 48px; font-size: 16px; text-transform: none; letter-spacing: -.004em; }
  .sort { border-left: 1px solid var(--line); text-align: center; }
  .sort select { width: 100%; min-height: 48px; padding: 0 28px 0 16px; background-position: right 14px center; font-size: 16px; text-transform: none; letter-spacing: -.004em; text-align: center; text-align-last: center; }
  .tabs { gap: 20px; padding-inline: var(--gutter) 40px; -webkit-mask-image: linear-gradient(to left, transparent, #000 36px); mask-image: linear-gradient(to left, transparent, #000 36px); }
  .tab { padding-block: 13px 12px; }
  .filters--home { border-top: 0; }
}

/* Piece */
.piece { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gutter); padding: 8px var(--gutter) 64px; align-items: start; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.gallery button { display: block; width: 100%; cursor: zoom-in; }
.gallery .frame { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--tile); }
.gallery .frame img { position: absolute; inset: 0; }
.gallery button:first-child { grid-column: 1 / -1; }
.gallery button:first-child .frame { aspect-ratio: 4 / 5; }
.info { position: sticky; top: calc(var(--nav) + 16px); padding-inline: clamp(0px, 2.6vw, 48px) 0; }
.crumb { display: flex; gap: 10px; color: var(--ash); margin-bottom: 28px; }
.info__brand { font-weight: 600; }
.info h1 { margin-top: 8px; }
.info__price { margin-top: 16px; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.info__price small { font-size: 14px; font-weight: 400; color: var(--ash); margin-left: 6px; }
.info__state { margin-top: 4px; color: var(--ash); font-size: 14px; }
.info__state.is-flag { color: var(--rust); }
.info__cta { margin-top: 24px; display: grid; gap: 8px; }
.info__plan { margin-top: 12px; font-size: 14px; }
.before { margin-top: 24px; padding: 16px 18px; background: var(--tile); font-size: 14px; }
.before__t { font-weight: 600; text-transform: uppercase; letter-spacing: -.009em; margin-bottom: 6px; }
.before p + p { margin-top: 8px; }
.acc { margin-top: 28px; border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn { width: 100%; display: flex; justify-content: space-between; min-height: 48px; align-items: center; text-align: left; font-size: 14px; font-weight: 600; text-transform: uppercase; }
.acc__btn[aria-expanded='true'] .acc__sign { transform: rotate(45deg); }
.acc__sign { display: inline-block; font-weight: 400; font-size: 18px; transition: transform .2s; }
.acc__body { display: none; }
.acc__btn[aria-expanded='true'] + .acc__body { display: block; animation: fade-in .2s ease; }
.acc__body p, .acc__body ul { padding-bottom: 16px; max-width: 52ch; font-size: 14px; }
.more { padding: 0 var(--gutter) 64px; }
.more h2 { margin-bottom: 20px; }
.more__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
@media (max-width: 899px) {
  .piece { grid-template-columns: 1fr; padding-top: 0; }
  .info { position: static; padding: 0; margin-top: 8px; }
  .crumb { display: none; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; gap: 4px; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery button { flex: 0 0 88vw; scroll-snap-align: center; }
  .gallery button:first-child .frame, .gallery .frame { aspect-ratio: 3 / 4; }
  .more__grid { grid-template-columns: repeat(2, 1fr); gap: 24px 8px; }
  .more .card__meta { padding-inline: 0; }
}

/* Side sheets: payment step and filters */
.sheet { position: fixed; inset: 0 0 0 auto; z-index: 80; margin: 0 0 0 auto; width: min(480px, 100vw); max-width: none; height: 100dvh; max-height: none; border: 0; padding: 0; background: var(--paper); color: var(--ink); }
.sheet[open] { animation: sheet-side .28s cubic-bezier(.2, .8, .2, 1); }
.sheet::backdrop { background: rgb(0 0 0 / .35); animation: fade-in .25s ease; }
@keyframes sheet-side { from { opacity: 0; transform: translateX(32px); } }
@keyframes sheet-up { from { transform: translateY(100%); } }
.sheet__in { height: 100%; display: flex; flex-direction: column; padding: 20px var(--gutter) 24px; overflow-y: auto; }
.sheet__top { display: flex; justify-content: space-between; align-items: center; min-height: 28px; }
.sheet__item { display: grid; grid-template-columns: 112px 1fr; gap: 16px; margin-top: 28px; }
.sheet__item .frame { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--tile); }
.sheet__item .frame img { position: absolute; inset: 0; }
.sheet__sum { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 12px; display: grid; grid-template-columns: 1fr auto; gap: 8px; font-variant-numeric: tabular-nums; }
.sheet__total { font-size: 18px; font-weight: 600; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 6px; }
.sheet__bot { margin-top: auto; padding-top: 24px; }
.sheet__note { margin-top: 12px; font-size: 14px; color: var(--ash); }
.sheet__ways { margin-top: 8px; font-size: 13px; color: var(--ash); text-align: center; }
.sheet__or { display: flex; align-items: center; gap: 12px; margin: 16px 0; font-size: 13px; color: var(--ash); }
.sheet__or::before, .sheet__or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.sheet__paypal { min-height: 48px; }
.sheet__msg { margin-bottom: 14px; padding: 12px 14px; border-left: 2px solid var(--rust); background: rgb(0 0 0 / .03); font-size: 14px; }

/* FAQ page: the same open-and-close rows as a listing, at reading size */
.faq { padding: 0 var(--gutter) clamp(48px, 8vw, 96px); max-width: 860px; }
.faq__list { margin-top: 0; }
.faq .acc__btn { min-height: 60px; font-size: 15px; gap: 16px; }
.faq .acc__body p { font-size: 16px; max-width: 60ch; }
.faq .acc__body > div { padding-bottom: 6px; }
.faq__more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 48px; }
.contact { display: grid; gap: 18px; margin-top: 28px; }
.form__msg { padding: 12px 14px; border-left: 2px solid var(--rust); background: rgb(0 0 0 / .03); font-size: 14px; }
.contact__done { margin-top: 28px; display: grid; gap: 10px; }

/* Thank-you page after paying */
.thanks { max-width: 640px; padding: clamp(40px, 8vw, 96px) var(--gutter) 64px; }
.thanks__wait { min-height: 40vh; }
.thanks h1 { margin-top: 10px; }
.thanks__item { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; margin: 32px 0 28px; padding-block: 20px; border-block: 1px solid var(--line); }
.thanks__item .frame { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--tile); }
.thanks__item .frame img { position: absolute; inset: 0; }
.thanks__name { font-size: 1.6rem; margin-top: 6px; }
.thanks__total { margin-top: 8px; font-variant-numeric: tabular-nums; }
.thanks__text { max-width: 52ch; margin-top: 12px; }
.thanks__more { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }

/* Filter sheet: rises from the bottom on a phone, slides in from the side on a computer */
.fsheet__in { height: 100%; display: flex; flex-direction: column; }
.fsheet__top { display: flex; justify-content: space-between; align-items: center; padding: 8px var(--gutter); border-bottom: 1px solid var(--line); }
.fsheet__top h2 { font-size: 18px; font-weight: 600; letter-spacing: -.025em; text-transform: uppercase; }
.fsheet__close { min-height: 44px; padding-inline: 8px; margin-right: -8px; }
.fsheet__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px var(--gutter) 16px; }
.panel__group { padding-block: 16px 8px; }
.panel__group + .panel__group { border-top: 1px solid var(--line); }
.panel__group h3 { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: -.009em; margin-bottom: 4px; }
.opt { display: flex; gap: 12px; align-items: center; min-height: 44px; cursor: pointer; }
.opt input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; border: 1px solid var(--ink); border-radius: 4px; margin: 0; display: grid; place-items: center; }
.opt input:checked { background: var(--ink); }
.opt input:checked::after { content: ''; width: 10px; height: 5px; border: solid var(--paper); border-width: 0 0 1.5px 1.5px; transform: translateY(-1px) rotate(-45deg); }
.fsheet__bot { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.fsheet__clear { min-height: 44px; }
@media (max-width: 767px) {
  .sheet--filter { inset: auto 0 0 0; margin: 0; width: 100%; height: auto; max-height: 86dvh; }
  .sheet--filter[open] { animation: sheet-up .3s cubic-bezier(.2, .8, .2, 1); }
  .sheet--filter .fsheet__in { height: auto; max-height: 86dvh; }
}

/* Photograph viewer */
.viewer { position: fixed; inset: 0; z-index: 85; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; padding: 0; background: var(--paper); color: var(--ink); }
.viewer[open] { display: grid; grid-template-rows: auto 1fr; animation: fade-in .2s ease; }
.viewer__top { display: flex; justify-content: space-between; padding: 16px var(--gutter); }
.viewer__stage { position: relative; min-height: 0; padding: 0 var(--gutter) 16px; }
.viewer__stage img { object-fit: contain; }

/* Information pages */
.frame { position: relative; overflow: hidden; background: var(--tile); }
.frame > img { position: absolute; inset: 0; }
.page-head { padding: 28px var(--gutter) 44px; }
.page-head .lede { margin-top: 16px; }
.rundown { display: grid; grid-template-columns: 3fr 9fr; gap: var(--gutter); padding: 0 var(--gutter); align-items: start; }
.rundown__nav { position: sticky; top: calc(var(--nav) + 16px); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.rundown__nav a { color: var(--ash); transition: color .2s; }
.rundown__nav a:hover, .rundown__nav a.on { color: var(--ink); }
.block { padding-bottom: 64px; scroll-margin-top: calc(var(--nav) + 16px); }
.block > p { margin-top: 16px; max-width: 58ch; }
.block__sub { margin-top: 36px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: -.009em; }
.block__sub + p { margin-top: 8px; }
.block__split { display: grid; grid-template-columns: 5fr 4fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.block__split .frame { aspect-ratio: 3 / 4; }
.grades { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.grade { padding: 20px; background: var(--tile); min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.grade p { max-width: 34ch; }
.plain { margin-top: 16px; display: grid; gap: 8px; max-width: 58ch; }
.about { padding: 0 var(--gutter); }
.request { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); padding: 0 var(--gutter); align-items: start; }
.request .frame { aspect-ratio: 4 / 5; }
.request form { display: grid; gap: 20px; }
.request__two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px var(--gutter); }
.request__done { color: var(--rust); }
/* The personal shopper form, in the sections of Joeline's form */
@media (min-width: 900px) { .request .frame { position: sticky; top: calc(var(--nav) + 24px); } }
.request form { gap: 28px; }
.rq { border: 0; margin: 0; padding: 28px 0 0; border-top: 1px solid var(--line); min-width: 0; }
.request form > .rq:first-child { border-top: 0; padding-top: 0; }
.rq__h { float: left; width: 100%; padding: 0; margin: 0 0 20px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: -.009em; line-height: 1.25; }
.rq__in { clear: both; display: grid; gap: 20px; }
.rq__date input { max-width: 260px; }
.rq__terms { clear: both; margin: 0; padding-left: 1.15em; list-style: disc; display: grid; gap: 10px; max-width: 62ch; font-size: 15px; line-height: 1.45; }
.rq__terms li::marker { color: var(--ash); }
.choice { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice legend { padding: 0; margin-bottom: 8px; font-size: 14px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; display: inline-flex; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--ink); border-radius: 24px; font-size: 15px; line-height: 1.2; transition: background .2s, color .2s; }
.opt:hover input:not(:checked) + span { background: rgb(0 0 0 / .05); }
.opt input:checked + span { background: var(--ink); color: var(--paper); }
.opt input:focus-visible + span { outline: 2px solid var(--rust); outline-offset: 2px; }
.choice .field__err:empty, .agree + .field__err:empty { min-height: 0; }
.choice .field__err { margin-top: 6px; }
.agree { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; max-width: 52ch; }
.agree input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--ink); cursor: pointer; }
@media (max-width: 899px) {
  .rundown { grid-template-columns: 1fr; }
  .rundown__nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 28px; }
  .block__split, .request { grid-template-columns: 1fr; }
  .grades { grid-template-columns: 1fr; }
  .grade { min-height: 140px; }
  .request__two { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
