/* Yax Tun theme. Quiet frame, so the jade carries the color. */

:root {
  --serif: "Marcellus", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --serif-scale: .92;
  --stone: color-mix(in srgb, var(--ink) 62%, var(--paper));
  --line: color-mix(in srgb, var(--ink) 14%, transparent);
  --line-strong: color-mix(in srgb, var(--ink) 28%, transparent);
  --gutter: 16px;
  --max: 1440px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 750px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 18px/1.6 var(--sans); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 .4em; letter-spacing: -.005em; }
h1 { font-size: calc(clamp(2.4rem, 5.2vw, 4.6rem) * var(--serif-scale, 1)); }
h2 { font-size: calc(clamp(2rem, 3.6vw, 3.2rem) * var(--serif-scale, 1)); }
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); }
p { margin: 0 0 1em; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.eyebrow { font: 600 0.82rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--stone); margin: 0 0 1rem; }
.lede { font-size: 1.25rem; color: color-mix(in srgb, var(--ink) 82%, var(--paper)); max-width: 40ch; }
.serif-italic { font-family: var(--serif); font-style: italic; }
.muted { color: var(--stone); }
.small { font-size: 0.97rem; }
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--panel { background: var(--paper-2); }
.section--night { background: var(--night); color: #EDE8DD; }
.section--night .eyebrow, .section--night .muted { color: #A39E92; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { margin: 0; max-width: 18ch; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: 0 28px; border: 1px solid var(--ink); border-radius: var(--radius);
  background: var(--ink); color: var(--paper); text-decoration: none; cursor: pointer;
  font: 600 0.9rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: #EDE8DD; color: var(--night); border-color: #EDE8DD; }
.btn--light:hover { background: transparent; color: #EDE8DD; }
.btn--ghost-light { background: transparent; color: #EDE8DD; border-color: rgba(237,232,221,.55); }
.btn--ghost-light:hover { background: #EDE8DD; color: var(--night); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.text-link { font: 600 0.88rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 6px; white-space: nowrap; }
.text-link:hover { opacity: .7; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Preview bar + announcement */
.preview-bar { background: var(--accent); color: #fff; text-align: center; font: 500 0.85rem/1.4 var(--sans); letter-spacing: .04em; padding: 7px var(--gutter); }
.announce { background: var(--night); color: #D9D3C6; text-align: center; font: 500 0.84rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 9px var(--gutter); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; }
.wordmark { font: 400 1.9rem/1 var(--serif); letter-spacing: .02em; text-decoration: none; display: inline-flex; align-items: center; justify-self: center; }
.wordmark img { width: var(--logo-w, 120px); height: auto; }
.nav { display: none; gap: 28px; align-items: center; }
.nav > a, .nav__trigger { font: 500 0.88rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; background: none; border: 0; padding: 26px 0; cursor: pointer; }
.nav > a:hover, .nav__trigger:hover { opacity: .65; }
.header-icons { display: flex; justify-content: flex-end; gap: 6px; align-items: center; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; background: none; border: 0; cursor: pointer; position: relative; color: inherit; text-decoration: none; }
.icon-btn svg { width: 21px; height: 21px; }
.cart-count { position: absolute; top: 5px; right: 3px; min-width: 17px; height: 17px; border-radius: 9px; background: var(--ink); color: var(--paper); font: 600 0.75rem/17px var(--sans); text-align: center; padding: 0 4px; }
.menu-toggle { justify-self: start; }
@media (min-width: 990px) {
  .site-header__bar { grid-template-columns: auto 1fr auto; gap: 40px; }
  .wordmark { justify-self: start; }
  .nav { display: flex; }
  .menu-toggle { display: none; }
}

/* Mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: grid; grid-template-columns: 1fr 1fr 1fr 1.3fr; gap: 40px; padding: 40px var(--gutter) 48px; max-width: var(--max); margin: 0 auto; }
.mega h4 { font: 600 0.8rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--stone); margin: 0 0 18px; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mega a { text-decoration: none; font: 400 1.35rem/1.2 var(--serif); }
.mega a:hover { color: var(--accent); }
.mega__feature { position: relative; display: block; overflow: hidden; background: var(--paper-2); aspect-ratio: 4/3; }
.mega__feature img { width: 100%; height: 100%; object-fit: cover; }
.mega__feature span { position: absolute; left: 16px; bottom: 14px; color: #fff; font: 600 0.82rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.5); }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(12,12,10,.45); opacity: 0; transition: opacity .3s var(--ease); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(88vw, 400px); background: var(--paper); transform: translateX(-100%); transition: transform .35s var(--ease); overflow-y: auto; padding: 18px var(--gutter) 40px; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer h4 { font: 600 0.8rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--stone); margin: 26px 0 12px; }
.drawer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.drawer a { display: block; text-decoration: none; font: 400 1.5rem/1.35 var(--serif); padding: 4px 0; }

/* Hero */
.hero { position: relative; background: var(--night); color: #EDE8DD; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,12,10,.85) 0%, rgba(12,12,10,.55) 38%, rgba(12,12,10,0) 62%); }
.hero__inner { position: relative; min-height: min(86vh, 860px); display: flex; align-items: flex-end; padding-top: 120px; padding-bottom: clamp(48px, 8vw, 96px); }
.hero__copy { max-width: 560px; }
.hero h1 { color: #F4EFE4; }
.hero .eyebrow { color: #B7B1A4; }
.hero p { color: #CFC9BC; font-size: 1.2rem; max-width: 40ch; margin-bottom: 28px; }
.hero__pause { position: absolute; right: var(--gutter); bottom: 22px; z-index: 2; background: rgba(12,12,10,.5); border: 1px solid rgba(237,232,221,.35); color: #EDE8DD; border-radius: 999px; font: 500 0.8rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 9px 14px; cursor: pointer; }
@media (max-width: 749px) {
  .hero__inner { min-height: 92svh; align-items: flex-end; }
  .hero__media img, .hero__media video { object-position: 50% 30%; }
  .hero__media::after { background: linear-gradient(0deg, rgba(12,12,10,.92) 0%, rgba(12,12,10,.6) 42%, rgba(12,12,10,0) 70%); }
}

/* Proof strip */
.proof { border-bottom: 1px solid var(--line); }
.proof ul { list-style: none; margin: 0 auto; padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; }
.proof li { font: 500 0.84rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.proof li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .8; }

/* Variety tiles */
.varieties { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 750px) { .varieties { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
/* Nine tiles (Oct 31): 3 by 3 on desktop; on phones the All pieces tile spans the last row. */
@media (max-width: 749px) { .varieties .variety--all { grid-column: span 2; aspect-ratio: 3/2; } }
.variety { position: relative; display: block; text-decoration: none; overflow: hidden; background: var(--paper-2); aspect-ratio: 3/4; }
.variety img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.variety:hover img { transform: scale(1.04); }
.variety::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(0deg, rgba(12,12,10,.72), rgba(12,12,10,0)); }
.variety__label { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; color: #F4EFE4; }
.variety__label strong { display: block; font: 400 1.55rem/1.1 var(--serif); }
.variety__label span { font: 500 0.8rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .82; }

/* Product grid + card */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
@media (min-width: 750px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 44px 20px; } }
@media (min-width: 1200px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; }
.card__media { position: relative; display: block; aspect-ratio: 1/1; overflow: hidden; background: var(--paper-2); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform 1.2s var(--ease); }
.card__media img + img { opacity: 0; }
.card:hover .card__media img + img { opacity: 1; }
.card:hover .card__media img:first-child { transform: scale(1.03); }
.card__badge { position: absolute; top: 10px; left: 10px; z-index: 1; color: var(--ink); background: color-mix(in srgb, var(--paper) 92%, transparent); font: 600 0.72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 6px 8px; }
.card__badge--sold { background: var(--ink); color: var(--paper); }
.card__body { padding-top: 14px; }
.card__variety { font: 600 0.76rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--stone); margin-bottom: 6px; }
.card__title { font: 400 1.22rem/1.2 var(--serif); margin: 0 0 6px; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__price { font-size: 1rem; }
.card__meta { font-size: 0.9rem; color: var(--stone); }

/* Split editorial */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; gap: clamp(48px, 7vw, 120px); } .split--flip .split__media { order: 2; } }
.split__media { position: relative; overflow: hidden; background: var(--paper-2); }
.split__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split__copy { max-width: 520px; }
.split__copy p { color: color-mix(in srgb, currentColor 82%, transparent); }
.caption { font-size: 0.88rem; color: var(--stone); margin-top: 10px; }

/* Maker feature */
.maker { display: grid; gap: 16px; }
@media (min-width: 900px) { .maker { grid-template-columns: 1fr 1fr 1fr; gap: 20px; align-items: end; } }
.maker__intro { padding-bottom: 8px; }
.maker__piece { text-decoration: none; display: block; }
.maker__piece .card__media { aspect-ratio: 4/5; }
.maker__piece h3 { margin: 14px 0 4px; }

/* Guarantee */
.pillars { display: grid; gap: 32px; }
@media (min-width: 750px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.pillar { border-top: 1px solid var(--line-strong); padding-top: 22px; }
.section--night .pillar { border-top-color: rgba(237,232,221,.25); }
.pillar__num { font: 400 1rem/1 var(--serif); font-style: italic; color: var(--stone); display: block; margin-bottom: 18px; }
.pillar h3 { font-size: 1.6rem; }
.pillar p { color: color-mix(in srgb, currentColor 80%, transparent); margin: 0; }

/* Press */
.press { text-align: center; max-width: 880px; margin: 0 auto; }
.press blockquote { margin: 0 0 24px; font: 400 clamp(1.6rem, 3vw, 2.5rem)/1.25 var(--serif); font-style: italic; }
.press cite { font: 600 0.82rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; font-style: normal; color: var(--stone); }

/* Trade CTA */
.trade { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .trade { grid-template-columns: 1.2fr 1fr; } }
.trade__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(237,232,221,.2); }
.trade__list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(237,232,221,.2); }
.trade__list strong { font: 400 1.25rem/1.2 var(--serif); }

/* Two cards */
.duo { display: grid; gap: 16px; }
@media (min-width: 750px) { .duo { grid-template-columns: 1fr 1fr; gap: 20px; } }
.duo__card { background: var(--paper-2); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 10px; min-height: 280px; }
.duo__card h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.duo__card .text-link { margin-top: auto; align-self: flex-start; }

/* Collection */
.coll-head { padding-top: clamp(40px, 6vw, 80px); padding-bottom: 28px; }
.coll-head h1 { margin-bottom: .2em; }
.filters { position: sticky; top: 68px; z-index: 20; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filters__row { display: flex; gap: 8px; align-items: center; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.filters__row::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; font: 500 0.9rem/1 var(--sans); text-decoration: none; white-space: nowrap; background: transparent; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filters__label { flex: none; font: 600 0.76rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--stone); margin-right: 4px; }
.filters__sep { flex: none; width: 1px; height: 22px; background: var(--line-strong); margin: 0 8px; }
.sort { margin-left: auto; flex: none; }
.sort select { height: 36px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; padding: 0 30px 0 14px; font-size: 0.9rem; appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.coll-count { font-size: 0.95rem; color: var(--stone); margin: 24px 0; }
.pagination { display: flex; justify-content: center; gap: 16px; margin-top: 56px; font-size: 1rem; }
.empty { padding: 64px 0; text-align: center; }

/* Product page */
.pdp { display: grid; gap: 28px; padding-top: 20px; padding-bottom: clamp(56px, 8vw, 112px); }
@media (min-width: 990px) { .pdp { grid-template-columns: 1.25fr 1fr; gap: 64px; padding-top: 32px; } }
.crumbs { font-size: 0.9rem; color: var(--stone); padding-top: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.gallery__main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 0; background: var(--paper-2); }
.gallery__main::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1/1; position: relative; }
.gallery__slide img { width: 100%; height: 100%; object-fit: contain; background: var(--paper-2); }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; margin-top: 10px; }
.gallery__thumb { padding: 0; border: 1px solid transparent; background: var(--paper-2); cursor: pointer; aspect-ratio: 1/1; overflow: hidden; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--ink); }
.gallery__dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.gallery__dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.gallery__dots span.is-active { background: var(--ink); }
@media (min-width: 990px) { .gallery__dots { display: none; } .pdp__media { position: sticky; top: 92px; align-self: start; } }
@media (max-width: 989px) { .gallery__thumbs { display: none; } .pdp__media { margin: 0 calc(var(--gutter) * -1); } }
.pdp__info h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); margin-bottom: 12px; }
.pdp__price { font-size: 1.25rem; margin-bottom: 18px; }
.oneofone { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--paper-2); font-size: 1rem; margin-bottom: 20px; }
.oneofone svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.specs { list-style: none; margin: 0 0 22px; padding: 0; border-top: 1px solid var(--line); }
.specs li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.specs li span:first-child { color: var(--stone); font-size: 0.92rem; letter-spacing: .04em; }
.pdp__form { display: grid; gap: 10px; margin-bottom: 18px; }
.shopify-payment-button__button--unbranded { min-height: 50px; border-radius: var(--radius) !important; }
.ask { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 26px; }
.light-note { border-left: 2px solid var(--accent); padding: 4px 0 4px 16px; margin: 0 0 24px; font-size: 1rem; }
.light-note strong { display: block; font: 400 1.15rem/1.3 var(--serif); margin-bottom: 4px; }
.desc { font-size: 1rem; margin-bottom: 24px; }
.desc p:last-child { margin-bottom: 0; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; font: 600 0.86rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font: 300 1.4rem/1 var(--sans); transition: transform .25s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .acc__body { padding: 0 0 20px; font-size: 1rem; color: color-mix(in srgb, var(--ink) 85%, var(--paper)); }
.trade-note { margin-top: 22px; padding: 16px; border: 1px dashed var(--line-strong); font-size: 0.98rem; }

/* Page hero + rich text */
.page-hero { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(32px, 4vw, 56px); }
.page-hero h1 { max-width: 16ch; }
.page-hero--night { background: var(--night); color: #EDE8DD; }
.page-hero--night .lede { color: #CFC9BC; }
.prose { font-size: 1.15rem; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.prose p { color: color-mix(in srgb, var(--ink) 86%, var(--paper)); }
.figure-row { display: grid; gap: 16px; }
@media (min-width: 750px) { .figure-row { grid-template-columns: 1fr 1fr; } }
.figure-row img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
@media (min-width: 750px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 0 40px; } }
.steps li { counter-increment: s; border-top: 1px solid var(--line-strong); padding: 20px 0 28px; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 400 1rem/1 var(--serif); font-style: italic; color: var(--stone); display: block; margin-bottom: 12px; }
.steps h3 { font-size: 1.45rem; margin-bottom: 6px; }
.steps p { margin: 0; font-size: .95rem; color: color-mix(in srgb, var(--ink) 80%, var(--paper)); }

/* Tiers */
.tiers { display: grid; gap: 16px; }
@media (min-width: 900px) { .tiers { grid-template-columns: 1fr 1fr; gap: 20px; } }
.tier { border: 1px solid var(--line-strong); padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 6px; background: var(--paper); }
.tier--featured { background: var(--night); color: #EDE8DD; border-color: var(--night); }
.tier--featured .muted { color: #A39E92; }
.tier h3 { font-size: 2rem; margin-bottom: 0; }
.tier__req { font: 600 0.84rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.tier ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 8px; }

/* Forms */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 750px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font: 600 0.78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; color: var(--stone); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: color-mix(in srgb, var(--paper) 60%, #fff); padding: 12px 14px; font-size: 1rem; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.form-note { font-size: 0.92rem; color: var(--stone); }
.form-success { padding: 18px; background: var(--paper-2); border-left: 2px solid var(--accent); }
.form-error { padding: 14px; background: #f7e3dc; }
.form-card { background: var(--paper-2); padding: clamp(24px, 4vw, 48px); }

/* Fit finder */
.fit { display: grid; gap: 32px; }
@media (min-width: 900px) { .fit { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.fit__result { background: var(--night); color: #EDE8DD; padding: clamp(24px, 4vw, 40px); }
.fit__num { font: 400 clamp(3.5rem, 8vw, 5.5rem)/1 var(--serif); margin: 6px 0 8px; }
.size-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.size-table th, .size-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.size-table th { font: 600 0.76rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }

/* Link-in-bio page */
.links-page { max-width: 520px; margin: 0 auto; padding: 40px var(--gutter) 72px; text-align: center; }
.links-page .wordmark-lg { font: 400 2.6rem/1 var(--serif); margin: 8px 0 6px; }
.links-list { display: grid; gap: 12px; margin-top: 28px; text-align: left; }
.link-tile { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--line-strong); text-decoration: none; background: var(--paper); transition: border-color .2s; }
.link-tile:hover { border-color: var(--ink); }
.link-tile img { width: 64px; height: 64px; object-fit: cover; background: var(--paper-2); }
.link-tile strong { display: block; font: 400 1.2rem/1.2 var(--serif); }
.link-tile span { font-size: 0.9rem; color: var(--stone); }
.link-tile--feature { background: var(--night); color: #EDE8DD; border-color: var(--night); }
.link-tile--feature span { color: #A39E92; }

/* Shows */
.shows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.show { display: grid; gap: 6px 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 750px) { .show { grid-template-columns: 180px 1fr auto; align-items: baseline; } }
.show__when { font: 600 0.84rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.show h3 { margin: 0; font-size: 1.6rem; }

/* Cart */
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line img { width: 96px; height: 96px; object-fit: cover; background: var(--paper-2); }
.cart-summary { background: var(--paper-2); padding: 28px; display: grid; gap: 14px; }
.cart-layout { display: grid; gap: 40px; padding-bottom: 96px; }
@media (min-width: 990px) { .cart-layout { grid-template-columns: 1.6fr 1fr; gap: 64px; align-items: start; } }

/* Footer */
.site-footer { background: var(--night); color: #CFC9BC; padding: clamp(56px, 7vw, 96px) 0 28px; font-size: 1rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; } }
.site-footer h4 { font: 600 0.78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #8F8A7F; margin: 0 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-word { font: 400 2.4rem/1 var(--serif); color: #F4EFE4; margin-bottom: 14px; }
.newsletter { display: flex; margin-top: 18px; border-bottom: 1px solid rgba(237,232,221,.4); max-width: 380px; }
.newsletter input { flex: 1; background: transparent; border: 0; padding: 12px 0; color: #F4EFE4; min-width: 0; }
.newsletter input::placeholder { color: #8F8A7F; }
.newsletter button { background: none; border: 0; color: #F4EFE4; font: 600 0.82rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(237,232,221,.15); font-size: 0.88rem; color: #8F8A7F; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* Desktop hero: photo sits right, copy on solid black */
@media (min-width: 990px) {
  .hero__media { left: 34%; }
  .hero__media img { object-position: 50% 30%; }
  .hero__media::after { background: linear-gradient(90deg, var(--night) 0%, rgba(12,12,10,.55) 14%, rgba(12,12,10,0) 34%); }
  .hero__copy { max-width: 460px; }
}

/* Mobile hero: photo on top, copy on solid black below */
@media (max-width: 749px) {
  .hero__media { bottom: auto; height: 62svh; }
  .hero__media::after { background: linear-gradient(0deg, var(--night) 0%, rgba(12,12,10,0) 38%); }
  .hero__inner { min-height: 0; padding-top: 54svh; padding-bottom: 48px; }
  .hero h1 { font-size: 2.6rem; }
  .header-icons a[aria-label="Account"], .header-icons a[aria-label="Partner sign in"] { display: none; }
  .wordmark { font-size: 1.7rem; }
  .preview-bar { font-size: 0.78rem; }
}

/* Pill choices (replace dropdowns) */
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { display: block; font: 600 0.78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; color: var(--stone); padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: color-mix(in srgb, var(--paper) 60%, #fff); font-size: 0.98rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.choice span:hover { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.sort-chips { display: flex; gap: 8px; flex: none; }
.field label.choice { display: inline-block; margin: 0; font: 400 1rem/1.2 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
@media (max-width: 989px) { .pdp__media .caption { padding: 0 var(--gutter); } }


/* Home hero, refined: copy centered on solid black, photo fades in from the right with no seam */
.hero .eyebrow { white-space: nowrap; }
.hero .btn-row { flex-wrap: nowrap; }
.hero .btn { padding: 0 24px; }
@media (min-width: 990px) {
  .hero__inner { min-height: min(80vh, 760px); align-items: center; padding-top: 72px; padding-bottom: 72px; }
  .hero__copy { max-width: 540px; }
  .hero__media { left: 38%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 12%, #000 32%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 12%, #000 32%); }
  .hero__media::after { background: linear-gradient(0deg, rgba(12,12,10,.35), rgba(12,12,10,0) 30%); }
  .hero__media img { object-position: 60% 28%; }
  .hero h1 { font-size: calc(clamp(3rem, 4.6vw, 4.4rem) * var(--serif-scale, 1)); }
}
@media (min-width: 990px) and (max-width: 1279px) { .hero__media { left: 44%; } .hero__copy { max-width: 460px; } }
@media (max-width: 749px) { .hero .eyebrow { white-space: normal; } .hero .btn-row { flex-wrap: wrap; } }
.hero .btn { white-space: nowrap; }
@media (min-width: 990px) and (max-width: 1279px) { .hero .btn { padding: 0 18px; letter-spacing: .1em; } .hero__copy { max-width: 500px; } }
@media (max-width: 749px) { .hero .eyebrow { white-space: nowrap; letter-spacing: .08em; font-size: .78rem; } }

/* Yax Tun glyph mark beside the name */
.wordmark { gap: 10px; }
.wordmark__mark { width: auto; height: 34px; display: inline-block; flex: none; }
.footer-word { display: flex; align-items: center; gap: 12px; }
.footer-word .wordmark__mark { height: 44px; }
.o-brand .wordmark__mark { height: 26px; vertical-align: -5px; margin-right: 6px; }
.cad-brand .wordmark__mark { height: 28px; margin-right: 2px; align-self: center; }
@media (max-width: 749px) { .wordmark__mark { height: 28px; } }
.wordmark img.wordmark__mark { width: auto; height: 34px; }
@media (max-width: 749px) { .wordmark img.wordmark__mark { height: 28px; } }
