:root {
  /* Blue CTAs (MB-style) + gold brand accents */
  --ink: #211f24;
  --ink-2: #344054;
  --text: #211f24;
  --muted: #667085;
  --paper: #fffaf0;
  --paper-2: #f7eccf;
  --white: #ffffff;
  --primary: #1570ef;
  --primary-hover: #1262d4;
  --primary-soft: #eff6ff;
  --primary-deep: #175cd3;
  --gold: #d4a017;
  --gold-hover: #e0b84a;
  --gold-hi: #f0d78c;
  --gold-deep: #9a7020;
  --gold-soft: #fff3d6;
  --on-dark: #ffffff;
  --on-dark-muted: rgba(33, 31, 36, 0.72);
  --line: rgba(33, 31, 36, 0.12);
  --line-strong: rgba(33, 31, 36, 0.45);
  --line-dark: rgba(52, 64, 84, 0.22);
  --error: #b3261e;

  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --shell: min(1200px, calc(100% - 3rem));
  --header-h: 4.25rem;
  --radius: 4px;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(240, 215, 140, 0.55), transparent 60%),
    radial-gradient(ellipse 70% 45% at 100% 30%, rgba(212, 160, 23, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 70%, rgba(224, 184, 74, 0.14), transparent 50%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 7.2vw, 6.1rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 13ch;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  max-width: 18ch;
}

h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  letter-spacing: -0.015em;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.site-header :focus-visible,
.hero :focus-visible,
.section-ink :focus-visible,
.site-footer :focus-visible,
.mobile-cta:focus-visible {
  outline-color: var(--gold);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  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: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Brand */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  flex: none;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, var(--gold-hi), var(--gold) 48%, #8a6418);
  box-shadow:
    0 0 0 1px rgba(154, 112, 32, 0.28) inset,
    0 0 0 3px var(--gold-soft);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--text);
  background: rgba(255, 250, 240, 0.94);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(212, 160, 23, 0.28);
  box-shadow: 0 8px 24px -18px rgba(16, 24, 40, 0.14);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-desktop {
  display: none;
  gap: 2rem;
}

.nav-desktop a,
.phone-link {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-desktop a:hover,
.phone-link:hover {
  color: var(--gold-deep);
}

.nav-desktop a:hover {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.35em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.phone-link {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.nav-toggle {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 1.05rem;
  height: 1.5px;
  background: currentColor;
  transition: transform 200ms ease;
}

.nav-toggle[aria-expanded="true"] .bar:nth-of-type(2) {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .bar:nth-of-type(3) {
  transform: translateY(-3.75px) rotate(-45deg);
}

.nav-mobile {
  border-top: 1px solid rgba(212, 160, 23, 0.25);
  background: linear-gradient(180deg, #fffaf0 0%, #fff3d6 100%);
}

.nav-mobile[hidden] {
  display: none;
}

.nav-mobile-inner {
  display: grid;
  padding: 0.75rem 0 1.5rem;
}

.nav-mobile a:not(.btn) {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text);
}

.nav-mobile a.nav-mobile-phone {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
  border-bottom: 0;
}

.nav-mobile .btn {
  margin-top: 0.5rem;
}

/* Buttons & links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
}

.btn-arrow {
  display: inline-block;
  transition: transform 200ms var(--ease-out);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-small {
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
}

.btn-lg {
  min-height: 3.4rem;
  padding: 0.9rem 1.7rem;
  font-size: 1.02rem;
}

.btn-ghost {
  background: var(--white);
  color: var(--ink-2);
  border-color: var(--ink-2);
}

.btn-ghost:hover {
  background: var(--gold-soft);
  border-color: var(--gold-deep);
  color: var(--gold-deep);
}

.text-link {
  color: var(--gold-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
}

.text-link:hover {
  color: var(--text);
  text-decoration-color: var(--gold-deep);
}

/* Hero — Manhattan Buyers–style product carousel */

.hero {
  position: relative;
  overflow: hidden;
  color: #211f24;
  background:
    linear-gradient(180deg, #fffaf0 0%, #fff6df 100%);
}

.hero-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-track {
  display: flex;
  width: 100%;
  transition: transform 600ms var(--ease-out);
  will-change: transform;
  touch-action: pan-y;
}

/* Each slide's --slide-bg matches its photo's studio backdrop so the edge fade is seamless. */
.hero-slide {
  --slide-bg: #e8e2d4;
  --slide-tint: #fff6df;
  --media-pos: 50% 50%;
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fffaf0 0%, #fff3d6 100%);
}

.hero-slide--watch {
  --slide-bg: #f2eee6;
  --slide-tint: #fff6df;
  --media-pos: 50% 50%;
}

.hero-slide--diamond {
  --slide-bg: #111111;
  --slide-tint: #fff4d8;
  --media-pos: 50% 40%;
}

.hero-slide--jewelry {
  --slide-bg: #f5f5f5;
  --slide-tint: #fff3d6;
  --media-pos: 50% 45%;
}

.hero-slide--gold {
  --slide-bg: #f7f7f7;
  --slide-tint: #ffe9b0;
  --media-pos: 50% 45%;
}

.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.92;
  max-height: 54svh;
  overflow: hidden;
  background: var(--slide-bg);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--media-pos);
}

/* Soft champagne fade at the very bottom of the photo only — the product stays untouched. */
.hero-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 250, 240, 0) 68%,
    rgba(255, 246, 223, 0.7) 88%,
    #fff6df 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0.25rem 0 4.25rem;
  transition: opacity 450ms ease, transform 450ms var(--ease-out);
}

.hero-slide:not(.is-active) .hero-content {
  opacity: 0;
  transform: translateY(10px);
}

.hero h1,
.hero-slide-title {
  max-width: 16ch;
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #211f24;
  text-wrap: balance;
}

.hero-lead {
  max-width: 34rem;
  margin-top: 0.95rem;
  color: #4a4550;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-btn-primary,
.hero-btn-secondary {
  min-width: min(100%, 12.5rem);
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
}

.hero-btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.hero-btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
}

.hero-btn-secondary {
  background: #fff;
  border-color: #344054;
  color: #344054;
}

.hero-btn-secondary:hover {
  background: var(--gold-soft);
  border-color: var(--gold-deep);
  color: var(--gold-deep);
}

/* Plain charcoal chevrons on a transparent hit area, as on Manhattan Buyers */
.hero-arrow {
  position: absolute;
  top: min(46vw, 27svh);
  z-index: 3;
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #211f24;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 160ms ease, color 160ms ease;
}

.hero-arrow:hover {
  background: rgba(255, 248, 232, 0.9);
  color: var(--gold-deep);
}

.hero-arrow-prev {
  left: clamp(0rem, 1vw, 1rem);
}

.hero-arrow-next {
  right: clamp(0rem, 1vw, 1rem);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 0.9rem;
  z-index: 3;
  display: flex;
  transform: translateX(-50%);
}

.hero-dot {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.hero-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0.6rem;
  height: 0.6rem;
  border: 1.5px solid #98a2b3;
  border-radius: 50%;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.hero-dot[aria-current="true"]::after {
  background: var(--gold);
  border-color: var(--gold);
}

.hero-dot:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes settle {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

/* Sections */

.section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.section-soft {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(240, 215, 140, 0.45), transparent 55%),
    linear-gradient(180deg, #fff8e8 0%, #f7eccf 100%);
}

.section-ink {
  background:
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(224, 184, 74, 0.42), transparent 55%),
    radial-gradient(ellipse 55% 45% at 0% 100%, rgba(212, 160, 23, 0.2), transparent 50%),
    linear-gradient(165deg, #fff8e6 0%, #f5e6c0 55%, #efe0b8 100%);
  color: var(--text);
}

.section-ink p {
  color: var(--muted);
}

.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.eyebrow::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
}

.section-ink .eyebrow,
.eyebrow.on-dark {
  color: var(--gold-deep);
}

.section-lead {
  max-width: 36rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.3vw, 1.12rem);
}

.section-ink .section-lead {
  color: var(--muted);
}

/* What we buy */

.buy-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
}

.buy-gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) * 1.2);
  background: var(--paper-2);
  aspect-ratio: 5 / 4;
}

.buy-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}

.buy-gallery figure:hover img {
  transform: scale(1.04);
}

.buy-gallery figcaption {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 248, 232, 0.95);
  color: var(--gold-deep);
  border: 1px solid rgba(212, 160, 23, 0.28);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.category-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}

.category-list > li {
  border-bottom: 1px solid var(--line);
}

.category {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 5.5rem 2.5rem minmax(0, 1fr);
  column-gap: 0.85rem;
  row-gap: 0.4rem;
  align-items: start;
  padding: 1.6rem 0;
  text-decoration: none;
}

.category-media {
  grid-row: span 3;
  display: block;
  width: 5.5rem;
  height: 5.5rem;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-2);
}

.category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}

.category:hover .category-media img,
.category:focus-visible .category-media img {
  transform: scale(1.06);
}

.category::before {
  content: "";
  position: absolute;
  inset: 0 -0.75rem;
  z-index: -1;
  background: var(--white);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 320ms var(--ease-out);
}

.category:hover::before,
.category:focus-visible::before {
  transform: none;
}

.category:focus-visible {
  outline-offset: 0;
}

.category-index {
  grid-row: span 3;
  padding-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
}

.category-name {
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 650;
  letter-spacing: -0.035em;
}

.category-desc {
  max-width: 34rem;
  color: var(--muted);
}

.category-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
  color: var(--gold-deep);
  font-size: 0.95rem;
  font-weight: 600;
}

.category-cta .arrow {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: background-color 200ms ease, color 200ms ease, transform 200ms var(--ease-out);
}

.category:hover .category-cta .arrow,
.category:focus-visible .category-cta .arrow {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: translateX(3px);
}

.category.is-drawer .category-index,
.category.is-drawer .category-name {
  color: var(--gold-deep);
}

/* How it works */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2.25rem;
}

.steps li {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-strong);
}

.step-num {
  display: block;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold-deep);
}

.steps h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
}

.steps p {
  max-width: 26rem;
  margin-top: 0.65rem;
  color: var(--muted);
}

.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

/* Why / drawer story */

.story-head {
  max-width: 50rem;
}

.story-title {
  font-size: clamp(2.3rem, 5.6vw, 4.6rem);
  max-width: 15ch;
}

.story-accent {
  display: block;
  color: var(--gold-deep);
}

.sort-tray {
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

.sort-title {
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-ink .sort-title {
  color: var(--muted);
}

.sort-piles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(212, 160, 23, 0.18);
}

.sort-piles li {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
}

.pile-tag {
  justify-self: start;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text);
  background: var(--gold-soft);
}

.pile-tag-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.principles {
  list-style: none;
  margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  padding: 0;
  display: grid;
  gap: 0 2rem;
}

.principles li {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.principles h3 {
  color: var(--text);
}

.principles p {
  margin-top: 0.4rem;
}

/* FAQ */

.faq-layout {
  display: grid;
  gap: 2rem;
}

.faq-aside {
  margin-top: 1.25rem;
  color: var(--muted);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line-strong);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.2rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
  color: var(--gold-deep);
  transition: transform 200ms ease, background-color 200ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
  background: var(--white);
}

.faq-list summary:hover {
  color: var(--gold-deep);
}

.faq-list summary:focus-visible {
  outline-offset: 2px;
}

.faq-list p {
  max-width: 42rem;
  margin: -0.25rem 0 1.35rem;
  color: var(--muted);
}

/* Quote */

.quote-layout {
  display: grid;
  gap: 3rem;
}

.quote h2 {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
}

.next-steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  counter-reset: next;
}

.next-steps li {
  counter-increment: next;
  position: relative;
  padding-left: 2.5rem;
  color: var(--muted);
}

.next-steps li::before {
  content: counter(next);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid var(--gold-deep);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-deep);
  background: var(--gold-soft);
}

.next-steps strong {
  color: var(--text);
  font-weight: 600;
}

.visit-card {
  display: grid;
  gap: 0.2rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-style: normal;
  color: var(--muted);
}

.visit-card strong {
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text);
}

.visit-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin-top: 0.6rem;
}

.visit-card a {
  color: var(--gold-deep);
  font-weight: 600;
  text-decoration: none;
}

.visit-card a:hover {
  text-decoration: underline;
}

.quote-form {
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border-radius: calc(var(--radius) * 1.6);
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -28px rgba(16, 24, 40, 0.22);
}

.quote-form :focus-visible {
  outline-color: var(--gold-deep);
}

.field {
  display: grid;
  gap: 0.4rem;
  align-content: start;
}

.field label,
.intent legend {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.optional {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
}

.quote-form input:not([type="radio"]),
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(23, 22, 19, 0.2);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.quote-form textarea {
  min-height: 7.5rem;
  resize: vertical;
  line-height: 1.5;
}

.quote-form select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%232c2112' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.quote-form ::placeholder {
  color: #8d877d;
}

.quote-form input:not([type="radio"]):hover,
.quote-form select:hover,
.quote-form textarea:hover {
  border-color: rgba(23, 22, 19, 0.4);
}

.quote-form input:not([type="radio"]):focus-visible,
.quote-form select:focus-visible,
.quote-form textarea:focus-visible {
  outline: 2px solid transparent;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.28);
}

.quote-form [aria-invalid="true"] {
  border-color: var(--error) !important;
}

.quote-form [aria-invalid="true"]:focus-visible {
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.2);
}

.quote-form .field-hint {
  font-size: 0.84rem;
  color: var(--muted);
}

.quote-form .field-error {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--error);
}

.field-error:empty {
  display: none;
}

.intent {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.intent legend {
  padding: 0;
  margin-bottom: 0.6rem;
}

.intent-options {
  display: grid;
  gap: 0.5rem;
}

.choice {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(23, 22, 19, 0.2);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 500;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.choice:hover {
  border-color: rgba(23, 22, 19, 0.4);
}

.choice input {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  accent-color: var(--gold-deep);
}

.choice:has(input:checked) {
  border-color: var(--gold-deep);
  background: var(--gold-soft);
  font-weight: 600;
}

.choice:has(input:focus-visible) {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
}

.choice input:focus-visible {
  outline: none;
}

.full-btn {
  width: 100%;
  margin-top: 0.25rem;
}

.quote-form .btn:focus-visible {
  outline-color: var(--ink);
}

.quote-form .form-note {
  font-size: 0.86rem;
  color: var(--muted);
  text-align: center;
}

.form-note.is-success {
  color: #2c6a39;
  font-weight: 500;
}

.form-note.is-error {
  color: var(--error);
  font-weight: 500;
}

/* Footer */

.site-footer {
  padding: clamp(3.5rem, 6vw, 5rem) 0 2.5rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(224, 184, 74, 0.28), transparent 60%),
    linear-gradient(180deg, #fffaf0 0%, #f7eccf 100%);
  color: var(--muted);
  border-top: 1px solid rgba(212, 160, 23, 0.35);
}

.footer-inner {
  display: grid;
  gap: 2rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
}

.footer-brand .brand-mark {
  width: 1.15rem;
  height: 1.15rem;
}

.footer-tag {
  max-width: 28rem;
  margin-top: 0.6rem;
}

.footer-honest {
  margin-top: 1rem;
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 0.75rem 1.75rem;
}

.footer-links a {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold-deep);
}

.footer-copy {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

/* Mobile sticky CTA */

.mobile-cta {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.3rem;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 14px 30px -12px rgba(16, 24, 40, 0.35);
  transform: translateY(160%);
  visibility: hidden;
  transition: transform 280ms var(--ease-out), visibility 0s linear 280ms;
}

.mobile-cta.is-visible {
  transform: none;
  visibility: visible;
  transition: transform 280ms var(--ease-out), visibility 0s;
}

/* Scroll reveal: content stays visible; motion is additive when .is-in lands.
   (Hiding with opacity:0 made share/email HTML look blank if IntersectionObserver
   hadn’t fired yet — especially for the What we buy list.) */

.js .reveal.is-in {
  animation: rise 700ms var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 70ms);
}

/* Responsive */

@media (max-width: 420px) {
  :root {
    --shell: calc(100% - 2rem);
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .btn-small {
    padding-inline: 0.8rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 719px) {
  .hero-cta .btn {
    flex: 1 1 100%;
  }

  .site-footer {
    padding-bottom: 6rem;
  }
}

@media (min-width: 560px) {
  .intent-options {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 720px) {
  .phone-link {
    display: inline;
  }

  .mobile-cta {
    display: none;
  }

  .buy-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  .category {
    grid-template-columns: 7.5rem 3rem minmax(0, 1fr);
    column-gap: 1.25rem;
  }

  .category-media {
    width: 7.5rem;
    height: 7.5rem;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .sort-piles {
    grid-template-columns: repeat(3, 1fr);
  }

  .principles {
    grid-template-columns: repeat(2, 1fr);
  }

  .quote-form {
    grid-template-columns: 1fr 1fr;
  }

  .quote-form .full,
  .quote-form .full-btn {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .nav-desktop {
    display: flex;
  }

  .nav-toggle,
  .nav-mobile {
    display: none !important;
  }

  /* Desktop: copy bottom-left on a soft tint, product photo on the right ~62% */
  .hero-slide {
    display: grid;
    align-items: end;
    min-height: clamp(560px, calc(100svh - var(--header-h)), 760px);
    background: var(--slide-tint);
  }

  .hero-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 62%;
    aspect-ratio: auto;
    max-height: none;
  }

  .hero-veil {
    background:
      linear-gradient(90deg, var(--slide-tint) 0%, rgba(255, 246, 223, 0) 22%),
      linear-gradient(180deg, rgba(255, 246, 223, 0) 78%, rgba(255, 243, 214, 0.65) 100%);
  }

  .hero-content {
    padding: 5rem 0 clamp(4.5rem, 10vh, 6rem);
  }

  .hero-arrow {
    top: 50%;
  }

  .section-head.split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: end;
  }

  .section-head.split .section-lead {
    justify-self: end;
    margin-top: 0;
  }

  .category {
    grid-template-columns: 8.5rem 3.5rem minmax(0, 0.85fr) minmax(0, 1.15fr) 13rem;
    align-items: center;
    column-gap: 1.5rem;
    padding: 1.9rem 0;
  }

  .category-media {
    grid-row: auto;
    width: 8.5rem;
    height: 8.5rem;
  }

  .category-index {
    grid-row: auto;
    padding-top: 0;
  }

  .category-cta {
    margin-top: 0;
    justify-self: end;
  }

  .principles {
    grid-template-columns: repeat(4, 1fr);
  }

  .faq-layout {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 5rem;
    align-items: start;
  }

  .faq-head {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }

  .quote-layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 5rem;
    align-items: start;
  }

  .footer-inner {
    grid-template-columns: 1.4fr 1fr;
  }

  .footer-links {
    justify-content: flex-end;
  }

  .footer-copy {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .js .reveal.is-in {
    animation: none !important;
  }
}

@media (forced-colors: active) {
  .btn,
  .mobile-cta,
  .choice,
  .category-cta .arrow {
    border: 1px solid ButtonText;
  }

  .brand-mark {
    background: CanvasText;
  }
}
