/* ==========================================================================
   My Magic Designs — main stylesheet
   Mobile-first: base styles target ~375px phones, then scale up with
   min-width media queries (600px tablet, 960px+ desktop).

   Contents
    1. Design tokens          13. FAQ
    2. Base / reset           14. CTA band
    3. Buttons & links        15. What We Make
    4. Header & navigation    16. Materials
    5. Mobile sticky CTA      17. Policies (prose, timeline, table of contents)
    6. Home hero + trust bar  18. Contact
    7. Page hero              19. Order form
    8. Cards & grids          20. Thank you / 404
    9. How it works           21. Footer
   10. Gallery + lightbox     22. Motion
   11. Features               23. Print
   12. Notices                24. Shop
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand colors */
  --green: #1F3A2D;          /* primary forest green */
  --green-900: #162A20;      /* deeper green for footer / hovers */
  --green-700: #2B4D3C;
  --green-100: #E3ECE5;      /* soft green tint for backgrounds */
  --gold: #B08D57;           /* accent: decorative use, borders, or with dark text on top */
  --gold-dark: #7A5A26;      /* gold for TEXT on light backgrounds (AA: 5.9:1 on --bg) */
  --gold-light: #D9BE8C;     /* gold for TEXT on green backgrounds (AA: 6.9:1 on --green) */
  --gold-100: #F3E9D6;

  /* Neutrals */
  --bg: #FAF6EF;             /* warm off-white page background */
  --bg-alt: #F2EBDD;         /* slightly deeper warm band */
  --surface: #FFFDF8;        /* cards */
  --ink: #1A1A17;            /* near-black text */
  --body: #33362F;           /* long-form body text */
  --muted: #55584F;          /* secondary text (AA on --bg and --bg-alt) */
  --on-green: #FFFFFF;
  --on-green-muted: #C9D6CD;
  --line: #E4DACA;
  --line-strong: #CDBFA6;

  /* Feedback */
  --error: #A3261B;
  --error-bg: #FBEDEA;
  --success: #2F6B47;
  --success-bg: #E7F1EA;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Shape & depth */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(31, 58, 45, .06), 0 2px 8px rgba(31, 58, 45, .05);
  --shadow: 0 2px 4px rgba(31, 58, 45, .05), 0 12px 32px -8px rgba(31, 58, 45, .16);
  --shadow-lg: 0 4px 8px rgba(31, 58, 45, .06), 0 28px 60px -16px rgba(31, 58, 45, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Layout */
  --container: 1160px;
  --gutter: 16px;
  --header-h: 64px;
  --section-y: clamp(56px, 9vw, 112px);

  /* Faint "layer line" texture, a nod to 3D-print layers */
  --layers: repeating-linear-gradient(0deg, rgba(31, 58, 45, .045) 0 1px, transparent 1px 7px);
  --layers-on-dark: repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 7px);
}

@media (min-width: 600px) {
  :root { --gutter: 24px; --header-h: 72px; }
}
@media (min-width: 960px) {
  :root { --gutter: 32px; }
}

/* ---------- 2. Base / reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden; /* safety net: never allow sideways scrolling */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4, .h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  color: var(--green);
  font-variation-settings: "opsz" 96, "SOFT" 50;
  overflow-wrap: break-word;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 7.5vw, 4.25rem); }
h2 { font-size: clamp(1.85rem, 5vw, 3rem); }
h3, .h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); line-height: 1.2; }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
li { text-wrap: pretty; }

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--gold-dark); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--gold-100); color: var(--ink); }

ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li + li { margin-top: .35em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

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

.skip-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 200;
  background: var(--green);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.nowrap { white-space: nowrap; }
.center { text-align: center; }
.muted { color: var(--muted); }
.mt-lg { margin-top: clamp(28px, 4vw, 44px); }
.stack > * + * { margin-top: 18px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight-top { padding-top: clamp(28px, 5vw, 56px); }
.section--flush-top { padding-top: 0; }
.section--alt { background: var(--bg-alt); }
.section--layers { background-image: var(--layers); }
.section--green {
  background-color: var(--green);
  background-image: var(--layers-on-dark);
  color: var(--on-green);
}
.section--green h2, .section--green h3 { color: #fff; }
.section--green a:not(.btn) { color: var(--gold-light); }

.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section-head h2 { margin-bottom: .35em; }
.section--green .section-head p { color: var(--on-green-muted); }
@media (min-width: 900px) {
  .section-head--split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 48px;
    align-items: end;
  }
  .section-head--split h2 { margin-bottom: 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.section--green .eyebrow, .hero .eyebrow, .cta-band .eyebrow { color: var(--gold-light); }

.lead { font-size: clamp(1.125rem, 2.4vw, 1.3rem); color: var(--muted); line-height: 1.6; }

/* ---------- 3. Buttons & links ---------- */
.btn {
  --btn-bg: var(--green);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s ease, color .18s ease, border-color .18s ease;
  box-shadow: var(--shadow-sm);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn--primary { --btn-bg: var(--green); }
.btn--primary:hover { --btn-bg: var(--green-700); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--ink); }
.btn--gold:hover { --btn-bg: #C19C63; }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--green);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover { --btn-bg: var(--surface); border-color: var(--green); }
.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .45);
  box-shadow: none;
}
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, .08); border-color: #fff; }
.btn--block { width: 100%; }
.btn--lg { min-height: 58px; padding-inline: 32px; font-size: 1.125rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .75; cursor: progress; transform: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row--center { justify-content: center; }

.text-link {
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}
.text-link::after { content: "→"; transition: transform .18s var(--ease); }
.text-link:hover::after, a:hover > .text-link::after, .cat-card:hover .text-link::after { transform: translateX(4px); }

.linklike {
  background: none;
  border: 0;
  padding: 0 4px;
  min-height: 44px;
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.linklike:hover { color: var(--gold-dark); }

/* Makes a whole card clickable from one real link inside it */
.stretched-link { color: inherit; text-decoration: none; }
.stretched-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.stretched-link:focus-visible { outline: none; }

/* ---------- 4. Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 239, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(31, 58, 45, .35); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; flex: none; }
.brand img { height: 34px; width: auto; }
@media (min-width: 600px) { .brand img { height: 38px; } }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 48px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--green);
  font-weight: 700;
  font-size: .9375rem;
}
.nav-toggle__bars { position: relative; width: 18px; height: 12px; }
.nav-toggle__bars span {
  position: absolute; left: 0;
  width: 100%; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

.site-nav {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 8px var(--gutter) 24px;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
}
/* Hidden until opened (JS toggles .is-open). Without JS the menu stays visible. */
.js .site-nav:not(.is-open) { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .site-nav.is-open { animation: menu-in .22s var(--ease); }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li + li { margin-top: 0; }
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 6px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: none;
}
.site-nav a:hover { color: var(--gold-dark); }
.site-nav a[aria-current="page"] { color: var(--green); box-shadow: inset 3px 0 0 var(--gold); padding-left: 14px; }
.site-nav .nav-cta { margin-top: 18px; }
.site-nav .nav-cta a,
.site-nav .nav-cta a[aria-current="page"] {
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  box-shadow: none;
  padding-left: 20px;
  padding-right: 20px;
}
.site-nav .nav-cta a:hover { background: var(--green-700); color: #fff; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav, .js .site-nav:not(.is-open) {
    display: block;
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    max-height: none;
    overflow: visible;
    animation: none;
  }
  .site-nav ul { display: flex; align-items: center; gap: 2px; }
  .site-nav a {
    min-height: 44px;
    padding: 6px 12px;
    border: 0;
    border-radius: 999px;
    font-size: 1rem;
  }
  .site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; padding-left: 12px; }
  .site-nav .nav-cta { margin: 0 0 0 10px; }
  .site-nav .nav-cta a, .site-nav .nav-cta a[aria-current="page"] { min-height: 46px; padding: 6px 20px; border-radius: 999px; box-shadow: none; }
}
@media (min-width: 960px) and (max-width: 1060px) {
  .site-nav a { padding-inline: 9px; }
}

/* ---------- 5. Mobile sticky CTA ---------- */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(250, 246, 239, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transition: transform .3s var(--ease), visibility 0s linear 0s;
}
.mobile-cta .btn { width: 100%; }
.has-mobile-cta { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
.mobile-cta.is-hidden,
.nav-open .mobile-cta {
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .3s var(--ease), visibility 0s linear .3s;
}
@media (min-width: 960px) {
  .mobile-cta { display: none; }
  .has-mobile-cta { padding-bottom: 0; }
}

/* ---------- 6. Home hero + trust bar ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--green);
  background-image:
    radial-gradient(1200px 500px at 85% -10%, rgba(176, 141, 87, .22), transparent 60%),
    var(--layers-on-dark);
  color: var(--on-green);
  padding-block: clamp(40px, 8vw, 104px) clamp(48px, 8vw, 104px);
}
.hero__grid { display: grid; gap: 28px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-light);
  padding-right: .06em;
}
.hero__pitch { font-size: clamp(1.125rem, 2.6vw, 1.3rem); color: var(--on-green-muted); max-width: 34em; margin-bottom: 28px; }
.hero .btn-row { margin-bottom: 28px; }
.hero .btn-row .btn { flex: 1 1 auto; }
@media (min-width: 600px) { .hero .btn-row .btn { flex: 0 0 auto; } }

.promise {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(217, 190, 140, .45);
  border-radius: var(--radius);
  background: rgba(22, 42, 32, .55);
  max-width: 470px;
}
.promise__icon {
  flex: none;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
}
.promise__icon svg { width: 24px; height: 24px; }
.promise p { margin: 0; }
.promise strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; line-height: 1.25; }
.promise span { display: block; color: var(--on-green-muted); font-size: .9375rem; line-height: 1.45; margin-top: 2px; }

.hero__art { max-width: 300px; width: 100%; margin-inline: auto; }
@media (min-width: 600px) { .hero__art { max-width: 360px; } }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 48px; }
  .hero__art { max-width: 460px; }
}

/* The "print" illustration: wireframe -> solid, built bottom-up like a 3D print */
.print-art .print-solid { clip-path: inset(0 0 0 0); }
.print-art .print-nozzle { transform: translateY(0); }
@media (prefers-reduced-motion: no-preference) {
  .print-art .print-solid { animation: print-build 4.2s cubic-bezier(.45, .05, .35, 1) .3s both; }
  .print-art .print-nozzle { animation: nozzle-rise 4.2s cubic-bezier(.45, .05, .35, 1) .3s both; }
  .print-art .print-head { animation: nozzle-sway 1.1s ease-in-out .3s 4 alternate; }
  .print-art .sparkle { animation: twinkle 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .print-art .sparkle:nth-of-type(2) { animation-delay: 1.1s; }
  .print-art .sparkle:nth-of-type(3) { animation-delay: 2.1s; }
}
@keyframes print-build { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes nozzle-rise { from { transform: translateY(150px); } to { transform: translateY(0); } }
@keyframes nozzle-sway { from { transform: translateX(-34px); } to { transform: translateX(34px); } }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1); } }

/* Trust bar directly under the hero */
.trust {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding-block: 18px;
}
.trust__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 14px;
}
.trust__list li { display: flex; align-items: center; gap: 12px; margin: 0; line-height: 1.3; }
.trust__icon {
  flex: none;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--gold-100);
  color: var(--gold-dark);
}
.trust__icon svg { width: 22px; height: 22px; }
.trust__list strong { display: block; font-size: .9375rem; color: var(--ink); }
.trust__list li > span:last-child > span { display: block; font-size: .8125rem; color: var(--muted); }
@media (min-width: 900px) {
  .trust { padding-block: 22px; }
  .trust__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .trust__list li + li { border-left: 1px solid var(--line); padding-left: 24px; }
  .trust__list strong { font-size: 1rem; }
  .trust__list li > span:last-child > span { font-size: .875rem; }
}

/* ---------- 7. Page hero (inner pages) ---------- */
.page-hero {
  background-color: var(--bg-alt);
  background-image: var(--layers);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(40px, 7vw, 88px) clamp(36px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}
.page-hero--compact { padding-block: clamp(32px, 5vw, 64px) clamp(28px, 4vw, 52px); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.1rem, 6.5vw, 3.6rem); max-width: 16em; }
.page-hero .lead { max-width: 40em; }
.page-hero__cube {
  position: absolute;
  right: -40px; bottom: -50px;
  width: 220px;
  opacity: .5;
  pointer-events: none;
}
@media (min-width: 960px) { .page-hero__cube { right: 4%; bottom: -30px; width: 280px; opacity: .8; } }
@media (max-width: 599px) { .page-hero__cube { display: none; } }

/* ---------- 8. Cards & grids ---------- */
.grid { display: grid; gap: 18px; }
@media (min-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.card--roomy { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }
.card-title { font-size: clamp(1.5rem, 3.4vw, 1.85rem); }
.card--green {
  background-color: var(--green);
  background-image: var(--layers-on-dark);
  border-color: var(--green);
  color: var(--on-green-muted);
}
.card--green h2, .card--green h3 { color: #fff; }
.card--green p { color: var(--on-green-muted); }
.card--green a:not(.btn) { color: var(--gold-light); }
.card--green .icon-badge { background: rgba(217, 190, 140, .14); color: var(--gold-light); }

.icon-badge {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--green-100);
  color: var(--green);
  margin-bottom: 18px;
  flex: none;
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge--sm { width: 38px; height: 38px; border-radius: 11px; margin: 0; }
.icon-badge--sm svg { width: 21px; height: 21px; }

/* Category cards: illustration on top, one stretched link */
.cat-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.cat-card:focus-within { outline: 3px solid var(--gold); outline-offset: 3px; }
.cat-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; transition: transform .5s var(--ease); }
.cat-card:hover .cat-card__media img { transform: scale(1.04); }
.cat-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 18px; }
.cat-card__title { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; margin-bottom: 10px; }
.cat-card .examples { font-size: .9375rem; color: var(--muted); margin-bottom: 10px; }
.cat-card .text-link { margin-top: auto; }

/* ---------- 9. How it works ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.steps li { margin: 0; }
.step {
  position: relative;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.step__num {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--green);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
}
.step__icon { color: var(--gold-dark); opacity: .9; }
.step__icon svg { width: 30px; height: 30px; }
.step h3 { font-size: 1.35rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 1rem; margin: 0; }
.step--highlight { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow); }
.step .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gold-100);
  color: var(--gold-dark);
  font-size: .8125rem;
  font-weight: 700;
}
.step .tag svg { width: 16px; height: 16px; }
@media (min-width: 600px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (min-width: 1040px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .step { padding: 26px 24px; }
  .steps li:not(:last-child) .step::after {
    /* dashed "toolpath" connector between steps */
    content: "";
    position: absolute;
    top: 48px; right: -21px;
    width: 22px;
    border-top: 2px dashed var(--gold);
  }
}

.promise-banner {
  margin-top: clamp(28px, 4vw, 44px);
  display: grid;
  gap: 18px;
  align-items: center;
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius-lg);
  background-color: var(--green);
  background-image:
    radial-gradient(500px 200px at 0% 0%, rgba(176, 141, 87, .25), transparent 70%),
    var(--layers-on-dark);
  color: var(--on-green-muted);
  box-shadow: var(--shadow-lg);
}
.promise-banner__seal {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 0 0 6px rgba(176, 141, 87, .22);
}
.promise-banner__seal svg { width: 32px; height: 32px; }
.promise-banner h3 { color: #fff; font-size: clamp(1.55rem, 4vw, 2.2rem); margin-bottom: 8px; }
.promise-banner h3 em { color: var(--gold-light); font-style: italic; font-weight: 500; }
.promise-banner p { margin: 0; max-width: 46em; }
@media (min-width: 860px) { .promise-banner { grid-template-columns: auto 1fr auto; gap: 28px; } }

/* Compact steps (order page sidebar, thank-you page) */
.mini-steps { list-style: none; margin: 0; padding: 0; counter-reset: mini; }
.mini-steps li {
  counter-increment: mini;
  position: relative;
  padding: 0 0 18px 48px;
  margin: 0;
}
.mini-steps li:last-child { padding-bottom: 0; }
.mini-steps li::before {
  content: counter(mini);
  position: absolute;
  left: 0; top: 0;
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--green);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-weight: 600;
}
.mini-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px; top: 36px; bottom: 4px;
  border-left: 2px dashed var(--line-strong);
}
.mini-steps strong { display: block; color: var(--green); line-height: 1.35; }
.mini-steps span { display: block; font-size: .9375rem; color: var(--muted); line-height: 1.5; margin-top: 2px; }
.mini-steps--done-first li:first-child::before {
  content: "";
  background: var(--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat;
}

/* ---------- 10. Gallery + lightbox ---------- */
.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  margin: 0 calc(var(--gutter) * -1) 8px;
  padding-inline: var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.filters::-webkit-scrollbar { display: none; }
@media (min-width: 960px) { .filters { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 2px; } }
.filter-btn {
  flex: none;
  scroll-snap-align: start;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  font-size: .9375rem;
  white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.filter-btn:hover { border-color: var(--green); }
.filter-btn[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.gallery-status { font-size: .9375rem; color: var(--muted); margin: 0 0 16px; min-height: 1.5em; }

.gallery-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.gallery-grid li { margin: 0; }
.gallery-grid li[hidden] { display: none; }
@media (min-width: 600px) { .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1040px) { .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .gallery-grid--preview { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
@media (prefers-reduced-motion: no-preference) {
  .gallery-grid li.is-entering { animation: tile-in .35s var(--ease) both; }
}
@keyframes tile-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  color: inherit;
  text-decoration: none;
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.gallery-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--bg-alt); transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item__cap { display: block; position: relative; padding: 10px 12px 12px; background: var(--surface); }
.gallery-item__title { display: block; font-weight: 700; font-size: .9375rem; line-height: 1.3; color: var(--ink); }
.gallery-item__cat { display: block; font-size: .8125rem; color: var(--muted); margin-top: 2px; }
@media (min-width: 600px) { .gallery-item__cap { padding: 12px 16px 14px; } .gallery-item__title { font-size: 1rem; } }

.gallery-empty { text-align: center; color: var(--muted); padding: 32px 0; }

/* Lightbox (uses native <dialog>) */
.lightbox {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #0E1A14;
  color: #fff;
}
.lightbox::backdrop { background: rgba(14, 26, 20, .85); }
.lightbox[open] { display: flex; flex-direction: column; }
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] { animation: fade-in .2s ease; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px var(--gutter);
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
}
.lightbox__count { color: var(--on-green-muted); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.lightbox__stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--gutter);
  touch-action: pan-y;
  user-select: none;
}
.lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  transition: transform .25s var(--ease), opacity .2s ease;
}
.lightbox__stage img.is-swapping { opacity: 0; }
.lightbox__side { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: rgba(14, 26, 20, .55); }
.lightbox__side--prev { left: 10px; }
.lightbox__side--next { right: 10px; }
@media (min-width: 960px) {
  .lightbox__stage { padding: 0 96px; }
  .lightbox__side--prev { left: 24px; }
  .lightbox__side--next { right: 24px; }
}
.lightbox__caption { text-align: center; padding: 14px var(--gutter) 4px; }
.lightbox__caption strong { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.lightbox__caption span { color: var(--on-green-muted); font-size: .9375rem; }
.lightbox__hint { text-align: center; color: var(--on-green-muted); opacity: .75; font-size: .8125rem; margin: 6px 0 0; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
@media (hover: hover) and (pointer: fine) { .lightbox__hint { visibility: hidden; } }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  transition: background-color .15s ease;
}
.icon-btn:hover { background: rgba(255, 255, 255, .18); }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn[hidden] { display: none; }

/* ---------- 11. Features ("Why") ---------- */
.features { gap: 28px; }
@media (min-width: 600px) { .features { gap: 40px 48px; } }
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature .icon-badge { flex: none; margin: 0; }
.section--green .icon-badge { background: rgba(217, 190, 140, .14); color: var(--gold-light); }
.feature h3 { font-size: 1.35rem; margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; }
.section--green .feature p { color: var(--on-green-muted); }

/* ---------- 12. Notices ---------- */
.notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--gold-100);
  border: 1px solid #E5D3B0;
  color: var(--ink);
}
.notice svg { flex: none; width: 24px; height: 24px; color: var(--gold-dark); margin-top: 2px; }
.notice p { margin: 0; color: var(--ink); }
.notice--green { background: var(--green-100); border-color: #C9D9CD; }
.notice--green svg { color: var(--green); }
.notice--tight { padding: 14px 16px; margin-top: 20px; font-size: 1rem; }

/* ---------- 13. FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-group + .faq-group { margin-top: 44px; }
.faq-group h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
.faq-group[hidden], details.faq[hidden] { display: none; }
details.faq {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
details.faq[open] { border-color: var(--line-strong); box-shadow: var(--shadow); }
details.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.35;
  color: var(--green);
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius);
}
details.faq summary:hover { color: var(--gold-dark); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "";
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F3A2D' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s var(--ease), background-color .2s ease;
}
details.faq[open] summary::after { transform: rotate(45deg); background-color: var(--gold-100); }
details.faq .faq__body { padding: 0 20px 20px; color: var(--muted); }
details.faq .faq__body p, details.faq .faq__body li { color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  details.faq[open] .faq__body { animation: faq-in .25s var(--ease); }
}
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
mark.faq-hit { background: var(--gold-100); color: inherit; border-radius: 3px; padding: 0 2px; }

.faq-tools { margin-bottom: 36px; }
.faq-tools[hidden] { display: none; }
.faq-search { position: relative; }
.faq-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--muted); pointer-events: none; }
.faq-search .input { padding-left: 50px; min-height: 56px; border-radius: 999px; font-size: 1.0625rem; }
.faq-search .input::-webkit-search-cancel-button { cursor: pointer; }
.faq-tools__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 14px; }
.faq-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-jump a {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none; font-weight: 600; font-size: .9375rem;
}
.faq-jump a:hover { border-color: var(--green); color: var(--green); }
.faq-count { margin: 10px 0 0; font-size: .9375rem; color: var(--muted); min-height: 1.5em; }
.faq-empty { text-align: center; padding: 28px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.faq-empty[hidden] { display: none; }

/* ---------- 14. CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 7vw, 72px) clamp(20px, 5vw, 64px);
  background-color: var(--green);
  background-image:
    radial-gradient(600px 260px at 50% 0%, rgba(176, 141, 87, .25), transparent 70%),
    var(--layers-on-dark);
  color: var(--on-green-muted);
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; max-width: 18em; margin-inline: auto; }
.cta-band p { max-width: 36em; margin: 0 auto 28px; font-size: 1.125rem; }
.cta-band a:not(.btn) { color: var(--gold-light); }
.cta-band .btn-row { justify-content: center; }

/* ---------- 15. What We Make ---------- */
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.cat-nav a {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 6px 14px 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  text-decoration: none; font-weight: 600; font-size: .9375rem; color: var(--ink);
  transition: border-color .15s ease, color .15s ease;
}
.cat-nav a svg { width: 20px; height: 20px; color: var(--gold-dark); }
.cat-nav a:hover { border-color: var(--green); color: var(--green); }

.cat-section { display: grid; gap: 24px; align-items: center; scroll-margin-top: calc(var(--header-h) + 16px); }
.cat-section + .cat-section { margin-top: clamp(56px, 8vw, 96px); padding-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); }
.cat-section__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cat-section__body .btn-row { gap: 8px 20px; }
.idea-heading { font-family: var(--font-body); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); margin: 4px 0 10px; }
.idea-list { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.idea-list li {
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green);
  font-size: .9375rem;
  font-weight: 600;
}
@media (min-width: 900px) {
  .cat-section { grid-template-columns: 1fr 1fr; gap: 56px; }
  .cat-section:nth-of-type(even) .cat-section__media { order: 2; }
}

/* ---------- 16. Materials ---------- */
.material-card h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--gold-100);
  color: var(--gold-dark);
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.spec-list { list-style: none; padding: 0; margin: 14px 0 0; }
.spec-list li { display: flex; gap: 10px; font-size: .9375rem; color: var(--muted); margin: 0; padding: 8px 0; border-top: 1px dashed var(--line); }
.spec-list li strong { color: var(--ink); min-width: 100px; flex: none; }

.compare-title { font-size: 1.5rem; }
.compare th, .compare td { white-space: nowrap; }
.rating { display: inline-flex; gap: 5px; vertical-align: middle; }
.rating .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.rating .dot--on { background: var(--green); }

.swatches { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 14px; }
.swatches li { margin: 0; text-align: center; font-size: .875rem; font-weight: 600; }
.swatch {
  display: block;
  aspect-ratio: 1;
  border-radius: 16px;
  margin-bottom: 8px;
  border: 1px solid rgba(0, 0, 0, .08);
  background-color: var(--swatch, #ccc);
  background-image: var(--layers), linear-gradient(135deg, rgba(255, 255, 255, .22), rgba(0, 0, 0, .12));
  box-shadow: inset 0 -10px 18px rgba(0, 0, 0, .12), var(--shadow-sm);
}

.finish-card { padding-top: 0; overflow: hidden; }
.finish-card h3 { display: flex; align-items: center; gap: 12px; }
.finish-sample {
  display: block;
  height: 120px;
  margin: 0 -24px 20px;
  border-bottom: 1px solid var(--line);
  background-color: #C9A66B;
}
.finish--raw {
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .16) 0 1px, rgba(255, 255, 255, .14) 1px 2px, transparent 2px 6px),
    linear-gradient(90deg, #E8CF9C, #C9A66B 45%, #9C7A42);
}
.finish--sanded {
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .05) 0 1px, transparent 1px 7px),
    radial-gradient(rgba(255, 255, 255, .25) 1px, transparent 1px),
    linear-gradient(90deg, #EAD6AE, #CFAE76 45%, #A98650);
  background-size: auto, 4px 4px, auto;
}
.finish--painted {
  background-image:
    radial-gradient(160px 60px at 30% 25%, rgba(255, 255, 255, .45), transparent 70%),
    linear-gradient(90deg, #3C6550, #1F3A2D 55%, #162A20);
}

/* ---------- 17. Policies (prose, timeline, table of contents) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 3.6vw, 1.95rem); margin-top: 2.2em; scroll-margin-top: calc(var(--header-h) + 16px); }
.prose h2:first-child, .prose .updated + h2 { margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--body); }
.prose .updated { color: var(--muted); font-size: .9375rem; margin-bottom: 1.5em; }

.policy-layout { display: grid; gap: 28px; }
.policy-toc {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.policy-toc__title { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px; }
.policy-toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.policy-toc li { margin: 0; }
.policy-toc a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; text-decoration: none; }
.policy-toc a:hover { text-decoration: underline; }
@media (min-width: 1040px) {
  .policy-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; }
  .policy-toc { position: sticky; top: calc(var(--header-h) + 24px); }
  .policy-toc ul { display: block; }
}

.table-wrap { overflow-x: auto; margin: 0 0 1.5em; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-weight: 700; color: var(--green); background: var(--bg-alt); }
tbody th { font-weight: 700; color: var(--ink); }
tr:last-child td, tr:last-child th { border-bottom: 0; }
td.price { font-weight: 800; color: var(--green); white-space: nowrap; }

.timeline {
  list-style: none;
  margin: 24px 0 28px;
  padding: 0;
  display: grid;
  gap: 0;
}
.timeline__item {
  position: relative;
  margin: 0;
  padding: 0 0 22px 62px;
  min-height: 48px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23px; top: 50px; bottom: 2px;
  border-left: 2px dashed var(--gold);
}
.timeline__icon {
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--green);
  color: var(--gold-light);
}
.timeline__icon svg { width: 24px; height: 24px; }
.timeline__item strong { display: block; color: var(--green); font-size: 1.0625rem; padding-top: 2px; }
.timeline__item > span:last-child { display: block; color: var(--muted); font-size: .9375rem; }
@media (min-width: 760px) {
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .timeline__item { padding: 62px 0 0; text-align: left; }
  .timeline__item:not(:last-child)::after { left: 56px; right: -10px; top: 23px; bottom: auto; border-left: 0; border-top: 2px dashed var(--gold); }
}

/* ---------- 18. Contact ---------- */
.contact-grid { align-items: stretch; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.contact-list li { margin: 0; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .icon-badge { margin: 0; flex: none; }
.contact-item a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 1.125rem; overflow-wrap: anywhere; }
.contact-item .label { display: block; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); }
.contact-item .hint { margin-top: 4px; }
address { font-style: normal; }

/* ---------- 19. Order form ---------- */
.order-layout { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1040px) {
  .order-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
  .order-aside { position: sticky; top: calc(var(--header-h) + 24px); order: 2; }
}
.aside-card { padding: 22px; }
.aside-card h2 { font-size: 1.4rem; margin-bottom: 18px; }
.aside-card + .aside-card { margin-top: 16px; }
.aside-card--contact p { font-size: .9375rem; }
@media (max-width: 1039px) {
  /* On phones/tablets the steps become a compact 2 × 2 grid so the form starts sooner */
  .aside-card { padding: 18px; }
  .aside-card h2 { font-size: 1.15rem; margin-bottom: 14px; }
  .order-aside .mini-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .order-aside .mini-steps li { padding: 0 0 0 38px; }
  .order-aside .mini-steps li::before { width: 28px; height: 28px; font-size: .9375rem; border-radius: 9px; }
  .order-aside .mini-steps li::after { display: none; }
  .order-aside .mini-steps strong { font-size: .9375rem; }
  .order-aside .mini-steps span { font-size: .8125rem; }
  .aside-card--contact { display: none; }
}
@media (min-width: 1040px) { .form-foot-contact { display: none; } }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 22px 18px;
}
@media (min-width: 600px) { .form-card { padding: 32px; } }
@media (min-width: 1040px) { .form-card { padding: 40px; } }
.form-legend-hint { margin: 0 0 6px; }
.draft-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin-bottom: 16px; padding-block: 8px; }
.draft-note[hidden] { display: none; }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-section { margin-top: 24px; }
.form-section + .form-section { margin-top: 36px; padding-top: 32px; border-top: 1px dashed var(--line-strong); }
.form-section > legend {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.4vw, 1.65rem);
  font-weight: 600;
  color: var(--green);
  padding: 0;
  margin-bottom: 6px;
}
.form-section > legend .legend-num {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--green);
  color: var(--gold-light);
  font-size: 1.05rem;
}
.form-section__intro { color: var(--muted); margin-bottom: 20px; font-size: 1rem; }

.field { margin-top: 20px; scroll-margin-top: calc(var(--header-h) + 24px); }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 600px) {
  .field-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-row--3 { grid-template-columns: 2fr 1.2fr 1fr; }
}

.field > label, .group-label {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.35;
}
legend.group-label { padding: 0; }
.req { color: var(--error); font-weight: 700; margin-left: 2px; }
.optional { font-weight: 500; color: var(--muted); font-size: .875rem; margin-left: 4px; }
.hint { display: block; font-size: .9375rem; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.hint--warn { color: var(--gold-dark); font-weight: 600; }
.hint[hidden] { display: none; }

.input, select.input, textarea.input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  font-size: 1rem; /* 16px prevents iOS zoom on focus */
  line-height: 1.4;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
  -webkit-appearance: none;
  appearance: none;
}
textarea.input { min-height: 170px; resize: vertical; }
select.input {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F3A2D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.input::placeholder { color: #7D7F77; }
.input:hover { border-color: var(--gold); }
.input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(176, 141, 87, .35); }
.input[aria-invalid="true"] { border-color: var(--error); background-color: var(--error-bg); }
input[type="date"].input { min-height: 52px; }
input[type="number"].input { -moz-appearance: textfield; appearance: textfield; }
input[type="number"].input::-webkit-inner-spin-button,
input[type="number"].input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.error-msg {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  margin: 8px 0 0;
  color: var(--error);
  font-size: .9375rem;
  font-weight: 600;
}
.error-msg[hidden] { display: none; }
.error-msg::before { content: "!"; flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--error); color: #fff; font-size: .75rem; font-weight: 800; }

/* Choice cards (radios) */
.choices { display: grid; gap: 10px; }
@media (min-width: 600px) { .choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choice { position: relative; display: block; margin: 0; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__box {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  height: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.choice__box::before {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  background: #fff;
  transition: border .15s ease;
}
.choice__box:hover { border-color: var(--gold); }
.choice input:checked + .choice__box { border-color: var(--green); background: #F4F8F5; box-shadow: 0 0 0 1px var(--green); }
.choice input:checked + .choice__box::before { border: 7px solid var(--green); }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--gold); outline-offset: 2px; }
.choice__text { flex: 1; min-width: 0; line-height: 1.35; }
.choice__text strong { display: block; font-weight: 700; }
.choice__text small { display: block; color: var(--muted); font-size: .875rem; margin-top: 2px; }
.choice__price { flex: none; font-weight: 800; color: var(--green); font-size: 1.0625rem; }
[role="radiogroup"][aria-invalid="true"] .choice__box { border-color: var(--error); }
.shipping-note { margin-top: 10px; color: var(--green); font-weight: 600; }
.shipping-note:empty { display: none; }

/* Segmented toggle (inches / cm) */
.segmented { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); }
.segmented label { position: relative; margin: 0; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 72px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; font-weight: 700; cursor: pointer; color: var(--muted);
  transition: background-color .15s ease, color .15s ease;
}
.segmented input:checked + span { background: var(--green); color: #fff; }
.segmented input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.dims {
  margin-top: 14px;
  padding: 16px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px dashed var(--line-strong);
}
.dims[hidden] { display: none; }
.dims__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.dims__head .group-label { margin: 0; }
.dims__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 4px; }
.dims__grid label { font-size: .875rem; font-weight: 700; margin-bottom: 6px; display: block; }
.dims__grid .input { padding-inline: 10px; text-align: center; }

/* Quantity stepper */
.stepper { display: flex; align-items: stretch; gap: 8px; }
.stepper .input { text-align: center; font-weight: 700; font-size: 1.125rem; }
.stepper__btn {
  flex: none;
  display: grid; place-items: center;
  width: 52px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--green);
  transition: border-color .15s ease, background-color .15s ease;
}
.stepper__btn:hover { border-color: var(--green); background: #F4F8F5; }
.stepper__btn svg { width: 20px; height: 20px; }

/* Checkboxes */
.check, .field > label.check { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: #fff; cursor: pointer; margin: 0; }
.check input {
  flex: none;
  width: 24px; height: 24px;
  margin: 1px 0 0;
  accent-color: var(--green);
  cursor: pointer;
}
.check span { line-height: 1.5; font-weight: 600; }
.check:has(input:checked) { border-color: var(--green); background: #F4F8F5; }
.check:has(input[aria-invalid="true"]) { border-color: var(--error); background: var(--error-bg); }

/* Honeypot: hidden from people, visible to naive bots */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-status:empty { display: none; }
.form-status { margin-bottom: 16px; outline: none; }
.alert {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid;
  font-size: 1rem;
}
.alert--error { background: var(--error-bg); border-color: #E7B7B0; color: #5E1710; }
.alert--error a { color: var(--error); font-weight: 700; }
.alert--info { background: var(--green-100); border-color: #C9D9CD; color: var(--green); }
.alert ul { margin: 8px 0 0; padding-left: 1.2em; }
.alert li + li { margin-top: 2px; }

.submit-area { margin-top: 32px; padding-top: 28px; border-top: 1px dashed var(--line-strong); }
.submit-hint { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; margin-top: 12px; }
.submit-hint svg { width: 18px; height: 18px; flex: none; color: var(--gold-dark); }
.form-foot-contact { text-align: center; margin-top: 6px; }

.spinner {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  animation: spin .8s linear infinite;
}
.spinner[hidden] { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 20. Thank you / 404 ---------- */
.center-stage { text-align: center; padding-block: clamp(32px, 7vw, 80px); }
.center-stage .lead { max-width: 34em; margin-inline: auto; }
.request-id {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 18px 0 8px;
  padding: 18px 26px 14px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 2px dashed var(--gold);
  max-width: 100%;
}
.request-id[hidden] { display: none; }
.request-id__label { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); }
.request-id strong { font-family: var(--font-display); font-size: clamp(1.35rem, 5vw, 1.9rem); font-weight: 600; color: var(--green); letter-spacing: .02em; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--green);
  font-weight: 700; font-size: .9375rem;
}
.copy-btn:hover { border-color: var(--green); }
.copy-btn svg { width: 18px; height: 18px; }
.success-mark { width: 92px; height: 92px; margin: 0 auto 22px; }
@media (prefers-reduced-motion: no-preference) {
  .success-mark { animation: pop .5s var(--ease) both; }
  .success-mark__check { stroke-dasharray: 60; animation: draw .55s .35s ease-out both; }
}
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { from { stroke-dashoffset: 60; } to { stroke-dashoffset: 0; } }
.next-steps { text-align: left; max-width: 640px; margin: 32px auto 0; }
.next-steps__title { font-size: 1.5rem; margin-bottom: 20px; }
.next-steps > p { margin-top: 22px; font-size: .9375rem; }
.confirm-line { margin: 4px 0 6px; color: var(--green); font-weight: 600; overflow-wrap: anywhere; }
.confirm-line[hidden] { display: none; }
.request-summary { text-align: left; max-width: 640px; margin: 28px auto 0; }
.request-summary[hidden] { display: none; }
.request-summary > p { margin-top: 18px; font-size: .9375rem; }
.summary-list { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; }
.summary-list dt { margin-top: 12px; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); }
.summary-list dt:first-child { margin-top: 0; }
.summary-list dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
@media (min-width: 600px) {
  .summary-list { grid-template-columns: 9em minmax(0, 1fr); gap: 10px 20px; }
  .summary-list dt { margin-top: 0; padding-top: 3px; }
}

.big-404 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(6rem, 28vw, 12rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--gold);
  background: var(--layers);
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 8px;
}

/* ---------- 21. Footer ---------- */
.site-footer {
  background-color: var(--green-900);
  background-image: var(--layers-on-dark);
  color: var(--on-green-muted);
  padding-block: 56px 28px;
  font-size: 1rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; } }
.footer-brand img { height: 40px; width: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 30em; }
.site-footer .footer-cta { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 6px; color: var(--gold-light); font-weight: 700; }
.site-footer h2 {
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.footer-contact li + li { margin-top: 10px; }
.footer-contact address { line-height: 1.55; }
.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: .9375rem;
}
.footer-bottom p { margin: 0; }

/* ---------- 22. Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* An animation (not a transition) so it never slows down hover effects afterwards */
  .js .reveal { opacity: 0; }
  .js .reveal.is-visible { opacity: 1; animation: reveal-in .7s var(--ease) var(--reveal-delay, 0s) backwards; }
  .js .grid > .reveal:nth-child(3n+2), .js .steps > .reveal:nth-child(2) { --reveal-delay: .08s; }
  .js .grid > .reveal:nth-child(3n+3), .js .steps > .reveal:nth-child(3) { --reveal-delay: .16s; }
  .js .steps > .reveal:nth-child(4) { --reveal-delay: .24s; }
}
@keyframes reveal-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .spinner { animation: spin 1.5s linear infinite !important; } /* keep the loading indicator meaningful */
}

/* ---------- 23. Print ---------- */
@media print {
  .site-header, .mobile-cta, .site-footer, .btn, .page-hero__cube, .policy-toc { display: none !important; }
  body { background: #fff; padding: 0 !important; }
  .section, .page-hero { padding-block: 16px; background: none; }
  a { color: inherit; }
}

/* Trust bar: compact on small phones */
@media (max-width: 599px) {
  .trust { padding-block: 14px; }
  .trust__list { gap: 12px 10px; }
  .trust__list li { gap: 10px; }
  .trust__icon { width: 34px; height: 34px; border-radius: 10px; }
  .trust__icon svg { width: 19px; height: 19px; }
  .trust__list strong { font-size: .875rem; }
  .trust__list li > span:last-child > span { display: none; }
}

/* Keep section titles inside the fieldset (not sitting on its dashed top border) */
.form-section > legend { float: left; width: 100%; }
.form-section > legend + * { clear: both; }

/* ---------- 24. Shop ---------- */
/* Phones: title and price, then the preview, then the options. Desktop: preview on the left. */
.product { display: grid; gap: 24px; align-items: start; grid-template-areas: "head" "media" "info"; }
.product__head { grid-area: head; }
.product__media { grid-area: media; }
.product__info { grid-area: info; }
.product__head .product-price { margin-bottom: 0; }
@media (min-width: 960px) {
  .product {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    grid-template-rows: auto 1fr;
    grid-template-areas: "media head" "media info";
    gap: 0 56px;
  }
  .product__media { position: sticky; top: calc(var(--header-h) + 24px); }
  .product__head { margin-bottom: 22px; }
}

/* 3D preview stage */
.viewer {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(120% 90% at 50% 28%, #FFFDF8 0%, #F2EBDD 58%, #E2D4BA 100%);
  box-shadow: var(--shadow);
}
.viewer__fallback { width: 100%; height: 100%; object-fit: cover; }
.viewer__canvas { display: none; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.js .viewer__fallback { display: none; }
.js .viewer__canvas { display: block; }
.viewer.is-grabbing .viewer__canvas { cursor: grabbing; }
.viewer__canvas:focus-visible { outline: 3px solid var(--gold); outline-offset: -6px; border-radius: var(--radius-lg); }
.viewer__status {
  position: absolute;
  left: 14px; top: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(31, 58, 45, .92);
  color: #fff;
  font-size: .8125rem;
  font-weight: 700;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}
.viewer__status:empty { display: none; }

.viewer-controls { display: none; margin-top: 18px; }
.js .viewer-controls { display: block; }
.viewer-controls__group + .viewer-controls__group { margin-top: 14px; }
.viewer-controls__value { font-weight: 600; color: var(--muted); }
.viewer-controls__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; margin-top: 8px; }
.viewer-controls__foot .hint { margin: 0; }
.viewer-controls__foot .linklike[hidden] { display: none; }

/* Chips: radio buttons that look like pills */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; margin: 0; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  font-size: .9375rem;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.chip span:hover { border-color: var(--gold); }
.chip input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Filament color swatches */
.swatch-picker { display: flex; flex-wrap: wrap; gap: 12px; padding: 4px; }
.swatch-pick { position: relative; margin: 0; cursor: pointer; }
.swatch-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch-pick__dot {
  display: block;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18), 0 0 0 3px var(--bg), 0 0 0 4px var(--line-strong);
  transition: box-shadow .15s ease;
}
.swatch-pick input:checked + .swatch-pick__dot { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18), 0 0 0 3px var(--bg), 0 0 0 6px var(--green); }
.swatch-pick input:focus-visible + .swatch-pick__dot { outline: 3px solid var(--gold); outline-offset: 8px; }

/* Product details */
.product__info h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); margin-bottom: 16px; }
.product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 14px;
  margin: 0 0 18px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.product-price__amount { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; line-height: 1.2; color: var(--green); }
.product-price__note { color: var(--muted); font-size: .9375rem; }
.product__desc { color: var(--body); }
.product-options { margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--line-strong); }
.product-options__group { margin-bottom: 18px; }
.product-options__qty { max-width: 220px; }
.product-options__hint { text-align: center; margin-top: 10px; }
.product__perks { margin-top: 26px; }

/* Check-mark list */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 32px; color: var(--body); }
.check-list li + li { margin-top: 10px; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .25em;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F3A2D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.ship-list { list-style: none; padding: 0; margin: 0 0 18px; }
.ship-list li { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ship-list strong { color: var(--green); }

/* Example slideshow */
.slideshow { position: relative; }
.slideshow__track {
  position: relative;
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 4px 2px 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.slideshow__track::-webkit-scrollbar { display: none; }
.slideshow__track:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.slideshow__slide { flex: 0 0 86%; margin: 0; scroll-snap-align: center; }
.slideshow__slide + .slideshow__slide { margin-top: 0; }
@media (min-width: 600px) { .slideshow__slide { flex-basis: 70%; } }
@media (min-width: 960px) { .slideshow__slide { flex-basis: 56%; } }
.slideshow figure {
  margin: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.slideshow img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-alt); }
.slideshow figcaption { padding: 14px 18px 18px; }
.slideshow figcaption strong { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--green); }
.slideshow figcaption span { display: block; margin-top: 2px; color: var(--muted); font-size: .9375rem; }
.slideshow__controls { display: none; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; }
.slideshow.is-ready .slideshow__controls { display: flex; }
.slideshow__btn {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  color: var(--green);
}
.slideshow__btn:hover { border-color: var(--green); }
.slideshow__btn svg { width: 22px; height: 22px; }
.slideshow__count { min-width: 4.5em; text-align: center; font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; }
.slideshow__dots { display: none; }
@media (min-width: 600px) {
  .slideshow__count { display: none; }
  .slideshow__dots { display: flex; }
}
.slideshow__dot { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; }
.slideshow__dot::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--line-strong); transition: width .2s var(--ease), background-color .2s ease; }
.slideshow__dot:hover::before { background: var(--gold); }
.slideshow__dot[aria-current="true"]::before { width: 26px; background: var(--green); }
