@font-face {
  font-family: "Superclarendon";
  src: url("fonts/superclarendon-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-forest: #1F4A37;
  --color-sage: #6F8A69;
  --color-fresh: #1E7A5A;
  --color-parchment: #F2E6C9;
  --color-parchment-light: #F7F0DD;
  --color-warm-white: #FDFAF1;
  --color-sand: #E9CF8A;
  --color-ochre: #C9A23D;
  --color-charcoal: #232824;
  --color-border: #D9D2C3;
  --color-border-soft: #E3D9BE;
  --color-cream-logo: #EBD8AD;

  --font-display: "Superclarendon", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", Arial, Helvetica, sans-serif;

  --radius-card: 20px;
  --radius-control: 10px;
  --radius-pill: 999px;

  --max-width: 1280px;
  --gutter: 20px;
}
@media (min-width: 600px) { :root { --gutter: 32px; } }
@media (min-width: 900px) { :root { --gutter: 48px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--color-charcoal);
  background: var(--color-parchment-light);
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }

/* Accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  background: var(--color-forest);
  color: var(--color-parchment);
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { left: 0; top: 0; }
:focus-visible { outline: 2px solid var(--color-fresh); outline-offset: 2px; }
.site-header :focus-visible, .hero-banner :focus-visible { outline-color: var(--color-sand); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

button { font-family: var(--font-body); cursor: pointer; }
:focus-visible { outline: 2px solid var(--color-ochre); outline-offset: 2px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-fresh);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0 28px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  height: 48px;
  text-decoration: none;
}
.btn-primary:hover { background: #16654a; }
.btn-primary:disabled { opacity: 0.55; cursor: wait; }
.btn-text {
  background: none;
  border: none;
  color: var(--color-forest);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 6px;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--color-ochre);
}

/* Header */
.site-header {
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  background: var(--color-forest);
  box-shadow: 0 2px 12px rgba(20, 34, 27, 0.25);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
@media (max-width: 599px) { .site-header .container { height: 64px; } }
.brand {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--color-parchment);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
@media (max-width: 599px) { .brand { font-size: 19px; } }
.header-nav { display: flex; gap: 44px; }
.header-nav a {
  color: var(--color-parchment);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.header-nav a:hover { color: var(--color-sand); }
@media (max-width: 767px) { .header-nav { display: none; } }
.basket-button {
  background: none;
  border: none;
  color: var(--color-parchment);
  position: relative;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
}
.basket-count {
  position: absolute;
  top: 2px;
  right: 0;
  background: var(--color-cream-logo);
  color: var(--color-forest);
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 1px 6px;
}

/* Hero */
.hero { text-align: center; }
.hero-banner {
  position: relative;
  background: var(--color-forest);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center bottom;
}
/* Fade the header green into the photo so the join is seamless */
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--color-forest) 0%, rgba(31, 74, 55, 0) 22%),
    radial-gradient(ellipse 58% 62% at 26% 45%, rgba(20, 34, 27, 0.5), rgba(20, 34, 27, 0) 70%);
  pointer-events: none;
}
.hero-inner { position: relative; padding: 88px var(--gutter) 190px; }
@media (min-width: 600px) {
  .hero.hero-banner { text-align: left; }
  .hero.hero-banner .hero-inner { padding: 150px var(--gutter) 120px; }
  .hero.hero-banner h1 { max-width: 560px; }
  .hero.hero-banner .lead { margin: 0 0 32px; max-width: 480px; }
  .hero.hero-banner .hero-actions { justify-content: flex-start; }
}
.hero.hero-banner .eyebrow { color: var(--color-sand); }
.hero.hero-banner h1 { color: var(--color-parchment); }
.hero.hero-banner .lead { color: rgba(242, 230, 201, 0.92); }
.hero.hero-banner .btn-text { color: var(--color-parchment); text-decoration-color: var(--color-sand); }
@media (max-width: 599px) {
  .hero-bg { display: none; }
  .hero.hero-banner { text-align: left; }
  .hero-inner { padding: 96px var(--gutter) 48px; }
  .hero .eyebrow { display: none; }
  .hero .lead { margin: 0 0 28px; }
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-ochre);
  margin: 0 0 18px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 64px;
  line-height: 0.98;
  color: var(--color-forest);
  margin: 0 0 18px;
}
@media (max-width: 599px) { .hero h1 { font-size: 42px; } }
.hero .lead {
  font-size: 20px;
  line-height: 1.45;
  color: #5c5a4f;
  max-width: 560px;
  margin: 0 auto 32px;
}
@media (max-width: 599px) { .hero .lead { font-size: 18px; } }
.hero-actions { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }
@media (max-width: 599px) {
  .hero-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .hero-actions .btn-primary { width: 100%; }
  .hero-actions .btn-text { text-align: center; }
}


/* Products */
.section { padding-top: 72px; padding-bottom: 72px; }
@media (max-width: 599px) { .section { padding-top: 48px; padding-bottom: 48px; } }
#shop .section-heading, #shop .section-support { text-align: center; }
main [id] { scroll-margin-top: 96px; }
.section-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 36px;
  color: var(--color-forest);
  margin: 0 0 6px;
}
@media (max-width: 599px) { .section-heading { font-size: 30px; } }
.section-support { color: #5c5a4f; margin: 0 0 32px; font-size: 17px; }
@media (max-width: 599px) { .section-support { margin: 0 0 24px; font-size: 16px; } }
.section-support-tight { margin-bottom: 14px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
@media (max-width: 899px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .product-grid { grid-template-columns: 1fr; gap: 20px; }
  .product-grid .product-card { max-width: 340px; margin: 0 auto; width: 100%; }
}

.product-card {
  background: var(--color-warm-white);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-card);
  padding: 16px;
}
.product-image {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #EFE6CC;
  margin-bottom: 16px;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 599px) { .product-image { aspect-ratio: 1 / 1; margin-bottom: 12px; } }
.product-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}
.product-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  color: var(--color-forest);
  margin: 0;
}
@media (max-width: 599px) { .product-name { font-size: 22px; } }
.product-name-sm { font-size: 20px; }
.product-price { font-size: 16px; font-weight: 600; color: var(--color-forest); }

.option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
}
.option-row.dimmed { opacity: 0.4; }
.option-row.dimmed .swatch { cursor: default; }
.add-btn.checkout { background: var(--color-ochre); color: var(--color-forest); }
.add-btn.checkout:hover { background: var(--color-sand); }
.choice-summary {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-forest);
  background: rgba(31, 74, 55, 0.06);
  border-radius: 8px;
  padding: 8px 12px;
  margin: 10px 0 4px;
  text-align: center;
}
.option-label { font-size: 14px; font-weight: 500; color: #5c5a4f; }
.option-label .addon { font-weight: 400; color: #6b6960; }
.swatch-group { display: flex; gap: 12px; }
.swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #cfc8b4;
  padding: 0;
  position: relative;
}
.swatch::after { content: ""; position: absolute; inset: -9px; }
.swatch.white { background: #fff; }
.swatch.black { background: var(--color-charcoal); }
.swatch[aria-pressed="true"] { outline: 2px solid var(--color-fresh); outline-offset: 3px; }

.toggle {
  width: 46px;
  height: 26px;
  border-radius: var(--radius-pill);
  border: none;
  background: #d8d2c0;
  position: relative;
  padding: 0;
  transition: background 0.15s;
}
.toggle::before { content: ""; position: absolute; inset: -10px; }
.toggle .knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.15s;
}
.toggle[aria-pressed="true"] { background: var(--color-fresh); }
.toggle[aria-pressed="true"] .knob { left: 23px; }

.qty-row { display: flex; align-items: center; gap: 10px; }
.qty-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-control);
  border: 1px solid var(--color-border);
  background: var(--color-warm-white);
  font-size: 16px;
  color: var(--color-charcoal);
}
.qty-value { min-width: 20px; text-align: center; font-size: 15px; }
.add-btn { width: 100%; margin-top: 16px; }
.add-feedback {
  font-size: 13px;
  color: var(--color-fresh);
  text-align: center;
  margin: 6px 0 0;
  min-height: 16px;
  visibility: hidden;
}
.add-feedback.show { visibility: visible; }

/* Personalised */
.custom-section {
  border-top: 1px solid var(--color-border-soft);
  padding: 72px 0;
}
.custom-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}
#custom-card { max-width: 520px; justify-self: center; width: 100%; }
@media (max-width: 899px) { .custom-grid { grid-template-columns: 1fr; } }
@media (max-width: 599px) { .custom-section { padding: 48px 0; } .custom-grid { gap: 28px; } }
.custom-note { font-size: 15px; color: #6b6960; }
.text-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #cfc8b4;
  border-radius: 0;
  color: var(--color-charcoal);
  padding: 12px 2px;
  font-size: 16px;
  font-family: var(--font-body);
  min-height: 44px;
}
.text-input:focus { outline: none; border-bottom-color: var(--color-fresh); border-bottom-width: 2px; }
.text-input-notes { margin-top: 4px; margin-bottom: 14px; }
.field-error { color: #A32D2D; font-size: 13px; margin: 4px 0 0; min-height: 17px; }

/* Order status pages */
.status-page { min-height: 60vh; padding-top: 96px; padding-bottom: 72px; text-align: center; }
.status-heading {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--color-forest);
  font-size: 42px;
  margin: 0 0 18px;
}
@media (max-width: 599px) { .status-heading { font-size: 32px; } }
.status-steps {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 36px auto 40px;
  max-width: 640px;
  flex-wrap: wrap;
}
.status-step { max-width: 170px; }
.status-step-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--color-parchment);
  color: var(--color-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.status-step h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-forest);
  margin: 0 0 4px;
}
.status-step p { font-size: 13px; color: #6b6960; margin: 0; line-height: 1.45; }
@media (max-width: 599px) {
  .status-steps { gap: 18px; }
  .status-step { max-width: 150px; }
}

/* FAQ */
.faq-section { max-width: 760px; }
.faq-section .section-heading { text-align: center; }
.faq-list { margin-top: 24px; }
.faq-item { border-bottom: 1px solid var(--color-border-soft); }
.faq-item:first-child { border-top: 1px solid var(--color-border-soft); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 2px;
  font-size: 17px;
  font-weight: 600;
  color: var(--color-forest);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--color-ochre);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 18px; padding: 0 2px; color: #5c5a4f; font-size: 16px; line-height: 1.55; max-width: 640px; }
@media (max-width: 599px) { .faq-item summary { font-size: 16px; padding: 16px 2px; } }

/* How it works */
.how-section { border-bottom: 1px solid var(--color-border-soft); padding: 32px 0 36px; }
.how-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  color: var(--color-forest);
  text-align: center;
  margin: 0 0 20px;
}
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 899px) { .how-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .how-grid { gap: 20px 16px; } .how-section { padding: 28px 0 32px; } }
.how-step { text-align: center; }
.how-num { font-size: 12px; color: #8a6d1a; font-weight: 600; letter-spacing: 0.1em; }
@media (min-width: 600px) { .how-num { display: none; } }
.how-title { font-size: 15px; color: var(--color-forest); font-weight: 600; margin: 8px 0 4px; }
.how-copy { font-size: 14px; color: #5c5a4f; margin: 0; }

/* Trust strip */
.trust-strip {
  border-top: 1px solid var(--color-border-soft);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a8578;
}
.trust-strip .container { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.trust-strip span { white-space: nowrap; }
.trust-strip span + span::before { content: "·"; margin-right: 12px; }
@media (max-width: 599px) {
  .trust-strip .container { flex-direction: column; gap: 8px; }
  .trust-strip span + span::before { content: none; }
}

/* Footer */
.site-footer { background: var(--color-forest); padding: 28px 0; }
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand-block { display: flex; flex-direction: column; gap: 2px; }
.footer-brand { color: var(--color-cream-logo); font-family: var(--font-display); font-size: 16px; }
.footer-line { color: rgba(242, 230, 201, 0.75); font-size: 13px; font-family: var(--font-body); }
@media (max-width: 599px) {
  .site-footer { padding: 32px 0; }
  .site-footer .container { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-links { gap: 12px 18px; }
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: #BFD2C4; font-size: 13px; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* Basket drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(31, 42, 35, 0.4);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.basket-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 440px;
  max-width: 100vw;
  background: var(--color-warm-white);
  z-index: 60;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.25s, visibility 0s 0.25s;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(31, 42, 35, 0.18);
}
.basket-drawer.open { transform: translateX(0); visibility: visible; transition: transform 0.25s, visibility 0s; }
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border-soft);
}
.drawer-title { font-family: var(--font-display); font-size: 20px; color: var(--color-forest); margin: 0; }
.drawer-close { background: none; border: none; font-size: 22px; color: var(--color-charcoal); min-width: 44px; min-height: 44px; }
.drawer-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.basket-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border-soft);
}
.basket-item img { width: 64px; height: 80px; object-fit: cover; border-radius: 8px; }
.basket-item-info { flex: 1; font-size: 14px; }
.basket-item-name { font-weight: 600; color: var(--color-forest); }
.basket-item-variants { color: #8a8578; font-size: 13px; }
.basket-item-remove { background: none; border: none; color: #A32D2D; font-size: 13px; padding: 6px 0; text-decoration: underline; }
.drawer-empty { text-align: center; color: #8a8578; padding: 48px 0; }
.drawer-footer { padding: 20px 24px; border-top: 1px solid var(--color-border-soft); }
.summary-row { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 8px; }
.summary-row.total { font-weight: 600; font-size: 17px; color: var(--color-forest); }
.checkout-error { color: #A32D2D; font-size: 13px; margin: 8px 0 0; min-height: 17px; }
#checkout-btn { width: 100%; margin-top: 12px; }
.basket-item-price { font-weight: 600; color: var(--color-forest); font-size: 14px; }

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

/* ---------- Content pages (delivery, privacy, terms) ---------- */
.content-page { max-width: 720px; padding-top: 72px; padding-bottom: 72px; }
.content-page h1 { font-family: var(--font-display, inherit); color: var(--color-forest); font-size: 40px; line-height: 1.1; margin: 8px 0 24px; }
.content-page h2 { color: var(--color-forest); font-size: 22px; margin: 36px 0 10px; }
.content-page p, .content-page li { font-size: 16px; line-height: 1.65; color: var(--color-ink, #2b2a26); }
.content-page ul { padding-left: 22px; }
.content-page .page-updated { font-size: 13px; color: #6b6960; margin-top: 48px; }
.content-back { display: inline-block; margin-bottom: 8px; font-size: 14px; color: var(--color-fresh); text-decoration: none; font-weight: 600; }
.content-back:hover { text-decoration: underline; }
@media (max-width: 599px) { .content-page h1 { font-size: 32px; } }
