@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@700;900&display=swap');

:root {
  --forest: #004838;
  --deep: #022f26;
  --cream: #f4efe6;
  --paper: #fbf8f2;
  --ink: #14201c;
  --turquoise: #30c0a8;
  --mint: #d9f2ea;
  --amber: #b8860b;
  --amber-ink: #6d4d00;
  --mustard: #d9a21b;
  --line: #aebdb5;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 6.5rem;
  --radius-sm: 0.375rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.5rem;
  --content: 77.5rem;
  --measure: 42rem;
  --shadow: 0 1.5rem 4rem rgba(2, 47, 38, 0.12);
  --z-base: 0;
  --z-header: 20;
  --z-dialog: 100;
}

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

html {
  background: var(--cream);
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 8rem;
}

body {
  margin: 0;
  min-width: 20rem;
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

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

button,
select,
input[type="checkbox"],
input[type="radio"] {
  cursor: pointer;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

p,
ul,
ol,
figure,
blockquote {
  margin-block: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--forest);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  text-wrap: balance;
}

h1 {
  max-width: 14ch;
  font-size: clamp(3rem, 7.2vw, 6.75rem);
  font-weight: 900;
  letter-spacing: -0.045em;
}

h2 {
  max-width: 18ch;
  font-size: clamp(2.25rem, 4.6vw, 4.65rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  letter-spacing: -0.02em;
}

h4 {
  font-size: 1.2rem;
}

::selection {
  background: var(--mint);
  color: var(--deep);
}

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

.skip-link {
  position: fixed;
  z-index: calc(var(--z-dialog) + 1);
  top: var(--space-3);
  left: var(--space-3);
  padding: 0.7rem 1rem;
  transform: translateY(-180%);
  border-radius: var(--radius-sm);
  background: var(--deep);
  color: var(--paper);
  font-weight: 700;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: none;
}

.shell {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 2rem), 58rem);
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 9vw, var(--space-8));
}

.section-tight {
  padding-block: clamp(3rem, 6vw, var(--space-7));
}

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

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

.section-deep {
  background: var(--deep);
  color: var(--paper);
}

.section-deep h1,
.section-deep h2,
.section-deep h3,
.section-deep h4 {
  color: var(--paper);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.section-deep .eyebrow {
  color: var(--mint);
}

.lede {
  max-width: var(--measure);
  font-size: clamp(1.12rem, 1.6vw, 1.35rem);
  line-height: 1.55;
}

.muted {
  color: #41544c;
}

.section-deep .muted,
.site-footer .muted {
  color: #c9d9d2;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.button,
.text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.button {
  padding: 0.82rem 1.2rem;
  background: var(--forest);
  color: var(--paper);
}

.button:hover {
  background: var(--deep);
}

.button-light {
  background: var(--paper);
  color: var(--forest);
}

.button-light:hover {
  background: var(--mint);
}

.button-outline {
  border-color: var(--forest);
  background: transparent;
  color: var(--forest);
}

.button-outline:hover {
  background: var(--mint);
}

.button-quiet {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}

.text-link {
  justify-content: flex-start;
  color: var(--forest);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.legal-strip {
  padding: 0.55rem 1rem;
  border-bottom: 1px solid rgba(244, 239, 230, 0.22);
  background: var(--deep);
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  text-align: center;
}

.legal-strip strong {
  color: #f2d47a;
}

.site-header {
  position: relative;
  z-index: var(--z-header);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 248, 242, 0.98);
}

.header-inner {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr) auto;
  gap: var(--space-5);
  align-items: center;
  min-height: 7rem;
  padding-block: var(--space-3);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 10.5rem;
  height: auto;
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.15rem var(--space-4);
}

.primary-nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  border-color: var(--forest);
  color: var(--forest);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
}

.mode-switch {
  display: inline-flex;
  min-width: max-content;
  padding: 0.22rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
}

.mode-switch button {
  min-height: 2.4rem;
  padding: 0.48rem 0.7rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
}

.mode-switch button[aria-pressed="true"] {
  background: var(--forest);
  color: var(--paper);
}

.header-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.cart-link {
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--forest);
  border-radius: var(--radius-sm);
  color: var(--forest);
}

.hours-strip {
  border-bottom: 1px solid #bfd8cf;
  background: var(--mint);
  color: var(--deep);
  font-size: 0.84rem;
}

.hours-strip .shell {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: 0.35rem;
}

.hours-strip a {
  font-weight: 700;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  padding-block: var(--space-4);
  color: #41544c;
  font-size: 0.84rem;
}

.breadcrumb a {
  color: var(--forest);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.hero-copy {
  display: grid;
  align-content: center;
}

.hero-copy .lede {
  margin-top: var(--space-5);
}

.hero-age {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  padding-left: var(--space-3);
  border-left: 3px solid var(--amber);
  color: var(--amber-ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-figure {
  position: relative;
  margin: 0;
}

.hero-figure img {
  width: 100%;
  min-height: 34rem;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-sm) var(--radius-lg);
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: 58% center;
}

.hero-figure figcaption {
  position: absolute;
  right: -1.25rem;
  bottom: 2rem;
  width: min(16rem, 72%);
  padding: var(--space-4);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  background: var(--paper);
  color: var(--deep);
  box-shadow: 0 1rem 2.5rem rgba(2, 47, 38, 0.18);
  font-size: 0.9rem;
  line-height: 1.45;
}

.hero-figure figcaption strong {
  display: block;
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.65fr);
  gap: var(--space-6);
  align-items: end;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.section-heading p {
  max-width: var(--measure);
}

.journey-grid {
  counter-reset: journey;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--forest);
}

.journey-card {
  counter-increment: journey;
  position: relative;
  min-height: 22rem;
  padding: var(--space-5);
  border-right: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.journey-card:last-child {
  border-right: 0;
}

.journey-card::before {
  display: block;
  margin-bottom: var(--space-7);
  color: var(--forest);
  content: "0" counter(journey);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.journey-card::after {
  position: absolute;
  right: var(--space-5);
  bottom: var(--space-5);
  color: var(--forest);
  content: "→";
  font-size: 1.5rem;
}

.journey-card:hover {
  background: var(--mint);
}

.journey-card h3 {
  margin-bottom: var(--space-3);
}

.journey-card p {
  font-size: 0.95rem;
}

.journey-card small {
  display: block;
  margin-top: var(--space-4);
  color: #41544c;
  font-size: 0.82rem;
}

.fred-grid,
.drive-grid,
.split-grid,
.editorial-grid,
.store-grid,
.team-grid,
.product-layout,
.basket-layout {
  display: grid;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.home-hero > *,
.fred-grid > *,
.drive-grid > *,
.split-grid > *,
.editorial-grid > *,
.store-grid > *,
.team-grid > *,
.product-layout > *,
.basket-layout > * {
  min-width: 0;
}

.fred-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.fred-photo {
  position: relative;
  margin: 0;
}

.fred-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-sm) var(--radius-lg) var(--radius-lg) var(--radius-lg);
  object-fit: cover;
}

.fred-photo figcaption {
  position: absolute;
  right: var(--space-4);
  bottom: var(--space-4);
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--deep);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 700;
}

.quote {
  margin-top: var(--space-5);
  padding-left: var(--space-4);
  border-left: 2px solid var(--forest);
  color: var(--forest);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.35;
}

.drive-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.ready-badge,
.stock-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: var(--space-2);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ready-badge {
  padding: 0.5rem 0.75rem;
  background: var(--turquoise);
  color: var(--deep);
}

.ready-badge::before {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--deep);
  content: "";
}

.stock-badge {
  padding: 0.42rem 0.65rem;
  border: 1px solid var(--forest);
  color: var(--forest);
}

.drive-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  padding: 0;
  list-style: none;
}

.drive-steps li {
  min-height: 13rem;
  padding: var(--space-5);
  border-top: 1px solid var(--mint);
  background: rgba(251, 248, 242, 0.05);
}

.drive-steps span {
  display: block;
  margin-bottom: var(--space-4);
  color: var(--mint);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.drive-steps strong {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--paper);
}

.drive-steps p {
  color: #c9d9d2;
  font-size: 0.9rem;
}

.split-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.feature-panel {
  display: grid;
  min-height: 25rem;
  align-content: end;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.feature-panel h2,
.feature-panel h3 {
  margin-bottom: var(--space-4);
}

.feature-panel-dark {
  background: var(--forest);
  color: var(--paper);
}

.feature-panel-dark h2,
.feature-panel-dark h3,
.feature-panel-dark .text-link {
  color: var(--paper);
}

.page-hero {
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  gap: var(--space-7);
  align-items: end;
}

.page-hero h1 {
  max-width: 11ch;
}

.page-hero .lede {
  max-width: 34rem;
}

.stat-line {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-4);
  padding: 0;
  list-style: none;
}

.stat-line li {
  padding-right: var(--space-4);
  border-right: 1px solid var(--line);
  font-size: 0.88rem;
}

.stat-line li:last-child {
  border-right: 0;
}

.filter-layout {
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.filters {
  position: sticky;
  top: var(--space-4);
  padding: var(--space-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.filters h2 {
  margin-bottom: var(--space-4);
  font-family: var(--font-sans);
  font-size: 1rem;
  letter-spacing: 0;
}

.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: var(--space-4);
}

.field label,
.field-label,
.variant-group legend {
  color: var(--deep);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.field select,
.field input,
.quantity-select {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 2.2rem 0.65rem 0.75rem;
  border: 1px solid #70857b;
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--line);
}

.results-toolbar p {
  font-size: 0.9rem;
  font-weight: 700;
}

.sort-field {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.sort-field label {
  font-size: 0.84rem;
  font-weight: 700;
}

.sort-field select {
  min-height: 2.75rem;
  padding: 0.55rem 2rem 0.55rem 0.75rem;
  border: 1px solid #70857b;
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.stage-section {
  margin-bottom: var(--space-7);
  scroll-margin-top: var(--space-6);
}

.stage-heading {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
  margin-bottom: var(--space-5);
}

.stage-number {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border: 1px solid var(--forest);
  border-radius: 50%;
  color: var(--forest);
  font-family: var(--font-display);
  font-weight: 700;
}

.stage-heading h2 {
  margin-bottom: var(--space-2);
  font-size: clamp(2rem, 3.2vw, 3.25rem);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.product-card {
  display: grid;
  min-height: 28rem;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.product-card[hidden],
.stage-section[hidden],
#empty-state[hidden] {
  display: none;
}

.product-visual {
  position: relative;
  display: grid;
  min-height: 13rem;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  color: var(--forest);
}

.product-visual::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6rem;
  height: 9rem;
  transform: translate(-50%, -50%);
  border: 1px solid var(--forest);
  border-radius: 3rem 3rem 0.8rem 0.8rem;
  content: "";
  opacity: 0.28;
}

.product-visual span {
  position: relative;
  z-index: 1;
  max-width: 12rem;
  padding: var(--space-3);
  background: var(--cream);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

.product-visual .ready-badge {
  position: absolute;
  z-index: 2;
  top: var(--space-3);
  left: var(--space-3);
  max-width: calc(100% - 2rem);
  font-family: var(--font-sans);
  font-size: 0.67rem;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
}

.product-brand {
  color: #41544c;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card h3 {
  font-size: 1.6rem;
}

.product-card h3 a {
  text-decoration: none;
}

.product-card h3 a:hover {
  text-decoration: underline;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: 0;
  list-style: none;
  color: #41544c;
  font-size: 0.82rem;
}

.product-meta li {
  padding-right: var(--space-2);
  border-right: 1px solid var(--line);
}

.product-meta li:last-child {
  border-right: 0;
}

.price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-3);
}

.price {
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.price-note {
  display: block;
  margin-top: 0.35rem;
  color: #41544c;
  font-size: 0.72rem;
}

.card-arrow {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--forest);
  border-radius: 50%;
  color: var(--forest);
  text-decoration: none;
}

.empty-state {
  padding: var(--space-6);
  border: 1px dashed var(--forest);
  border-radius: var(--radius-md);
  background: var(--mint);
  text-align: left;
}

.empty-state h2 {
  margin-bottom: var(--space-3);
  font-size: 2rem;
}

.product-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  padding-bottom: var(--space-7);
}

.product-showcase {
  position: sticky;
  top: var(--space-4);
}

.product-showcase .product-visual {
  min-height: 36rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.product-showcase .product-visual::before {
  width: 10rem;
  height: 17rem;
  border-radius: 5rem 5rem 1.25rem 1.25rem;
}

.product-showcase .product-visual span {
  max-width: 18rem;
  font-size: 2rem;
}

.product-showcase .product-visual > .ready-badge {
  position: absolute;
  z-index: 2;
  top: var(--space-4);
  left: var(--space-4);
  max-width: calc(100% - 3rem);
  padding: 0.5rem 0.75rem;
  background: var(--turquoise);
  color: var(--deep);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  line-height: 1.2;
}

.product-details h1 {
  max-width: 11ch;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
}

.product-details .product-brand {
  margin-bottom: var(--space-3);
}

.product-details .price {
  display: block;
  margin-block: var(--space-4);
  font-size: 2.4rem;
}

.availability-list {
  display: grid;
  gap: var(--space-2);
  margin-block: var(--space-5);
  padding: 0;
  list-style: none;
}

.availability-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.availability-list strong {
  color: var(--forest);
}

.variant-group {
  margin: var(--space-5) 0 0;
  padding: 0;
  border: 0;
}

.variant-group legend {
  margin-bottom: var(--space-2);
}

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.variant-option {
  position: relative;
}

.variant-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.variant-option label {
  display: grid;
  min-width: 3.25rem;
  min-height: 2.75rem;
  place-items: center;
  padding: 0.55rem 0.8rem;
  border: 1px solid #70857b;
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-size: 0.86rem;
  font-weight: 700;
}

.variant-option input:checked + label {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--paper);
}

.variant-option input:focus-visible + label {
  outline: 3px solid var(--turquoise);
  outline-offset: 3px;
}

.purchase-row {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.purchase-row .field {
  margin: 0;
}

.purchase-row .button {
  align-self: end;
}

.inline-status {
  min-height: 1.6rem;
  margin-top: var(--space-2);
  color: var(--forest);
  font-size: 0.88rem;
  font-weight: 700;
}

.nicotine-warning {
  margin-block: var(--space-5);
  padding: var(--space-4);
  border: 1px solid var(--amber);
  border-left-width: 5px;
  border-radius: var(--radius-sm);
  background: #fff8df;
  color: var(--amber-ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.nicotine-warning strong {
  display: block;
  margin-bottom: 0.2rem;
}

.advice-card {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: var(--space-4);
  align-items: center;
  margin-top: var(--space-5);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--mint);
}

.advice-card img {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: 82% center;
}

.advice-card h2,
.advice-card h3 {
  margin-bottom: 0.25rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.advice-card p {
  font-size: 0.88rem;
}

.tabs {
  padding-block: var(--space-7);
  border-block: 1px solid var(--line);
}

.tab-list {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  padding-bottom: var(--space-3);
  scrollbar-width: thin;
}

.tab-list button {
  min-width: max-content;
  min-height: 2.75rem;
  padding: 0.65rem 0.9rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-weight: 700;
}

.tab-list button[aria-selected="true"] {
  border-color: var(--forest);
  color: var(--forest);
}

.tab-panel {
  max-width: var(--measure);
  padding-top: var(--space-5);
}

.tab-panel h2 {
  margin-bottom: var(--space-3);
  font-size: 2rem;
}

.basket-layout {
  grid-template-columns: minmax(0, 1.25fr) minmax(19rem, 0.75fr);
  align-items: start;
}

.basket-items,
.carrier-list {
  display: grid;
  gap: var(--space-3);
}

.basket-item {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr) auto;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.basket-item .product-visual {
  min-height: 7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.basket-item .product-visual::before {
  width: 2.4rem;
  height: 4rem;
}

.basket-item .product-visual span {
  display: none;
}

.basket-item h2 {
  margin-bottom: 0.35rem;
  font-size: 1.4rem;
}

.basket-item .price {
  min-width: max-content;
  font-size: 1.35rem;
}

.item-controls {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: end;
  margin-top: var(--space-3);
}

.item-controls .field {
  width: 5rem;
  margin: 0;
}

.link-button {
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--forest);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.order-summary {
  position: sticky;
  top: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: var(--deep);
  color: var(--paper);
}

.order-summary h2 {
  margin-bottom: var(--space-4);
  color: var(--paper);
  font-size: 2rem;
}

.amount-list {
  display: grid;
  gap: var(--space-3);
  margin: 0;
}

.amount-list div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
}

.amount-list dt,
.amount-list dd {
  margin: 0;
}

.amount-list dd {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.amount-list .total {
  margin-top: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid #6b877d;
  font-size: 1.2rem;
}

.summary-note {
  margin-block: var(--space-4);
  color: #c9d9d2;
  font-size: 0.78rem;
}

.order-summary .button {
  width: 100%;
}

.order-summary .inline-status {
  color: #f2d47a;
}

.carrier-section {
  margin-top: var(--space-7);
}

.carrier-section > h2 {
  margin-bottom: var(--space-2);
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.carrier-section > p {
  margin-bottom: var(--space-5);
}

.carrier-card {
  position: relative;
}

.carrier-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.carrier-card label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-4);
  min-height: 7rem;
  align-items: center;
  padding: var(--space-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.carrier-card input:checked + label {
  border: 2px solid var(--forest);
  box-shadow: inset 0 0 0 3px var(--cream);
}

.carrier-card input:focus-visible + label {
  outline: 3px solid var(--turquoise);
  outline-offset: 3px;
}

.carrier-title {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  margin-bottom: 0.35rem;
  color: var(--forest);
  font-weight: 800;
}

.carrier-card small {
  display: block;
  color: #41544c;
}

.carrier-price {
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.editorial-grid {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
}

.editorial-aside {
  padding: var(--space-5);
  border-top: 4px solid var(--forest);
  background: var(--mint);
}

.editorial-aside h2,
.editorial-aside h3 {
  margin-bottom: var(--space-3);
  font-size: 1.7rem;
}

.prose {
  max-width: var(--measure);
}

.prose > * + * {
  margin-top: var(--space-4);
}

.prose h2,
.prose h3 {
  margin-top: var(--space-6);
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.process-list {
  counter-reset: process;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding: 0;
  list-style: none;
}

.process-list li {
  counter-increment: process;
  min-height: 15rem;
  padding: var(--space-5);
  border-top: 1px solid var(--forest);
  background: var(--paper);
}

.process-list li::before {
  display: block;
  margin-bottom: var(--space-5);
  color: var(--forest);
  content: "0" counter(process);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.process-list h3 {
  margin-bottom: var(--space-2);
}

.store-hero {
  position: relative;
  min-height: 42rem;
  overflow: hidden;
  background: var(--deep);
}

.store-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.store-hero .shell {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 42rem;
  align-items: end;
  padding-bottom: var(--space-6);
}

.store-hero-copy {
  width: min(39rem, 100%);
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 0 var(--radius-lg) 0 0;
  background: var(--paper);
}

.store-hero-copy h1 {
  margin-bottom: var(--space-4);
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.store-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: stretch;
}

.store-details {
  display: grid;
  align-content: start;
  gap: var(--space-5);
}

.address-block {
  font-style: normal;
}

.address-block strong {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.hours-table th,
.hours-table td {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.hours-table th {
  width: 40%;
  color: var(--forest);
}

.map-placeholder {
  position: relative;
  display: grid;
  min-height: 31rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--mint);
}

.map-placeholder::before,
.map-placeholder::after {
  position: absolute;
  width: 140%;
  height: 4rem;
  background: var(--paper);
  content: "";
}

.map-placeholder::before {
  transform: rotate(28deg);
}

.map-placeholder::after {
  transform: rotate(-17deg) translateY(6rem);
}

.map-pin {
  position: relative;
  z-index: 2;
  width: min(20rem, calc(100% - 3rem));
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: var(--forest);
  color: var(--paper);
  box-shadow: var(--shadow);
  text-align: center;
}

.map-pin strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.map-placeholder figcaption {
  position: absolute;
  z-index: 2;
  right: var(--space-3);
  bottom: var(--space-3);
  color: var(--deep);
  font-size: 0.75rem;
  font-weight: 700;
}

.team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.team-card {
  display: grid;
  min-height: 31rem;
  align-content: end;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.team-card figure {
  display: grid;
  height: 100%;
  grid-template-rows: minmax(18rem, 1fr) auto;
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 76% center;
}

.team-copy {
  padding: var(--space-5);
}

.team-copy .eyebrow {
  margin-bottom: var(--space-3);
}

.team-copy h3 {
  margin-bottom: var(--space-3);
  font-size: 2.4rem;
}

.team-card-text {
  padding: clamp(2rem, 6vw, 5rem);
  background: var(--forest);
  color: var(--paper);
}

.team-card-text h3,
.team-card-text .eyebrow {
  color: var(--paper);
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.test-card {
  min-height: 14rem;
  padding: var(--space-5);
  border-top: 1px solid var(--forest);
}

.test-card h3 {
  margin-bottom: var(--space-3);
}

.site-footer {
  padding-block: var(--space-7) var(--space-5);
  background: var(--deep);
  color: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: var(--space-6);
}

.footer-brand img {
  width: 10rem;
  height: auto;
  margin-bottom: var(--space-4);
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.footer-brand p {
  max-width: 32rem;
}

.site-footer h2 {
  margin-bottom: var(--space-3);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: var(--space-2);
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
}

.footer-warning {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid #6b877d;
  color: #f2d47a;
  font-size: 0.82rem;
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-5);
  color: #c9d9d2;
  font-size: 0.75rem;
}

.age-dialog {
  width: min(calc(100% - 2rem), 39rem);
  max-height: calc(100dvh - 2rem);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 2rem 8rem rgba(2, 47, 38, 0.45);
}

.age-dialog::backdrop {
  background: rgba(2, 47, 38, 0.78);
}

.age-dialog-inner {
  padding: clamp(2rem, 7vw, 4rem);
}

.age-mark {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: var(--space-5);
  place-items: center;
  border: 2px solid var(--amber);
  border-radius: 50%;
  color: var(--amber-ink);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
}

.age-dialog h2 {
  margin-bottom: var(--space-4);
  font-size: clamp(2.2rem, 7vw, 4rem);
}

.age-dialog .button-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.age-note {
  margin-top: var(--space-4);
  color: #41544c;
  font-size: 0.78rem;
}

.neutral-page {
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: var(--space-4);
  background: var(--cream);
}

.neutral-card {
  width: min(34rem, 100%);
  padding: clamp(2rem, 8vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  text-align: left;
}

.neutral-card h1 {
  margin-bottom: var(--space-4);
  font-size: clamp(2.5rem, 9vw, 4rem);
}

.utility-note {
  padding: var(--space-3) var(--space-4);
  border-left: 3px solid var(--forest);
  background: var(--mint);
  font-size: 0.88rem;
}

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

@media (max-width: 68rem) {
  .header-inner {
    grid-template-columns: 10rem minmax(0, 1fr);
    gap: var(--space-3) var(--space-5);
  }

  .primary-nav {
    justify-content: flex-end;
  }

  .header-actions {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .journey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-card:nth-child(2) {
    border-right: 0;
  }

  .journey-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 25rem;
  }

  .hero-figure figcaption {
    right: var(--space-3);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 52rem) {
  .shell,
  .narrow {
    width: min(calc(100% - 2rem), var(--content));
  }

  .header-inner {
    grid-template-columns: minmax(8rem, 1fr) auto;
  }

  .brand img {
    width: 8.5rem;
  }

  .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 0 var(--space-4);
  }

  .header-actions {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .home-hero,
  .page-hero-grid,
  .fred-grid,
  .drive-grid,
  .split-grid,
  .editorial-grid,
  .store-grid,
  .team-grid,
  .product-layout,
  .basket-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-hero {
    padding-top: var(--space-6);
  }

  .hero-figure {
    width: 100%;
    max-width: 40rem;
    margin-inline: auto;
  }

  .hero-figure img {
    min-height: 25rem;
    aspect-ratio: 4 / 3;
  }

  .hero-figure figcaption {
    right: var(--space-3);
    bottom: var(--space-3);
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .journey-card {
    min-height: 19rem;
  }

  .drive-steps,
  .process-list,
  .test-grid {
    grid-template-columns: 1fr;
  }

  .drive-steps li,
  .process-list li,
  .test-card {
    min-height: 0;
  }

  .filter-layout {
    grid-template-columns: 1fr;
  }

  .filters,
  .product-showcase,
  .order-summary {
    position: static;
  }

  .filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 var(--space-3);
  }

  .filters h2,
  .filters .filter-actions {
    grid-column: 1 / -1;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .basket-layout {
    gap: var(--space-6);
  }

  .order-summary {
    order: -1;
  }
}

@media (max-width: 39rem) {
  h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .section,
  .section-tight {
    padding-block: var(--space-6);
  }

  .legal-strip {
    font-size: 0.75rem;
  }

  .header-inner {
    min-height: auto;
    gap: var(--space-2) var(--space-3);
  }

  .primary-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 var(--space-2);
  }

  .primary-nav a {
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
  }

  .primary-nav a[aria-current="page"] {
    border: 1px solid var(--forest);
    background: var(--mint);
  }

  .header-actions {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: var(--space-2);
  }

  .mode-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-link:not(.cart-link) {
    font-size: 0.76rem;
  }

  .hours-strip .shell {
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding-block: var(--space-2);
  }

  .hours-strip a {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
  }

  .hero-figure img {
    min-height: 24rem;
    aspect-ratio: 3 / 4;
    object-position: 58% center;
  }

  .hero-figure figcaption {
    width: calc(100% - 2rem);
  }

  .journey-grid,
  .product-grid,
  .filters {
    grid-template-columns: 1fr;
  }

  .journey-card {
    min-height: 16rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .journey-card::before {
    margin-bottom: var(--space-5);
  }

  .journey-card:last-child {
    border-bottom: 0;
  }

  .feature-panel {
    min-height: 20rem;
  }

  .page-hero-grid {
    gap: var(--space-5);
  }

  .results-toolbar {
    display: grid;
  }

  .sort-field {
    display: grid;
  }

  .stage-heading {
    grid-template-columns: 3rem minmax(0, 1fr);
  }

  .stage-number {
    width: 2.75rem;
    height: 2.75rem;
  }

  .product-card,
  .product-showcase .product-visual {
    min-height: 0;
  }

  .product-showcase .product-visual {
    aspect-ratio: 1 / 1.08;
  }

  .purchase-row {
    grid-template-columns: 1fr;
  }

  .purchase-row .field {
    width: 100%;
  }

  .advice-card {
    grid-template-columns: 4.5rem minmax(0, 1fr);
  }

  .advice-card img {
    width: 4.5rem;
    height: 4.5rem;
  }

  .basket-item {
    grid-template-columns: 5rem minmax(0, 1fr);
  }

  .basket-item .product-visual {
    min-height: 5rem;
  }

  .basket-item > .price {
    grid-column: 2;
  }

  .carrier-card label {
    grid-template-columns: 1fr;
  }

  .store-hero,
  .store-hero .shell {
    min-height: 38rem;
  }

  .store-hero-copy {
    width: 100%;
  }

  .team-card {
    min-height: 27rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .age-dialog .button-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .legal-strip,
  .site-header,
  .hours-strip,
  .button-row,
  .site-footer,
  .age-dialog {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}
