/* ==========================================================================
   I Care Oils for My Family: styles.css

   1. Tokens
   2. Reset and base
   3. Typography
   4. Layout
   5. Utilities
   6. Components: buttons, links, media placeholders, batch label, TODO marker
   7. Header and navigation
   8. Footer
   9. Reduced motion
   10. Shared section helpers
   11. Homepage
   12. Inner pages: shared
   13. Our Story
   14. Our Oils
   15. Health Benefits
   16. Recipes
   17. Contact
   18. Poster photography, floating WhatsApp
   ========================================================================== */


/* 1. Tokens
   ========================================================================== */

:root {
  /* Colour: botanical green leads, brass is decoration only, never body text */
  --green-900: #0F4222;
  --green-800: #17582F;
  --green-600: #2A7A47;
  --green-100: #DDEBDD;

  --brass-500: #D9A12C;   /* rules, frames, numerals on dark grounds. Never text on light grounds, never a fill */
  --brass-700: #7A5610;   /* brass-coloured text: 6.2:1 on ivory, 5.5:1 on paper */
  --brass-light: #E8C063; /* small brass text on green: 4.9:1 */

  --ivory-50:  #FBF6EC;   /* page ground */
  --ivory-100: #F7F0E1;
  --ivory-200: #F2E9D6;   /* paper sections, placeholders */
  --ivory-300: #E6D9BD;

  --navy-900: #122E4A;    /* body text (12.9:1 on ivory), footer ground */

  --text: var(--navy-900);
  --text-muted: #45586B;  /* 6.8:1 on ivory */
  --text-on-dark: var(--ivory-50);
  --text-on-dark-muted: rgba(251, 246, 236, 0.8);
  --rule: rgba(18, 46, 74, 0.14);
  --rule-on-dark: rgba(251, 246, 236, 0.18);
  --focus: var(--green-800);
  --focus-on-dark: var(--brass-500);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Fluid scale: ~1.2 ratio on phones, ~1.333 on wide screens */
  --step--2: 0.8125rem;
  --step--1: clamp(0.875rem, 0.86rem + 0.08vw, 0.9375rem);
  --step-0:  clamp(1.0625rem, 1.03rem + 0.15vw, 1.125rem);
  --step-1:  clamp(1.1875rem, 1.12rem + 0.3vw, 1.4375rem);
  --step-2:  clamp(1.4375rem, 1.3rem + 0.6vw, 1.875rem);
  --step-3:  clamp(1.75rem, 1.5rem + 1.1vw, 2.625rem);
  --step-4:  clamp(2.125rem, 1.7rem + 2vw, 3.5rem);
  --step-5:  clamp(2.5rem, 1.6rem + 4.2vw, 5.25rem);

  /* Space (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 10rem;

  --section-y: clamp(4.5rem, 3rem + 7vw, 10rem);
  --gutter: clamp(1.25rem, 0.5rem + 3.2vw, 3rem);
  --container: 77.5rem;   /* 1240px */
  --measure: 45rem;       /* 720px reading column */

  --radius: 2px;
  --header-h: 4rem;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 68em) {
  :root { --header-h: 5.5rem; }
}


/* 2. Reset and base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--space-4));
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ivory-50);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--green-800);
  color: var(--ivory-50);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.on-dark :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--focus-on-dark);
}


/* 3. Typography
   ========================================================================== */

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: var(--step-5); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: var(--step-4); line-height: 1.06; }
h3 { font-size: var(--step-2); font-weight: 500; }
h4 { font-size: var(--step-1); font-weight: 500; letter-spacing: -0.005em; }

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

p:last-child { margin-bottom: 0; }

a {
  color: var(--green-800);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: var(--brass-500);
}

.on-dark a:not(.btn) {
  color: var(--text-on-dark);
}

.lead {
  font-size: var(--step-1);
  line-height: 1.55;
}

.serif-statement {
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.muted { color: var(--text-muted); }

strong { font-weight: 600; }


/* 4. Layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section--paper { background: var(--ivory-200); }

.section--green {
  background: var(--green-800);
  color: var(--text-on-dark);
}

.measure { max-width: var(--measure); }

.on-dark { color: var(--text-on-dark); }


/* 5. Utilities
   ========================================================================== */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  background: var(--green-800);
  color: var(--ivory-50);
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
  outline-color: var(--brass-500);
}


/* 6. Components
   ========================================================================== */

/* Buttons: one solid, one outline, one for dark grounds */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 3rem;
  padding: 0.8em 1.5em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn__icon {
  flex: none;
  width: 1.2em;
  height: 1.2em;
}

.btn--primary {
  background: var(--green-800);
  box-shadow: inset 0 -2px 0 var(--brass-500), 0 6px 16px -10px rgba(15, 66, 34, 0.7);
  color: var(--ivory-50);
}

.btn--primary:hover {
  background: var(--green-900);
  box-shadow: inset 0 -3px 0 var(--brass-500), 0 8px 20px -10px rgba(15, 66, 34, 0.8);
}

.btn--outline {
  border: 1.5px solid var(--green-800);
  background: transparent;
  color: var(--green-800);
}

.btn--outline:hover {
  background: var(--green-800);
  color: var(--ivory-50);
}

.btn--on-dark {
  background: var(--ivory-50);
  box-shadow: inset 0 -2px 0 var(--brass-500);
  color: var(--green-900);
}

.btn--on-dark:hover {
  background: var(--ivory-200);
  box-shadow: inset 0 -3px 0 var(--brass-500);
}

/* Text call-to-action: a quieter partner to a button */

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 500;
  color: var(--green-800);
  text-decoration: underline;
  text-decoration-color: var(--brass-500);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
  transition: text-decoration-color 0.2s ease;
}

.text-link:hover {
  text-decoration-color: currentColor;
}

/* Media: shared frame for real photos and styled placeholders.
   Swap the placeholder <div> for <img> and the layout stays identical. */

.media {
  position: relative;
  aspect-ratio: var(--ratio, 4 / 5);
  overflow: hidden;
  background: var(--ivory-200);
}

.media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph {
  display: grid;
  place-items: center;
  padding: var(--space-5);
  background-color: var(--ivory-200);
  background-image:
    radial-gradient(ellipse at 30% 20%, rgba(251, 246, 236, 0.9), transparent 60%),
    repeating-linear-gradient(135deg, rgba(122, 86, 16, 0.08) 0 1px, transparent 1px 14px);
}

.ph__label {
  max-width: 24ch;
  padding: 0.65em 0.9em;
  border: 1px solid rgba(122, 86, 16, 0.45);
  background: rgba(251, 246, 236, 0.75);
  color: var(--brass-700);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.ph--dark {
  background-color: var(--green-900);
  background-image:
    radial-gradient(ellipse at 30% 20%, rgba(58, 107, 74, 0.6), transparent 60%),
    repeating-linear-gradient(135deg, rgba(217, 161, 44, 0.12) 0 1px, transparent 1px 14px);
}

.ph--dark .ph__label {
  border-color: rgba(217, 161, 44, 0.5);
  background: rgba(22, 57, 31, 0.8);
  color: var(--brass-500);
}

/* Batch label: the brand's signature device, drawn from the tin label.
   TODO (later): support a personalised customer-name line ("Sheetal Cares for
   her family!") with batch/date, matching the poster tins. Not built yet. */

.batch-label {
  max-width: 21rem;
  padding: var(--space-5);
  border: 1px solid var(--brass-500);
  outline: 1px solid var(--brass-500);
  outline-offset: -6px;
  background: var(--ivory-50);
  color: var(--navy-900);
}

.batch-label__title {
  margin: 0 0 var(--space-2);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--brass-500);
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.2;
}

.batch-label dl {
  margin: 0;
}

.batch-label__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: 0.45rem;
  border-bottom: 1px dashed rgba(122, 86, 16, 0.4);
}

.batch-label__row:last-child { border-bottom: 0; }

.batch-label dt {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.06em;
}

.batch-label dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* TODO marker: deliberately visible so no placeholder slips into launch */

.todo {
  padding: 0 0.3em;
  outline: 1px dashed currentColor;
  outline-offset: 1px;
  background: rgba(217, 161, 44, 0.2);
  font-style: normal;
  white-space: nowrap;
}


/* 7. Header and navigation
   Mobile-first. Without JS the links simply wrap below the brand;
   with JS (html.js) they move into a full-screen menu below 68em.
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--rule);
  background: var(--ivory-50);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: var(--space-5);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding-block: var(--space-2);
  color: var(--green-800);
  text-decoration: none;
}

.brand__mark {
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
}

.brand__sub {
  margin-top: 0.15rem;
  color: var(--brass-700);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.1;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  margin-right: -0.25rem;
  padding: 0.5rem 0.25rem 0.5rem 0.75rem;
  border: 0;
  background: none;
  color: var(--navy-900);
  font-size: var(--step--1);
  font-weight: 500;
  cursor: pointer;
}

.js .nav-toggle { display: inline-flex; }

.nav-toggle__icon {
  position: relative;
  width: 1.375rem;
  height: 0.625rem;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s var(--ease-out);
}

.nav-toggle__icon::before { top: 0; }
.nav-toggle__icon::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before {
  transform: translateY(4.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
  transform: translateY(-4.25px) rotate(-45deg);
}

/* No-JS fallback: links wrap under the brand */

.site-nav {
  flex-basis: 100%;
  padding-bottom: var(--space-3);
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__list a {
  display: inline-block;
  padding-block: var(--space-2);
  color: var(--navy-900);
  font-weight: 500;
  text-decoration: none;
}

.site-nav__list a[aria-current="page"] {
  color: var(--green-800);
  text-decoration: underline;
  text-decoration-color: var(--brass-500);
  text-decoration-thickness: 2px;
}

.site-nav__actions {
  display: none;
}

/* Mobile menu (JS enabled) */

@media (max-width: 67.99em) {
  .js .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--space-7);
    padding: var(--space-5) var(--gutter) calc(var(--space-7) + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--ivory-50);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
  }

  .menu-open .site-nav {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.2s ease;
  }

  .menu-open,
  .menu-open body {
    overflow: hidden;
  }

  .js .site-nav__list {
    display: block;
  }

  .js .site-nav__list a {
    display: block;
    padding-block: 0.8rem;
    border-bottom: 1px solid var(--rule);
    color: var(--green-800);
    font-family: var(--font-display);
    font-size: var(--step-3);
    font-weight: 400;
    line-height: 1.15;
  }

  .js .site-nav__list a[aria-current="page"] {
    color: var(--brass-700);
    font-style: italic;
    text-decoration: none;
  }

  .js .site-nav__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .site-nav__actions-note {
    margin: 0;
    color: var(--text-muted);
    font-size: var(--step--1);
  }
}

/* Desktop: inline navigation */

@media (min-width: 68em) {
  .site-header__inner {
    flex-wrap: nowrap;
  }

  .brand__mark { width: 3.25rem; height: 3.25rem; }
  .brand__name { font-size: 1.75rem; }
  .brand__sub { font-size: 0.9375rem; }

  .js .nav-toggle { display: none; }

  .site-nav {
    display: flex;
    flex-basis: auto;
    align-items: center;
    gap: var(--space-7);
    padding: 0;
  }

  .site-nav__list {
    flex-wrap: nowrap;
    gap: var(--space-6);
  }

  .site-nav__item--home { display: none; }

  .site-nav__list a {
    position: relative;
    font-size: var(--step--1);
  }

  .site-nav__list a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.2rem;
    height: 1px;
    background: var(--green-800);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease-out);
  }

  .site-nav__list a:hover::after { transform: scaleX(1); }

  .site-nav__list a[aria-current="page"] {
    text-decoration: none;
  }

  .site-nav__list a[aria-current="page"]::after {
    height: 2px;
    background: var(--brass-500);
    transform: scaleX(1);
  }

  .site-nav__actions { display: block; }
  .site-nav__actions-note,
  .site-nav__call { display: none; }
}


/* 8. Footer
   ========================================================================== */

.site-footer {
  padding-top: var(--space-9);
  padding-bottom: calc(var(--space-6) + env(safe-area-inset-bottom, 0px));
  background: var(--navy-900);
  color: var(--text-on-dark-muted);
  font-size: var(--step--1);
}

.site-footer a {
  color: var(--text-on-dark);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  text-decoration-color: var(--brass-500);
}

.site-footer__tagline {
  max-width: 16ch;
  margin: 0 0 var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--brass-500);
  color: var(--text-on-dark);
  font-family: var(--font-display);
  font-size: var(--step-4);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.site-footer__tagline span { display: block; }

.site-footer__tagline span:last-child {
  color: var(--brass-500);
  font-style: italic;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-7) var(--space-6);
  padding-bottom: var(--space-8);
}

.site-footer__about {
  grid-column: 1 / -1;
  max-width: 24rem;
}

.site-footer .brand {
  margin-bottom: var(--space-4);
  color: var(--text-on-dark);
}

.site-footer .brand__sub { color: var(--brass-500); }

.site-footer__heading {
  margin: 0 0 var(--space-4);
  color: var(--brass-500);
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.site-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__list li + li { margin-top: var(--space-2); }

.site-footer__note {
  padding-top: var(--space-2);
  color: var(--text-on-dark-muted);
  font-family: var(--font-display);
  font-style: italic;
}

.site-footer__list a {
  display: inline-block;
  padding-block: 0.2rem;
}

.site-footer__contact { grid-column: 1 / -1; }

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3) var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--rule-on-dark);
  font-size: var(--step--2);
}

.site-footer__base p { margin: 0; }

@media (min-width: 40em) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__contact { grid-column: auto; }
}

@media (min-width: 62em) {
  .site-footer__grid { grid-template-columns: 1.6fr 1fr 1.2fr; }
  .site-footer__about { grid-column: auto; }
}


/* 9. Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* 10. Shared section helpers
   ========================================================================== */

.section--flush-top { padding-top: 0; }

.divider-top {
  padding-top: var(--section-y);
  border-top: 1px solid var(--rule);
}


/* 11. Homepage
   ========================================================================== */

/* Hero ---------------------------------------------------------------- */

.hero {
  padding-block: var(--space-7) var(--section-y);
}

.hero__grid {
  display: grid;
  gap: var(--space-8);
}

.hero__title {
  margin-bottom: var(--space-6);
}

.hero__line {
  display: block;
  overflow: hidden;
  /* room for descenders and italic overhang inside the clipping box */
  padding: 0 0.08em 0.1em 0;
  margin-bottom: -0.1em;
}

.hero__line > span { display: block; }

.hero__line--accent {
  color: var(--green-800);
  font-style: italic;
}

.hero__text {
  max-width: 32rem;
  margin-bottom: var(--space-6);
  color: var(--text-muted);
  font-size: var(--step-1);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-6);
}

.hero__visual {
  position: relative;
}

.hero__media img { object-position: 60% 50%; }

/* Phones: label tucks under the photo, overlapping only the counter edge */
.hero__label {
  position: relative;
  width: min(19rem, 88%);
  margin: -2rem var(--space-4) 0 auto;
  box-shadow: 0 24px 48px -28px rgba(18, 46, 74, 0.45);
}

@media (min-width: 56em) {
  .hero { padding-block: var(--space-8) var(--space-9); }

  .hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
    gap: var(--space-6);
  }

  .hero__copy { grid-column: 1 / span 7; position: relative; z-index: 1; }
  .hero__visual { grid-column: 8 / -1; padding-bottom: 0; }

  /* Desktop: label hangs below the photo's bottom-left corner, clear of both tin labels */
  .hero__visual { padding-bottom: 9.5rem; }

  .hero__label {
    position: absolute;
    top: calc(100% - 9.5rem - 4.5rem);
    left: -18%;
    margin: 0;
  }
}

@media (min-width: 56em) and (max-width: 74.99em) {
  .hero__title { font-size: clamp(2.75rem, 1rem + 4.2vw, 4.25rem); }
}

/* The one motion moment: tagline rises line by line, the photo pours in */

@keyframes hero-rise {
  from { transform: translateY(105%); }
  to   { transform: translateY(0); }
}

@keyframes hero-pour {
  from { clip-path: inset(0 0 100% 0); }
  to   { clip-path: inset(0 0 0 0); }
}

@keyframes hero-settle {
  from { opacity: 0; transform: translateY(0.75rem); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__line > span {
    animation: hero-rise 0.9s var(--ease-out) both;
  }

  .hero__line:nth-child(2) > span { animation-delay: 0.12s; }
  .hero__line:nth-child(3) > span { animation-delay: 0.24s; }

  .hero__media {
    animation: hero-pour 1.2s cubic-bezier(0.65, 0, 0.35, 1) 0.1s both;
  }

  .hero__text,
  .hero__actions {
    animation: hero-settle 0.8s var(--ease-out) 0.5s both;
  }

  .hero__label {
    animation: hero-settle 0.8s var(--ease-out) 1s both;
  }
}

/* Manifesto ------------------------------------------------------------ */

.manifesto__grid {
  display: grid;
  gap: var(--space-6);
}

.manifesto__title {
  max-width: 16ch;
  margin: 0;
  font-size: var(--step-4);
}

.manifesto__sub {
  display: block;
  margin-top: var(--space-3);
  color: var(--green-800);
  font-size: var(--step-2);
  font-style: italic;
  line-height: 1.2;
  letter-spacing: -0.005em;
}

.manifesto__body {
  max-width: 36rem;
  color: var(--text-muted);
}

.manifesto__statement {
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.manifesto__body .text-link { margin-top: var(--space-3); }

@media (min-width: 56em) {
  .manifesto__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
    gap: var(--space-6);
  }

  .manifesto__title { grid-column: 1 / span 6; }
  .manifesto__body { grid-column: 8 / -1; padding-top: 0.6rem; }
}

/* Pillars: a quiet row in the batch-label style */

.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: var(--space-8) 0 0;
  padding: var(--space-2);
  list-style: none;
  border: 1px solid var(--brass-500);
  outline: 1px solid var(--brass-500);
  outline-offset: -6px;
}

.pillars li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.5rem;
  padding: var(--space-4) var(--space-3);
  color: var(--green-800);
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
}

.pillars li:nth-child(odd) { border-right: 1px dashed rgba(122, 86, 16, 0.45); }
.pillars li:nth-child(-n + 2) { border-bottom: 1px dashed rgba(122, 86, 16, 0.45); }

@media (min-width: 56em) {
  .pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pillars li { border-bottom: 0 !important; }
  .pillars li:not(:last-child) { border-right: 1px dashed rgba(122, 86, 16, 0.45); }
}

/* Five oils: contents-page index -------------------------------------- */

.oils__head {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-7);
}

.oils__head h2 { max-width: 16ch; margin: 0; }
.oils__head p { max-width: 30rem; }

@media (min-width: 56em) {
  .oils__head {
    grid-template-columns: 1.3fr 1fr;
    align-items: end;
    gap: var(--space-6);
  }
}

.oil-index {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--rule);
}

.oil-index__item {
  position: relative;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) 4.5rem;
  grid-template-areas:
    "num main thumb"
    "num use  thumb";
  column-gap: var(--space-4);
  row-gap: var(--space-2);
  align-items: start;
  padding-block: var(--space-5);
  border-top: 1px solid var(--rule);
  transition: background-color 0.25s ease;
}

.oil-index__num {
  grid-area: num;
  padding-top: 0.3em;
  color: var(--brass-700);
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-style: italic;
  line-height: 1;
}

.oil-index__main { grid-area: main; }

.oil-index__name {
  margin: 0 0 var(--space-1);
  font-size: var(--step-3);
  font-weight: 400;
  line-height: 1.1;
}

.oil-index__name a {
  color: var(--green-800);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: text-decoration-color 0.25s ease;
}

/* Whole row is clickable; the focus ring is drawn on the row */
.oil-index__name a::after {
  content: "";
  position: absolute;
  inset: 0;
}


@supports selector(:has(a)) {
  .oil-index__name a:focus-visible { outline: none; }

  .oil-index__item:has(a:focus-visible) {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
  }
}

.oil-index__item:hover .oil-index__name a {
  text-decoration-color: var(--brass-500);
}

.oil-index__note {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--step--1);
}

.oil-index__use {
  grid-area: use;
  margin: 0;
  font-size: var(--step--1);
}

.oil-index__use span {
  display: block;
  color: var(--brass-700);
  font-family: var(--font-display);
  font-style: italic;
}

.oil-index__thumb { grid-area: thumb; }
.oil-index__thumb.ph { padding: var(--space-2); }
.oil-index__thumb .ph__label { display: none; }

.oils__more { margin-top: var(--space-7); }

@media (min-width: 48em) {
  .oil-index__item {
    grid-template-columns: 3.5rem minmax(0, 1.5fr) minmax(0, 1fr) 7.5rem;
    grid-template-areas: "num main use thumb";
    column-gap: var(--space-6);
    align-items: center;
    padding-block: var(--space-6);
  }

  .oil-index__num { align-self: start; padding-top: 0.45em; font-size: var(--step-2); }

  .oil-index__item:hover { background: var(--ivory-100); }
}

/* How it's made -------------------------------------------------------- */

.process__head {
  display: grid;
  gap: var(--space-7);
  margin-bottom: var(--space-8);
}

.process__intro h2 { max-width: 14ch; }

.process__intro p {
  max-width: 30rem;
  color: var(--text-on-dark-muted);
  font-size: var(--step-1);
  line-height: 1.55;
}

@media (min-width: 56em) {
  .process__head {
    grid-template-columns: 5fr 7fr;
    align-items: end;
    gap: var(--space-8);
  }
}

.process__steps {
  display: grid;
  gap: var(--space-7);
  margin: 0;
  padding: 0;
  list-style: none;
}

.process__step {
  position: relative;
  padding-left: 3.75rem;
}

/* Vertical brass thread joining the steps on small screens */
.process__step::before {
  content: "";
  position: absolute;
  top: 3.25rem;
  bottom: calc(-1 * var(--space-7) + var(--space-3));
  left: 1.05rem;
  width: 1px;
  background: rgba(217, 161, 44, 0.55);
}

.process__step:last-child::before { display: none; }

.process__num {
  position: absolute;
  top: -0.15em;
  left: 0;
  width: 2.1rem;
  color: var(--brass-500);
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-style: italic;
  line-height: 1;
  text-align: center;
}

.process__title {
  margin-bottom: var(--space-2);
  font-size: var(--step-1);
  font-weight: 500;
}

.process__step p {
  color: var(--text-on-dark-muted);
  font-size: var(--step--1);
}

@media (min-width: 62em) {
  .process__steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--space-6);
  }

  .process__step { padding: 5.5rem 0 0; }

  /* Horizontal thread running through the numerals */
  .process__step::before,
  .process__step:last-child::before {
    display: block;
    top: 1.75rem;
    bottom: auto;
    left: 0;
    right: calc(-1 * var(--space-6));
    width: auto;
    height: 1px;
  }

  .process__step:last-child::before { right: 0; }

  .process__num {
    top: 0;
    width: auto;
    padding-right: var(--space-4);
    background: var(--green-800);
  }
}

/* Cold-pressed vs refined --------------------------------------------- */

.compare__head {
  max-width: 44rem;
  margin-bottom: var(--space-7);
}

.compare__head h2 { max-width: 18ch; }

.compare__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step--1);
}

.compare__table th,
.compare__table td {
  text-align: left;
  vertical-align: top;
}

.compare__table tbody th {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.25;
}

.compare__edge-note {
  display: block;
  margin-top: 0.25rem;
  color: var(--brass-700);
  font-family: var(--font-display);
  font-style: italic;
}

.compare__note {
  max-width: 44rem;
  margin-top: var(--space-5);
  color: var(--text-muted);
  font-size: var(--step--2);
}

/* Small screens: each row becomes a stacked pair */
@media (max-width: 47.99em) {
  .compare__table,
  .compare__table tbody,
  .compare__table tr,
  .compare__table th,
  .compare__table td {
    display: block;
  }

  .compare__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .compare__table tr {
    padding-block: var(--space-5);
    border-top: 1px solid var(--rule);
  }

  .compare__table tbody th { margin-bottom: var(--space-3); }

  .compare__table td { padding: var(--space-3) var(--space-4); }

  .compare__table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.15rem;
    color: var(--text-muted);
    font-size: var(--step--2);
    font-weight: 500;
  }

  .compare__table td.compare__ours {
    background: var(--ivory-200);
    box-shadow: inset 2px 0 0 var(--brass-500);
  }

  .compare__table td.compare__ours::before { color: var(--green-800); }
}

@media (min-width: 48em) {
  .compare__table thead th {
    padding: var(--space-5);
    font-family: var(--font-display);
    font-size: var(--step-2);
    font-weight: 400;
    line-height: 1.15;
  }

  .compare__table thead th.compare__ours {
    border-top: 2px solid var(--brass-500);
    color: var(--green-800);
  }

  .compare__table thead th.compare__theirs { color: var(--text-muted); }

  .compare__table tbody th,
  .compare__table tbody td {
    padding: var(--space-5);
    border-top: 1px solid var(--rule);
  }

  .compare__table tbody th {
    width: 26%;
    padding-left: 0;
  }

  .compare__table td { width: 37%; }

  .compare__table .compare__ours { background: var(--ivory-200); }

  .compare__table tbody td:not(.compare__ours) { color: var(--text-muted); }
}

/* Quality strip -------------------------------------------------------- */

.quality {
  padding-block: var(--space-8);
  background: var(--ivory-200);
}

.quality__title {
  margin-bottom: var(--space-6);
  font-size: var(--step-2);
  font-weight: 400;
}

/* One continuous ruled band with hairlines between items, not separate cards */
.quality__list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--brass-500);
  outline: 1px solid var(--brass-500);
  outline-offset: 4px;
  background: rgba(122, 86, 16, 0.35);
}

.quality__item {
  padding: var(--space-5);
  background: var(--ivory-200);
}

.quality__name {
  margin: 0 0 var(--space-1);
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.2;
}

.quality__detail {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--step--1);
  line-height: 1.5;
}

@media (min-width: 36em) {
  .quality__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quality__item:last-child { grid-column: 1 / -1; }
}

@media (min-width: 62em) {
  .quality__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .quality__item:last-child { grid-column: auto; }
}

/* Testimonials --------------------------------------------------------- */

.testimonials h2 { margin-bottom: var(--space-7); }

.testimonials__grid {
  display: grid;
  gap: var(--space-8);
}

.quote { margin: 0; }

.quote blockquote { margin: 0 0 var(--space-5); }

.quote figcaption {
  display: flex;
  flex-direction: column;
  font-size: var(--step--1);
}

.quote__name { font-weight: 500; }
.quote__meta { color: var(--text-muted); }

.quote--feature::before {
  content: "\201C";
  display: block;
  height: 0.45em;
  color: var(--brass-500);
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 0.85;
}

.quote--feature blockquote {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-style: italic;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.quote--feature blockquote .todo {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-style: normal;
  vertical-align: middle;
}

.testimonials__side {
  display: grid;
  gap: var(--space-7);
}

.testimonials__side .quote {
  padding-top: var(--space-5);
  border-top: 1px solid var(--rule);
}

@media (min-width: 56em) {
  .testimonials__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--space-6);
  }

  .quote--feature { grid-column: 1 / span 7; }

  .testimonials__side {
    grid-column: 9 / -1;
    padding-top: var(--space-9);
  }
}

/* Recipe teaser -------------------------------------------------------- */

.recipes-teaser__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3) var(--space-6);
  margin-bottom: var(--space-7);
}

.recipes-teaser__head h2 { margin: 0; }

.recipes-teaser__grid {
  display: grid;
  gap: var(--space-8);
}

.recipe-card { position: relative; }

.recipe-card__body { padding-top: var(--space-5); }

.recipe-card__title {
  margin-bottom: var(--space-3);
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1.15;
}

.recipe-card--feature .recipe-card__title { font-size: var(--step-3); }

.recipe-card__title a {
  color: var(--navy-900);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: text-decoration-color 0.25s ease;
}

.recipe-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}


@supports selector(:has(a)) {
  .recipe-card__title a:focus-visible { outline: none; }

  .recipe-card:has(a:focus-visible) {
    outline: 2px solid var(--focus);
    outline-offset: 6px;
  }
}

.recipe-card:hover .recipe-card__title a { text-decoration-color: var(--brass-500); }

.recipe-card__dek {
  max-width: 36rem;
  margin-bottom: var(--space-4);
  color: var(--text-muted);
}

.recipe-card--feature .recipe-card__dek {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-style: italic;
  line-height: 1.45;
}

.recipe-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  margin: 0;
  padding-top: var(--space-3);
  border-top: 1px solid var(--rule);
  font-size: var(--step--1);
}

.recipe-card__facts div { display: flex; gap: 0.4em; }

.recipe-card__facts dt { color: var(--text-muted); }

.recipe-card__facts dd {
  margin: 0;
  font-weight: 500;
}

.recipes-teaser__side {
  display: grid;
  gap: var(--space-7);
}

@media (min-width: 36em) and (max-width: 55.99em) {
  .recipes-teaser__side .recipe-card {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--space-5);
    align-items: start;
  }

  .recipes-teaser__side .recipe-card__body { padding-top: 0; }
}

@media (min-width: 56em) {
  .recipes-teaser__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--space-6);
  }

  .recipe-card--feature { grid-column: 1 / span 7; }

  .recipes-teaser__side {
    grid-column: 9 / -1;
    align-content: start;
  }
}

/* Closing call to action ---------------------------------------------- */

.closing__grid {
  display: grid;
  gap: var(--space-7);
}

.closing__copy h2 { max-width: 14ch; }

.closing__copy .lead {
  max-width: 32rem;
  margin-bottom: var(--space-4);
}

.delivery-note {
  display: inline-block;
  margin-bottom: var(--space-6);
  padding: var(--space-2) var(--space-4);
  border: 1px dashed rgba(122, 86, 16, 0.55);
  font-size: var(--step--1);
}

.delivery-note strong {
  color: var(--brass-700);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
}

.closing__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-6);
}

@media (min-width: 56em) {
  .closing__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
    gap: var(--space-6);
  }

  .closing__media { grid-column: 1 / span 6; }
  .closing__copy { grid-column: 8 / -1; }
}


/* 12. Inner pages: shared
   ========================================================================== */

/* Page hero: title left, lede right, wide image below */

.page-hero {
  padding-block: var(--space-7) var(--space-8);
}

.page-hero__grid {
  display: grid;
  gap: var(--space-5);
}

.page-hero__title {
  max-width: 18ch;
  margin-bottom: var(--space-3);
}

.page-hero__sub {
  margin: 0;
  color: var(--green-800);
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-style: italic;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.page-hero__lede {
  max-width: 30rem;
  margin: 0;
  color: var(--text-muted);
  font-size: var(--step-1);
  line-height: 1.55;
}

.page-hero__media {
  --ratio: 4 / 3;
  margin-top: var(--space-8);
}

@media (min-width: 48em) {
  .page-hero__media { --ratio: 21 / 9; }
}

@media (min-width: 56em) {
  .page-hero { padding-top: var(--space-9); }

  .page-hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
    gap: var(--space-6);
  }

  .page-hero__heading { grid-column: 1 / span 8; }
  .page-hero__lede { grid-column: 9 / -1; padding-bottom: 0.4rem; }
}

/* Long-form reading column */

.prose {
  max-width: var(--measure);
  margin-inline: auto;
}

.prose h2 {
  margin: var(--space-8) 0 var(--space-4);
  font-size: var(--step-3);
}

.prose h2:first-child { margin-top: 0; }

.prose p { margin-bottom: 1.15em; }

.dropcap::first-letter {
  float: left;
  margin: 0.06em 0.1em 0 0;
  color: var(--green-800);
  font-family: var(--font-display);
  font-size: 4.4em;
  font-weight: 400;
  line-height: 0.82;
}

.pullquote {
  margin: var(--space-8) 0;
  padding-block: var(--space-6);
  border-block: 1px solid var(--brass-500);
  color: var(--green-800);
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-align: center;
}

.prose-figure { margin: var(--space-8) 0; }

.prose-figure figcaption {
  margin-top: var(--space-3);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-style: italic;
}

@media (min-width: 62em) {
  .pullquote,
  .prose-figure { margin-inline: -6rem; }
}

/* Statement: the brand's own words, set large */

.statement {
  max-width: 54rem;
  margin: 0;
}

.statement blockquote {
  margin: 0;
  padding-top: var(--space-6);
  border-top: 1px solid var(--brass-500);
}

.statement__lead {
  font-family: var(--font-display);
  font-size: var(--step-4);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.statement__follow {
  max-width: 40rem;
  margin-top: var(--space-5);
  color: var(--green-800);
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-style: italic;
  line-height: 1.3;
}

.statement figcaption {
  margin-top: var(--space-6);
  color: var(--text-muted);
  font-size: var(--step--1);
}

/* Wide batch label: rows become two columns on larger screens */

.batch-label--wide {
  max-width: none;
  padding: var(--space-6) var(--space-5);
}

.batch-label--wide .batch-label__title {
  margin-bottom: var(--space-3);
  font-size: var(--step-2);
}

.batch-label--wide .batch-label__row {
  display: block;
  padding-block: var(--space-4);
}

.batch-label--wide dt {
  margin-bottom: var(--space-1);
  color: var(--green-800);
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-variant-caps: normal;
  letter-spacing: -0.005em;
  line-height: 1.2;
}

.batch-label--wide dd {
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: var(--step-0);
  text-align: left;
}

@media (min-width: 48em) {
  .batch-label--wide { padding: var(--space-7); }

  .batch-label--wide .batch-label__row {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    align-items: baseline;
    gap: var(--space-6);
  }

  .batch-label--wide dt { margin: 0; }
}

/* Delivery note on dark grounds */

.delivery-note--dark {
  border-color: rgba(217, 161, 44, 0.6);
}

.delivery-note--dark strong { color: var(--brass-light); }

/* Green call-to-action band */

.cta-band__grid {
  display: grid;
  gap: var(--space-6);
}

.cta-band__title {
  max-width: 12ch;
  margin: 0;
}

.cta-band__text {
  max-width: 30rem;
  margin-bottom: var(--space-4);
  color: var(--text-on-dark-muted);
  font-size: var(--step-1);
  line-height: 1.55;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-6);
}

@media (min-width: 56em) {
  .cta-band__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
  }

  .cta-band__title { grid-column: 1 / span 6; }
  .cta-band__body { grid-column: 8 / -1; }
}


/* 13. Our Story
   ========================================================================== */

.story-pillars {
  display: grid;
  gap: var(--space-7);
}

.story-pillars__intro h2 { max-width: 12ch; }

@media (min-width: 62em) {
  .story-pillars {
    grid-template-columns: 4fr 8fr;
    align-items: start;
    gap: var(--space-8);
  }
}

.founders__grid {
  display: grid;
  gap: var(--space-7);
}

.founders__copy { max-width: 36rem; }

@media (min-width: 48em) {
  .founders__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
    gap: var(--space-6);
  }

  .founders__media { grid-column: 1 / span 5; }
  .founders__copy { grid-column: 7 / -1; }
}


/* 14. Our Oils
   ========================================================================== */

.page-hero--compact { padding-bottom: var(--space-7); }

/* Jump list: a ruled contents line under the page title */

.oil-jump {
  margin-top: var(--space-8);
  border-block: 1px solid var(--rule);
}

.oil-jump__list {
  display: flex;
  gap: var(--space-2) var(--space-6);
  margin: 0;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}

.oil-jump__list::-webkit-scrollbar { display: none; }

.oil-jump__list a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45em;
  min-height: 2.75rem;
  padding-block: var(--space-3);
  color: var(--green-800);
  font-family: var(--font-display);
  font-size: var(--step-1);
  text-decoration: none;
  white-space: nowrap;
}

.oil-jump__list a:hover { text-decoration: underline; text-decoration-color: var(--brass-500); }

.oil-jump__list span {
  color: var(--brass-700);
  font-size: var(--step--1);
  font-style: italic;
}

@media (min-width: 62em) {
  .oil-jump__list { justify-content: space-between; }
}

/* One section per oil, alternating sides and grounds */

.oil {
  padding-block: var(--section-y);
}

.oil--flip { background: var(--ivory-200); }

.oil--flip .batch-label { background: var(--ivory-50); }

.oil__grid {
  display: grid;
  gap: var(--space-7);
}

/* Wider photo on phones keeps the spec panel close; portrait on desktop */
.oil__media .media { --ratio: 4 / 3; }

@media (min-width: 56em) {
  .oil__media .media { --ratio: 4 / 5; }
}

.oil__num {
  margin: 0 0 var(--space-2);
  color: var(--brass-700);
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-style: italic;
  line-height: 1;
}

.oil__title {
  margin-bottom: var(--space-2);
  font-size: var(--step-4);
}

.oil__aka {
  margin-bottom: var(--space-5);
  color: var(--green-800);
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-style: italic;
}

.oil__desc {
  max-width: 36rem;
  margin-bottom: var(--space-6);
  color: var(--text-muted);
}

.oil__body > .btn { margin-top: var(--space-6); }

@media (min-width: 56em) {
  .oil__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
    gap: var(--space-6);
  }

  .oil__media {
    grid-column: 1 / span 5;
    grid-row: 1;
    position: sticky;
    top: calc(var(--header-h) + var(--space-6));
  }

  .oil__body {
    grid-column: 7 / -1;
    grid-row: 1;
  }

  .oil--flip .oil__media { grid-column: 8 / -1; }
  .oil--flip .oil__body { grid-column: 1 / span 6; }
}

/* Spec label: label column + left-aligned values */

.batch-label--spec {
  max-width: 40rem;
  padding: var(--space-5) var(--space-5) var(--space-3);
}

.batch-label--spec .batch-label__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.1rem;
  padding-block: var(--space-3);
}

.batch-label--spec dd {
  font-size: var(--step-0);
  line-height: 1.45;
  text-align: left;
}

@media (min-width: 30em) {
  .batch-label--spec .batch-label__row {
    grid-template-columns: 8.5rem minmax(0, 1fr);
    gap: var(--space-4);
  }
}

@media (min-width: 48em) {
  .batch-label--spec { padding: var(--space-6) var(--space-6) var(--space-4); }
}

.oils-footnote {
  max-width: 44rem;
  margin: 0;
  padding-block: var(--space-6) var(--space-8);
  border-top: 1px solid var(--rule);
  color: var(--text-muted);
  font-size: var(--step--2);
}


/* 15. Health Benefits
   ========================================================================== */

:root {
  /* Chart series colours, validated for colour-vision deficiency against ivory.
     Brass is below 3:1 on ivory, so every value is also printed and tabled. */
  --fat-sat: #C9A24B;
  --fat-mono: #2F7D4A;
  --fat-poly: #2F5F9E;
}

/* Disclaimer notice: framed like a label so it reads as deliberate, not fine print */

.notice {
  max-width: 52rem;
  margin-top: var(--space-7);
  padding: var(--space-5) var(--space-5) var(--space-5) var(--space-6);
  border: 1px solid var(--brass-500);
  border-left-width: 4px;
  background: var(--ivory-100);
}

.notice__title {
  margin-bottom: var(--space-2);
  font-size: var(--step-1);
  font-weight: 500;
}

.notice p {
  margin: 0;
  font-size: var(--step--1);
}

.notice--end { margin-top: var(--space-8); }

.terms__head {
  max-width: 44rem;
  margin-bottom: var(--space-7);
}

/* Fat types, each ruled in its chart colour so the terms double as the legend */

.fat-terms {
  display: grid;
  gap: var(--space-6);
  margin: 0;
}

.fat-terms__item {
  padding-top: var(--space-4);
  border-top: 3px solid;
}

.fat-terms__item--sat { border-color: var(--fat-sat); }
.fat-terms__item--mono { border-color: var(--fat-mono); }
.fat-terms__item--poly { border-color: var(--fat-poly); }

.fat-terms dt {
  margin-bottom: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.2;
}

.fat-terms dd {
  margin: 0;
  color: var(--text-muted);
}

.terms__energy {
  max-width: 44rem;
  margin: var(--space-7) 0 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--rule);
}

.terms__energy strong {
  color: var(--brass-700);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
}

@media (min-width: 48em) {
  .fat-terms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Stacked composition bars */

.fat-chart { margin: 0 0 var(--space-7); }

.fat-chart__legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin-bottom: var(--space-5);
  font-size: var(--step--1);
}

.fat-chart__legend span,
.fat-row__vals span {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.swatch {
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 2px;
}

.swatch--sat { background: var(--fat-sat); }
.swatch--mono { background: var(--fat-mono); }
.swatch--poly { background: var(--fat-poly); }

.fat-chart__rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fat-row {
  display: grid;
  grid-template-areas:
    "name"
    "bar"
    "vals";
  gap: var(--space-2);
  padding-block: var(--space-4);
  border-top: 1px solid var(--rule);
}

.fat-row:last-child { border-bottom: 1px solid var(--rule); }

.fat-row__name {
  grid-area: name;
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.2;
}

.fat-row__bar {
  grid-area: bar;
  display: flex;
  gap: 2px;
  height: 1.25rem;
  background: var(--ivory-200);
  border-radius: 4px;
  overflow: hidden;
}

.seg {
  flex: none;
  width: calc(var(--v) * 1%);
  height: 100%;
}

.seg--sat { background: var(--fat-sat); }
.seg--mono { background: var(--fat-mono); }
.seg--poly { background: var(--fat-poly); }

.fat-row__vals {
  grid-area: vals;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-5);
  color: var(--text-muted);
  font-size: var(--step--1);
  font-variant-numeric: tabular-nums;
}

@media (min-width: 56em) {
  .fat-row {
    grid-template-columns: 8rem minmax(0, 1fr) 15rem;
    grid-template-areas: "name bar vals";
    align-items: center;
    gap: var(--space-6);
  }

  .fat-row__vals { justify-content: flex-end; }
}

@media (forced-colors: active) {
  .seg,
  .swatch { forced-color-adjust: none; }
}

/* Data table */

.table-scroll {
  overflow-x: auto;
}

.table-hint {
  margin: 0 0 var(--space-2);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-style: italic;
}

@media (min-width: 40em) {
  .table-hint { display: none; }
}

.table-scroll:focus-visible { outline-offset: 2px; }

.data-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: var(--step--1);
  font-variant-numeric: tabular-nums;
}

.data-table caption {
  margin-bottom: var(--space-3);
  color: var(--text-muted);
  font-size: var(--step--1);
  text-align: left;
}

.data-table th,
.data-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--rule);
  text-align: right;
}

.data-table th:first-child { padding-left: 0; text-align: left; }

.data-table thead th {
  border-bottom-color: var(--brass-500);
  font-weight: 500;
  vertical-align: bottom;
}

.data-table tbody th {
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 400;
}

.data-source {
  max-width: 48rem;
  margin: var(--space-4) 0 0;
  color: var(--text-muted);
  font-size: var(--step--2);
}

/* Oil-by-oil notes: ruled rows, name in the margin */

.oil-notes { border-bottom: 1px solid var(--rule); }

.oil-note {
  display: grid;
  gap: var(--space-2);
  padding-block: var(--space-5);
  border-top: 1px solid var(--rule);
}

.oil-note__name {
  margin: 0;
  font-size: var(--step-2);
  font-weight: 400;
}

.oil-note__name a {
  color: var(--green-800);
  text-decoration-color: transparent;
}

.oil-note__name a:hover { text-decoration-color: var(--brass-500); }

.oil-note p {
  max-width: 44rem;
  margin: 0;
  color: var(--text-muted);
}

@media (min-width: 56em) {
  .oil-note {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--space-6);
    align-items: baseline;
    padding-block: var(--space-6);
  }

  .oil-note__name { grid-column: 1 / span 4; }
  .oil-note p { grid-column: 5 / -1; }
}

.prose--left { margin-inline: 0; }


/* 16. Recipes
   ========================================================================== */

/* Contents list: a magazine "in this issue" page */

.recipe-index {
  padding-block: var(--space-7) var(--space-8);
}

.recipe-index__list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.recipe-index__item a {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "num meta";
  column-gap: var(--space-3);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--rule);
  color: var(--navy-900);
  text-decoration: none;
}

.recipe-index__num {
  grid-area: num;
  padding-top: 0.2em;
  color: var(--brass-700);
  font-family: var(--font-display);
  font-style: italic;
}

.recipe-index__title {
  grid-area: title;
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.18em;
  transition: text-decoration-color 0.25s ease;
}

.recipe-index__item a:hover .recipe-index__title { text-decoration-color: var(--brass-500); }

.recipe-index__meta {
  grid-area: meta;
  color: var(--text-muted);
  font-size: var(--step--1);
}

@media (min-width: 48em) {
  .recipe-index__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-7);
  }
}

/* One recipe */

.recipe {
  padding-block: var(--section-y);
  border-top: 1px solid var(--rule);
}

.recipe--flip { background: var(--ivory-200); }
.recipe--flip .recipe__ingredients { background: var(--ivory-50); }
.recipe--flip .recipe__why { background: var(--ivory-50); }

.recipe__header {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.recipe__media { --ratio: 3 / 2; }

.recipe__num {
  margin: 0 0 var(--space-2);
  color: var(--brass-700);
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-style: italic;
  line-height: 1;
}

.recipe__title {
  margin-bottom: var(--space-4);
  font-size: var(--step-3);
  line-height: 1.12;
}

.recipe__dek {
  max-width: 34rem;
  margin-bottom: var(--space-5);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-style: italic;
  line-height: 1.45;
}

.recipe__facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
  gap: var(--space-3) var(--space-5);
  margin: 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--brass-500);
}

.recipe__facts dt {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.06em;
}

.recipe__facts dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.2;
}

.recipe__facts a { color: var(--green-800); }

@media (min-width: 56em) {
  .recipe__header {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
    gap: var(--space-6);
  }

  .recipe__media { grid-column: 1 / span 7; grid-row: 1; }
  .recipe__intro { grid-column: 8 / -1; grid-row: 1; padding-left: var(--space-4); }

  .recipe--flip .recipe__media { grid-column: 6 / -1; }
  .recipe--flip .recipe__intro { grid-column: 1 / span 5; padding: 0 var(--space-4) 0 0; }
}

/* Ingredients and method */

.recipe__body {
  display: grid;
  gap: var(--space-7);
}

.recipe__heading {
  margin-bottom: var(--space-4);
  font-size: var(--step-2);
  font-weight: 400;
}

.recipe__ingredients {
  align-self: start;
  padding: var(--space-5);
  background: var(--ivory-200);
}

.recipe__group {
  margin: var(--space-5) 0 var(--space-2);
  color: var(--brass-700);
  font-size: var(--step-0);
  font-style: italic;
  font-weight: 400;
}

.recipe__heading + .recipe__group { margin-top: 0; }

.recipe__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--step--1);
}

.recipe__list li {
  padding-block: 0.45rem;
  border-bottom: 1px dashed rgba(122, 86, 16, 0.35);
}

.recipe__list li:last-child { border-bottom: 0; }

.recipe__steps {
  margin: 0 0 var(--space-7);
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.recipe__steps li {
  position: relative;
  max-width: 40rem;
  padding: 0 0 var(--space-5) 3rem;
  counter-increment: step;
}

.recipe__steps li::before {
  content: counter(step);
  position: absolute;
  top: -0.2rem;
  left: 0;
  color: var(--brass-700);
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-style: italic;
  line-height: 1;
}

.recipe__why {
  max-width: 40rem;
}

.recipe__why p:last-child {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--step--1);
}

@media (min-width: 56em) {
  .recipe__body {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--space-6);
    align-items: start;
  }

  .recipe__ingredients {
    grid-column: 1 / span 4;
    position: sticky;
    top: calc(var(--header-h) + var(--space-5));
    padding: var(--space-6);
  }

  .recipe__method { grid-column: 6 / -1; }
}

/* Print: just the recipes */

@media print {
  .site-header,
  .site-footer,
  .skip-link,
  .recipe-index,
  .cta-band,
  .ph { display: none !important; }

  .recipe,
  .recipe--flip { padding-block: 1.5rem; background: none; break-inside: avoid-page; }
  .recipe__ingredients { position: static; background: none; padding: 0; }
  .recipe__body { display: block; }
  body { background: #fff; color: #000; }
}


/* 17. Contact
   ========================================================================== */

.page-hero__lede p { margin-bottom: var(--space-3); }

.contact__grid {
  display: grid;
  gap: var(--space-8);
}

.enquiry {
  padding: var(--space-6) var(--space-5);
  background: var(--ivory-200);
}

.enquiry__title {
  margin-bottom: var(--space-3);
  font-size: var(--step-3);
}

.enquiry__intro {
  max-width: 36rem;
  margin-bottom: var(--space-6);
  color: var(--text-muted);
  font-size: var(--step--1);
}

.enquiry__noscript {
  padding: var(--space-4);
  border: 1px dashed var(--brass-700);
}

.field {
  margin: 0 0 var(--space-5);
  padding: 0;
  border: 0;
}

.field__label {
  display: block;
  margin-bottom: var(--space-2);
  padding: 0;
  font-weight: 500;
}

.field__optional {
  color: var(--text-muted);
  font-weight: 400;
}

.field__input {
  display: block;
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--text-muted);
  border-radius: var(--radius);
  background: var(--ivory-50);
  color: var(--navy-900);
  font-size: var(--step-0); /* 17px+ also prevents iOS zoom on focus */
  line-height: 1.4;
}

.field__input::placeholder { color: #5E6B78; } /* 5.1:1, still lighter than typed text */

.field__input:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-color: var(--green-800);
}

.field__input[aria-invalid="true"] {
  border-color: #9B2C1F;
  box-shadow: inset 3px 0 0 #9B2C1F;
}

.field__input--area {
  min-height: 7rem;
  resize: vertical;
}

.field__hint {
  margin: var(--space-2) 0 0;
  color: var(--text-muted);
  font-size: var(--step--1);
}

.field__error {
  margin: var(--space-2) 0 0;
  color: #9B2C1F; /* 6.6:1 on paper */
  font-size: var(--step--1);
  font-weight: 500;
}

.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-1) var(--space-4);
}

.choice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  cursor: pointer;
}

.choice input {
  flex: none;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0;
  accent-color: var(--green-800);
}

@media (min-width: 36em) {
  .choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Live preview of the message that will open in WhatsApp */

.wa-preview {
  margin: var(--space-6) 0;
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--brass-500);
  outline: 1px solid var(--brass-500);
  outline-offset: -5px;
  background: var(--ivory-50);
}

.wa-preview__title {
  margin: 0 0 var(--space-2);
  color: var(--brass-700);
  font-family: var(--font-display);
  font-style: italic;
}

.wa-preview__text {
  margin: 0;
  font-size: var(--step--1);
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.enquiry__submit { width: 100%; }

.enquiry__status {
  margin: var(--space-3) 0 0;
  font-size: var(--step--1);
}

.enquiry__status:empty { display: none; }

.contact__details .batch-label { max-width: none; }

.contact__details dd a {
  color: var(--green-800);
  overflow-wrap: anywhere;
}

@media (min-width: 36em) {
  .enquiry { padding: var(--space-7); }
  .enquiry__submit { width: auto; }
}

@media (min-width: 62em) {
  .contact__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
    gap: var(--space-6);
  }

  .enquiry { grid-column: 1 / span 7; }

  .contact__details {
    grid-column: 9 / -1;
  }

  .contact__details .batch-label__row { grid-template-columns: 6rem minmax(0, 1fr); }
}

/* Good to know */

.faq {
  display: grid;
  gap: var(--space-6);
  margin: 0;
}

.faq__item {
  padding-top: var(--space-4);
  border-top: 1px solid var(--rule);
}

.faq dt {
  margin-bottom: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.25;
}

.faq dd {
  margin: 0;
  color: var(--text-muted);
}

@media (min-width: 56em) {
  .faq { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* 18. Poster photography, social link, floating WhatsApp
   ========================================================================== */

.story-pillars__media {
  max-width: 22rem;
  margin-top: var(--space-6);
}

.contact__media {
  max-width: 18.5rem;
  margin: 0 auto var(--space-6);
}

@media (min-width: 62em) {
  .contact__media { max-width: 18.5rem; margin-inline: 0; } /* source is 295px wide; kept close to native */
}

/* Floating WhatsApp. WhatsApp's darker green: white icon 4.1:1 on its own. */
.wa-float {
  position: fixed;
  right: calc(1rem + env(safe-area-inset-right, 0px));
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #128C7E;
  box-shadow: 0 12px 28px -10px rgba(18, 46, 74, 0.55);
  color: #FFFFFF;
  text-decoration: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out), visibility 0s linear 0s;
}

.wa-float__icon {
  width: 1.9rem;
  height: 1.9rem;
}

.wa-float:hover {
  background: #0E7568;
  transform: translateY(-2px);
}

.wa-float:focus-visible {
  outline: 3px solid var(--navy-900);
  outline-offset: 4px;
}

.js .wa-float:not(.is-visible),
.menu-open .wa-float {
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.75rem);
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out), visibility 0s linear 0.25s;
}

@media (min-width: 48em) {
  .wa-float {
    right: calc(1.5rem + env(safe-area-inset-right, 0px));
    bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    width: 3.75rem;
    height: 3.75rem;
  }
}

@media print {
  .wa-float { display: none; }
}
