/* Island Roaster — premium design system (coastal copper / stone / roast brown) */
:root {
  --bone: #efe9df;
  --stone: #ddd4c6;
  --ink: #1a1714;
  --ink-soft: #3a342e;
  --muted: #6a6258;
  --olive: #3f4f38;
  --olive-deep: #2d3a28;
  --copper: #a85c32;
  --copper-soft: #c4784a;
  --cream: #f7f3eb;
  --roast: #2a211c;
  --line: rgba(26, 23, 20, 0.12);
  --shadow: 0 12px 32px rgba(26, 23, 20, 0.1), 0 4px 12px rgba(168, 92, 50, 0.06);
  --shadow-lift: 0 28px 56px rgba(26, 23, 20, 0.16), 0 10px 24px rgba(168, 92, 50, 0.12);
  --shadow-soft: 0 6px 18px rgba(26, 23, 20, 0.07);
  --radius: 16px;
  --radius-sm: 11px;
  --radius-lg: 24px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-bg: rgba(239, 233, 223, 0.94);
  --surface: var(--cream);
  /* Always-dark panels (footer / section-dark / toast) — never flip with theme text tokens */
  --inverse: #1a1714;
  --on-inverse: #f3efe6;
  --on-inverse-muted: rgba(243, 239, 230, 0.7);
  --on-inverse-faint: rgba(243, 239, 230, 0.52);
  --inverse-line: rgba(255, 255, 255, 0.12);
  --btn-on-solid: #fffaf4;
}

html[data-theme="dark"] {
  --bone: #141210;
  --stone: #1e1a17;
  --ink: #f0ebe3;
  --ink-soft: #d2c8ba;
  --muted: #a89c8c;
  --olive: #8fa57f;
  --olive-deep: #a8bc9a;
  --copper: #d4895a;
  --copper-soft: #e0a078;
  --cream: #1c1916;
  --roast: #0c0b0a;
  --line: rgba(240, 235, 227, 0.12);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.28);
  --shadow-lift: 0 24px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(212, 137, 90, 0.14);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.35);
  --header-bg: rgba(20, 18, 16, 0.94);
  --surface: #1c1916;
  --inverse: #0c0b0a;
  --on-inverse: #f0ebe3;
  --on-inverse-muted: rgba(240, 235, 227, 0.72);
  --on-inverse-faint: rgba(240, 235, 227, 0.5);
  --inverse-line: rgba(255, 255, 255, 0.1);
  --btn-on-solid: #141210;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bone);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.container-wide {
  width: min(1400px, calc(100% - 2rem));
  margin-inline: auto;
}

/* —— Header —— */
.icon {
  display: block;
  flex-shrink: 0;
}

.noscript-nav {
  background: var(--stone);
  padding: 0.75rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.hdr-hours {
  display: none;
  flex-direction: column;
  line-height: 1.15;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.hdr-hours__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
}

.hdr-hours__time {
  font-size: 0.72rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

.hdr-shop-cta {
  display: none;
  height: 42px;
  padding: 0 0.85rem;
  border: 1px solid var(--olive);
  border-radius: var(--radius-sm);
  background: var(--olive);
  color: var(--btn-on-solid);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  box-shadow: var(--shadow-soft);
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.hdr-shop-cta:hover {
  background: var(--olive-deep);
  border-color: var(--olive-deep);
  color: var(--btn-on-solid);
  box-shadow: var(--shadow);
}

@media (min-width: 960px) {
  .hdr-hours {
    display: inline-flex;
  }
}

@media (min-width: 1100px) {
  .hdr-shop-cta {
    display: inline-flex;
  }
}

.footer-addr {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--on-inverse-faint);
  line-height: 1.5;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.brand__mark {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--olive);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--olive);
  box-shadow: var(--shadow-soft);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.nav-desktop a {
  padding: 0.45rem 0.75rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--olive);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.icon-btn:hover {
  background: var(--stone);
  border-color: var(--copper-soft);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--copper);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.cart-badge[hidden] {
  display: none !important;
}

.nav-toggle {
  display: grid;
}

.nav-mobile {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--cream);
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  z-index: 40;
  overflow-y: auto;
}

.nav-mobile.is-open {
  transform: translateX(0);
}

.nav-mobile a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.nav-mobile__meta {
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 960px) {
  .nav-desktop {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .nav-mobile {
    display: none;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.2rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-primary {
  background: var(--olive);
  color: var(--btn-on-solid);
}

.btn-primary:hover {
  background: var(--olive-deep);
  color: var(--btn-on-solid);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--inverse);
  border-color: var(--inverse);
  color: var(--on-inverse);
}

.btn-copper {
  background: var(--copper);
  color: #fff;
  box-shadow: 0 10px 28px rgba(168, 92, 50, 0.28);
}

.btn-copper:hover {
  background: var(--copper-soft);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  backdrop-filter: blur(8px);
  box-shadow: none;
}

.btn-ghost:hover {
  background: #fff;
  color: var(--ink);
}

.btn-block {
  width: 100%;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(58vh, 520px);
  max-height: 560px;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: heroZoom 18s var(--ease) infinite alternate;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 26, 23, 0.25) 0%,
    rgba(28, 26, 23, 0.55) 45%,
    rgba(28, 26, 23, 0.82) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 2.75rem 0 3rem;
  max-width: 640px;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 550;
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
  line-height: 0.95;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.hero__headline {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  max-width: 28ch;
  margin: 0 0 0.75rem;
  opacity: 0.95;
}

.hero__sub {
  font-size: 1rem;
  opacity: 0.8;
  max-width: 42ch;
  margin: 0 0 1.75rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

/* —— Sections —— */
.section {
  padding: 5rem 0;
}

.section-tight {
  padding: 3.5rem 0;
}

.section-dark {
  background: var(--inverse);
  color: var(--on-inverse);
}

.section-stone {
  background: var(--stone);
}

.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.75rem;
}

.section-dark .eyebrow {
  color: var(--copper-soft);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.section-lead {
  color: var(--muted);
  max-width: 52ch;
  margin-top: 0.75rem;
}

.section-dark .section-lead {
  color: var(--on-inverse-muted);
}

.section-dark .section-title {
  color: var(--on-inverse);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

/* —— Cards / grids —— */
.grid-3 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.grid-4 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(168, 92, 50, 0.25);
}

.product-card__media {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--stone);
  position: relative;
}

.product-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease);
}

.product-card:hover .product-card__media img {
  transform: scale(1.06);
}

.product-card__badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background: var(--olive);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.product-card__body {
  padding: 0.9rem 1rem 1.05rem;
}

.product-card__meta {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.product-card__title {
  font-size: 1.2rem;
  margin: 0 0 0.35rem;
}

.product-card__notes {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.product-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.price {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.mood-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.mood-strip figure {
  margin: 0;
  width: 100%;
  height: 130px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.mood-strip figure:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.mood-strip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 900px) {
  .mood-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .mood-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .mood-strip figure {
    height: 110px;
  }
}

/* —— Values —— */
.value-card {
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.value-card .icon {
  color: var(--olive);
  margin-bottom: 1rem;
  width: 28px;
  height: 28px;
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* —— Split / story —— */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.split__media {
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--line);
}

.split__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* —— Interactive process —— */
.process-panel {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.section-dark .process-panel a {
  color: var(--olive);
}

.section-dark .btn-ghost {
  color: var(--on-inverse);
  border-color: var(--inverse-line);
}

.section-dark .btn-ghost:hover {
  background: var(--on-inverse);
  color: var(--inverse);
  border-color: var(--on-inverse);
}

.section-dark [data-newsletter-msg] {
  color: var(--on-inverse-muted);
}

.roast-split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 800px) {
  .roast-split {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .process-panel {
    padding: 2rem;
  }
}

.map-stage {
  position: relative;
  height: 260px;
  max-height: 280px;
  background: var(--inverse);
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--inverse-line);
}

.map-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: grayscale(1);
}

.map-pin {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--copper);
  border: 2px solid #fff;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.2s;
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid var(--copper);
  border-radius: 50%;
  animation: ping 1.8s ease-out infinite;
}

.map-pin:hover {
  transform: translate(-50%, -50%) scale(1.25);
}

@keyframes ping {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.origin-panel {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: rgba(12, 11, 10, 0.92);
  color: var(--on-inverse);
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: translateY(8px);
  transition: 0.3s var(--ease);
  pointer-events: none;
}

.origin-panel.is-on {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (min-width: 640px) {
  .origin-panel {
    right: auto;
    width: 300px;
  }
}

.range {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}

.range::-webkit-slider-runnable-track {
  height: 3px;
  background: var(--stone);
}

.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -8.5px;
  border-radius: 50%;
  background: var(--copper);
  border: 2px solid var(--cream);
  cursor: pointer;
}

.brew-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.brew-tab {
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.brew-tab:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.brew-tab.is-active {
  background: var(--olive);
  border-color: var(--olive);
  color: #fff;
  box-shadow: 0 10px 24px rgba(63, 79, 56, 0.28);
}

.stat-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-top: 0.25rem;
}

.stat span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
}

/* —— Page hero (inner) —— */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--stone) 0%, var(--bone) 100%);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.page-hero p {
  color: var(--muted);
  max-width: 48ch;
  margin: 0.75rem 0 0;
}

/* —— Forms —— */
.form-grid {
  display: grid;
  gap: 1rem;
}

.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

/* Shared text controls — use everywhere (shop filters, forms, sorts) */
.control,
.field input,
.field select,
.field textarea,
.shop-toolbar input,
.shop-toolbar select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  outline: none;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.control:focus,
.field input:focus,
.field select:focus,
.field textarea:focus,
.shop-toolbar input:focus,
.shop-toolbar select:focus {
  border-color: var(--copper-soft);
  box-shadow: 0 0 0 3px rgba(168, 92, 50, 0.15);
}

.control--sm {
  width: auto;
  padding: 0.65rem 0.85rem;
}

.form-success {
  padding: 1rem;
  background: rgba(74, 93, 63, 0.12);
  border: 1px solid var(--olive);
  border-radius: var(--radius-sm);
  color: var(--olive-deep);
  margin-top: 1rem;
  box-shadow: var(--shadow-soft);
}

.newsletter-band {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 800px) {
  .newsletter-band {
    grid-template-columns: 1.2fr 1fr;
  }
}

.newsletter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.newsletter input {
  flex: 1 1 200px;
  padding: 0.9rem 1rem;
  border: 1px solid var(--inverse-line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--on-inverse);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.newsletter input::placeholder {
  color: var(--on-inverse-faint);
}

.section-dark .btn-copper {
  color: #fff;
}

/* —— Shop toolbar —— */
.shop-toolbar {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 800px) {
  .shop-toolbar {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

.shop-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.shop-meta .control {
  width: auto;
  min-width: 11rem;
}

/* —— Cart / checkout —— */
.cart-layout,
.checkout-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1.4fr 0.8fr;
    align-items: start;
  }
}

.cart-row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-row img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}

.qty-ctrl button {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.qty-ctrl span {
  min-width: 28px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.summary-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
  box-shadow: var(--shadow-lift);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
}

.summary-row.total {
  font-size: 1.15rem;
  font-weight: 700;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
  margin-top: 0.85rem;
}

/* —— Journal —— */
.journal-card {
  display: grid;
  gap: 0;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.journal-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}

.journal-card__media {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: var(--stone);
}

.journal-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.journal-card__body {
  padding: 1.25rem;
}

.journal-card time {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* —— FAQ —— */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.15rem;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  color: var(--muted);
  margin: 0.75rem 0 0;
}

/* —— Schedule —— */
.schedule-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 800px) {
  .schedule-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}

.schedule-day {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  min-height: 160px;
  box-shadow: var(--shadow-soft);
}

.schedule-day__day {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
}

.schedule-day__date {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0.25rem 0 0.75rem;
}

.schedule-day ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  color: var(--muted);
}

.schedule-day li + li {
  margin-top: 0.35rem;
}

/* —— Pricing —— */
.plan {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-soft);
}

.plan.is-popular {
  border-color: var(--olive);
  box-shadow: var(--shadow-lift);
}

.plan__price {
  font-family: var(--font-display);
  font-size: 2.4rem;
}

.plan__price span {
  font-size: 1rem;
  color: var(--muted);
}

.plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.plan li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

/* —— Footer —— */
.site-footer {
  background: var(--inverse);
  color: var(--on-inverse);
  padding: 4rem 0 2rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.site-footer h4 {
  font-size: 0.8rem;
  font-family: var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-soft);
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.5rem;
}

.site-footer a {
  color: var(--on-inverse-muted);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: var(--on-inverse);
}

.footer-brand p {
  color: var(--on-inverse-muted);
  max-width: 32ch;
  font-size: 0.95rem;
}

.footer-brand .brand {
  color: var(--on-inverse);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--inverse-line);
  font-size: 0.8rem;
  color: var(--on-inverse-faint);
}

.footer-bottom a {
  color: var(--copper-soft);
}

/* —— Toast —— */
.ir-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--inverse);
  color: var(--on-inverse);
  padding: 0.85rem 1.25rem;
  font-size: 0.875rem;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s var(--ease);
  z-index: 100;
  box-shadow: var(--shadow);
  border-radius: var(--radius-sm);
}

.ir-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-d1 {
  transition-delay: 0.1s;
}
.reveal-d2 {
  transition-delay: 0.2s;
}
.reveal-d3 {
  transition-delay: 0.3s;
}

/* —— Misc —— */
.prose {
  max-width: 68ch;
}

.prose p {
  color: var(--ink-soft);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0;
}

.chip {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}

.pdp-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .pdp-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.pdp-media {
  width: 100%;
  height: min(360px, 55vw);
  background: var(--stone);
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--line);
}

.pdp-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.variant-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0 1rem;
}

.variant-btn {
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  font-size: 0.8rem;
}

.variant-btn.is-active {
  border-color: var(--olive);
  background: var(--olive);
  color: #fff;
}

.team-card {
  text-align: center;
  padding: 0.75rem;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.team-card img {
  width: 100%;
  max-width: 200px;
  margin-inline: auto;
  aspect-ratio: 1;
  max-height: 200px;
  object-fit: cover;
  margin-bottom: 0.85rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  filter: grayscale(0.15);
}

.legal {
  max-width: 72ch;
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.4rem;
}

.legal p,
.legal li {
  color: var(--ink-soft);
}

.steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.step-pill {
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}

.step-pill.is-on {
  background: var(--olive);
  border-color: var(--olive);
  color: #fff;
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.map-placeholder {
  min-height: 280px;
  background:
    linear-gradient(135deg, rgba(63, 79, 56, 0.2), rgba(26, 23, 20, 0.35)),
    url("../assets/img/site/map.jpg") center/cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  place-items: end start;
  padding: 1.25rem;
  overflow: hidden;
}

@media (max-width: 640px) {
  .map-stage {
    height: 260px;
  }
  .origin-panel {
    font-size: 0.85rem;
  }
  .process-panel {
    padding: 1rem;
  }
}

.map-placeholder span {
  background: var(--cream);
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
