/* =========================================================
   Stone tablets: every surface reads as a cut slab of stone.
   Raised tablets carry grain, a beveled edge and a resting shadow;
   on hover they lift and the shadow deepens. Fields and board
   columns are carved into the surface instead.
   ========================================================= */
:root {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .09 0 0 0 0 .085 0 0 0 0 .06 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --veins: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='v'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .02' numOctaves='4' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .3 0 0 0 0 .24 0 0 0 .16 -.03'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23v)'/%3E%3C/svg%3E");
  --grain-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .98 0 0 0 0 .94 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --slab: #F8F5EE;
  --slab-2: #EFEADF;
  --slab-dark: #1C1B18;
  --slab-dark-2: #151512;
  --tablet-radius: 10px;
  --tablet: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -3px 0 rgba(23,22,15,.09), inset 1px 0 0 rgba(255,255,255,.45), inset -1px 0 0 rgba(23,22,15,.05),
            0 1px 1px rgba(23,22,15,.06), 0 3px 6px -2px rgba(23,22,15,.10), 0 10px 18px -12px rgba(23,22,15,.22);
  --tablet-hover: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -3px 0 rgba(23,22,15,.1), inset 1px 0 0 rgba(255,255,255,.5), inset -1px 0 0 rgba(23,22,15,.06),
            0 2px 3px rgba(23,22,15,.08), 0 14px 24px -10px rgba(23,22,15,.28), 0 30px 50px -26px rgba(23,22,15,.40);
  --tablet-dark: inset 0 1px 0 rgba(255,255,255,.07), inset 0 -2px 0 rgba(0,0,0,.45), 0 1px 1px rgba(0,0,0,.4), 0 10px 20px -12px rgba(0,0,0,.7);
  --tablet-dark-hover: inset 0 1px 0 rgba(255,255,255,.09), inset 0 -2px 0 rgba(0,0,0,.5), 0 2px 3px rgba(0,0,0,.45), 0 22px 40px -18px rgba(0,0,0,.85);
  --carved: inset 0 2px 3px rgba(23,22,15,.12), inset 0 1px 1px rgba(23,22,15,.10), inset 0 -1px 0 rgba(255,255,255,.7);
  --carved-dark: inset 0 2px 4px rgba(0,0,0,.55), inset 0 -1px 0 rgba(255,255,255,.05);
  --lift: translateY(-3px);
}

/* The page itself has a faint mineral grain */
body { background-image: var(--grain); background-attachment: fixed; }
.section--panel { background-image: var(--grain), linear-gradient(180deg, var(--paper-2), color-mix(in srgb, var(--paper-2) 80%, var(--paper))); }
.section--night, .site-footer, .announce, .hero, .page-hero--night { background-image: var(--grain-dark); }

/* Raised tablets (light) */
.card, .variety, .duo__card, .collab, .link-tile, .tier, .form-card, .oneofone, .trade-note, .cart-summary, .mega__feature,
.o-kpi, .o-card, .o-item, .cad-role, .cad-item, .cad-card, .cad-job, .cad-decide, .cad-empty, .early-note, .light-note, .fontpick__panel {
  background-color: var(--slab);
  background-image: var(--grain), var(--veins), linear-gradient(165deg, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 38%, rgba(23,22,15,.04) 100%);
  background-size: 180px 180px, 600px 600px, 100% 100%;
  border: 1px solid rgba(23,22,15,.10);
  border-radius: var(--tablet-radius);
  box-shadow: var(--tablet);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease);
}
.cad-fact, .specs li, .cad-version, .o-tag, .cad-pill { box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 1px 2px rgba(23,22,15,.08); }
.cad-fact { background-color: var(--slab-2); background-image: var(--grain); border: 1px solid rgba(23,22,15,.06); border-radius: 8px; transition: box-shadow .3s var(--ease); }

/* Product cards become framed tablets */
.card { padding: 10px 10px 14px; }
.card__media { border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(23,22,15,.08); }
.card__body { padding: 14px 6px 0; }
.maker__piece.card { padding: 12px 12px 16px; }
.variety { padding: 0; }
.variety img { border-radius: inherit; }
.light-note { border-left: 3px solid var(--accent); padding: 14px 16px; }

/* Raised tablets on dark grounds */
.section--night .card, .section--night .pillar, .section--night .collab, .fit__result, .tier--featured, .link-tile--feature,
.ph, .section--night .duo__card {
  background-color: var(--slab-dark);
  background-image: var(--grain-dark), linear-gradient(165deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,0) 40%);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--tablet-radius);
  box-shadow: var(--tablet-dark);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.section--night .pillar { padding: 26px 24px 28px; border-top: 1px solid rgba(255,255,255,.08); }
.section--night .card__media { background: #121210; }
.ph { padding: 0; overflow: hidden; }

/* Carved into the surface */
.field input, .field select, .field textarea, .cad-field input, .cad-field textarea, .cad-field select, .newsletter,
.o-col, .cad-col, .cad-viewer, .cad-drop, .gallery__main, .o-progress, .o-bar .o-track, .cad-steps li, .filters, .o-seg, .size-table {
  box-shadow: var(--carved);
}
.field input, .field select, .field textarea, .cad-field input, .cad-field textarea { border-radius: 8px; background-color: #FCFAF5; }
.o-col, .cad-col { background-color: var(--paper-2); background-image: var(--grain); border-radius: 12px; }
.gallery__main { border-radius: var(--tablet-radius); }
.gallery__thumb { border-radius: 6px; box-shadow: var(--tablet); }
.cad-viewer, .cad-drop { border-radius: 10px; }
.newsletter { box-shadow: none; }
.section--night .o-col, .o-side .o-nav button.is-active { box-shadow: var(--carved-dark); }

/* Buttons and pills: small stones */
.btn, .cad-btn, .o-btn, .chip, .choice span, .cad-tab, .cad-version, .text-link {
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn, .cad-btn { box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 -2px 0 rgba(0,0,0,.25), 0 2px 4px -1px rgba(23,22,15,.25), 0 6px 12px -8px rgba(23,22,15,.35); }
.btn--ghost, .btn--ghost-light, .cad-btn--ghost, .cad-btn--quiet { box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 1px 2px rgba(23,22,15,.10); }
.chip, .choice span, .cad-tab, .o-btn { box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 1px 2px rgba(23,22,15,.10); background-color: color-mix(in srgb, var(--slab) 85%, transparent); }
.chip.is-active, .choice input:checked + span, .cad-tab.is-active, .cad-version.is-active { box-shadow: inset 0 2px 3px rgba(0,0,0,.35), inset 0 -1px 0 rgba(255,255,255,.08); }

/* Hover: lift and deepen the shadow (pointer devices only) */
@media (hover: hover) {
  .card:hover, .variety:hover, .duo__card:hover, .collab:hover, .link-tile:hover, .tier:hover, .form-card:hover, .cart-summary:hover, .mega__feature:hover,
  .o-kpi:hover, .o-card:hover, .o-item:hover, .cad-role:hover, .cad-item:hover, .cad-card:hover, .cad-job:hover, .cad-decide:hover,
  .oneofone:hover, .trade-note:hover, .early-note:hover, .light-note:hover, .cad-empty:hover {
    box-shadow: var(--tablet-hover); border-color: rgba(23,22,15,.16);
  }
  .card:hover, .variety:hover, .duo__card:hover, .collab:hover, .link-tile:hover, .tier:hover, .o-kpi:hover, .o-item:hover,
  .cad-role:hover, .cad-item:hover, .cad-job:hover, .mega__feature:hover { transform: var(--lift); }
  .section--night .card:hover, .section--night .pillar:hover, .section--night .collab:hover, .fit__result:hover, .tier--featured:hover,
  .link-tile--feature:hover, .ph:hover, .section--night .duo__card:hover { box-shadow: var(--tablet-dark-hover); transform: var(--lift); }
  .cad-fact:hover, .specs li:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 6px 14px -8px rgba(23,22,15,.35); }
  .btn:hover, .cad-btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 -2px 0 rgba(0,0,0,.25), 0 4px 8px -2px rgba(23,22,15,.3), 0 14px 22px -12px rgba(23,22,15,.45); }
  .chip:hover, .choice span:hover, .cad-tab:hover, .cad-version:hover, .o-btn:hover, .gallery__thumb:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 6px 12px -6px rgba(23,22,15,.35); }
}
@media (prefers-reduced-motion: reduce) {
  .card, .variety, .duo__card, .collab, .link-tile, .tier, .o-kpi, .o-item, .cad-role, .cad-item, .cad-job, .btn, .cad-btn, .chip { transform: none !important; }
}

/* States that must survive the stone surface */
.cad-item.is-active { box-shadow: inset 4px 0 0 var(--accent), var(--tablet-hover); border-color: var(--ink); }
.cad-decide { border: 2px solid var(--ink); }
.cad-role { min-height: 150px; }
.steps li.has-img { background-color: var(--slab); background-image: var(--grain), var(--veins); background-size: 180px 180px, 600px 600px; border: 1px solid rgba(23,22,15,.10); border-radius: var(--tablet-radius); box-shadow: var(--tablet); padding: 12px 12px 18px; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.steps li.has-img h3, .steps li.has-img p, .steps li.has-img::before { padding: 0 6px; }
@media (hover: hover) { .steps li.has-img:hover { box-shadow: var(--tablet-hover); transform: var(--lift); } }
.step-img { box-shadow: inset 0 0 0 1px rgba(23,22,15,.08); }
.builder__main, .builder__sum, .b-tile, .b-stone { background-color: var(--slab); background-image: var(--grain), var(--veins); background-size: 180px 180px, 600px 600px; border: 1px solid rgba(23,22,15,.10); border-radius: var(--tablet-radius); box-shadow: var(--tablet); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.b-tile.is-on, .b-stone.is-on { box-shadow: var(--tablet-hover), inset 0 0 0 2px var(--ink); }
@media (hover: hover) { .b-tile:hover, .b-stone:hover { box-shadow: var(--tablet-hover); transform: var(--lift); } .builder__sum:hover, .builder__main:hover { box-shadow: var(--tablet-hover); } }
.steps li.is-link:not(.has-img) { background-color: var(--slab); background-image: var(--grain), var(--veins); background-size: 180px 180px, 600px 600px; border: 1px solid rgba(23,22,15,.10); border-radius: var(--tablet-radius); box-shadow: var(--tablet); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
@media (hover: hover) { .steps li.is-link:not(.has-img):hover { box-shadow: var(--tablet-hover); transform: var(--lift); } }

/* Glyph-only wordmark (official name treatment pending from Yax Tun) */
.site-header .wordmark__mark { height: 46px; }
.drawer .wordmark__mark { height: 40px; }
.footer-word .wordmark__mark { height: 72px; }

/* Cinematic hero (Akente style): the video plays once and holds on the glowing medallion */
.cine { position: relative; height: calc(100svh - 120px); min-height: 560px; background: #070806; overflow: hidden; color: #F4EFE4; }
.cine__video, .cine__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0% 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 94%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 6%, #000 96%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 94%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 6%, #000 96%, transparent 100%); mask-composite: intersect; }
.cine__still { display: none; }
.cine__vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 80% 80% at 45% 50%, transparent 35%, rgba(7,8,6,.45) 80%, rgba(7,8,6,.8) 100%); }
.cine__copy { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(92vw, 900px); text-align: center; opacity: 0; transition: opacity 1.8s ease, transform 1.8s ease; transform: translate(-50%, calc(-50% + 18px)); }
.cine__copy.is-on { opacity: 1; transform: translate(-50%, -50%); }
.cine__title { margin: 0; line-height: .95; font-weight: 400; }
.cine__title span:first-child { display: block; font-size: clamp(3.6rem, 9vw, 9rem); letter-spacing: .02em; color: #F8F4EE; text-shadow: 0 2px 40px rgba(7,8,6,.85); }
.cine__title span:last-child { display: block; margin-top: .35em; font-size: clamp(1.05rem, 2.2vw, 2rem); letter-spacing: .32em; text-transform: uppercase; color: #8FD3B7; text-shadow: 0 2px 30px rgba(7,8,6,.7); }
.cine__tag { margin: 30px 0 22px; font-size: .9rem; letter-spacing: .28em; text-transform: uppercase; color: rgba(248,244,238,.6); }
.cine__pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pill-glass { display: inline-flex; align-items: center; padding: 14px 26px; border-radius: 999px; font: 400 1.05rem/1 var(--serif); letter-spacing: .08em; color: #F8F4EE; text-decoration: none;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); border: 1px solid rgba(248,244,238,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 8px 30px rgba(0,0,0,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .3s, border-color .3s, transform .3s; }
.pill-glass:hover { background: linear-gradient(180deg, rgba(143,211,183,.28), rgba(143,211,183,.08)); border-color: rgba(143,211,183,.6); transform: translateY(-2px); }
@keyframes cineIn { from { opacity: 0; transform: translateY(calc(-50% + 16px)); } to { opacity: 1; transform: translateY(-50%); } }
.aurora { position: relative; overflow: hidden; background: #070806; color: #F4EFE4; padding: clamp(72px, 10vw, 128px) 0; text-align: center; }
.aurora::before { content: ""; position: absolute; inset: -40%; background: radial-gradient(40% 35% at 30% 40%, rgba(61,139,110,.35), transparent 70%), radial-gradient(35% 30% at 70% 60%, rgba(70,120,140,.3), transparent 70%), radial-gradient(30% 25% at 50% 30%, rgba(143,211,183,.18), transparent 70%); filter: blur(30px); animation: auroraDrift 18s ease-in-out infinite alternate; }
.aurora__inner { position: relative; }
.aurora h2 { color: #F8F4EE; font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin: 0 0 14px; }
.aurora p { color: #BFD9CE; max-width: 46ch; margin: 0 auto; font-size: 1.15rem; }
@keyframes auroraDrift { from { transform: translate3d(-4%, -2%, 0) rotate(0deg); } to { transform: translate3d(4%, 3%, 0) rotate(8deg); } }
@media (prefers-reduced-motion: reduce) {
  .cine__video { display: none; } .cine__still { display: block; } .cine__copy { opacity: 1; transition: none; } .aurora::before { animation: none; }
}
@media (max-width: 749px) {
  .cine { height: auto; min-height: 0; padding-bottom: 40px; }
  .cine__video, .cine__still { position: relative; left: 0; width: 100%; height: 56svh; object-position: 0% 100%; }
  .cine__copy, .cine__copy.is-on { position: relative; top: auto; left: auto; transform: none; width: auto; margin: -40px 20px 0; opacity: 1; }
  .cine__title span:first-child { font-size: 3.6rem; }
  .cine__title span:last-child { font-size: 1rem; }
}

/* Carvers credit */
.carvers { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.carvers li { display: grid; gap: 2px; padding-left: 14px; border-left: 2px solid var(--accent, #3D6B6E); }
.carvers strong { color: var(--ink); font-weight: 600; }
.section--panel .carvers strong { color: inherit; }

/* Super Partner jaguar */
.tier--jaguar { overflow: hidden; --tier-pad: clamp(24px, 3.5vw, 40px); }
.tier__jaguar { display: block; width: calc(100% + 2 * var(--tier-pad, 28px)); max-width: none; margin: calc(-1 * var(--tier-pad, 28px)) calc(-1 * var(--tier-pad, 28px)) 20px; aspect-ratio: 16 / 8; object-fit: cover; }
.jaguar-badge { margin: 26px 0 0; border-radius: 14px; overflow: hidden; background: #0C0C0A; color: #EDE8DD; }
.jaguar-badge img, .jaguar-badge video { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.jaguar-badge figcaption { padding: 14px 18px 18px; font-size: 1rem; color: #CFC9BC; }
.jaguar-badge strong { color: #F4EFE4; }
.office .o-btn.o-btn--primary { background: #17160F; color: #F3EFE7; border-color: #17160F; }
.office .o-btn.o-btn--primary:hover { background: #2a2820; color: #fff; }

/* Animated page headers (story, trade, custom, shows): copy is readable from the first frame */
.cine--page { height: min(80svh, 780px); min-height: 520px; }
.cine--page .cine__video, .cine--page .cine__still { object-position: 72% 50%; }
.cine--page .cine__vignette { background: linear-gradient(90deg, rgba(7,8,6,.9) 0%, rgba(7,8,6,.55) 34%, rgba(7,8,6,0) 62%), linear-gradient(0deg, rgba(7,8,6,.7) 0%, rgba(7,8,6,0) 35%); }
.cine--page .cine__copy, .cine--page .cine__copy.is-on { top: auto; bottom: clamp(36px, 8vh, 88px); left: max(var(--gutter, 24px), calc((100vw - 1320px) / 2)); right: auto; transform: none; width: min(48vw, 600px); text-align: left; opacity: 1; transition: none; animation: cinePage 1.2s ease .3s both; }
.cine__eyebrow { margin: 0 0 12px; font-size: .85rem; letter-spacing: .28em; text-transform: uppercase; color: #8FD3B7; }
.cine__h { margin: 0; font-weight: 400; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1.02; color: #F8F4EE; text-shadow: 0 2px 30px rgba(7,8,6,.8); }
.cine__lede { margin: 18px 0 26px; max-width: 46ch; font-size: 1.15rem; line-height: 1.55; color: rgba(248,244,238,.78); }
.cine--page .cine__pills { justify-content: flex-start; }
@keyframes cinePage { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cine--page .cine__copy { animation: none; } }
@media (max-width: 749px) {
  .cine--page { height: auto; min-height: 0; }
  .cine--page .cine__video, .cine--page .cine__still { height: 50svh; object-position: 68% 50%; }
  .cine--page .cine__vignette { background: linear-gradient(0deg, #070806 0%, rgba(7,8,6,0) 30%); height: 50svh; bottom: auto; }
  .cine--page .cine__copy, .cine--page .cine__copy.is-on { position: relative; left: auto; bottom: auto; width: auto; margin: -28px 20px 0; }
  .cine__h { font-size: 2.4rem; }
  .cine__lede { font-size: 1.05rem; }
  .pill-glass { padding: 12px 18px; font-size: .98rem; }
}
@media (min-width: 750px) { .cine--shift .cine__video, .cine--shift .cine__still { left: 20%; width: 100%; object-position: 50% 50%; } }

/* Phones: show most of the 16:9 scene in a 4:3 frame, copy sits below it */
@media (max-width: 749px) {
  .cine { padding-bottom: 44px; }
  .cine__video, .cine__still, .cine--page .cine__video, .cine--page .cine__still { position: relative; display: block; left: 0; width: 100%; height: auto; aspect-ratio: 4 / 3;
    -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%); mask-image: linear-gradient(to bottom, #000 80%, transparent 100%); }
  .cine .cine__still, .cine--page .cine__still { display: none; }
  .cine__video { object-position: 0% 100%; }
  .cine--page .cine__video, .cine--page .cine__still { object-position: 78% 50%; }
  .cine--shift .cine__video, .cine--shift .cine__still { object-position: 50% 50%; }
  .cine__vignette, .cine--page .cine__vignette { display: none; }
  .cine__copy, .cine__copy.is-on, .cine--page .cine__copy, .cine--page .cine__copy.is-on { margin: 18px 20px 0; }
  .cine__title span:first-child { font-size: 3.4rem; }
  .cine__title span:last-child { font-size: .92rem; letter-spacing: .16em; }
  .cine__tag { margin: 18px 0 18px; font-size: .74rem; letter-spacing: .16em; }
  .cine__eyebrow { font-size: .74rem; letter-spacing: .2em; }
}
@media (max-width: 749px) and (prefers-reduced-motion: reduce) { .cine .cine__video { display: none; } .cine .cine__still, .cine--page .cine__still { display: block; } }

/* Home hero on phones: vertical video fills the screen, name fades in over it like desktop */
.cine__still img { width: 100%; height: 100%; object-fit: cover; object-position: inherit; display: block; }
@media (max-width: 749px) {
  .cine:not(.cine--page) { height: calc(100svh - 190px); min-height: 560px; padding-bottom: 0; }
  .cine:not(.cine--page) .cine__video, .cine:not(.cine--page) .cine__still { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-position: 0% 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 6%, #000 94%, transparent 100%); }
  .cine:not(.cine--page) .cine__vignette { display: block; background: radial-gradient(ellipse 90% 60% at 50% 45%, rgba(7,8,6,.15) 0%, rgba(7,8,6,.55) 100%); }
  .cine:not(.cine--page) .cine__copy { position: absolute; top: 40%; left: 50%; margin: 0; width: calc(100% - 40px); transform: translate(-50%, calc(-50% + 16px)); opacity: 0; transition: opacity 1.6s ease, transform 1.6s ease; }
  .cine:not(.cine--page) .cine__copy.is-on { transform: translate(-50%, -50%); opacity: 1; }
}
@media (max-width: 749px) and (prefers-reduced-motion: reduce) {
  .cine:not(.cine--page) .cine__still { display: block; } .cine:not(.cine--page) .cine__copy { opacity: 1; transition: none; }
}

/* Bangle fit finder (ported from the Jade Bangle Co concept) */
.bfit { display: grid; gap: 28px; }
@media (min-width: 900px) { .bfit { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; } }
.bfit__steps { display: grid; gap: 26px; }
.bfit__step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
.bfit__step h3 { margin: 4px 0 6px; font-size: 1.35rem; }
.bfit__step p { margin: 0 0 14px; }
.bfit__n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--night, #0C0C0A); color: #EDE8DD; font: 400 1.2rem/1 var(--serif); }
.bfit__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.bfit__row input { width: 140px; font: 400 1.6rem/1 var(--serif); padding: 10px 14px; border: 1px solid var(--line-strong, rgba(23,22,15,.25)); border-radius: 10px; background: #fff; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 4px; border-radius: 999px; background: rgba(23,22,15,.06); }
.seg__b { border: 0; background: transparent; padding: 10px 16px; border-radius: 999px; font: 500 .98rem/1 var(--sans); color: var(--ink); cursor: pointer; }
.seg__b.is-on { background: var(--night, #0C0C0A); color: #F4EFE4; }
.bfit__out { background: #070806; color: #EDE8DD; border-radius: 18px; padding: clamp(24px, 4vw, 40px); position: relative; overflow: hidden; }
.bfit__out::before { content: ""; position: absolute; inset: -30%; background: radial-gradient(35% 30% at 70% 30%, rgba(61,139,110,.35), transparent 70%); pointer-events: none; }
.bfit__out > * { position: relative; }
.bfit__num { font: 400 clamp(4rem, 10vw, 6rem)/1 var(--serif); color: #F8F4EE; margin: 6px 0 6px; }
.bfit__num small { font-size: .3em; margin-left: 6px; color: #8FD3B7; letter-spacing: .1em; }
.bfit__range { color: #BFD9CE; margin: 0 0 18px; }
.bfit__clear { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center; }
.bfit__clear svg { width: 120px; height: 120px; }
.bfit__clear p { margin: 0; font-size: .95rem; color: #CFC9BC; }
.onsteps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.onstep { margin: 0; background: var(--paper, #F3EFE7); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 0 rgba(23,22,15,.06), 0 12px 30px rgba(23,22,15,.08); }
.onstep img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.onstep figcaption { padding: 16px 18px 20px; }
.onstep h3 { margin: 6px 0 6px; font-size: 1.25rem; }
.onstep p { margin: 0; }
.profiles { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.profile { padding: 22px; border: 1px solid var(--line, rgba(23,22,15,.12)); border-radius: 14px; background: #fff; }
.profile svg { width: 120px; height: 70px; display: block; margin-bottom: 10px; }
.profile h3 { margin: 0 0 6px; font-size: 1.3rem; }
.profile p { margin: 0; }
.faqs { display: grid; gap: 10px; margin-top: 18px; }
.faq { border-bottom: 1px solid var(--line, rgba(23,22,15,.12)); padding: 6px 0 14px; }
.faq summary { cursor: pointer; font: 400 1.25rem/1.3 var(--serif); list-style: none; padding: 10px 28px 6px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 8px; font-size: 1.4rem; color: var(--accent, #3D6B6E); }
.faq[open] summary::after { content: "\2212"; }
.faq p { margin: 4px 0 0; }
@media (max-width: 749px) {
  .bfit__step { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
  .bfit__n { width: 36px; height: 36px; font-size: 1rem; }
  .bfit__clear { grid-template-columns: 90px minmax(0, 1fr); }
  .bfit__clear svg { width: 90px; height: 90px; }
  .seg__b { padding: 9px 13px; font-size: .92rem; }
}

/* Phone home hero: show the whole vertical video (no crop) so the bird is visible the entire flight */
@media (max-width: 749px) {
  .cine:not(.cine--page) { width: 100%; height: min(calc(100vw * 16 / 9), calc(100svh - 120px)); min-height: 0; aspect-ratio: auto; background: #070806; }
  .cine:not(.cine--page) .cine__video, .cine:not(.cine--page) .cine__still { object-fit: contain; object-position: 50% 50%; -webkit-mask-image: none; mask-image: none; }
  .cine:not(.cine--page) .cine__still img { object-fit: contain; }
  .cine:not(.cine--page) .cine__vignette { background: radial-gradient(ellipse 100% 55% at 50% 42%, rgba(7,8,6,.1) 0%, rgba(7,8,6,.35) 100%); }
}

/* True black behind the hero so letterboxing disappears into the video's pure-black frames */
.cine:not(.cine--page), .aurora { background: #000; }
.cine:not(.cine--page) .cine__vignette { background: radial-gradient(ellipse 80% 80% at 45% 50%, transparent 35%, rgba(0,0,0,.45) 80%, rgba(0,0,0,.8) 100%); }
@media (max-width: 749px) {
  .cine:not(.cine--page) { background: #000; }
  .cine:not(.cine--page) .cine__vignette { background: none; }
}
/* Phones turned sideways: wide video, compact type so it all fits the short screen */
@media (min-width: 750px) and (max-height: 560px) {
  .cine:not(.cine--page) { height: calc(100svh - 64px); min-height: 0; }
  .cine:not(.cine--page) .cine__title span:first-child { font-size: clamp(2.2rem, 13vh, 4.2rem); }
  .cine:not(.cine--page) .cine__title span:last-child { font-size: clamp(.8rem, 4vh, 1.2rem); }
  .cine:not(.cine--page) .cine__tag { margin: 10px 0 10px; font-size: .7rem; }
  .cine:not(.cine--page) .pill-glass { padding: 9px 16px; font-size: .9rem; }
  .preview-bar, .announce { display: none; }
}

/* Shopify theme: hero with no clip picked yet shows its last frame; photo-only page headers stay visible with reduced motion */
.cine.cine--still .cine__still { display: block; }
.cine.cine--still .cine__copy { opacity: 1; }
.cine img.cine__photo { display: block; }
/* Variety tile with no image yet: plain stone surface */
.variety--blank { background: radial-gradient(120% 90% at 30% 20%, #4f7f74 0%, #2c4a45 45%, #141a17 100%); }

/* Shop search (Oct 31): the header search icon lands here and focuses the field. */
.shop-search { padding-top: 4px; padding-bottom: 8px; }
.shop-search input[type=search] { width: 100%; max-width: 560px; height: 46px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; font: 400 1rem/1 var(--sans); color: inherit; }
.shop-search input[type=search]:focus { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Shop by piece tiles and grouped cards (Oct 31): the shop opens on categories, and look-alike pieces share one card. */
.shop-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 4px 0 20px; max-width: 980px; }
.shop-every { margin: 0 0 8px; }
.shop-every[hidden] { display: none; }
.shop-cats[hidden] { display: none; }
.shop-cat { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 14px; background: var(--paper-2); text-decoration: none; }
.shop-cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.shop-cat:hover img { transform: scale(1.04); }
.shop-cat span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 14px; color: #fff; font: 400 1.35rem/1.15 var(--serif); background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.card__options { margin: 4px 0 0; font: 500 0.85rem/1.3 var(--sans); color: var(--stone); }
@media (max-width: 560px) { .shop-cats { grid-template-columns: repeat(2, 1fr); gap: 10px; } .shop-cat span { font-size: 1.05rem; padding: 20px 10px 10px; } }

/* Section hero with a slow Ken Burns move, and a fade each time the shop view changes (Oct 31). */
.coll-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; }
@media (min-width: 900px) { .coll-head { grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); } }
.coll-hero { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--paper-2); box-shadow: 0 18px 40px -24px rgba(12, 12, 10, .45); }
@media (min-width: 900px) { .coll-hero { aspect-ratio: 4 / 3; } }
.coll-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s var(--ease); animation: ytKenBurns 18s ease-in-out infinite alternate; transform-origin: 60% 40%; }
.coll-hero img.is-on { opacity: 1; }
@keyframes ytKenBurns { from { transform: scale(1.03) translate(0, 0); } to { transform: scale(1.16) translate(-3%, -2%); } }
@keyframes ytViewIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.grid.is-swapping [data-card]:not([hidden]) { animation: ytViewIn .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
.shop-cats.is-swapping .shop-cat { animation: ytViewIn .6s var(--ease) both; }
.shop-cats.is-swapping .shop-cat:nth-child(2) { animation-delay: 50ms; } .shop-cats.is-swapping .shop-cat:nth-child(3) { animation-delay: 100ms; }
.shop-cats.is-swapping .shop-cat:nth-child(4) { animation-delay: 150ms; } .shop-cats.is-swapping .shop-cat:nth-child(5) { animation-delay: 200ms; }
.shop-cats.is-swapping .shop-cat:nth-child(6) { animation-delay: 250ms; } .shop-cats.is-swapping .shop-cat:nth-child(n+7) { animation-delay: 300ms; }
.coll-head.is-swapping .coll-head__text { animation: ytViewIn .5s var(--ease) both; }

/* Filter chips (Oct 31): wrap onto a second line on wider screens instead of being cut off; on phones they scroll with a soft fade at the edge. */
@media (min-width: 900px) { .filters__row { flex-wrap: wrap; overflow: visible; row-gap: 10px; } }
@media (max-width: 899px) { .filters__row { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); padding-right: 40px; } }
@media (prefers-reduced-motion: reduce) { .coll-hero img { animation: none; } .grid.is-swapping [data-card], .shop-cats.is-swapping .shop-cat, .coll-head.is-swapping .coll-head__text { animation: none; } }

/* The Studio (Oct 31): 3D scans in a dark gallery room. */
.page-studio { background: #0C0C0A; color: #EDE8DD; }
.page-studio .site-header { background: color-mix(in srgb, #0C0C0A 90%, transparent); color: #EDE8DD; }
.page-studio .site-header img.wordmark__mark { filter: invert(1); }
.studio { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(64px, 9vw, 120px); }
.studio__head { max-width: 640px; margin-bottom: 28px; }
.studio__head .eyebrow, .page-studio .muted { color: #A39E92; }
.studio__piece { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin: 0 0 56px; }
@media (min-width: 900px) { .studio__piece { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; } }
.studio__piece model-viewer { width: 100%; height: min(72vh, 620px); background: radial-gradient(ellipse at 50% 40%, #2a2925 0%, #0C0C0A 70%); border-radius: 18px; --poster-color: transparent; }
.studio__piece figcaption h2 { margin: 0 0 8px; }
.studio__ar { position: absolute; left: 16px; bottom: 16px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(237,232,221,.4); background: rgba(12,12,10,.6); color: #EDE8DD; font: 500 0.9rem/1 var(--sans); }
.studio__size { font: 500 0.9rem/1.3 var(--sans); letter-spacing: .04em; color: #A39E92; margin: 0 0 12px; }

/* Buying flow (Nov 6): Buy now first, Add to bag second, the facts buyers look for, a mini bag and a phone buy bar. */
.pdp__form { display: grid; gap: 10px; }
.btn--buy { background: var(--accent, #1F6B55); border-color: var(--accent, #1F6B55); color: #fff; }
.btn--buy:hover { filter: brightness(1.08); }
.btn--add { background: transparent; }
.buy-facts { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; font: 400 0.92rem/1.4 var(--sans); color: var(--stone); }
.buy-facts li { padding-left: 22px; position: relative; }
.buy-facts li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 11px; height: 6px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); opacity: .8; }
.buy-facts a { color: inherit; }
.mini-bag { position: fixed; inset: 0; z-index: 90; }
.mini-bag[hidden] { display: none; }
.mini-bag__scrim { position: absolute; inset: 0; background: rgba(12,12,10,.45); opacity: 0; transition: opacity .3s var(--ease); }
.mini-bag__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(92vw, 400px); background: var(--paper); padding: calc(18px + env(safe-area-inset-top, 0px)) 22px calc(24px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 12px; transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto; }
.mini-bag.is-open .mini-bag__scrim { opacity: 1; }
.mini-bag.is-open .mini-bag__panel { transform: none; }
.mini-bag__head { display: flex; justify-content: space-between; align-items: center; }
.mini-bag__head h2 { margin: 0; font-size: 1.35rem; }
.mini-bag__item { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mini-bag__item img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; }
.mini-bag__name { margin: 0 0 4px; font-weight: 500; }
.mini-bag__price { margin: 0; color: var(--stone); }
.mini-bag__total { display: flex; justify-content: space-between; margin: 4px 0 0; font-size: 1.05rem; }
.mini-bag .linkish { align-self: center; margin-top: 4px; }
html.no-scroll { overflow: hidden; }
.buy-bar { display: none; }
@media (max-width: 899px) {
  .buy-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 12px; align-items: center; justify-content: space-between;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: color-mix(in srgb, var(--paper) 96%, transparent); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(12,12,10,.35);
    transform: translateY(110%); transition: transform .3s var(--ease); }
  .buy-bar[hidden] { display: none; }
  .buy-bar.is-on { transform: none; }
  .buy-bar__text { min-width: 0; display: grid; }
  .buy-bar__title { font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--stone); }
  .buy-bar__price { font-weight: 600; font-size: 1.1rem; }
  .buy-bar .btn { flex: none; padding-left: 22px; padding-right: 22px; }
}
@media (prefers-reduced-motion: reduce) { .mini-bag__panel, .mini-bag__scrim, .buy-bar { transition: none; } }

/* ---------- Phone fixes (Nov 6 2026) ---------- */
/* The carvers grid sized its single column to its widest card (426px on a 375px phone), so the home page scrolled sideways. */
.maker { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .maker { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.maker > *, .duo > *, .grid > * { min-width: 0; }
@media (max-width: 749px) {
  /* Bigger tap areas (about 44px) without changing the layout */
  .text-link, .crumbs a, .linkish, .wordmark { position: relative; }
  .text-link::before, .crumbs a::before, .linkish::before { content: ""; position: absolute; inset: -12px -6px; }
  .wordmark { padding: 8px 8px 8px 0; }
  .site-footer ul { gap: 0; }
  .site-footer ul a { display: inline-block; padding: 11px 0; }
  .crumbs { line-height: 2.2; }
  /* Nothing below 12px */
  .card__badge { font-size: .75rem; }
  .cine__eyebrow, .cine__tag, .cine:not(.cine--page) .cine__tag { font-size: .75rem; }
}
@media (max-width: 749px) { .text-link { white-space: normal; } }
/* Logo with the name (Nov 6 2026): stacked mark + "yax tun", sized so the name stays readable */
.site-header .wordmark__logo, .wordmark img.wordmark__logo { height: 64px; }
.drawer .wordmark__logo { height: 58px; }
.footer-word .wordmark__logo { height: 120px; }
@media (max-width: 749px) { .site-header .wordmark__logo, .wordmark img.wordmark__logo { height: 52px; } }
@media (max-width: 749px) {
  .footer-policies a, .press cite a { display: inline-block; padding: 12px 4px; }
}
