/* ==========================================================================
   DIOMAR LUSA ANGOLA — website styles
   Plain CSS. No frameworks, no build step.
   Edit brand colours and spacing in the :root block below.
   ========================================================================== */

/* Self-hosted Inter variable font (latin + latin-ext) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --ink: #241a12;
  --ink-soft: #4b4035;
  --muted: #6b5f52;
  --cream: #f7f2e8;
  --cream-deep: #efe6d5;
  --paper: #fffdf8;
  --sand: #e8ddca;
  --line: #d9cdb8;
  --line-dark: #c4b49a;

  --green: #173e2f;
  --green-deep: #0f2d22;
  --green-soft: #2f5a45;
  --brown: #3e2a1c;
  --brown-deep: #24160f;

  --gold: #c08a3e;
  --gold-light: #d9a95c;
  --gold-ink: #7b4e0e;

  --white: #fffdf8;
  --black: #120d09;

  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(36, 26, 18, 0.06);
  --shadow: 0 12px 32px rgba(36, 26, 18, 0.09);
  --shadow-lg: 0 26px 70px rgba(36, 26, 18, 0.16);

  --header-height: 84px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset and base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

::selection {
  background: var(--gold-light);
  color: var(--brown-deep);
}

/* Visible, consistent keyboard focus */
:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Skip link for keyboard and screen-reader users */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
  transition: transform 0.15s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   3. Typography and layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 40px, 860px);
}

.section {
  padding-block: clamp(64px, 8vw, 104px);
}

.section--tight {
  padding-block: clamp(48px, 6vw, 76px);
}

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

.section--sand {
  background: var(--cream-deep);
}

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

.section--dark {
  background: var(--green);
  color: var(--white);
}

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

.eyebrow {
  display: inline-flex;
  text-wrap: balance;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--gold-ink);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
}

.section--dark .eyebrow,
.section--brown .eyebrow,
.page-hero .eyebrow {
  color: var(--gold-light);
}

.section--dark .eyebrow::before,
.section--brown .eyebrow::before,
.page-hero .eyebrow::before {
  background: var(--gold-light);
}

.display {
  max-width: 820px;
  font-size: clamp(2rem, 4.2vw, 3.55rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.h2 {
  max-width: 760px;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 750;
  letter-spacing: -0.028em;
  line-height: 1.12;
}

.h3 {
  font-size: clamp(1.12rem, 1.8vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.lead {
  max-width: 640px;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.7;
}

.lead--light {
  color: rgba(255, 253, 248, 0.82);
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.section-head--split {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: end;
  gap: 32px;
}

.section-head__aside {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.section--dark .section-head__aside,
.section--brown .section-head__aside {
  color: rgba(255, 253, 248, 0.72);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link svg {
  width: 17px;
  height: 17px;
  transition: transform 0.18s var(--ease);
}

.text-link:hover svg {
  transform: translateX(4px);
}

.section--dark .text-link,
.section--brown .text-link {
  color: var(--gold-light);
}

/* Inline SVG icon sizing */
.icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.icon--sm {
  width: 18px;
  height: 18px;
}

/* --------------------------------------------------------------------------
   4. Buttons and badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, transform 0.18s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn--primary {
  background: var(--green);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--green-deep);
}

.btn--gold {
  background: var(--gold);
  color: var(--brown-deep);
}

.btn--gold:hover {
  background: var(--gold-light);
}

.btn--outline {
  border-color: var(--line-dark);
  background: transparent;
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--green);
  background: rgba(23, 62, 47, 0.06);
}

.btn--light {
  border-color: rgba(255, 253, 248, 0.3);
  background: rgba(255, 253, 248, 0.08);
  color: var(--white);
}

.btn--light:hover {
  background: rgba(255, 253, 248, 0.16);
}

.btn--sm {
  min-height: 42px;
  padding: 9px 16px;
  font-size: 0.82rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.badge--gold {
  border-color: rgba(192, 138, 62, 0.35);
  background: rgba(192, 138, 62, 0.12);
  color: var(--gold-ink);
}

.badge--green {
  border-color: rgba(23, 62, 47, 0.2);
  background: rgba(23, 62, 47, 0.08);
  color: var(--green);
}

/* --------------------------------------------------------------------------
   5. Top bar and header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--brown-deep);
  color: rgba(255, 253, 248, 0.74);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 34px;
}

.topbar__group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar a {
  color: rgba(255, 253, 248, 0.82);
  text-decoration: none;
}

.topbar a:hover {
  color: var(--gold-light);
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar__item svg {
  width: 14px;
  height: 14px;
  color: var(--gold-light);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(196, 180, 154, 0.55);
  background: rgba(247, 242, 232, 0.96);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--brown-deep);
  text-decoration: none;
}

.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 7px;
  box-shadow: var(--shadow-sm);
}

.brand__text {
  display: grid;
  gap: 1px;
}

.brand__name {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.15;
}

.brand__tag {
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.primary-nav a:hover {
  background: rgba(23, 62, 47, 0.06);
  color: var(--green);
}

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

.primary-nav a[aria-current="page"]::after {
  content: "";
  width: 4px;
  height: 4px;
  margin-left: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lang-switch a,
.lang-switch span {
  padding: 6px 9px;
  line-height: 1;
  text-decoration: none;
}

.lang-switch a {
  color: var(--muted);
}

.lang-switch a:hover {
  color: var(--green);
}

.lang-switch [aria-current="true"] {
  background: var(--green);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--green);
}

.nav-toggle .icon {
  width: 20px;
  height: 20px;
  margin-inline: auto;
}

.nav-toggle[aria-expanded="true"] .icon--menu {
  display: none;
}

.nav-toggle[aria-expanded="false"] .icon--close {
  display: none;
}

/* CTA that only appears inside the mobile drawer */
.nav-drawer-cta {
  display: none;
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(54px, 7vw, 92px) clamp(48px, 6vw, 76px);
  background: var(--cream);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
      104deg,
      rgba(62, 42, 28, 0.028) 0,
      rgba(62, 42, 28, 0.028) 1px,
      transparent 1px,
      transparent 13px
    ),
    radial-gradient(circle at 86% 18%, rgba(192, 138, 62, 0.14), transparent 32%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(40px, 6vw, 78px);
}

.hero-copy {
  padding-block: 12px;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(2.55rem, 5.1vw, 4.35rem);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero h1 span {
  display: block;
  color: var(--green);
}

.hero-copy .lead {
  margin-top: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero-checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-checks svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--brown);
  box-shadow: var(--shadow-lg);
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: inherit;
  pointer-events: none;
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.hero-frame__caption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 8px;
  background: rgba(18, 13, 9, 0.64);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
}

.hero-frame__caption svg {
  width: 18px;
  height: 18px;
  color: var(--gold-light);
}

.hero-stamp {
  position: absolute;
  z-index: 3;
  top: -19px;
  left: -19px;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  padding: 12px;
  border: 1px solid rgba(192, 138, 62, 0.75);
  border-radius: 50%;
  background: var(--cream);
  color: var(--green);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  box-shadow: var(--shadow);
  transform: rotate(-8deg);
}

.hero-stamp strong {
  display: block;
  color: var(--gold-ink);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   7. Stats band
   -------------------------------------------------------------------------- */
.stats {
  background: var(--green);
  color: var(--white);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
  padding: 30px 28px;
  border-left: 1px solid rgba(255, 253, 248, 0.14);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat__value {
  display: block;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stat__label {
  display: block;
  margin-top: 6px;
  color: rgba(255, 253, 248, 0.68);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   8. About preview and general split sections
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 76px);
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  position: relative;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sand);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 220px;
  padding: 16px 18px;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.media-card__label {
  color: var(--gold-ink);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-card__value {
  margin-top: 4px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.4;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.55;
}

.check-list svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--green);
}

.check-list strong {
  color: var(--ink);
  font-weight: 700;
}

.quote-card {
  position: relative;
  margin-top: 30px;
  padding: 22px 24px;
  border-left: 3px solid var(--gold);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

.quote-card__source {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   9. Product cards
   -------------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  border-color: var(--line-dark);
  box-shadow: var(--shadow);
}

.product-card__media {
  position: relative;
  overflow: hidden;
  background: var(--sand);
}

.product-card__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

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

.product-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  border-radius: 4px;
  background: rgba(18, 13, 9, 0.72);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 22px 20px;
}

.product-card__name {
  font-size: 1.22rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.product-card__botanical {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.73rem;
  font-style: italic;
}

.product-card__desc {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

.product-card__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.product-card__specs div {
  border-top: 1px solid var(--line);
  padding-top: 9px;
}

.product-card__specs span {
  display: block;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-card__specs strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.35;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* Compact product index rows used on the products page */
.product-index {
  display: grid;
  gap: 14px;
}

.product-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.product-row:hover {
  border-color: var(--line-dark);
  background: #fcf8ef;
}

.product-row img {
  width: 96px;
  height: 70px;
  object-fit: cover;
  border-radius: 5px;
}

.product-row__name {
  font-size: 1rem;
  font-weight: 700;
}

.product-row__meta {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.product-row__arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
}

.product-row__arrow svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   10. Feature and value cards
   -------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--line-dark);
}

.feature {
  min-height: 230px;
  padding: 30px 28px;
  background: var(--paper);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: rgba(23, 62, 47, 0.08);
  color: var(--green);
}

.feature__icon svg {
  width: 21px;
  height: 21px;
}

.feature h3 {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.value-card {
  padding: 26px 22px;
  border-top: 2px solid var(--gold);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.value-card__number {
  color: var(--gold-ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.value-card h3 {
  margin-top: 10px;
  font-size: 1rem;
  font-weight: 700;
}

.value-card p {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   11. Process timeline
   -------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.process-step {
  position: relative;
  padding-top: 22px;
  border-top: 2px solid var(--line-dark);
}

.process-step::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
}

.process-step__number {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process-step h3 {
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.process-step p {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.55;
}

.process-step__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.process-step__tags span {
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Detailed numbered process list used on the export-process page */
.process-list {
  display: grid;
  gap: 0;
  margin-top: 12px;
}

.process-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  padding-block: 34px;
  border-top: 1px solid var(--line);
}

.process-item:last-child {
  border-bottom: 1px solid var(--line);
}

.process-item__index {
  color: var(--green);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 780;
  letter-spacing: -0.05em;
  line-height: 1;
}

.process-item__body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 4vw, 60px);
  align-items: start;
}

.process-item h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 750;
  letter-spacing: -0.02em;
}

.process-item p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.65;
}

.doc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  list-style: none;
}

.doc-tags li {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.03em;
}

/* --------------------------------------------------------------------------
   12. CTA panel and compliance strip
   -------------------------------------------------------------------------- */
.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--green);
  color: var(--white);
}

.cta-panel__bg {
  position: absolute;
  inset: 0;
}

.cta-panel__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.46;
}

.cta-panel__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 45, 34, 0.96) 0%,
    rgba(15, 45, 34, 0.82) 52%,
    rgba(15, 45, 34, 0.58) 100%
  );
}

.cta-panel__content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  padding: clamp(34px, 6vw, 64px);
}

.cta-panel h2 {
  max-width: 660px;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.cta-panel p {
  max-width: 620px;
  margin-top: 14px;
  color: rgba(255, 253, 248, 0.76);
  font-size: 0.98rem;
  line-height: 1.65;
}

.compliance-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border: 1px solid rgba(192, 138, 62, 0.35);
  border-radius: var(--radius);
  background: rgba(192, 138, 62, 0.09);
}

.compliance-strip__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: var(--gold-light);
}

.compliance-strip__icon svg {
  width: 19px;
  height: 19px;
}

.compliance-strip p {
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.55;
}

.compliance-strip strong {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   13. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 90px) clamp(48px, 6vw, 72px);
  background: var(--green);
  color: var(--white);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 82% 26%,
      rgba(192, 138, 62, 0.24),
      transparent 32%
    ),
    repeating-linear-gradient(
      100deg,
      rgba(255, 253, 248, 0.035) 0,
      rgba(255, 253, 248, 0.035) 1px,
      transparent 1px,
      transparent 16px
    );
}

.page-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 36px;
}

.page-hero h1 {
  max-width: 800px;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  font-weight: 780;
  letter-spacing: -0.04em;
  line-height: 1.03;
}

.page-hero .lead {
  margin-top: 18px;
}

.page-hero__aside {
  max-width: 260px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 253, 248, 0.2);
  border-radius: 8px;
  background: rgba(18, 13, 9, 0.18);
  color: rgba(255, 253, 248, 0.76);
  font-size: 0.78rem;
  line-height: 1.55;
}

.page-hero__aside strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-light);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: rgba(255, 253, 248, 0.62);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  list-style: none;
}

.breadcrumbs a {
  color: rgba(255, 253, 248, 0.78);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--gold-light);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 253, 248, 0.36);
}

/* --------------------------------------------------------------------------
   14. Product detail pages
   -------------------------------------------------------------------------- */
.product-hero {
  padding-block: clamp(48px, 6vw, 76px);
  background: var(--green);
  color: var(--white);
}

.product-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
}

.product-hero__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.product-hero__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.product-hero__media-tag {
  position: absolute;
  top: 14px;
  left: 14px;
}

.product-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 780;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.product-hero__botanical {
  margin-top: 6px;
  color: var(--gold-light);
  font-size: 0.9rem;
  font-style: italic;
}

.product-hero__desc {
  margin-top: 18px;
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.98rem;
  line-height: 1.65;
}

.product-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  align-items: start;
  gap: clamp(34px, 6vw, 72px);
}

.prose-block h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.prose-block h3 {
  margin-top: 30px;
  font-size: 1.05rem;
  font-weight: 700;
}

.prose-block p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.prose-block ul {
  margin-top: 14px;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.prose-block li + li {
  margin-top: 5px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 0.88rem;
}

.spec-table th,
.spec-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 38%;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.spec-table td {
  color: var(--ink);
  font-weight: 550;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.aside-card {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.aside-card h3 {
  font-size: 1.02rem;
  font-weight: 750;
}

.aside-card p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.55;
}

.aside-card .btn {
  width: 100%;
  margin-top: 16px;
}

.aside-card__rows {
  display: grid;
  gap: 0;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.aside-card__rows div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-block: 9px;
  border-bottom: 1px solid var(--line);
  font-size: 0.79rem;
}

.aside-card__rows span {
  color: var(--muted);
}

.aside-card__rows strong {
  font-weight: 650;
  text-align: right;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.related-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  text-decoration: none;
}

.related-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.related-card__body {
  padding: 16px 18px;
}

.related-card__body span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.related-card__body h3 {
  margin-top: 4px;
  font-size: 1rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   15. Contact page and forms
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  align-items: start;
  gap: clamp(36px, 6vw, 70px);
}

.form-card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.form-card__head {
  margin-bottom: 24px;
}

.form-card__head h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 750;
  letter-spacing: -0.025em;
}

.form-card__head p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field label .optional {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: #fffefb;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9c9184;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(23, 62, 47, 0.1);
  outline: 0;
}

.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid {
  border-color: #a23b2a;
}

.consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-top: 18px;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--green);
}

.consent label {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.consent a {
  color: var(--green);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.form-note {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.form-status {
  display: none;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.55;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  border: 1px solid rgba(23, 62, 47, 0.28);
  background: rgba(23, 62, 47, 0.08);
  color: var(--green-deep);
}

.form-status.is-error {
  border: 1px solid rgba(162, 59, 42, 0.3);
  background: rgba(162, 59, 42, 0.08);
  color: #712a1e;
}

.form-status a {
  font-weight: 700;
}

/* Honeypot is hidden from humans but visible to simple bots */
.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-aside {
  display: grid;
  gap: 14px;
}

.contact-card {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.contact-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--green);
}

.contact-card__head svg {
  width: 18px;
  height: 18px;
}

.contact-card__head h3 {
  font-size: 0.88rem;
  font-weight: 750;
}

.contact-card p,
.contact-card a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-card a {
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--green);
}

.contact-card--dark {
  background: var(--green);
  color: var(--white);
}

.contact-card--dark .contact-card__head,
.contact-card--dark .contact-card__head h3 {
  color: var(--gold-light);
}

.contact-card--dark p,
.contact-card--dark a {
  color: rgba(255, 253, 248, 0.82);
}

.contact-card--dark a:hover {
  color: var(--gold-light);
}

.contact-card__hours {
  display: grid;
  gap: 5px;
  margin-top: 8px;
}

.contact-card__hours div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
}

.contact-card__hours span {
  color: var(--muted);
}

.contact-card--dark .contact-card__hours span {
  color: rgba(255, 253, 248, 0.58);
}

.map-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream-deep);
}

.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(23, 62, 47, 0.09) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(23, 62, 47, 0.09) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}

.map-card__inner {
  position: relative;
  display: grid;
  align-content: space-between;
  height: 100%;
  min-height: 162px;
}

.map-card .badge {
  justify-self: start;
}

.map-card__pin {
  position: absolute;
  top: 64px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: var(--gold-light);
  transform: translateX(-50%);
  box-shadow: 0 8px 18px rgba(23, 62, 47, 0.22);
}

.map-card__pin svg {
  width: 18px;
  height: 18px;
}

.map-card__label {
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.5;
}

.map-card__link {
  justify-self: start;
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--brown-deep);
  color: rgba(255, 253, 248, 0.74);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.7fr) minmax(0, 0.7fr) minmax(
      0,
      0.9fr
    );
  gap: clamp(30px, 5vw, 62px);
  padding-block: clamp(52px, 6vw, 76px);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}

.footer-brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 7px;
}

.footer-brand__name {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.footer-brand__tag {
  display: block;
  margin-top: 2px;
  color: rgba(255, 253, 248, 0.58);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-intro {
  max-width: 340px;
  margin-top: 18px;
  color: rgba(255, 253, 248, 0.62);
  font-size: 0.85rem;
  line-height: 1.65;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 50%;
  color: rgba(255, 253, 248, 0.72);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.footer-social a:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-col h3 {
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  list-style: none;
}

.footer-col a {
  color: rgba(255, 253, 248, 0.66);
  font-size: 0.82rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-contact {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.footer-contact__item {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 9px;
  color: rgba(255, 253, 248, 0.66);
  font-size: 0.82rem;
  line-height: 1.55;
}

.footer-contact__item svg {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  color: var(--gold-light);
}

.footer-contact__item a {
  color: inherit;
  text-decoration: none;
}

.footer-contact__item a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 253, 248, 0.12);
  padding-block: 20px;
  font-size: 0.72rem;
}

.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 30px;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
}

.footer-bottom a {
  color: rgba(255, 253, 248, 0.6);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

.footer-note {
  margin-top: 10px;
  color: rgba(255, 253, 248, 0.42);
  font-size: 0.66rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   18. Legal, credits, thank-you and 404 pages
   -------------------------------------------------------------------------- */
.prose {
  max-width: 800px;
}

.prose h2 {
  margin-top: 42px;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose ul,
.prose ol {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.75;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose li + li {
  margin-top: 6px;
}

.prose a {
  color: var(--green);
}

.prose .updated {
  display: inline-block;
  margin-bottom: 24px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.credits-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  list-style: none;
  counter-reset: credit;
}

.credits-list li {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

.credits-list strong {
  color: var(--ink);
}

.credits-list a {
  color: var(--green);
}

.status-page {
  min-height: 62vh;
  display: grid;
  align-items: center;
  padding-block: clamp(64px, 9vw, 120px);
}

.status-page__inner {
  max-width: 760px;
}

.status-page__code {
  color: var(--gold-ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-page h1 {
  margin-top: 14px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 780;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.status-page p {
  max-width: 580px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.status-page .btn-row {
  margin-top: 28px;
}

.status-card {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.status-card h2 {
  font-size: 1rem;
  font-weight: 700;
}

.status-card p {
  margin-top: 8px;
  font-size: 0.88rem;
}

/* --------------------------------------------------------------------------
   19. Responsive styles
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
    gap: 40px;
  }

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

  .product-card__specs div:last-child {
    display: none;
  }

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

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

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

  .footer-col--products {
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 72px;
  }

  .topbar__group--right {
    display: none;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .header-quote {
    display: none;
  }

  .primary-nav {
    position: fixed;
    top: calc(var(--header-height) + 34px);
    right: 16px;
    left: 16px;
    z-index: 101;
    display: none;
    max-height: calc(100dvh - var(--header-height) - 54px);
    overflow-y: auto;
    padding: 18px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: var(--cream);
    box-shadow: var(--shadow-lg);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    display: grid;
    gap: 2px;
  }

  .primary-nav a {
    min-height: 48px;
    padding: 10px 12px;
    font-size: 0.94rem;
  }

  .primary-nav a[aria-current="page"]::after {
    margin-left: auto;
  }

  .primary-nav a[aria-current="page"] {
    justify-content: space-between;
    background: rgba(23, 62, 47, 0.06);
  }

  .nav-drawer-cta {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }

  .nav-drawer-cta .btn {
    width: 100%;
  }

  .header-tools {
    gap: 8px;
  }

  .lang-switch {
    display: none;
  }

  .hero-grid,
  .split,
  .split--reverse,
  .product-hero__grid,
  .product-layout,
  .contact-layout,
  .page-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .split--reverse .split__media {
    order: 0;
  }

  .hero-visual {
    max-width: 620px;
  }

  .hero-frame img {
    aspect-ratio: 16 / 10;
  }

  .hero-stamp {
    width: 92px;
    height: 92px;
    font-size: 0.54rem;
  }

  .hero-stamp strong {
    font-size: 0.74rem;
  }

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

  .stat {
    padding: 24px 20px;
  }

  .stat:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 253, 248, 0.14);
  }

  .section-head--split {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

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

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 18px;
  }

  .process-item,
  .process-item__body {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .process-item {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .process-item__index {
    font-size: 1.9rem;
  }

  .cta-panel__content {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .aside-card {
    position: static;
  }

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

  .footer-col--products {
    display: block;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .brand__mark {
    width: 40px;
    height: 40px;
  }

  .brand__name {
    font-size: 0.8rem;
  }

  .brand__tag {
    font-size: 0.58rem;
  }

  .topbar {
    display: none;
  }

  .primary-nav {
    top: calc(var(--header-height) + 10px);
  }

  .hero {
    padding-top: 36px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 11vw, 3.1rem);
  }

  .hero-checks {
    display: grid;
    gap: 8px;
  }

  .hero-stamp {
    top: -14px;
    left: -10px;
    width: 88px;
    height: 88px;
  }

  .product-grid,
  .feature-grid,
  .value-grid,
  .related-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-card__specs {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-card__specs div:last-child {
    display: block;
  }

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

  .compliance-strip {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .compliance-strip .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

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

  .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

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

  .footer-col--products {
    display: none;
  }

  .footer-bottom__inner {
    display: grid;
    gap: 14px;
  }

}

@media (max-width: 380px) {
  .header-tools .lang-switch {
    display: none;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

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

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

/* Header elevation once the page has scrolled */
.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(36, 26, 18, 0.08);
}

/* Hidden inline SVG sprite */
.svg-sprite {
  display: none;
}

/* Language control inside the mobile drawer */
.nav-drawer-cta .lang-switch {
  justify-self: start;
}

/* Required-field marker */
.field .req {
  color: #a23b2a;
  font-weight: 800;
}

/* Product hero label sits over photography, so use a solid dark chip */
.product-hero__media-tag {
  background: rgba(18, 13, 9, 0.72);
  border-color: rgba(255, 253, 248, 0.24);
  color: var(--white);
  backdrop-filter: blur(5px);
}

/* Product hero chips need stronger contrast on the dark green panel */
.product-hero .badge {
  background: rgba(255, 253, 248, 0.08);
  border-color: rgba(255, 253, 248, 0.22);
  color: rgba(255, 253, 248, 0.9);
}

.product-hero .badge--gold {
  background: rgba(192, 138, 62, 0.18);
  border-color: rgba(192, 138, 62, 0.5);
  color: var(--gold-light);
}

.product-hero .product-hero__media-tag {
  background: rgba(18, 13, 9, 0.72);
  border-color: rgba(255, 253, 248, 0.24);
  color: var(--white);
}

/* Contrast fixes identified by accessibility review */
.footer-note {
  color: rgba(255, 253, 248, 0.64);
}

.contact-card--dark .btn--gold {
  color: var(--brown-deep);
}

.contact-card--dark .btn--gold:hover {
  color: var(--brown-deep);
}

.product-hero .eyebrow {
  color: #f3d99b;
}

.product-hero .eyebrow::before {
  background: #f3d99b;
}

.product-hero .badge--gold {
  color: var(--white);
}

@media (max-width: 640px) {
  .compliance-strip .text-link {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 380px) {
  .brand__tag {
    display: none;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
  }

  .header-inner {
    gap: 12px;
  }
}

/* Mobile drawer CTA must keep its light label inside the nav link rules */
.primary-nav .nav-drawer-cta .btn--primary {
  color: var(--white);
}

.primary-nav .nav-drawer-cta .btn--primary:hover {
  background: var(--green-deep);
  color: var(--white);
}
