@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Karla:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@500;600&display=swap');

/* =========================================================
   Design tokens
   ========================================================= */
:root {
  --ink:        #241C15;   /* warm near-black text */
  --night:      #1C2B27;   /* deep indigo-green — dark section bg */
  --night-2:    #16221F;   /* darker variant for depth */
  --sand:       #F6EEDF;   /* warm sand — page background */
  --cream:      #FBF6EC;   /* card surfaces on sand */
  --rust:       #B24C25;   /* primary accent — burnt rust */
  --rust-dark:  #8F3B1B;
  --gold:       #D6A13C;   /* secondary accent — dry-season gold */
  --gold-soft:  #E9C888;
  --leaf:       #3F5D45;   /* tertiary accent — acacia green */
  --leaf-soft:  #DCE6DD;
  --line:       rgba(36, 28, 21, 0.12);
  --line-dark:  rgba(246, 238, 223, 0.16);
  --muted:      #6E6255;
  --muted-dark: #B9AD9B;
  --paper-on-dark: #F1E9DA;

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Karla', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

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

a { color: inherit; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; line-height: 1.08; }

.section-heading { font-size: clamp(30px, 4vw, 44px); margin-top: 14px; letter-spacing: -0.01em; }
.section-heading em { font-style: italic; color: var(--rust); }

.section-lead { font-size: 17px; color: var(--muted); max-width: 560px; margin-top: 18px; line-height: 1.7; }

section { position: relative; }
.section-pad { padding: 110px 0; }
@media (max-width: 780px) { .section-pad { padding: 72px 0; } }

.dark { background: var(--night); color: var(--paper-on-dark); }
.dark .section-lead { color: var(--muted-dark); }
.dark .eyebrow { color: var(--gold); }
:not(.dark) .eyebrow { color: var(--rust); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--rust); color: #fff; }
.btn-primary:hover { background: var(--rust-dark); }
.btn-ghost { border-color: var(--line-dark); color: var(--paper-on-dark); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost.on-light { border-color: var(--line); color: var(--ink); }
.btn-ghost.on-light:hover { border-color: var(--rust); color: var(--rust); }

/* =========================================================
   Signature motif — growth rings (SVG, decorative)
   ========================================================= */
.ring-mark { display: inline-flex; }
.ring-badge {
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 600; font-size: 15px;
  border: 1.5px solid var(--gold);
  position: relative; flex-shrink: 0;
  color: var(--gold);
}
.ring-badge::before, .ring-badge::after {
  content: ''; position: absolute; border-radius: 50%; border: 1px solid var(--line-dark);
}
.ring-badge::before { inset: -9px; }
.ring-badge::after { inset: -18px; opacity: 0.5; }
.on-light .ring-badge { border-color: var(--rust); color: var(--rust); }
.on-light .ring-badge::before, .on-light .ring-badge::after { border-color: var(--line); }

/* =========================================================
   Header / nav
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  transition: background 0.25s ease, padding 0.25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(28, 43, 39, 0.92); backdrop-filter: blur(10px); padding: 14px 0; box-shadow: 0 6px 24px rgba(0,0,0,0.18); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--paper-on-dark); }
.brand-mark { width: 38px; height: 38px; object-fit: contain; flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { color: var(--muted-dark); text-decoration: none; font-size: 14px; font-weight: 600; }
.main-nav a:hover { color: var(--paper-on-dark); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); background: var(--night); flex-direction: column; align-items: flex-start; padding: 100px 32px 32px; gap: 22px; transform: translateX(100%); transition: transform .3s ease; }
  .main-nav.open { transform: translateX(0); }
  .nav-toggle { display: block; background: none; border: none; color: var(--paper-on-dark); font-size: 26px; cursor: pointer; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  background: var(--night);
  color: var(--paper-on-dark);
  padding: 180px 0 90px;
  overflow: hidden;
  position: relative;
}
.hero-rings {
  position: absolute; right: -180px; top: 50%; transform: translateY(-50%);
  width: 780px; height: 780px; opacity: 0.55; pointer-events: none;
}
@media (max-width: 900px) { .hero-rings { right: -320px; opacity: 0.35; } }

.hero .wrap { position: relative; z-index: 2; }
.hero-content { max-width: 700px; }
.hero-heading { font-size: clamp(40px, 6.2vw, 68px); margin-top: 22px; letter-spacing: -0.015em; }
.hero-heading .accent { color: var(--gold); font-style: italic; }
.hero-sub { font-size: 18px; color: var(--muted-dark); max-width: 560px; margin-top: 24px; line-height: 1.75; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 38px; }

.stat-strip {
  margin-top: 84px; padding-top: 38px; border-top: 1px solid var(--line-dark);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat-item .stat-value { font-family: var(--font-mono); font-size: clamp(22px, 3vw, 30px); font-weight: 600; color: var(--gold); }
.stat-item .stat-label { font-size: 13px; color: var(--muted-dark); margin-top: 6px; }
@media (max-width: 700px) { .stat-strip { grid-template-columns: repeat(2, 1fr); row-gap: 30px; } }

/* =========================================================
   About
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: start; margin-top: 50px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 44px; } }

.pillar-list { display: flex; flex-direction: column; gap: 26px; }
.pillar { display: flex; gap: 16px; align-items: flex-start; }
.pillar-icon {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.pillar-title { font-weight: 700; font-size: 15px; }
.pillar-copy { color: var(--muted); font-size: 14px; margin-top: 3px; }

.about-copy p { color: var(--ink); font-size: 16px; margin: 0 0 18px; }
.about-copy p:last-child { margin-bottom: 0; }

blockquote.pull-quote {
  margin: 34px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line);
  font-family: var(--font-display); font-style: italic; font-size: 22px; line-height: 1.5; color: var(--night);
}
.pull-quote footer { margin-top: 16px; font-family: var(--font-mono); font-style: normal; font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* =========================================================
   Services
   ========================================================= */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
@media (max-width: 960px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .service-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 30px;
  display: flex; flex-direction: column; gap: 14px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(36,28,21,0.09); border-color: var(--rust); }
.service-number { font-family: var(--font-mono); font-size: 13px; color: var(--rust); font-weight: 600; }
.service-card h3 { font-size: 20px; font-weight: 600; }
.service-card p { color: var(--muted); font-size: 14.5px; margin: 0; flex: 1; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tag-pill { font-family: var(--font-mono); font-size: 11px; background: var(--leaf-soft); color: var(--leaf); padding: 5px 11px; border-radius: 999px; }

/* =========================================================
   ESD / programme areas
   ========================================================= */
.esd-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; margin-top: 54px; align-items: start; }
@media (max-width: 900px) { .esd-layout { grid-template-columns: 1fr; gap: 40px; } }

.esd-note {
  background: rgba(214, 161, 60, 0.08); border: 1px solid var(--line-dark); border-radius: 16px; padding: 26px; margin-top: 30px;
}
.esd-note h4 { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin: 0 0 10px; color: var(--gold); }
.esd-note p { margin: 0; color: var(--muted-dark); font-size: 14.5px; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
@media (max-width: 560px) { .checklist { grid-template-columns: 1fr; } }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.checklist .tick { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.checklist .tick svg { width: 10px; height: 10px; }

/* =========================================================
   Approach
   ========================================================= */
.approach-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 54px; counter-reset: step; }
@media (max-width: 860px) { .approach-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .approach-row { grid-template-columns: 1fr; } }

.approach-step { position: relative; padding-top: 8px; }
.approach-step .ring-badge { margin-bottom: 20px; }
.approach-step h3 { font-size: 18px; margin-bottom: 10px; }
.approach-step p { color: var(--muted); font-size: 14px; margin: 0; }
.approach-row > .approach-step:not(:last-child)::after {
  content: ''; position: absolute; top: 29px; left: 100%; width: 26px; height: 1px; background: var(--line);
  display: none;
}
@media (min-width: 861px) { .approach-row > .approach-step:not(:last-child)::after { display: block; } }

/* =========================================================
   International
   ========================================================= */
.partner-strip {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.partner-chip { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--muted); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; }

.capability-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 40px; }
@media (max-width: 700px) { .capability-grid { grid-template-columns: 1fr; } }
.capability-card { display: flex; gap: 16px; padding: 6px 0; }
.capability-letter {
  font-family: var(--font-mono); font-weight: 600; font-size: 14px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--rust); color: var(--rust); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.capability-card h4 { font-family: var(--font-display); font-size: 16px; font-weight: 600; margin: 0 0 6px; }
.capability-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* =========================================================
   Promise
   ========================================================= */
.promise-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 50px; }
@media (max-width: 960px) { .promise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .promise-grid { grid-template-columns: 1fr; } }
.promise-card { background: var(--cream); border: 1px solid var(--line); border-radius: 16px; padding: 24px 20px; }
.promise-check { color: var(--leaf); font-size: 18px; margin-bottom: 12px; display: block; }
.promise-card h4 { font-family: var(--font-display); font-size: 15.5px; font-weight: 600; margin: 0 0 8px; }
.promise-card p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; margin-top: 50px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 46px; } }

.contact-detail { display: flex; gap: 16px; margin-top: 26px; }
.contact-detail .ring-badge { width: 44px; height: 44px; font-size: 13px; }
.contact-detail h4 { margin: 0 0 4px; font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.contact-detail a, .contact-detail span { color: var(--muted-dark); text-decoration: none; font-size: 14.5px; }
.contact-detail a:hover { color: var(--gold); }

.form-card { background: var(--night-2); border: 1px solid var(--line-dark); border-radius: 20px; padding: 34px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--paper-on-dark); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.04); color: var(--paper-on-dark); font-family: var(--font-body); font-size: 14.5px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-dark); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.form-note { font-size: 12.5px; color: var(--muted-dark); margin-top: 14px; }
.form-success { background: rgba(63,93,69,0.35); border: 1px solid var(--leaf); color: #C9DECB; padding: 16px 18px; border-radius: 12px; margin-bottom: 20px; font-size: 14.5px; }
.form-error { background: rgba(178,76,37,0.25); border: 1px solid var(--rust); color: #F3D3C3; padding: 16px 18px; border-radius: 12px; margin-bottom: 20px; font-size: 14.5px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--night); color: var(--muted-dark); padding: 60px 0 30px; border-top: 1px solid var(--line-dark); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; gap: 30px; } }
.footer-brand .brand { margin-bottom: 14px; }
.footer-top p { font-size: 14px; max-width: 320px; line-height: 1.7; }
.footer-col h5 { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--paper-on-dark); margin: 0 0 16px; }
.footer-col a { display: block; color: var(--muted-dark); text-decoration: none; font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-top: 24px; font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .service-card:hover { transform: none; }
}

/* =========================================================
   Why Us · Who We Work With · Delivery Model · Impact
   (added in the 2026 positioning update)
   ========================================================= */

/* Shared checklist tweaks ------------------------------------------------ */
.checklist .tick { color: var(--gold); }
.checklist--single { grid-template-columns: 1fr; gap: 14px; }
.checklist--light .tick { border-color: var(--rust); color: var(--rust); }

.section-pad--tight { padding: 78px 0; }
@media (max-width: 780px) { .section-pad--tight { padding: 56px 0; } }

/* Why Us ----------------------------------------------------------------- */
.why-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; margin-top: 46px; align-items: start; }
@media (max-width: 900px) { .why-layout { grid-template-columns: 1fr; gap: 34px; } }

.why-layout .section-lead { max-width: 520px; }
.why-list-heading {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 22px;
}

/* Who We Work With ------------------------------------------------------- */
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 900px) { .client-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .client-grid { grid-template-columns: 1fr; } }

.client-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 18px;
  transition: transform .3s ease, border-color .3s ease;
}
.client-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.client-icon { font-size: 20px; line-height: 1; flex-shrink: 0; }
.client-label { font-size: 14.5px; font-weight: 600; line-height: 1.4; }

/* Collaborative delivery model ------------------------------------------- */
.delivery-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; margin-top: 46px; align-items: start; }
@media (max-width: 900px) { .delivery-layout { grid-template-columns: 1fr; gap: 36px; } }

.delivery-copy p { color: var(--ink); font-size: 16px; margin: 0 0 18px; line-height: 1.75; }
.delivery-copy p:last-child { margin-bottom: 0; }

.delivery-panel {
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 3px solid var(--rust);
  border-radius: 16px;
  padding: 30px 30px 32px;
}
.delivery-panel h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 20px;
  color: var(--ink);
}
.delivery-panel .checklist li { color: var(--ink); }
.delivery-panel .tick { border-color: var(--rust); color: var(--rust); }

.delivery-closing {
  margin: 44px 0 0;
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 20px);
  font-style: italic;
  line-height: 1.6;
  color: var(--muted);
  max-width: 820px;
  padding-left: 22px;
  border-left: 2px solid var(--gold);
}

/* Impact ----------------------------------------------------------------- */
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
@media (max-width: 860px) { .impact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .impact-grid { grid-template-columns: 1fr; } }

.impact-card {
  background: var(--night-2);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  padding: 28px 26px;
  transition: border-color .3s ease, transform .3s ease;
}
.impact-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.impact-value {
  font-family: var(--font-mono);
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: -0.01em;
}
.impact-label { margin-top: 10px; font-size: 14px; color: var(--muted-dark); line-height: 1.55; }

/* International partner categories --------------------------------------- */
.partner-block { margin-top: 44px; padding: 30px 32px; background: var(--sand); border: 1px solid var(--line); border-radius: 18px; }
.partner-heading {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 18px;
}
.partner-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 26px; }
@media (max-width: 820px) { .partner-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .partner-list { grid-template-columns: 1fr; } }
.partner-list li { position: relative; padding-left: 18px; font-size: 14.5px; font-weight: 600; }
.partner-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.partner-note { margin: 22px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.65; max-width: 720px; }

/* =========================================================
   Shop — nav button, home-page strip, shop page, item page
   ========================================================= */

/* --- Shop button in the main menu --- */
.main-nav a.btn-shop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  background: rgba(214, 161, 60, 0.08);
  transition: background .2s ease, color .2s ease, transform .18s ease;
}
.main-nav a.btn-shop:hover { background: var(--gold); color: var(--night); transform: translateY(-2px); }
.main-nav a.btn-shop.is-current { background: var(--gold); color: var(--night); }
.btn-shop-icon { width: 17px; height: 17px; flex-shrink: 0; }

/* --- Light-background ghost button (shop pages sit on sand) --- */
.btn-ghost--dark { border-color: var(--line); color: var(--ink); }
.btn-ghost--dark:hover { border-color: var(--rust); color: var(--rust); }

/* --- Shared shop bits --- */
.shop-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--rust); color: #fff;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.shop-type {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--rust);
}
.shop-price { font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--ink); }
.shop-price-suffix { font-size: 13px; color: var(--muted); font-weight: 400; font-family: var(--font-body); }
.store-price-was { font-size: 14px; color: var(--muted); text-decoration: line-through; margin-right: 8px; }

/* --- Home page shop strip --- */
.shop-teaser { background: var(--cream); }
.shop-teaser-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.shop-teaser-cta { flex-shrink: 0; }
.shop-teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
@media (max-width: 860px) { .shop-teaser-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .shop-teaser-grid { grid-template-columns: 1fr; } }

.shop-mini-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.shop-mini-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 14px 34px rgba(36,28,21,0.10); }
.shop-mini-media {
  position: relative; aspect-ratio: 4 / 3; background: var(--sand);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.shop-mini-media img { width: 100%; height: 100%; object-fit: cover; }
.shop-mini-placeholder { font-family: var(--font-display); font-size: 54px; color: var(--gold); }
.shop-mini-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.shop-mini-body h3 { font-size: 19px; line-height: 1.25; }
.shop-mini-sub { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }

/* --- Shop page hero --- */
.store-hero {
  background: var(--night);
  color: var(--paper-on-dark);
  padding: 160px 0 70px;
}
.store-hero .eyebrow { color: var(--gold); }
.store-hero-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-top: 16px;
}
.store-hero-lead { max-width: 640px; margin-top: 20px; font-size: 17px; line-height: 1.7; color: var(--muted-dark); }

/* --- Category filters --- */
.store-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.store-filter {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent;
  font-size: 13.5px; font-weight: 700; color: var(--ink);
  text-decoration: none; transition: all .18s ease;
}
.store-filter:hover { border-color: var(--rust); color: var(--rust); }
.store-filter.is-active { background: var(--night); border-color: var(--night); color: var(--paper-on-dark); }
.store-filter-icon { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; opacity: 0.8; }
.store-category-note { color: var(--muted); font-size: 14.5px; margin: 6px 0 0; }

/* --- Shop grid --- */
.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }
@media (max-width: 980px) { .store-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .store-grid { grid-template-columns: 1fr; } }

.store-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.store-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 16px 40px rgba(36,28,21,0.10); }
.store-card-media {
  position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden;
}
.store-card-media img { width: 100%; height: 100%; object-fit: cover; }
.store-card-placeholder { font-family: var(--font-display); font-size: 64px; color: var(--gold); }
.store-card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.store-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.store-card-cat { font-size: 12px; color: var(--muted); text-decoration: none; }
.store-card-cat:hover { color: var(--rust); }
.store-card-title { font-size: 21px; line-height: 1.22; margin: 0; }
.store-card-title a { text-decoration: none; }
.store-card-title a:hover { color: var(--rust); }
.store-card-sub { margin: 0; font-size: 14.5px; color: var(--leaf); font-weight: 600; }
.store-card-desc { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.store-card-features { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 7px; }
.store-card-features li { position: relative; padding-left: 17px; font-size: 13.5px; color: var(--ink); }
.store-card-features li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.store-card-foot {
  margin-top: auto; padding-top: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.store-card-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.store-card-btn { padding: 11px 20px; font-size: 14px; }
.store-card-avail { margin: 10px 0 0; font-size: 12.5px; color: var(--leaf); font-weight: 600; }

.store-note { margin-top: 30px; font-size: 13px; color: var(--muted); }
.store-footer-note {
  margin-top: 40px; padding: 22px 26px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 16px;
  font-size: 13.5px; color: var(--muted); line-height: 1.7;
}
.store-empty { text-align: center; padding: 60px 20px; display: grid; gap: 20px; justify-items: center; }
.store-empty p { color: var(--muted); font-size: 16px; max-width: 460px; margin: 0; }

/* --- Item page --- */
.product-page { padding: 150px 0 70px; }
.product-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 34px; }
.product-crumbs a { text-decoration: none; color: var(--muted); }
.product-crumbs a:hover { color: var(--rust); }
.product-crumbs .is-current { color: var(--ink); font-weight: 600; }

.product-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .product-layout { grid-template-columns: 1fr; gap: 34px; } }

.product-media {
  position: relative; border-radius: 22px; overflow: hidden;
  background: var(--cream); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; min-height: 300px;
}
.product-media img { width: 100%; height: auto; object-fit: cover; }
.product-placeholder { font-size: 100px; }

.product-title { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; margin-top: 12px; }
.product-sub { font-size: 17px; color: var(--leaf); font-weight: 600; margin: 12px 0 0; }
.product-price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.product-price { font-family: var(--font-display); font-size: 34px; font-weight: 600; }
.product-price-note { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }
.product-lead { font-size: 16.5px; line-height: 1.75; color: var(--muted); margin-top: 22px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.product-cta-note { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
.product-avail { font-size: 13px; color: var(--leaf); font-weight: 600; margin: 8px 0 0; }
.product-features { margin-top: 30px; }
.product-features .tick { color: var(--rust); }

.product-details-block { margin-top: 70px; padding-top: 40px; border-top: 1px solid var(--line); }
.product-details-heading { font-size: 24px; }
.product-details-copy { margin-top: 18px; max-width: 760px; font-size: 16px; line-height: 1.8; color: var(--muted); }

.product-enquiry-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .product-enquiry-layout { grid-template-columns: 1fr; gap: 34px; } }
.product-enquiry-item { margin-top: 22px; font-size: 14.5px; color: var(--muted-dark); }
.product-enquiry-item strong { color: var(--gold); }

/* Footer gains a fourth column once the shop is switched on. */
.footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 980px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }

@media (max-width: 860px) {
  .main-nav a.btn-shop { align-self: flex-start; }
  .store-hero { padding: 130px 0 56px; }
  .product-page { padding: 120px 0 56px; }
}

/* =========================================================
   Cart, checkout and order pages
   ========================================================= */

/* --- Cart button in the main menu --- */
.main-nav a.btn-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  color: var(--paper-on-dark);
  font-size: 14px;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .18s ease;
}
.main-nav a.btn-cart:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.main-nav a.btn-cart.has-items { border-color: var(--gold); color: var(--gold); }
.cart-badge {
  background: var(--rust);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  min-width: 19px;
  height: 19px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* --- Slimmer hero for cart / checkout --- */
.store-hero--slim { padding: 150px 0 46px; }

/* --- Add-to-cart on cards --- */
.store-card-add { margin: 0; }
.product-add-form { display: flex; align-items: center; gap: 10px; margin: 0; }
.product-qty-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.product-qty-input {
  width: 68px; padding: 12px 10px; text-align: center;
  border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: 15px; background: #fff; color: var(--ink);
}
.product-qty-input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }

/* --- Cart page --- */
.cart-notice {
  background: #FBF0D9; border: 1px solid var(--gold); color: #7A5A16;
  padding: 14px 18px; border-radius: 12px; margin-bottom: 26px; font-size: 14.5px;
}
.cart-table { border-top: 1px solid var(--line); }
.cart-row {
  display: grid;
  grid-template-columns: 92px 1fr 110px 120px;
  gap: 22px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.cart-row-media {
  width: 92px; height: 92px; border-radius: 12px; overflow: hidden;
  background: var(--cream); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.cart-row-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-row-placeholder { font-family: var(--font-display); font-size: 34px; color: var(--gold); }
.cart-row-detail h2 { font-size: 19px; margin: 6px 0 0; line-height: 1.25; }
.cart-row-detail h2 a { text-decoration: none; }
.cart-row-detail h2 a:hover { color: var(--rust); }
.cart-row-sub { margin: 5px 0 0; font-size: 14px; color: var(--muted); }
.cart-row-unit { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }
.cart-row-qty { display: flex; flex-direction: column; gap: 6px; }
.cart-row-qty label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.cart-row-qty input {
  width: 100%; padding: 11px 10px; text-align: center;
  border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: 15px; background: #fff; color: var(--ink);
}
.cart-row-qty input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.cart-row-total { text-align: right; font-family: var(--font-display); font-size: 20px; font-weight: 600; }

@media (max-width: 720px) {
  .cart-row { grid-template-columns: 72px 1fr; grid-template-areas: "media detail" "qty total"; gap: 16px; }
  .cart-row-media { grid-area: media; width: 72px; height: 72px; }
  .cart-row-detail { grid-area: detail; }
  .cart-row-qty { grid-area: qty; flex-direction: row; align-items: center; gap: 10px; }
  .cart-row-qty input { width: 76px; }
  .cart-row-total { grid-area: total; text-align: right; }
}

.cart-actions {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; margin-top: 24px;
}
.cart-continue { font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--muted); }
.cart-continue:hover { color: var(--rust); }

.cart-summary {
  margin-top: 40px; margin-left: auto; max-width: 380px;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 18px; padding: 28px;
}
.cart-summary-line { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; }
.cart-summary-line strong { font-family: var(--font-display); font-size: 28px; font-weight: 600; }
.cart-summary-note { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }
.cart-checkout-btn { width: 100%; justify-content: center; margin-top: 22px; }
.cart-secure { font-size: 12.5px; color: var(--muted); text-align: center; margin: 12px 0 0; }

/* --- Checkout --- */
.checkout-layout { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .checkout-layout { grid-template-columns: 1fr; gap: 34px; } }

.checkout-form .field label { color: var(--ink); }
.checkout-form .field input,
.checkout-form .field textarea {
  background: #fff; border: 1px solid var(--line); color: var(--ink);
}
.checkout-form .field input::placeholder,
.checkout-form .field textarea::placeholder { color: #A79C8C; }
.checkout-form .form-note { color: var(--muted); }

.checkout-errors {
  background: #F6E1DC; border: 1px solid var(--rust); color: #8F3B1B;
  border-radius: 12px; padding: 16px 18px; margin: 20px 0; font-size: 14.5px;
}
.checkout-errors p { margin: 0 0 6px; }
.checkout-errors p:last-child { margin-bottom: 0; }

.checkout-terms {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 13.5px; color: var(--muted); line-height: 1.6;
  margin: 4px 0 22px;
}
.checkout-terms input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--rust); flex-shrink: 0; }

.checkout-summary {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 18px; padding: 28px; position: sticky; top: 100px;
}
.checkout-summary h2 { font-size: 18px; margin: 0 0 18px; }
.checkout-line {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px;
}
.checkout-line-name em { font-style: normal; color: var(--muted); }
.checkout-line-amount { white-space: nowrap; font-weight: 600; }
.checkout-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 18px; font-size: 15px;
}
.checkout-total strong { font-family: var(--font-display); font-size: 26px; font-weight: 600; }
.checkout-edit { display: inline-block; margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.checkout-edit:hover { color: var(--rust); }

/* --- PayFast hand-off --- */
.payfast-handoff { padding-top: 170px; }
.payfast-sandbox-flag {
  margin-top: 22px; font-size: 13px; font-weight: 700;
  color: #7A5A16; background: #FBF0D9; border: 1px solid var(--gold);
  display: inline-block; padding: 8px 16px; border-radius: 999px;
}

/* --- Order outcome pages --- */
.order-outcome { padding-top: 165px; }
.order-panel { max-width: 680px; margin: 0 auto; text-align: center; }
.order-panel .section-lead { margin-left: auto; margin-right: auto; }
.order-tick {
  display: inline-flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--leaf); color: #fff; font-size: 30px; margin-bottom: 22px;
}
.order-ref-note { margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.order-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

.order-receipt {
  text-align: left; margin-top: 34px;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 16px; padding: 26px;
}
.order-receipt-head {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.order-receipt-line {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px;
}
.order-receipt-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 16px; font-size: 15px;
}
.order-receipt-total strong { font-family: var(--font-display); font-size: 24px; font-weight: 600; }

.order-fulfilment { text-align: left; margin-top: 34px; }
.order-fulfilment h2 { font-size: 22px; }
.order-fulfilment-item {
  margin-top: 18px; padding: 20px 24px;
  background: #fff; border: 1px solid var(--line);
  border-left: 3px solid var(--gold); border-radius: 0 14px 14px 0;
}
.order-fulfilment-item h3 { font-size: 17px; margin: 0 0 8px; }
.order-fulfilment-item div { font-size: 14.5px; color: var(--muted); line-height: 1.7; word-break: break-word; }

@media (max-width: 860px) {
  .store-hero--slim { padding: 125px 0 40px; }
  .order-outcome, .payfast-handoff { padding-top: 130px; }
  .cart-summary { margin-left: 0; max-width: none; }
  .checkout-summary { position: static; }
}

/* =========================================================
   Digital downloads
   ========================================================= */
.download-panel { max-width: 620px; }

.download-card {
  display: flex; align-items: center; justify-content: space-between;
  gap: 22px; flex-wrap: wrap; text-align: left;
  background: #fff; border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 0 16px 16px 0;
  padding: 22px 26px; margin-top: 22px;
}
.download-card-info h2,
.download-card-info h3 { font-size: 18px; margin: 0; line-height: 1.3; }
.download-filename {
  margin: 6px 0 0; font-family: var(--font-mono);
  font-size: 12.5px; color: var(--muted); word-break: break-all;
}
.download-blocked {
  font-size: 13px; font-weight: 700; color: var(--muted);
  background: var(--sand); border-radius: 999px; padding: 8px 16px;
}
.download-meta { margin-top: 20px; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.download-help {
  margin-top: 24px; padding: 16px 20px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 12px;
  font-size: 13.5px; color: var(--muted); line-height: 1.7;
}

/* --- Re-send download links --- */
.resend-form { max-width: 420px; margin: 30px auto 0; text-align: left; }
.resend-form .field label { color: var(--ink); }
.resend-form .field input {
  background: #fff; border: 1px solid var(--line); color: var(--ink);
}
.resend-form .field input::placeholder { color: #A79C8C; }
.download-help a { color: var(--rust); }

/* Pages whose content starts on a light background need the fixed header
   filled in, or the cream brand mark and nav vanish against the sand. */
body.solid-header .site-header {
  background: rgba(28, 43, 39, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
}
body.solid-header main > section:first-child { padding-top: 150px; }
@media (max-width: 860px) {
  body.solid-header main > section:first-child { padding-top: 120px; }
}
