/* ============================================================================
   MINDY LOPEZ STUDIOS

   Layout follows the "Made With Love" template: a floating pill header over a
   full-bleed slider, a four-up row whose medallions overlap up into it, tinted
   alternating bands, and a dark footer. The palette and type are the studio's
   own - navy, gold and sand, with the template's Merienda One as the
   display face and a neutral sans kept for long paragraphs only.
   ============================================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure, form { margin: 0; padding: 0; }
ul, ol { list-style: none; }
/* height:auto lets the width/height attributes carry their aspect ratio for
   layout stability without pinning the rendered height, so the aspect-ratio
   crops further down actually apply. */
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

:root {
  --sand: #FDFBF7;
  --sand-dim: #F5F0E6;
  --shell: #F8F4EC;
  --navy: #0E2338;
  --navy-soft: #14314D;
  --gold: #D4AF37;
  --gold-soft: #E5CC7A;
  --seafoam: #6BA39B;
  --seafoam-soft: #9AC6BF;
  --driftwood: #B9986B;
  --driftwood-soft: #D6BE9B;
  --ink: #1C2A36;
  --muted: #6E7C88;
  --rule: #E4DDD0;

  /* Merienda One is the template's display face and carries almost all the
     text, exactly as it does there. The neutral sans is kept only for long
     multi-sentence paragraphs, which is the same split the template makes. */
  --font-heading: 'Merienda One', 'Segoe Print', cursive;
  --font-script: 'Great Vibes', cursive;
  --font-body: 'Merienda One', 'Segoe Print', cursive;
  --font-prose: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  --container-w: 1180px;
  --header-h: 78px;
}

/* Per-accent tokens. A .accent-* class anywhere sets --accent for everything
   inside it, so bars, medallions, buttons and rules all follow the category. */
.accent-navy     { --accent: var(--navy);      --accent-soft: var(--navy-soft); }
.accent-seafoam  { --accent: var(--seafoam);   --accent-soft: var(--seafoam-soft); }
.accent-driftwood{ --accent: var(--driftwood); --accent-soft: var(--driftwood-soft); }
.accent-gold     { --accent: var(--gold);      --accent-soft: var(--gold-soft); }

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--navy); font-weight: 400; line-height: 1.3; }
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.15rem; }

/* Long-form copy drops to the neutral sans so paragraphs stay readable.
   The containers go in :where() so they carry no specificity - otherwise
   `.story-copy p` would outrank `.script-accent` and steal the script face
   from every accent line that happens to sit inside one. */
:where(.story-copy, .prose-band, .feature-copy, .shipping-card,
       .footer-brand, .notfound) p,
.piece-desc, .page-intro, .section-sub, .band-text {
  font-family: var(--font-prose);
}

.script-accent {
  font-family: var(--font-script);
  color: var(--gold);
  font-size: 1.9rem;
  line-height: 1.3;
  /* Great Vibes runs its words together at display size. */
  letter-spacing: .02em;
  word-spacing: .18em;
  margin-bottom: 6px;
}
.eyebrow {
  font-family: var(--font-prose);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}
.section-heading { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-sub { color: var(--muted); margin-top: 14px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--navy); color: var(--sand); padding: 12px 20px;
}
.skip-link:focus { left: 0; }

:where(a, button, input, textarea):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  padding: 13px 30px;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border-radius: 3px;
  border: 1px solid transparent;
  text-align: center;
  transition: background .25s, color .25s, border-color .25s;
}
.btn-sm { padding: 12px 26px; }
.btn-primary { background: var(--navy); color: var(--sand); border-color: var(--navy); }
.btn-primary:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--sand); }
.btn-block { display: block; width: 100%; }

/* The template's small rounded category button. */
.pill {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--font-heading);
  padding: 9px 26px;
  border-radius: 3px;
  background: var(--accent, var(--navy));
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: filter .25s, transform .25s;
}
.pill:hover { filter: brightness(1.12); transform: translateY(-1px); }

.more-link {
  display: inline-block;
  font-family: var(--font-heading);
  margin-top: 18px;
  font-size: 0.95rem;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
}
.more-link:hover { color: var(--gold); }

/* ============ HEADER ============
   Floating white pill that sits over the hero and sticks on scroll. */
.header-shell {
  position: absolute;
  top: 28px; left: 0; right: 0;
  z-index: 100;
  transition: top .3s;
}
.header-shell.is-stuck {
  position: fixed;
  top: 0;
  background: rgba(253, 251, 247, .94);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 24px rgba(14, 35, 56, .09);
}
.header-shell.is-stuck .container { padding-inline: 24px; }
.header-shell.is-stuck .site-header {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  height: 66px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: var(--header-h);
  padding: 0 10px 0 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(14, 35, 56, .12);
  transition: height .3s, background .3s, box-shadow .3s;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: stretch;
  padding: 0 26px 0 20px;
  background: var(--navy);
  border-radius: 14px 0 0 14px;
  color: var(--sand);
}
.header-shell.is-stuck .logo { border-radius: 0; background: transparent; color: var(--navy); }
.logo img { width: 42px; height: 42px; border-radius: 50%; }
.logo-words { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text { font-family: var(--font-heading); font-size: 1.15rem; letter-spacing: .02em; white-space: nowrap; }
.logo-sub {
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.header-shell.is-stuck .logo-sub { color: var(--gold); }

.main-nav ul { display: flex; align-items: center; }
.main-nav li + li { border-left: 1px solid var(--rule); }
.main-nav a {
  display: block;
  font-family: var(--font-heading);
  padding: 6px 15px;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  color: var(--navy);
  transition: color .2s;
}
.main-nav a:hover { color: var(--gold); }
.main-nav .is-current a { color: var(--gold); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-right: 8px;
  background: none; border: 0; padding: 0;
}
.nav-toggle span {
  display: block; height: 2px; width: 22px; margin: 5px auto;
  background: var(--navy); transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO SLIDER ============ */
.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(14,35,56,.86) 0%, rgba(14,35,56,.66) 45%, rgba(14,35,56,.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 130px;
  padding-bottom: 120px;
  max-width: 760px;
  margin-inline: 0;
  padding-left: max(24px, calc((100vw - var(--container-w)) / 2 + 24px));
}
.hero-content h1 { color: var(--sand); }
.hero-sub { color: rgba(253,251,247,.85); margin-top: 20px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero .btn-ghost { color: var(--sand); border-color: rgba(253,251,247,.6); }
.hero .btn-ghost:hover { background: var(--sand); color: var(--navy); border-color: var(--sand); }

.hero-arrow {
  position: absolute; top: 50%;
  z-index: 3;
  width: 62px; height: 62px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(253,251,247,.20);
  color: var(--sand);
  transform: translateY(-50%);
  transition: background .3s ease, color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.hero-arrow svg { width: 24px; height: 24px; transition: transform .3s ease; }
.hero-arrow:hover {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 6px 22px rgba(14,35,56,.3);
}
.hero-arrow:active { transform: translateY(-50%) scale(.94); }
.hero-arrow.prev { left: 18px; }
.hero-arrow.next { right: 18px; }
.hero-arrow.prev:hover svg { transform: translateX(-3px); }
.hero-arrow.next:hover svg { transform: translateX(3px); }

.hero-dots {
  position: absolute; z-index: 3;
  left: 0; right: 0; bottom: 92px;
  display: flex; justify-content: center; gap: 9px;
}
.hero-dots button {
  width: 11px; height: 11px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(253,251,247,.42);
  transition: background .25s, transform .25s;
}
.hero-dots button:hover { background: var(--gold-soft); transform: scale(1.25); }
.hero-dots button.is-active { background: var(--gold); transform: scale(1.3); }

/* ============ FOUR-UP ROW ============
   Medallions overlap up into the band above, exactly as the template does. */
.four-up { background: var(--sand-dim); padding: 0 0 70px; }
.four-up.on-tint { background: var(--shell); padding-top: 80px; }
.four-up-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.feature-col {
  position: relative;
  padding-top: 78px;
  text-align: center;
}
.feature-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 12px;
  background: var(--accent);
}
.feature-medallion {
  position: absolute;
  top: -34px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 92px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sand-dim);
  color: var(--accent);
  box-shadow: 0 0 0 12px var(--sand-dim);
}
.four-up.on-tint .feature-medallion,
.four-up.on-tint .feature-medallion { background: var(--shell); box-shadow: 0 0 0 12px var(--shell); }
.feature-medallion svg { width: 46px; height: 46px; }
.feature-medallion.standalone {
  position: static; transform: none; margin: 0 auto 20px;
  background: transparent; box-shadow: none;
}
.feature-col h3 { font-size: 1.6rem; }
.feature-col h3 a:hover { color: var(--accent); }
.feature-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--muted);
  margin-top: 8px;
}
.feature-blurb { font-size: 0.86rem; color: var(--muted); margin-top: 16px; }

/* ============ CAROUSEL ============
   Paged like the template's Owl carousel: no scrollbar, dots below sitting in
   a gap punched through a hairline rule. */
.strip { background: var(--shell); padding: 52px 0 44px; }

.carousel { position: relative; --per-view: 4; }
.carousel-viewport { overflow: hidden; }
.carousel-track {
  display: flex;
  transition: transform .55s cubic-bezier(.4, .0, .2, 1);
  will-change: transform;
}
.carousel-item {
  flex: 0 0 auto;
  width: calc(100% / var(--per-view, 4));
  padding: 0 12px;
  text-align: center;
}
.carousel-media {
  display: block; position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: var(--sand-dim);
}
.carousel-media img {
  width: 100%; height: auto;
  aspect-ratio: 1; object-fit: cover;
  transition: transform .5s, filter .3s;
}
.carousel-item:hover img { transform: scale(1.06); filter: brightness(.55); }
.carousel-zoom {
  position: absolute; inset: 0; margin: auto;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold);
  opacity: 0; transform: scale(.7);
  transition: opacity .3s, transform .3s;
}
.carousel-zoom::before, .carousel-zoom::after {
  content: ''; position: absolute; background: var(--navy);
}
.carousel-zoom::before { left: 14px; right: 14px; top: 22px; height: 2px; }
.carousel-zoom::after { top: 14px; bottom: 14px; left: 22px; width: 2px; }
.carousel-item:hover .carousel-zoom { opacity: 1; transform: scale(1); }
.carousel-name {
  display: block;
  margin-top: 12px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  color: var(--navy);
  transition: color .25s;
}
.carousel-item:hover .carousel-name { color: var(--gold); }

/* The hairline runs the full width; the dot group sits on the band colour so
   it knocks a gap in the middle of the line, exactly as the template does. */
.carousel-controls {
  position: relative;
  text-align: center;
  margin: 0 12px;
  padding-top: 26px;
}
.carousel-controls::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 38px;
  height: 1px;
  background: var(--rule);
}
.carousel-dots {
  position: relative;
  display: inline-flex;
  gap: 10px;
  padding: 0 32px;
  background: var(--shell);
}
.carousel-dots button {
  width: 11px; height: 11px; padding: 0;
  border: 0; border-radius: 50%;
  background: #DBD9CB;
  transition: background .25s, transform .25s;
}
.carousel-dots button:hover { background: var(--gold-soft); transform: scale(1.2); }
.carousel-dots button.is-active { background: var(--gold); }

/* ============ FEATURE BAND ============ */
.feature-band { background: var(--sand-dim); padding: 76px 0; }
.feature-split { display: grid; grid-template-columns: 3fr 1fr; gap: 46px; }
.feature-main { display: grid; grid-template-columns: 330px 1fr; gap: 34px; align-items: center; }
.feature-main img { border-radius: 3px; }
.feature-kicker {
  font-family: var(--font-script);
  font-size: 3rem; line-height: 1.2;
  color: var(--gold);
}
.feature-copy h2 { margin-top: 2px; }
.feature-lede {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--muted);
  margin-top: 14px;
}
.feature-copy p + p { margin-top: 12px; }
.feature-copy .btn { margin-top: 24px; }

.feature-side { border-left: 1px solid var(--rule); padding-left: 34px; }
.side-item + .side-item { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--rule); }
.side-label {
  font-size: 0.68rem; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 600; color: var(--gold);
}
.side-item h3 { margin-top: 6px; }
.side-item p { font-size: 0.86rem; color: var(--muted); margin-top: 8px; }

/* ============ SOCIAL BAND ============
   The template's closing "Free Gift" row: image and headline on the left, a
   vertical rule, then the social icons on the right. */
.social-band { background: #fff; padding: 54px 0; }
.social-split { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: center; }
.social-feature { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: center; }
.social-feature img { border-radius: 3px; }
.band-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  line-height: 1.2;
  color: var(--gold);
}
.band-title.small { font-size: 1.4rem; color: var(--navy); }
.band-text { color: var(--muted); margin-top: 12px; }

/* The template's inline round arrow that ends a line of copy. */
.arrow-link {
  display: inline-grid; place-items: center;
  vertical-align: middle;
  width: 22px; height: 22px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--gold);
  transition: background .25s, transform .25s;
}
.arrow-link::after {
  content: '';
  width: 6px; height: 6px;
  border-top: 2px solid var(--navy);
  border-right: 2px solid var(--navy);
  transform: rotate(45deg) translate(-1px, 1px);
}
.arrow-link:hover { background: var(--navy); transform: translateX(3px); }
.arrow-link:hover::after { border-color: var(--sand); }

.social-find { border-left: 1px solid var(--rule); padding-left: 40px; }
.soc-icons.big { margin-top: 18px; }
.soc-icons.big a {
  width: 46px; height: 46px;
  background: var(--sand-dim);
  color: var(--navy);
}
.soc-icons.big a:hover { background: var(--gold); color: var(--navy); }
.soc-icons.big svg { width: 21px; height: 21px; }

/* Footer contact line with the template's oversized @ glyph. */
.footer-at { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.footer-at span { font-size: 2rem; line-height: 1; color: var(--gold); }
.footer-at a { font-size: 0.86rem; }
.footer-at a:hover { color: var(--gold); }

/* ============ STORY ============ */
.story-band, .prose-band { background: #fff; padding: 80px 0; }
.story-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story-media img { border-radius: 3px; }
.story-copy h2 + p, .story-copy p + p { margin-top: 14px; }
.story-copy h2 { margin-top: 30px; }
.story-copy h2:first-child { margin-top: 0; }
.story-signature {
  font-family: var(--font-script);
  font-size: 1.7rem;
  color: var(--gold);
  margin-top: 22px;
}

/* ============ PAGE HEADS & CRUMBS ============ */
.crumbs { background: var(--sand-dim); border-bottom: 1px solid var(--rule); padding-top: calc(var(--header-h) + 40px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0; font-size: 0.74rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--rule); }
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current] { color: var(--navy); font-weight: 600; }

.page-head { background: var(--sand-dim); padding: 54px 0 60px; text-align: center; }
.page-head .container { max-width: 780px; }
.page-intro { color: var(--muted); margin-top: 18px; }

/* ============ LISTINGS ============ */
.listing { padding: 70px 0; }
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.chip {
  padding: 10px 22px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: transparent;
  font-size: 0.7rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600; color: var(--muted);
  transition: all .2s;
}
.chip:hover { border-color: var(--gold); color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--sand); }

.piece-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 34px 28px;
}
.piece-card { position: relative; }
.piece-card[hidden] { display: none; }
.piece-media {
  display: block; position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 3px;
  background: var(--sand-dim);
  box-shadow: 0 2px 14px rgba(14,35,56,.07);
}
.piece-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.piece-card:hover .piece-media img { transform: scale(1.05); }
.piece-card::after {
  content: ''; display: block; width: 34px; height: 3px;
  background: var(--accent, var(--gold));
  margin-top: 16px;
  transition: width .3s;
}
.piece-card:hover::after { width: 64px; }
.piece-card h3 { margin-top: 16px; font-size: 1.1rem; }
.piece-card:hover h3 { color: var(--accent, var(--gold)); }
.piece-cat {
  font-size: 0.68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-top: 4px;
}
.piece-price { font-size: 0.86rem; color: var(--navy); font-weight: 600; margin-top: 8px; }

.card-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 0.62rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600; color: #fff;
}
.card-badge.is-sold { background: var(--navy); }
.card-badge.is-made-to-order { background: var(--driftwood); }

.photo-pending {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 0.72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  background: repeating-linear-gradient(45deg, var(--sand-dim) 0 12px, var(--shell) 12px 24px);
}
.photo-pending.large { position: static; aspect-ratio: 1; }

.listing-note { text-align: center; margin-top: 40px; color: var(--muted); font-size: 0.86rem; }

/* ============ PRODUCT DETAIL ============ */
.piece-detail { padding: 66px 0 70px; }
.piece-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.piece-hero { border-radius: 3px; overflow: hidden; background: var(--sand-dim); box-shadow: 0 4px 24px rgba(14,35,56,.09); }
.piece-hero img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.piece-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.piece-thumb {
  width: 74px; height: 74px; padding: 0;
  border: 1px solid var(--rule); border-radius: 3px;
  overflow: hidden; background: none;
}
.piece-thumb.is-active { border-color: var(--gold); }
.piece-thumb img { width: 100%; height: 100%; object-fit: cover; }

.piece-info h1 { margin-top: 2px; }
.piece-detail-price {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: var(--navy);
  margin-top: 14px;
}
.piece-status {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.64rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  background: var(--accent-soft, var(--gold-soft));
  color: var(--navy);
}
.piece-status.is-sold { background: var(--navy); color: var(--sand); }
.piece-variation {
  margin-top: 16px;
  padding: 12px 16px;
  border-left: 3px solid var(--gold);
  background: var(--sand-dim);
  font-size: 0.82rem;
  color: var(--muted);
}
.piece-desc { margin-top: 20px; }
.piece-specs { margin-top: 22px; }
.piece-specs li {
  position: relative;
  padding-left: 22px;
  margin-top: 9px;
  font-size: 0.88rem;
  color: var(--muted);
}
.piece-specs li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent, var(--gold));
}
.piece-shipping {
  margin-top: 24px; padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-size: 0.82rem; color: var(--muted);
}
.piece-info .btn { margin-top: 20px; }
.piece-note { margin-top: 12px; font-size: 0.78rem; color: var(--muted); text-align: center; }

.related { background: var(--shell); padding: 66px 0 70px; }

/* ============ SHIPPING ============ */
.shipping-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.shipping-card {
  padding: 38px 30px;
  background: #fff;
  border-top: 5px solid var(--accent, var(--gold));
  box-shadow: 0 2px 16px rgba(14,35,56,.06);
  text-align: center;
}
.shipping-card.is-highlight { background: var(--navy); }
.shipping-card.is-highlight h2, .shipping-card.is-highlight .shipping-rate { color: var(--gold); }
.shipping-card.is-highlight p { color: rgba(253,251,247,.82); }
.shipping-card h2 { font-size: 1.3rem; }
.shipping-rate {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--navy);
  margin: 14px 0 12px;
}
.shipping-card p { font-size: 0.86rem; color: var(--muted); }

/* Delivery times and the return policy, under the rate cards. Anchored as
   #delivery and #returns; product pages link to #returns. */
.policy-band { background: #fff; padding: 70px 0; }
.policy-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.policy-block { scroll-margin-top: calc(var(--header-h) + 30px); }
.policy-block h2 { margin-bottom: 14px; }
.policy-block h3 { margin-top: 26px; }
.policy-block p { font-family: var(--font-prose); font-size: 0.92rem; color: var(--muted); }
.policy-block p + p, .policy-block h3 + p { margin-top: 10px; }
.policy-list { margin-top: 14px; font-family: var(--font-prose); font-size: 0.92rem; color: var(--muted); }
.policy-list li { position: relative; padding-left: 22px; }
.policy-list li + li { margin-top: 8px; }
.policy-list li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
}
.piece-shipping a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.piece-shipping a:hover { color: var(--gold); }

/* ============ NEWSLETTER / ASK ============ */
.newsletter { background: var(--navy); padding: 74px 0; text-align: center; }
.newsletter-inner { max-width: 620px; }
.newsletter h2 { color: var(--sand); }
.newsletter-sub { color: rgba(253,251,247,.75); margin-top: 12px; }
.newsletter-form { display: flex; gap: 10px; margin-top: 28px; }
.newsletter-form input {
  flex: 1; min-width: 0;
  padding: 15px 18px;
  border: 1px solid rgba(253,251,247,.25);
  border-radius: 2px;
  background: rgba(253,251,247,.06);
  color: var(--sand);
  font: inherit;
}
.newsletter-form input::placeholder { color: rgba(253,251,247,.5); }
.newsletter .btn-primary { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.newsletter .btn-primary:hover { background: var(--sand); border-color: var(--sand); }
.newsletter-msg { margin-top: 14px; font-size: 0.84rem; color: var(--gold-soft); min-height: 1.2em; }

.ask { background: var(--shell); padding: 74px 0; text-align: center; }
.ask-inner { max-width: 640px; }
.ask .section-sub { margin-bottom: 30px; }
.question-form { display: grid; gap: 12px; text-align: left; }
.question-form input, .question-form textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: #fff;
  font: inherit;
  color: var(--ink);
  resize: vertical;
}
.ask .newsletter-msg { color: var(--navy); }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--navy);
  color: rgba(253,251,247,.72);
  padding: 66px 0 30px;
  border-top: 4px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo-text { display: block; font-family: var(--font-heading); font-size: 1.2rem; color: var(--sand); margin-top: 12px; }
.footer-brand p { font-size: 0.84rem; margin-top: 10px; max-width: 260px; }
.footer-logo { width: 56px; height: 56px; border-radius: 50%; }
.footer-heading {
  font-size: 0.68rem; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 600; color: var(--gold); margin-bottom: 14px;
}
.footer-links li + li { margin-top: 8px; }
.footer-links a { font-size: 0.86rem; }
.footer-links a:hover, .footer-copy a:hover { color: var(--gold); }

.soc-icons { display: flex; gap: 10px; margin-bottom: 18px; }
.soc-icons a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(253,251,247,.1);
  color: var(--sand);
  transition: background .25s, color .25s;
}
.soc-icons a:hover { background: var(--gold); color: var(--navy); }
.soc-icons svg { width: 18px; height: 18px; }
.footer-social .btn-ghost { color: var(--sand); border-color: rgba(253,251,247,.4); }
.footer-social .btn-ghost:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

.footer-copy {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(253,251,247,.14);
  font-size: 0.78rem;
  text-align: center;
}

/* ============ 404 ============ */
.notfound {
  min-height: 100vh;
  display: grid; place-items: center;
  text-align: center;
  background: var(--sand-dim);
}
.notfound img { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 24px; }
.notfound .container { max-width: 560px; padding-block: 60px; }
.notfound > div > p { color: var(--muted); margin-top: 14px; }
.notfound .hero-actions { justify-content: center; }
.notfound-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px;
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 0.74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
}
.notfound-links a:hover { color: var(--gold); }

/* ============ BACK TO TOP ============ */
.back-top {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 90;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: var(--navy);
  color: var(--sand);
  opacity: 0; pointer-events: none;
  transition: opacity .3s, background .25s;
}
.back-top.is-visible { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--gold); color: var(--navy); }
.back-top svg { width: 20px; height: 20px; }

/* ============ REVEAL ============ */
.reveal-init { opacity: 0; transform: translateY(18px); }
.reveal-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .four-up-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 26px; }
  .feature-split { grid-template-columns: 1fr; }
  .carousel { --per-view: 3; }
  .social-split { grid-template-columns: 1fr; }
  .social-find { border-left: 0; border-top: 1px solid var(--rule); padding: 26px 0 0; }
  .feature-side { border-left: 0; border-top: 1px solid var(--rule); padding: 30px 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-header { padding-right: 0; }
  .main-nav {
    position: absolute;
    top: calc(100% + 8px); left: 0; right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(14,35,56,.16);
    padding: 8px 0;
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav li + li { border-left: 0; border-top: 1px solid var(--rule); }
  .main-nav a { padding: 14px 22px; }
  .header-shell { position: fixed; top: 0; }
  .header-shell .container { padding-inline: 16px; }
  .site-header { border-radius: 0 0 12px 12px; }
  .logo { border-radius: 0 0 0 12px; }

  .hero { min-height: 0; }
  .hero-content { padding: 128px 24px 96px; }
  .hero-arrow { display: none; }
  .hero-dots { bottom: 18px; }
  /* Narrow screens have no room for the medallions to hang into the hero,
     so drop the row far enough that they sit inside the tinted band. */
  .four-up { padding-top: 46px; }

  .piece-split, .story-split, .feature-main { grid-template-columns: 1fr; gap: 30px; }
  .social-feature { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .social-feature img { margin: 0 auto; max-width: 260px; }
  .shipping-grid { grid-template-columns: 1fr; }
  .policy-grid { grid-template-columns: 1fr; gap: 40px; }
  .crumbs { padding-top: calc(var(--header-h) + 14px); }
}

@media (max-width: 620px) {
  .four-up-grid { grid-template-columns: 1fr; gap: 60px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .newsletter-form { flex-direction: column; }
  .piece-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 26px 18px; }
  .carousel { --per-view: 2; }
  .carousel-item { padding: 0 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal-init { opacity: 1; transform: none; }
}
