/* AR Herbals: shared styles. Colours, fonts and spacing are variables at the top. */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-italic-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --forest-900: #0d2a1f;
  --forest-800: #133a2b;
  --forest-700: #1a4d39;
  --forest-600: #24654b;
  --sage: #dfe7d9;
  --sage-soft: #edf2e8;
  --ivory: #f8f4ea;
  --paper: #fffdf8;
  --sand: #efe6d3;
  --line: #e3dac6;
  --turmeric: #c38a26;
  --turmeric-dark: #9a6a14;
  --turmeric-soft: #f5e7c6;
  --ink: #18241e;
  --text: #4d5b53;
  --muted: #76827b;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(13, 42, 31, .04), 0 12px 32px -12px rgba(13, 42, 31, .16);
  --gutter: 24px;
  --section: clamp(72px, 9vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--forest-800); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -.015em; font-variation-settings: "opsz" 96; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--forest-600); }
:focus-visible { outline: 2px solid var(--turmeric); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--turmeric-soft); color: var(--ink); }

.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--forest-800); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section-tight { padding: calc(var(--section) * .6) 0; }
.bg-paper { background: var(--paper); }
.bg-sage { background: var(--sage-soft); }

/* Type helpers */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--turmeric-dark); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.light { color: var(--turmeric-soft); }
.h-display { font-size: clamp(42px, 6.2vw, 80px); line-height: 1.02; letter-spacing: -.025em; }
.h-section { font-size: clamp(34px, 4.2vw, 54px); }
.h-card { font-size: 24px; line-height: 1.2; }
.lede { font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.7; color: var(--text); max-width: 60ch; }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px 64px; align-items: end; margin-bottom: 56px; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--forest-800); color: #fff; font: 700 15px/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--forest-600); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn .icon { font-size: 18px; transition: transform .2s; }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-gold { background: var(--turmeric); color: var(--forest-900); }
.btn-gold:hover { background: #d59c34; color: var(--forest-900); }
.btn-ghost { background: transparent; color: var(--forest-800); border-color: rgba(19, 58, 43, .28); }
.btn-ghost:hover { background: var(--forest-800); color: #fff; border-color: var(--forest-800); }
.btn-ghost.light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost.light:hover { background: #fff; color: var(--forest-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--forest-700); text-decoration: none; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Retail shop banner (arherbals.in) */
.promo-bar { display: block; background: var(--turmeric-soft); color: var(--forest-900); text-decoration: none; font-size: 14.5px; font-weight: 600; transition: background .2s; }
.promo-bar:hover { background: #f0ddb2; color: var(--forest-900); }
.promo-inner { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 46px; padding-top: 8px; padding-bottom: 8px; text-align: center; line-height: 1.35; }
.promo-tag { flex: none; padding: 4px 10px; border-radius: 999px; background: var(--forest-900); color: var(--turmeric-soft); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.promo-text strong { font-weight: 800; }
.promo-cta { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 999px; background: var(--forest-900); color: #fff; font-size: 13.5px; }
.promo-cta .icon { font-size: 15px; transition: transform .2s; }
.promo-bar:hover .promo-cta .icon { transform: translateX(3px); }
@media (max-width: 640px) {
  .promo-inner { gap: 10px; font-size: 13.5px; justify-content: space-between; text-align: left; }
  .promo-tag { display: none; }
  .promo-cta { padding: 5px 12px; font-size: 12.5px; }
}

.shop-banner {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  margin-top: 40px; padding: 32px 36px; border-radius: var(--radius-lg); background: var(--forest-800); color: rgba(255, 255, 255, .78); text-decoration: none;
  transition: transform .3s, box-shadow .3s;
}
.shop-banner:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: rgba(255, 255, 255, .78); }
.shop-banner::before { content: ""; position: absolute; right: -60px; top: -90px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(195, 138, 38, .35), transparent 70%); }
.shop-banner > * { position: relative; }
.shop-banner .sprig-bg { position: absolute; left: 38%; bottom: -70px; width: 140px; opacity: .1; filter: invert(1); }
.shop-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--turmeric); color: var(--forest-900); font-size: 30px; }
.shop-text { display: flex; flex-direction: column; gap: 4px; font-size: 15.5px; }
.shop-text .eyebrow { margin-bottom: 2px; }
.shop-text strong { font: 400 clamp(24px, 2.4vw, 30px)/1.15 var(--serif); color: #fff; }
.shop-banner:hover .btn-gold { background: #d59c34; }
@media (max-width: 760px) {
  .shop-banner { grid-template-columns: 1fr; gap: 18px; padding: 28px 24px; }
  .shop-icon { width: 54px; height: 54px; font-size: 26px; }
}

/* Top bar and header */
.topbar { background: var(--forest-900); color: rgba(255, 255, 255, .78); font-size: 13.5px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 24px; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-items { display: flex; gap: 28px; }
.topbar-items span, .topbar-items a { display: inline-flex; align-items: center; gap: 8px; }
.topbar .icon { color: var(--turmeric); font-size: 15px; }
.site-footer a.ext { display: inline-flex; align-items: center; gap: 8px; }
.site-footer a.ext .icon { font-size: 15px; color: var(--turmeric); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 244, 234, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -20px rgba(13, 42, 31, .35); }
.nav { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.nav-brand img { width: 62px; height: auto; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.nav-brand-text strong { font: 500 24px/1 var(--serif); color: var(--forest-900); letter-spacing: -.01em; }
.nav-brand-text small { white-space: nowrap; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--turmeric-dark); margin-top: 6px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { display: block; padding: 10px 14px; border-radius: 999px; color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; transition: background .2s, color .2s; }
.nav-links a:hover { background: rgba(19, 58, 43, .07); color: var(--forest-800); }
.nav-links a[aria-current="page"] { color: var(--forest-700); background: var(--sage); }
.nav-cta { min-height: 46px; padding: 0 22px; }
.nav-toggle { display: none; }
.nav-menu { display: flex; align-items: center; gap: 20px; }

@media (max-width: 1100px) {
  .nav-links a { padding: 10px 10px; font-size: 14.5px; }
}
@media (max-width: 980px) {
  .topbar-items .hide-md { display: none; }
  .nav { min-height: 72px; }
  .nav-brand img { width: 52px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); cursor: pointer;
  }
  .nav-toggle span { display: block; height: 1.6px; background: var(--forest-900); border-radius: 2px; transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }
  .nav-menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px var(--gutter) 28px; background: var(--ivory); border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(13, 42, 31, .4);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-menu.open { visibility: visible; opacity: 1; transform: none; }
  .nav-links { flex-direction: column; gap: 2px; }
  .nav-links a { padding: 14px 16px; font-size: 17px; border-radius: 12px; }
}
@media (max-width: 640px) {
  .topbar { display: none; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(195, 138, 38, .13), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgba(36, 101, 75, .10), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero h1 em { color: var(--forest-600); }
.hero .lede { margin-bottom: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--forest-600); font-size: 18px; stroke-width: 2.2; }

.hero-art { position: relative; height: clamp(440px, 46vw, 600px); }
.arch { position: absolute; overflow: hidden; border-radius: 999px 999px 24px 24px; box-shadow: var(--shadow); background: var(--sand); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .arch-1 { left: 4%; top: 0; width: 50%; height: 86%; }
.hero-art .arch-2 { right: 0; bottom: 0; width: 44%; height: 70%; border: 8px solid var(--ivory); }
.hero-art .sprig { position: absolute; right: 6%; top: -2%; width: 120px; opacity: .55; }
.seal {
  position: absolute; left: 44%; top: 6%; width: 132px; height: 132px; border-radius: 50%;
  background: var(--paper); box-shadow: var(--shadow); display: grid; place-items: center;
}
.seal svg.ring { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); animation: spin 28s linear infinite; }
.seal text { font: 700 10.4px var(--sans); letter-spacing: .22em; fill: var(--forest-700); text-transform: uppercase; }
.seal img { width: 50px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .seal svg.ring { animation: none; } }
.float-card {
  position: absolute; left: 0; bottom: 8%; display: flex; align-items: center; gap: 14px;
  padding: 16px 20px 16px 16px; background: var(--paper); border-radius: 18px; box-shadow: var(--shadow);
  max-width: 270px;
}
.float-card .badge-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--turmeric-soft); color: var(--turmeric-dark); display: grid; place-items: center; font-size: 24px; flex: none; }
.float-card strong { display: block; font: 500 26px/1 var(--serif); color: var(--ink); }
.float-card span { font-size: 13px; line-height: 1.35; color: var(--muted); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { height: 480px; max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 560px) {
  .hero-art { height: 400px; }
  .seal { width: 108px; height: 108px; left: 40%; }
  .seal img { width: 40px; }
  .seal text { font-size: 8.6px; }
  .float-card { max-width: 230px; padding: 12px 16px 12px 12px; }
  .float-card strong { font-size: 22px; }
}

/* Certification strip */
.cert-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.cert-strip .container { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; min-height: 112px; padding-top: 20px; padding-bottom: 20px; }
.cert-strip-label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.cert-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cert-list li { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.cert-list img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); background: #fff; flex: none; }
.cert-list img.mark { object-fit: contain; padding: 9px; }
@media (max-width: 1100px) {
  .cert-strip .container { grid-template-columns: 1fr; gap: 16px; }
  .cert-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) { .cert-list { grid-template-columns: 1fr 1fr; } }

/* Cards: services */
.card-grid { display: grid; gap: 24px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .cols-3, .cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cols-3, .cols-4, .cols-2 { grid-template-columns: 1fr; } }

.service-card {
  position: relative; display: flex; flex-direction: column; padding: 36px 32px 32px; border-radius: var(--radius-lg);
  background: var(--paper); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card .num { position: absolute; right: 28px; top: 26px; font: italic 300 44px/1 var(--serif); color: var(--sand); }
.service-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--forest-800); color: var(--turmeric-soft); font-size: 28px; margin-bottom: 28px; }
.service-card h3 { margin-bottom: 12px; }
.service-card > p { margin-bottom: 22px; }
.service-card .link-arrow { margin-top: auto; padding-top: 22px; }
.ticks li { display: flex; gap: 10px; padding: 7px 0; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.ticks li + li { border-top: 1px dashed var(--line); }
.ticks .icon { color: var(--forest-600); font-size: 18px; margin-top: 2px; stroke-width: 2.2; }
.service-card.featured { background: var(--forest-800); border-color: var(--forest-800); color: rgba(255, 255, 255, .78); }
.service-card.featured h3, .service-card.featured .ticks li { color: #fff; }
.service-card.featured .ticks li + li { border-color: rgba(255, 255, 255, .16); }
.service-card.featured .ticks .icon { color: var(--turmeric); }
.service-card.featured .service-icon { background: var(--turmeric); color: var(--forest-900); }
.service-card.featured .num { color: rgba(255, 255, 255, .12); }
.service-card.featured .link-arrow { color: var(--turmeric-soft); }

/* Product range tiles */
.range-tile {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--text);
  overflow: hidden; transition: transform .3s, box-shadow .3s;
}
.range-tile::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%;
  background: var(--sage-soft); transition: transform .4s; z-index: 0;
}
.range-tile > * { position: relative; z-index: 1; }
.range-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.range-tile:hover::after { transform: scale(1.35); }
.range-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: var(--forest-700); font-size: 26px; margin-bottom: 14px; }
.range-tile h3 { font-size: 23px; }
.range-tile .sub { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--turmeric-dark); }
.range-tile p { font-size: 15px; margin-top: 6px; }
.range-tile .more { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--forest-700); }

/* Dark band */
.band-dark { background: var(--forest-900); color: rgba(255, 255, 255, .74); overflow: hidden; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark h2 em { color: var(--turmeric); }
.band-dark .lede { color: rgba(255, 255, 255, .74); }
.band-dark .sprig-bg { position: absolute; right: -40px; top: 40px; width: 300px; opacity: .08; filter: invert(1); pointer-events: none; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, .12); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--forest-900); padding: 32px 28px; }
.stat-num { font: 300 clamp(44px, 5vw, 64px)/1 var(--serif); color: #fff; letter-spacing: -.02em; }
.stat-num .sfx { color: var(--turmeric); }
.stat-label { margin-top: 10px; font-size: 14.5px; line-height: 1.45; }
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 72px; padding-top: 48px; border-top: 1px solid rgba(255, 255, 255, .12); }
.feature-row .icon { font-size: 28px; color: var(--turmeric); margin-bottom: 16px; }
.feature-row h3 { font-size: 21px; margin-bottom: 8px; }
.feature-row p { font-size: 15px; }
@media (max-width: 980px) {
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .feature-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .feature-row { grid-template-columns: 1fr; } .stat { padding: 24px 20px; } }

/* Process */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 1px; background: repeating-linear-gradient(90deg, var(--turmeric) 0 6px, transparent 6px 12px); }
.process li { position: relative; counter-increment: step; }
.process .step-num {
  position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ivory); border: 1px solid var(--turmeric); color: var(--turmeric-dark); font: italic 400 22px/1 var(--serif); margin-bottom: 22px;
}
.bg-paper .process .step-num { background: var(--paper); }
.process .step-num::before { content: "0" counter(step); }
.process h3 { font-size: 21px; margin-bottom: 8px; }
.process p { font-size: 15px; }
@media (max-width: 980px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process::before { left: 28px; right: auto; top: 28px; bottom: 28px; width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--turmeric) 0 6px, transparent 6px 12px); }
  .process li { display: grid; grid-template-columns: 56px 1fr; gap: 0 22px; padding-bottom: 30px; }
  .process .step-num { grid-row: span 2; margin: 0; }
}

/* Audience chips */
.audience { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.audience li { padding: 26px 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.audience .icon { font-size: 30px; color: var(--forest-600); margin-bottom: 18px; }
.audience h3 { font-size: 19px; margin-bottom: 6px; }
.audience p { font-size: 14.5px; line-height: 1.55; }
@media (max-width: 1100px) { .audience { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .audience { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .audience { grid-template-columns: 1fr; } }

/* Founder */
.founder { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.founder-photo { position: relative; width: 100%; max-width: 380px; }
.founder-photo .arch { position: relative; aspect-ratio: 9 / 10; width: 100%; }
/* The photo is shown almost whole so the face fills about half the frame; it sits right of centre in the original. */
.founder-photo .arch img { object-position: right top; }
.founder-photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--turmeric); border-radius: 999px 999px 24px 24px; }
.founder blockquote { margin: 0 0 28px; font: italic 300 clamp(24px, 2.6vw, 34px)/1.35 var(--serif); color: var(--ink); }
.founder blockquote .icon { display: block; font-size: 40px; color: var(--turmeric); margin-bottom: 18px; }
.founder cite { font-style: normal; display: block; }
.founder cite strong { display: block; font: 500 22px/1.2 var(--serif); color: var(--ink); }
.founder cite span { font-size: 14.5px; color: var(--muted); }
@media (max-width: 860px) {
  .founder { grid-template-columns: 1fr; gap: 56px; }
  .founder-photo { max-width: 300px; margin: 0 auto; }
}

/* Clients marquee and grid */
.logo-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; gap: 20px; width: max-content; animation: marquee 50s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-track.reverse { animation-direction: reverse; margin-top: 20px; }
.logo-card { width: 200px; height: 120px; flex: none; display: grid; place-items: center; padding: 10px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.logo-card img { max-height: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .78; transition: filter .3s, opacity .3s; }
.logo-card:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .logo-track [aria-hidden="true"] { display: none; } }
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.client-grid .logo-card { width: auto; height: 150px; }
.client-grid .logo-card img { filter: none; opacity: 1; }
@media (max-width: 860px) { .client-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .client-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .client-grid .logo-card { height: 110px; } }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); background: var(--forest-800); color: rgba(255, 255, 255, .78); display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(195, 138, 38, .35), transparent 70%); }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band h2 em { color: var(--turmeric); }
.cta-band .btn-row { justify-content: flex-end; position: relative; }
.cta-band .sprig-bg { position: absolute; left: 46%; bottom: -60px; width: 160px; opacity: .1; filter: invert(1); }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* Page hero for inner pages */
.page-hero { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 90% 10%, rgba(195, 138, 38, .12), transparent 70%); pointer-events: none; }
.page-hero .sprig { position: absolute; right: max(24px, calc(50% - 600px)); bottom: -30px; width: 150px; opacity: .35; }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 68px); margin-bottom: 20px; max-width: 20ch; text-wrap: balance; }
.page-hero .lede { position: relative; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 26px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--forest-700); }
.breadcrumb span[aria-hidden] { opacity: .5; }
@media (max-width: 640px) { .page-hero .sprig { width: 90px; opacity: .2; } }

/* Split layout with image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-art { position: relative; height: 520px; }
.split-art .arch-1 { left: 0; top: 0; width: 56%; height: 88%; }
.split-art .arch-2 { right: 0; bottom: 0; width: 48%; height: 66%; border: 8px solid var(--ivory); }
.bg-paper .split-art .arch-2 { border-color: var(--paper); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 48px; } .split-art { height: 420px; max-width: 520px; } }

.prose h2 { margin-bottom: 20px; }
.prose p { max-width: 62ch; }

/* Values / checklist cards */
.value-card { padding: 30px 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.value-card .icon { font-size: 30px; color: var(--turmeric-dark); margin-bottom: 18px; }
.value-card h3 { font-size: 22px; margin-bottom: 8px; }
.value-card p { font-size: 15.5px; }

/* Service detail rows */
.service-detail { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; padding: 64px 0; border-top: 1px solid var(--line); }
.service-detail:first-child { border-top: 0; padding-top: 0; }
.service-detail .service-icon { margin-bottom: 22px; }
.service-detail h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 16px; }
.service-detail .best-for { margin-top: 22px; padding: 18px 20px; border-radius: 14px; background: var(--turmeric-soft); color: var(--ink); font-size: 15px; }
.service-detail .best-for strong { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--turmeric-dark); margin-bottom: 4px; }
.service-detail .ticks { columns: 2; column-gap: 32px; }
.service-detail .ticks li { break-inside: avoid; border-top: 0; border-bottom: 1px dashed var(--line); }
@media (max-width: 900px) { .service-detail { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; } }
@media (max-width: 560px) { .service-detail .ticks { columns: 1; } }

/* Products page */
.product-tools { position: sticky; top: 84px; z-index: 20; background: rgba(248, 244, 234, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.product-tools .container { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.cat-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; padding: 4px 0; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs a { white-space: nowrap; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.cat-tabs a:hover, .cat-tabs a.active { background: var(--forest-800); color: #fff; border-color: var(--forest-800); }
.search { position: relative; flex: 0 0 280px; }
.search input { width: 100%; height: 46px; padding: 0 16px 0 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font: 500 15px var(--sans); color: var(--ink); }
.search input:focus { outline: none; border-color: var(--forest-600); box-shadow: 0 0 0 3px rgba(36, 101, 75, .15); }
.search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--muted); }
@media (max-width: 980px) { .product-tools { top: 72px; } }
@media (max-width: 760px) {
  .product-tools .container { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  .search { flex: none; }
}
.product-cat { padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 170px; }
.product-cat:last-of-type { border-bottom: 0; }
.product-cat-head { display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: end; margin-bottom: 32px; }
.product-cat-head h2 { font-size: clamp(30px, 3.4vw, 42px); display: flex; align-items: center; gap: 16px; }
.product-cat-head h2 .range-icon { margin: 0; flex: none; }
.product-cat-head p { grid-column: 1; max-width: 70ch; font-size: 16px; }
.product-cat-head .count { grid-row: 1; grid-column: 2; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--turmeric-dark); }
.product-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.product-list li { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.product-list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--turmeric); flex: none; }
.product-list li[hidden] { display: none; }
.no-results { display: none; padding: 48px 0; text-align: center; font-size: 17px; }
.no-results.show { display: block; }
@media (max-width: 1100px) { .product-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .product-list { grid-template-columns: 1fr 1fr; } .product-cat-head { grid-template-columns: 1fr; } .product-cat-head .count { grid-row: auto; grid-column: 1; } }
@media (max-width: 460px) { .product-list { grid-template-columns: 1fr; } }
.note { display: flex; gap: 14px; padding: 20px 22px; border-radius: 14px; background: var(--sage-soft); border: 1px solid var(--sage); font-size: 15px; color: var(--ink); }
.note .icon { font-size: 22px; color: var(--forest-600); margin-top: 2px; }

/* Certificates */
.cert-card { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; padding: 26px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.cert-card img { width: 150px; height: 150px; object-fit: contain; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.cert-card .sub { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--turmeric-dark); margin-bottom: 8px; }
.cert-card h2 { font-size: 25px; margin-bottom: 10px; }
.cert-card p { font-size: 15.5px; }
@media (max-width: 560px) { .cert-card { grid-template-columns: 1fr; } .cert-card img { width: 120px; height: 120px; } }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq-aside { position: sticky; top: 120px; }
.faq-aside .contact-card { margin-top: 32px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: 15px; font-family: var(--sans); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--turmeric-dark); margin-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; font: 400 21px/1.35 var(--serif); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--forest-600); }
.faq summary .pm { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); flex: none; transition: background .2s, border-color .2s, transform .3s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: var(--forest-800); transform: translate(-50%, -50%); transition: transform .3s; }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .pm { background: var(--forest-800); border-color: var(--forest-800); }
.faq details[open] .pm::before, .faq details[open] .pm::after { background: #fff; }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .answer { padding: 0 56px 26px 0; font-size: 16.5px; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; gap: 40px; } .faq-aside { position: static; } .faq .answer { padding-right: 0; } }
@media (max-width: 560px) { .faq summary { font-size: 19px; padding: 20px 0; } }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: start; }
.form-card { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 8px; }
.form-card > p { margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--ivory); font: 500 16px/1.4 var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318241e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest-600); background: #fff; box-shadow: 0 0 0 3px rgba(36, 101, 75, .14); }
.field ::placeholder { color: #9aa49e; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form-foot small { color: var(--muted); font-size: 13.5px; }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 16px; font-weight: 600; font-size: 15px; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--forest-600); }
.form-status.error { color: #a5321f; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.contact-stack { display: grid; gap: 16px; }
.contact-card { padding: 26px; border-radius: var(--radius); background: var(--forest-800); color: rgba(255, 255, 255, .78); }
.contact-card h3 { color: #fff; font-size: 22px; margin-bottom: 18px; }
.contact-lines li { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 15px; line-height: 1.5; }
.contact-lines li:first-child { border-top: 0; padding-top: 0; }
.contact-lines .icon { font-size: 20px; color: var(--turmeric); margin-top: 2px; }
.contact-lines strong { display: block; color: #fff; font-weight: 600; }
.contact-lines a { color: #fff; text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }
.info-card { padding: 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.info-card h3 { font-size: 20px; margin-bottom: 10px; }
.info-card p { font-size: 15px; }
.map { display: block; width: 100%; height: 420px; border: 0; border-radius: var(--radius-lg); filter: saturate(.85); }
@media (max-width: 980px) { .contact-layout { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--forest-900); color: rgba(255, 255, 255, .66); font-size: 15px; position: relative; overflow: hidden; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.4fr .8fr .9fr 1.2fr; gap: 48px; padding: 88px 0 64px; }
.footer-brand img { width: 84px; margin-bottom: 20px; }
.footer-brand p { max-width: 36ch; }
.footer-certs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.footer-certs span { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--turmeric-soft); }
.footer-title { font: 700 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--turmeric); margin: 6px 0 22px; }
.footer-links li + li { margin-top: 12px; }
.footer-contact li { display: flex; gap: 12px; line-height: 1.5; }
.footer-contact li + li { margin-top: 16px; }
.footer-contact .icon { font-size: 19px; color: var(--turmeric); margin-top: 2px; }
.footer-bar { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; padding-bottom: 24px; font-size: 13.5px; }
.footer-bar a { display: inline-flex; align-items: center; gap: 8px; }
.footer-word { font: italic 300 clamp(64px, 14vw, 200px)/.8 var(--serif); color: rgba(255, 255, 255, .04); letter-spacing: -.03em; white-space: nowrap; text-align: center; margin-bottom: -.12em; user-select: none; }
@media (max-width: 980px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; gap: 36px; padding: 64px 0 48px; } }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: var(--turmeric); color: var(--forest-900); font-size: 20px; cursor: pointer;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s;
}
.to-top .icon { stroke-width: 2.2; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* Reveal on scroll. Only hides content when JavaScript has run. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section-head { grid-template-columns: 1fr; margin-bottom: 40px; }
  .service-card { padding: 30px 24px 26px; }
  .btn-row .btn { flex: 1 1 auto; }
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-top: 12px; padding-bottom: 12px; }
  .service-detail > * { min-width: 0; }
}
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } }
