/* ==========================================================================
   Pure Health Designs: tokens and components
   Colors and type: Mood board. Layout language: rounded inset panels,
   pill navigation and buttons, sans headings with italic serif accents.
   ========================================================================== */

:root {
  /* Color system (Mood board 02) */
  --porcelain: #F6F7F3;   /* ground */
  --paper: #FDFDFB;       /* cards */
  --celadon: #E3EDE6;     /* secondary surface, light panels */
  --glacier: #DCE9F5;     /* clinical / data surface */
  --pine: #0F2A22;        /* text, dark panels */
  --pine-2: #17382E;      /* raised surface on pine, bottle body */
  --pine-3: #1F4A3D;      /* glow on pine */
  --jade: #0B7A66;        /* signature: buttons, links */
  --spring: #8FE0B4;      /* highlight on pine only */
  --brass: #AE8C34;       /* warm accent */
  --wisteria: #8F7FB8;    /* reserved */

  --muted: #4A5E56;
  --line: #DCE5DF;
  --on-pine: #F6F7F3;
  --on-pine-body: #D8E6DF;
  --on-pine-muted: #B9CFC5;
  --on-pine-line: rgba(246, 247, 243, 0.16);
  --glass: rgba(246, 247, 243, 0.08);

  /* Type */
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;

  /* Layout */
  --max: 1320px;
  --gutter: clamp(12px, 2.4vw, 32px);
  --pad: clamp(20px, 4vw, 56px);          /* inside panels */
  --space-section: clamp(56px, 8vw, 104px);
  --radius-card: 20px;
  --radius-panel: clamp(24px, 3vw, 36px);
  --pill: 999px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--porcelain); color: var(--pine);
  font-family: var(--sans); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--jade); }
a:hover { color: var(--pine); }
h1, h2, h3, p, ul, blockquote, figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
input::placeholder, textarea::placeholder { color: #7A8C85; }
:focus-visible { outline: 2px solid var(--jade); outline-offset: 3px; }
.on-pine :focus-visible { outline-color: var(--spring); }
.on-pine a:not(.btn):not(.circle-btn) { color: var(--spring); }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--pine); color: var(--on-pine); padding: 10px 16px; border-radius: var(--pill);
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.inset { padding-inline: var(--pad); }
.section { padding-top: var(--space-section); }
.section--last { padding-bottom: 0; }
.stack { display: flex; flex-direction: column; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 40px clamp(32px, 5vw, 80px); }
.split > * { min-width: 0; }
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 20px 40px; margin-bottom: 40px;
}
.section-head__text { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .section-head__text { align-items: center; max-width: 820px; }
.center { text-align: center; display: flex; justify-content: center; }

.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--gap-lg { gap: 20px; }
@media (max-width: 1100px) { .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px)  { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Type ---------- */
/* Headings are set in the sans; <em> switches to the italic serif for the accent words. */
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--jade);
}
.eyebrow--sm { font-size: 11px; }
.eyebrow--xs { font-size: 10px; }
.eyebrow--muted { color: var(--muted); }
.eyebrow--ink { color: var(--pine); }
.on-pine .eyebrow { color: var(--spring); }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 7px 14px; border-radius: var(--pill); background: var(--celadon);
  font-size: 13px; font-weight: 500; color: var(--pine);
}
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--jade); }
.section-head--center .kicker { align-self: center; }
.on-pine .kicker { background: var(--glass); color: var(--on-pine); border: 1px solid var(--on-pine-line); }
.on-pine .kicker::before { background: var(--spring); }

.display, .h-section, .h-panel, .h-sub, .h-item, .pdp__title {
  font-family: var(--sans); font-weight: 500; color: var(--pine); letter-spacing: -0.03em;
}
.display em, .h-section em, .h-panel em, .h-sub em, .h-item em, .pdp__title em, .wordmark em, .footer-wordmark em {
  font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em;
}
.display em, .h-section em, .h-panel em, .h-sub em { font-size: 1.08em; line-height: 0; }
.on-pine .display em, .on-pine .h-section em, .on-pine .h-panel em { color: var(--spring); }
.display em, .h-section em { color: var(--jade); }

.display { font-size: clamp(42px, 5.6vw, 80px); line-height: 1.02; }
.display--hero { font-size: clamp(44px, 6vw, 84px); }
.display--page { font-size: clamp(40px, 5vw, 68px); line-height: 1.04; }
.display--article { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.08; max-width: 920px; }
.h-section { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; }
.h-panel { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.12; }
.h-sub { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; }
.h-item { font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; }
.h-card { font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.on-pine .display, .on-pine .h-section, .on-pine .h-panel, .on-pine .h-sub, .on-pine .h-card, .on-pine .h-item { color: var(--on-pine); }
.serif { font-family: var(--serif); font-weight: 400; }
em, .italic { font-style: italic; }

.lede { font-size: 18px; line-height: 1.6; color: var(--muted); }
.lede--lg { font-size: 19px; }
.lede--md { font-size: 17px; }
.body-sm { font-size: 15px; line-height: 1.6; color: var(--muted); }
.body-xs { font-size: 14px; line-height: 1.6; color: var(--muted); }
.on-pine .lede, .on-pine .body-sm, .on-pine .body-xs { color: var(--on-pine-muted); }
.measure { max-width: 680px; }
.measure-sm { max-width: 520px; }

/* ---------- Buttons (pills) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: var(--pill);
  font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent; background: transparent; color: var(--pine);
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--jade); color: var(--porcelain); }
.btn--primary:hover { background: var(--pine); color: var(--porcelain); }
.btn--dark { background: var(--pine); color: var(--porcelain); }
.btn--dark:hover { background: var(--jade); color: var(--porcelain); }
.btn--outline { border-color: rgba(15, 42, 34, .28); color: var(--pine); background: var(--paper); }
.btn--outline:hover { border-color: var(--pine); background: var(--pine); color: var(--porcelain); }
.btn--spring { background: var(--spring); color: var(--pine); }
.btn--spring:hover { background: var(--porcelain); color: var(--pine); }
.btn--outline-spring { border-color: var(--on-pine-line); background: var(--glass); color: var(--on-pine); }
.btn--outline-spring:hover { background: var(--spring); border-color: var(--spring); color: var(--pine); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn svg { flex: none; }
/* Pill with a trailing arrow chip (the hero CTA) */
.btn--arrow { padding-right: 6px; }
.btn--arrow .btn__chip {
  width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--pine); color: var(--spring); margin-left: 6px;
}
.btn--primary.btn--arrow .btn__chip, .btn--dark.btn--arrow .btn__chip { background: var(--porcelain); color: var(--pine); }

/* Round arrow button used on cards */
.circle-btn {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--pine); color: var(--spring); text-decoration: none; transition: background-color .15s, transform .15s;
}
.circle-btn svg { transform: rotate(-45deg); }
.circle-btn:hover { background: var(--jade); color: var(--porcelain); }
.circle-btn--light { background: var(--spring); color: var(--pine); }
.circle-btn--light:hover { background: var(--porcelain); color: var(--pine); }
a:hover > .circle-btn, a:hover .circle-btn { background: var(--jade); color: var(--porcelain); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--pine); text-decoration: none; font-size: 15px; font-weight: 500;
  border-bottom: 1px solid var(--pine); white-space: nowrap;
}
.link-arrow:hover { color: var(--jade); border-color: var(--jade); }

/* ---------- Surfaces ---------- */
.panel { border-radius: var(--radius-panel); padding: var(--pad); }
.panel--celadon { background: var(--celadon); }
.panel--glacier { background: var(--glacier); }
.panel--paper { background: var(--paper); border: 1px solid var(--line); }
.panel--pine, .pine-surface {
  background-color: var(--pine); color: var(--on-pine);
  background-image: radial-gradient(120% 90% at 85% 0%, var(--pine-3) 0%, rgba(31, 74, 61, 0) 60%);
}
.panel--row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.panel--row > :first-child { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }

/* Full-width dark section rendered as an inset rounded panel */
.band {
  margin: var(--space-section) auto 0; max-width: calc(var(--max) - 2 * var(--gutter));
  width: calc(100% - 2 * var(--gutter)); border-radius: var(--radius-panel); overflow: hidden;
  background-color: var(--pine); color: var(--on-pine);
  background-image: radial-gradient(90% 70% at 50% 0%, var(--pine-3) 0%, rgba(31, 74, 61, 0) 70%);
}
.band > .wrap { padding-inline: var(--pad); }
.band__inner { padding-block: clamp(48px, 7vw, 96px); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card);
  min-width: 0;
}
.tile {
  background: var(--paper); border-radius: var(--radius-card); padding: 28px;
  display: flex; flex-direction: column; gap: 10px; min-width: 0;
}
.glass {
  background: var(--glass); border: 1px solid var(--on-pine-line); border-radius: var(--radius-card);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}

/* Blueprint figure: dotted grid with mono figure labels (Mood board 04) */
.figure {
  position: relative; overflow: hidden; border-radius: var(--radius-panel);
  background-color: var(--celadon);
  background-image: radial-gradient(rgba(11, 122, 102, 0.16) 1px, transparent 1.3px);
  background-size: 22px 22px;
  display: flex; align-items: center; justify-content: center;
}
.figure--pine { background-color: var(--pine-2); background-image: radial-gradient(rgba(143, 224, 180, 0.14) 1px, transparent 1.3px); }
.figure--glacier { background-color: var(--glacier); }
.figure__label {
  position: absolute; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--jade);
}
.figure--pine .figure__label { color: var(--spring); }
.figure__label--tl { top: 24px; left: 28px; }
.figure__label--tr { top: 24px; right: 28px; }
.figure__label--bl { bottom: 20px; left: 28px; font-size: 10px; letter-spacing: 0.12em; color: var(--muted); }
.figure__note {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted);
  text-align: center; padding: 0 24px; text-transform: uppercase;
}
.figure--pine .figure__note { color: var(--on-pine-muted); }
/* Caption strip pinned to the bottom of a figure (name + arrow) */
.figure__caption {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 12px 12px 20px; border-radius: var(--pill); background: var(--paper);
  text-decoration: none; color: var(--pine);
}
.figure__caption strong { display: block; font-size: 16px; font-weight: 600; }
.figure__caption span { font-size: 13px; color: var(--muted); }

.placeholder {
  display: flex; align-items: center; justify-content: center; border-radius: 14px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase;
}
.bg-celadon { background-color: var(--celadon); }
.bg-glacier { background-color: var(--glacier); }

/* ---------- Tags ---------- */
.tag {
  display: inline-flex; align-items: center; padding: 7px 14px; border-radius: var(--pill);
  background: var(--celadon); color: var(--pine);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  padding: 6px 12px; border-radius: var(--pill); background: var(--pine); color: var(--spring);
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase;
}

/* ---------- Bottle illustration (placeholder for product photography) ---------- */
/* Unitless size presets (--w, --cw …) are multiplied by the scale --s and converted to px.
   Layered gradients give the parts a rounded, lit look: light from the left, a soft rim on the right. */
.bottle {
  --s: 1; --glass: #1C4537; --glass-dark: #0F2A22; --cap: #0F2A22; --label: #FBFBF7;
  --u: calc(var(--s) * 1px);
  position: relative; display: flex; flex-direction: column; align-items: center; flex: none;
  width: calc(var(--w) * var(--u));
  filter: drop-shadow(0 calc(18 * var(--u)) calc(22 * var(--u)) rgba(15, 42, 34, .22));
}
/* Contact shadow on the surface the bottle stands on */
.bottle::after {
  content: ""; position: absolute; z-index: -1; left: 6%; right: 6%; bottom: calc(-7 * var(--u)); height: calc(14 * var(--u));
  border-radius: 50%; background: radial-gradient(closest-side, rgba(15, 42, 34, .35), rgba(15, 42, 34, 0));
}
.bottle__cap {
  position: relative; z-index: 2;
  width: calc(var(--cw) * var(--u)); height: calc(var(--ch) * var(--u));
  border-radius: calc(5 * var(--u)) calc(5 * var(--u)) calc(2 * var(--u)) calc(2 * var(--u));
  background:
    linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(255,255,255,0) 18%, rgba(255,255,255,.22) 30%, rgba(255,255,255,0) 46%, rgba(0,0,0,0) 72%, rgba(255,255,255,.08) 86%, rgba(0,0,0,.5) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 calc(1.5 * var(--u)), rgba(0,0,0,.14) calc(1.5 * var(--u)) calc(3 * var(--u))),
    var(--cap);
  box-shadow: inset 0 calc(2 * var(--u)) 0 rgba(255,255,255,.16), inset 0 calc(-3 * var(--u)) 0 rgba(0,0,0,.25);
}
.bottle__neck {
  position: relative; z-index: 1;
  width: calc(var(--nw) * var(--u)); height: calc(var(--nh) * var(--u)); margin-top: -1px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.4), rgba(255,255,255,.14) 28%, rgba(255,255,255,0) 50%, rgba(0,0,0,.35)),
    var(--glass-dark);
}
.bottle__body {
  position: relative; overflow: hidden; width: 100%;
  display: flex; align-items: center; justify-content: center;
  height: calc(var(--bh) * var(--u));
  /* Rounded shoulders on top, a tighter radius at the base */
  border-radius: 24% 24% calc(var(--r) * var(--u)) calc(var(--r) * var(--u)) / calc(var(--sh) * var(--u)) calc(var(--sh) * var(--u)) calc(var(--r) * var(--u)) calc(var(--r) * var(--u));
  background:
    linear-gradient(90deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 13%, rgba(255,255,255,.2) 22%, rgba(255,255,255,.04) 32%, rgba(255,255,255,0) 60%, rgba(255,255,255,.1) 84%, rgba(0,0,0,.45) 100%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 88%, rgba(0,0,0,.3)),
    var(--glass);
}
.bottle__label {
  position: relative; width: 100%; height: calc(var(--lh) * var(--u));
  background: var(--label);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: calc(7 * var(--u)); padding: 0 calc(14 * var(--u)); text-align: center;
  box-shadow: inset 0 calc(2 * var(--u)) 0 var(--jade), inset 0 calc(-2 * var(--u)) 0 var(--jade);
}
/* Wrap shading so the label reads as curved, with a glossy streak where the light hits */
.bottle__label::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(15,42,34,.34) 0%, rgba(15,42,34,.06) 12%, rgba(255,255,255,.55) 23%, rgba(255,255,255,0) 34%, rgba(15,42,34,0) 66%, rgba(15,42,34,.08) 86%, rgba(15,42,34,.36) 100%);
}
.bottle__brand { font-family: var(--serif); font-size: calc(12 * var(--u)); color: var(--pine); white-space: nowrap; }
.bottle__rule { width: calc(28 * var(--u)); height: max(1px, calc(1 * var(--u))); background: var(--jade); }
.bottle__name { font-size: calc(10.5 * var(--u)); font-weight: 600; letter-spacing: 0.04em; line-height: 1.25; text-transform: uppercase; color: var(--pine); }
.bottle__count { font-family: var(--mono); font-size: calc(9 * var(--u)); color: var(--muted); text-transform: uppercase; }
.bottle--tall { --w: 124; --cw: 56; --ch: 32; --nw: 60; --nh: 10; --bh: 250; --sh: 34; --r: 12; --lh: 124; }
.bottle--jar  { --w: 156; --cw: 132; --ch: 34; --nw: 0;  --nh: 0;  --bh: 190; --sh: 16; --r: 16; --lh: 112; }
.bottle--slim { --w: 104; --cw: 46; --ch: 30; --nw: 50; --nh: 9;  --bh: 214; --sh: 28; --r: 10; --lh: 110; }
.bottle--jar .bottle__body { border-radius: calc(12 * var(--u)) calc(12 * var(--u)) calc(var(--r) * var(--u)) calc(var(--r) * var(--u)); }
.bottle--jar .bottle__cap { border-radius: calc(7 * var(--u)) calc(7 * var(--u)) calc(3 * var(--u)) calc(3 * var(--u)); margin-bottom: -1px; }
/* Professional brands: plain white stock bottle with an unprinted label, so it never passes for their packaging */
.bottle--plain { --glass: #EEF0EA; --glass-dark: #D9DDD4; --cap: #2A3D36; --label: #FFFFFF; }
.bottle--plain .bottle__body { background:
    linear-gradient(90deg, rgba(15,42,34,.22) 0%, rgba(15,42,34,0) 14%, rgba(255,255,255,.9) 24%, rgba(255,255,255,0) 38%, rgba(15,42,34,0) 66%, rgba(15,42,34,.05) 84%, rgba(15,42,34,.24) 100%),
    var(--glass); }
.bottle--plain .bottle__label { box-shadow: inset 0 calc(1 * var(--u)) 0 rgba(15,42,34,.12), inset 0 calc(-1 * var(--u)) 0 rgba(15,42,34,.12); }
.bottle--plain .bottle__label::before {
  content: ""; width: 54%; height: 38%;
  background:
    linear-gradient(rgba(15,42,34,.22), rgba(15,42,34,.22)) 50% 0 / 60% calc(5 * var(--u)) no-repeat,
    linear-gradient(rgba(15,42,34,.12), rgba(15,42,34,.12)) 50% 45% / 100% calc(3 * var(--u)) no-repeat,
    linear-gradient(rgba(15,42,34,.12), rgba(15,42,34,.12)) 50% 70% / 80% calc(3 * var(--u)) no-repeat,
    linear-gradient(rgba(15,42,34,.12), rgba(15,42,34,.12)) 50% 100% / 40% calc(3 * var(--u)) no-repeat;
}
/* On a dark surface the bottle needs a lighter body and cap so it does not disappear */
.on-pine .bottle { --glass: #2A5A48; --glass-dark: #1E4436; --cap: var(--jade); filter: drop-shadow(0 calc(18 * var(--u)) calc(24 * var(--u)) rgba(0, 0, 0, .35)); }
.on-pine .bottle::after { background: radial-gradient(closest-side, rgba(0,0,0,.45), rgba(0,0,0,0)); }

/* ---------- Header ---------- */
.announce {
  background: var(--pine); color: var(--on-pine); text-align: center; padding: 9px 20px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
}
.site-header { position: relative; z-index: 20; }
.site-header__bar { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 500; font-size: 21px; letter-spacing: -0.02em; line-height: 1;
  color: var(--pine); text-decoration: none; white-space: nowrap;
}
.wordmark em { font-size: 1.12em; color: var(--jade); }
.wordmark:hover { color: var(--pine); }
.nav {
  display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: var(--pill);
  background: var(--paper); border: 1px solid var(--line);
}
.nav a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px; border-radius: var(--pill);
  color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap;
}
.nav a:hover { color: var(--pine); background: var(--celadon); }
.nav a[aria-current="page"] { color: var(--pine); background: var(--celadon); }
.nav a[aria-current="page"]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--jade); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-cta { min-height: 44px; padding: 0 20px; font-size: 14px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer;
}
@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% - 6px);
    flex-direction: column; align-items: stretch; gap: 2px; border-radius: var(--radius-card); padding: 8px;
    box-shadow: 0 18px 40px rgba(15, 42, 34, .12);
  }
  .nav a { min-height: 48px; font-size: 16px; border-radius: 14px; }
  .site-header.is-open .nav { display: flex; }
}
@media (max-width: 440px) { .header-cta { display: none; } .wordmark { font-size: 19px; } }

/* ---------- Footer ---------- */
.site-footer { padding-top: var(--space-section); padding-bottom: var(--gutter); }
.site-footer__panel {
  border-radius: var(--radius-panel); padding: clamp(14px, 2vw, 24px) clamp(14px, 2vw, 24px) clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); overflow: hidden;
}
.stay {
  border-radius: calc(var(--radius-panel) - 8px); background: var(--paper); color: var(--pine);
  padding: clamp(32px, 5vw, 64px) var(--pad); display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  background-image: radial-gradient(rgba(11, 122, 102, 0.12) 1px, transparent 1.3px); background-size: 22px 22px;
}
.stay .h-section { color: var(--pine); }
.stay .lede { color: var(--muted); max-width: 520px; }
.stay form { width: 100%; max-width: 520px; margin-top: 10px; text-align: left; }
.stay .field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.stay .inline-form { padding: 6px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--paper); }
.stay .inline-form .input { border: 0; min-height: 46px; background: transparent; box-shadow: none; }
.stay .inline-form .btn { min-height: 46px; }
.footer-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-inline: var(--pad); list-style: none; margin: 0; }
.footer-pills a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: var(--pill);
  background: var(--glass); border: 1px solid var(--on-pine-line); color: var(--on-pine);
  text-decoration: none; font-size: 14px;
}
.on-pine .footer-pills a { color: var(--on-pine); }
.footer-pills a:hover { background: var(--spring); border-color: var(--spring); color: var(--pine); }
.footer-wordmark {
  font-family: var(--sans); font-weight: 500; color: var(--celadon); text-align: center; white-space: nowrap;
  font-size: clamp(38px, 10.4vw, 142px); line-height: .9; letter-spacing: -0.05em; padding-inline: 8px;
}
.footer-wordmark em { color: var(--spring); }
.site-footer__legal { padding-inline: var(--pad); display: flex; flex-direction: column; gap: 18px; }
.site-footer__legal p { font-size: 12px; line-height: 1.6; color: var(--on-pine-muted); max-width: 980px; }
.site-footer__bottom {
  border-top: 1px solid var(--on-pine-line); padding-top: 18px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
}
.site-footer__bottom .copyright { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--on-pine-muted); }
.site-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.on-pine .site-footer__bottom a { color: var(--on-pine-body); text-decoration: none; font-size: 13px; }
.on-pine .site-footer__bottom a:hover { color: var(--spring); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--jade); }
.on-pine .breadcrumb, .on-pine .breadcrumb a { color: var(--on-pine-muted); }
.on-pine .breadcrumb a:hover { color: var(--spring); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; border-radius: var(--radius-panel);
  padding: clamp(40px, 6vw, 88px) var(--pad); display: flex; flex-direction: column; gap: 22px;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .9;
  background-image: radial-gradient(rgba(143, 224, 180, 0.10) 1px, transparent 1.3px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000); mask-image: linear-gradient(90deg, transparent 35%, #000);
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero--celadon { background: var(--celadon); }
.page-hero--celadon::after { background-image: radial-gradient(rgba(11, 122, 102, 0.14) 1px, transparent 1.3px); }
.page-hero .split { align-items: flex-start; }
.page-hero .card { color: var(--pine); }
.page-head { padding-top: 8px; }

/* ---------- Home: hero ---------- */
.hero {
  position: relative; overflow: hidden; border-radius: var(--radius-panel);
  display: flex; flex-direction: column;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(143, 224, 180, 0.10) 1px, transparent 1.3px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 75%); mask-image: linear-gradient(90deg, transparent 30%, #000 75%);
}
.hero > * { position: relative; z-index: 1; }
.hero__main {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 260px; gap: 24px;
  padding: clamp(40px, 6vw, 80px) var(--pad) clamp(32px, 4vw, 48px); align-items: end; min-height: 620px;
}
.hero__text { align-self: center; display: flex; flex-direction: column; gap: 26px; max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__sig { display: flex; align-items: center; gap: 14px; }
.hero__sig::before { content: ""; width: 28px; height: 1px; background: var(--spring); flex: none; }
.hero__sig p { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-pine-muted); }
.hero__stage { display: flex; align-items: flex-end; justify-content: center; gap: 18px; padding-bottom: 8px; }
.hero__stage .bottle { --s: .9 !important; }
.hero__cards { display: flex; flex-direction: column; gap: 12px; align-self: center; }
.hero-card { padding: 16px; display: flex; flex-direction: column; gap: 10px; color: var(--on-pine); text-decoration: none; }
a.hero-card:hover { background: rgba(246, 247, 243, 0.14); color: var(--on-pine); }
.hero-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hero-card__title { font-size: 15px; font-weight: 600; line-height: 1.3; }
.hero-card p { font-size: 13px; line-height: 1.5; color: var(--on-pine-muted); }
.hero-card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hero-card .circle-btn { width: 32px; height: 32px; }
.hero-card__stat { font-size: 40px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--spring); }
.proof { background: rgba(0, 0, 0, 0.16); border-top: 1px solid var(--on-pine-line); }
.proof__list {
  padding: 22px var(--pad); display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between;
  list-style: none; margin: 0;
}
.proof__list li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--on-pine); }
.proof__list svg { color: var(--spring); }
@media (max-width: 1180px) {
  .hero__main { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); min-height: 0; }
  .hero__cards { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .hero__cards > * { flex: 1 1 220px; }
}
@media (max-width: 820px) {
  .hero__main { grid-template-columns: minmax(0, 1fr); }
  .hero__stage { order: 3; }
  .hero__cards { order: 2; }
}
@media (max-width: 640px) {
  .hero__stage { gap: 10px; }
  .hero__stage .bottle { --s: .58 !important; }
  .hero__stage .bottle__label { gap: 4px; }
  .hero__stage .bottle__brand, .hero__stage .bottle__rule, .hero__stage .bottle__count { display: none; }
  .hero__stage .bottle__name { font-size: 9px; }
  .proof__list { flex-direction: column; }
}

/* Goal tiles (inside a celadon panel) */
.goal-tile {
  min-height: 210px; background: var(--paper); border-radius: var(--radius-card); padding: 26px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  text-decoration: none; color: var(--pine); transition: transform .15s, box-shadow .15s;
}
.goal-tile:hover { color: var(--pine); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15, 42, 34, .08); }
.goal-tile__name { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.goal-tile__blurb { font-size: 15px; line-height: 1.5; color: var(--muted); margin-top: 8px; }
.goal-tile__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.goal-tile__cta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--jade); }

/* Product card */
.product-card { padding: 10px 10px 18px; display: flex; flex-direction: column; gap: 14px; }
.product-card__media {
  position: relative; height: 290px; border-radius: 14px; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 22px; text-decoration: none;
}
.product-card--lg .product-card__media { height: 330px; padding-bottom: 30px; }
.product-card__body { display: flex; flex-direction: column; gap: 8px; padding: 0 8px; flex: 1; }
.product-card__meta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.product-card__name { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; color: var(--pine); text-decoration: none; }
.product-card--lg .product-card__name { font-size: 19px; }
.product-card__name:hover { color: var(--jade); }
.product-card__why { font-size: 13px; line-height: 1.5; color: var(--muted); }
.product-card--lg .product-card__why { font-size: 14px; line-height: 1.55; }
.product-card__foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price { font-size: 15px; font-weight: 600; }

/* Brands */
.logo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.logo-grid > div { min-height: 104px; background: var(--paper); border: 1px solid var(--line); }
@media (max-width: 520px) { .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Feature cards (difference band) */
.feature {
  background: var(--glass); border: 1px solid var(--on-pine-line); border-radius: var(--radius-card);
  padding: 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0;
}
.feature p { font-size: 14px; line-height: 1.6; color: var(--on-pine-muted); }
.icon-dot {
  width: 48px; height: 48px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center;
  background: var(--celadon); color: var(--jade);
}
.on-pine .icon-dot { background: rgba(143, 224, 180, 0.14); color: var(--spring); }
.pull { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.3; max-width: 760px; }

/* Service cards (How we choose): light cards with one highlighted pine card */
.service { padding: 30px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.service--pine {
  border-color: transparent; background-color: var(--pine);
  background-image: radial-gradient(120% 90% at 85% 0%, var(--pine-3) 0%, rgba(31, 74, 61, 0) 60%);
}
.service--pine .body-sm { color: var(--on-pine-muted); }

/* Ruled list */
.ruled { display: flex; flex-wrap: wrap; gap: 0 48px; }
.ruled__item { flex: 1 1 300px; min-width: 0; border-top: 1px solid var(--pine); padding: 24px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--jade); }
.on-pine .num { color: var(--spring); }

/* Article cards */
.article-card {
  display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: var(--pine); min-width: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 10px 10px 22px;
}
.article-card__img { height: 220px; border-radius: 14px; }
.article-card__title { font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; }
.article-card .stack { padding-inline: 10px; }
a.article-card:hover .article-card__title { color: var(--jade); }
.article-card--soon { opacity: .75; }

/* Quote */
.quote { padding-left: 22px; border-left: 2px solid var(--jade); display: flex; flex-direction: column; gap: 12px; }
.quote p { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.3; }
.quote cite { font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.on-pine .quote { border-color: var(--spring); }
.on-pine .quote p { color: var(--on-pine); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field .label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 0 20px; border: 1px solid var(--line); border-radius: var(--pill);
  background: var(--paper); color: var(--pine); font-size: 15px;
}
.select { padding-right: 36px; }
.textarea { padding: 14px 20px; min-height: 140px; resize: vertical; line-height: 1.5; border-radius: 20px; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--jade); outline: none; box-shadow: 0 0 0 3px rgba(11, 122, 102, .15); }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; }
.inline-form .input { flex: 1 1 200px; min-width: 0; width: auto; }
.on-pine .field label { color: var(--on-pine-muted); }
.on-pine .input { background-color: var(--pine-2); border-color: var(--on-pine-line); color: var(--on-pine); }
.form-note { font-size: 13px; line-height: 1.5; color: var(--muted); }
.on-pine .form-note { color: var(--on-pine-muted); }
.hp { display: none; }

/* ---------- Shop ---------- */
.filters {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  padding: 10px; border-radius: var(--radius-card); background: var(--paper); border: 1px solid var(--line);
}
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: var(--pill);
  border: 0; background: transparent; color: var(--muted);
  font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap;
}
.chip:hover { background: var(--celadon); color: var(--pine); }
.chip[aria-pressed="true"] { background: var(--pine); color: var(--porcelain); }
.chip[aria-pressed="true"]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--spring); }
.filter-selects { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-right: 4px; }
.filter-selects label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-left: 8px; }
.filter-selects .select { width: auto; min-height: 42px; padding: 0 32px 0 16px; font-size: 14px; background-color: var(--porcelain); }
.empty-state { padding: 48px 0; text-align: center; color: var(--muted); }

/* ---------- Product page ---------- */
.pdp { display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 64px); align-items: flex-start; }
.pdp__gallery { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 20px; }
.pdp__gallery .figure { min-height: 580px; align-items: flex-end; padding-bottom: 56px; }
.pdp__gallery .badge { top: 24px; left: 24px; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.thumb { height: 96px; border-radius: 16px; border: 2px solid transparent; cursor: pointer; }
.thumb[aria-current="true"] { border-color: var(--jade); }
.pdp__info { flex: 1 1 420px; min-width: 0; max-width: 580px; display: flex; flex-direction: column; gap: 22px; padding-top: 12px; }
.pdp__title { font-size: clamp(36px, 4vw, 54px); line-height: 1.05; }
.buy-box { padding: 24px; display: flex; flex-direction: column; gap: 16px; background: var(--celadon); border-color: transparent; }
.buy-box .input { background: var(--paper); }
.buy-box__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.buy-box__price .price { font-size: 30px; }
.option {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; cursor: pointer; background: var(--paper);
}
.option:has(input:checked) { border: 2px solid var(--jade); padding: 13px 17px; }
.option input { width: 18px; height: 18px; accent-color: var(--jade); }
.qty { display: flex; align-items: center; border: 1px solid var(--line); background: var(--paper); border-radius: var(--pill); min-height: 50px; }
.qty button { width: 44px; height: 48px; background: transparent; border: 0; font-size: 18px; cursor: pointer; }
.qty output { width: 36px; text-align: center; font-weight: 500; }
.spec-list { border-top: 1px solid var(--line); }
.spec-list > div { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.spec-list dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--jade); }
.spec-list dd { margin: 0; font-size: 15px; line-height: 1.6; }
.note-card { flex: 1 1 440px; min-width: 0; border-radius: var(--radius-panel); padding: clamp(32px, 4vw, 48px); display: flex; flex-direction: column; gap: 20px; }
.note-card p.body { font-size: 16px; line-height: 1.7; color: var(--on-pine-body); }
.signoff { display: flex; align-items: center; gap: 14px; padding-top: 8px; }
.signoff__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--pine-2); border: 1px solid var(--spring); flex: none; }
.signoff__name { font-size: 15px; font-weight: 500; }
.facts { border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius-card); overflow: hidden; }
.facts__row { padding: 14px 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.facts__row + .facts__row { border-top: 1px solid var(--line); }
.facts__row--head { background: var(--pine); color: var(--on-pine-body); font-size: 13px; }
.facts__row--head + .facts__row { border-top: 0; }
.facts__amount { font-family: var(--mono); font-size: 13px; white-space: nowrap; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 0 24px; }
.faq details[open] { background: var(--celadon); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 52px 22px 0; position: relative;
  font-size: 17px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: ""; position: absolute; right: 0; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: var(--pine);
}
.faq summary::after {
  content: ""; position: absolute; right: 13px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.6px solid var(--spring); border-bottom: 1.6px solid var(--spring); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { margin: 0 0 22px; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 760px; }
@media (max-width: 960px) { .pdp__gallery { position: static; } .pdp__gallery .figure { min-height: 420px; } }
@media (max-width: 640px) { .pdp__gallery .figure { min-height: 360px; padding-bottom: 48px; } .pdp__gallery .bottle { --s: .85 !important; } }

/* ---------- Article ---------- */
.prose { flex: 1 1 560px; min-width: 0; max-width: 720px; display: flex; flex-direction: column; gap: 24px; font-size: 17px; line-height: 1.75; }
.prose h2 { margin-top: 16px; font-weight: 500; font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; }
.aside { flex: 1 1 300px; min-width: 0; max-width: 380px; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 24px; }
.aside ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.6; }
.aside a { font-size: 15px; line-height: 1.4; color: var(--pine); text-decoration: none; font-weight: 500; }
.aside a:hover { color: var(--jade); }
@media (max-width: 960px) { .aside { position: static; max-width: none; } }

/* ---------- Standards ---------- */
.standards-list { display: flex; flex-direction: column; gap: 12px; }
.standard {
  display: flex; flex-wrap: wrap; gap: 20px 56px; padding: clamp(24px, 3vw, 40px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card);
}
.standard__head { flex: 0 0 260px; display: flex; flex-direction: column; gap: 10px; }
.standard__head h2 { font-weight: 500; font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; }
.standard__body { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.standard__body p { font-size: 16px; line-height: 1.7; }
.standard__body p.check { font-size: 14px; line-height: 1.6; color: var(--muted); padding: 12px 16px; background: var(--celadon); border-radius: 14px; }
.standard__body strong { font-weight: 600; color: var(--pine); }
@media (max-width: 760px) { .standard__head { flex-basis: 100%; } }
.step { background: var(--glass); border: 1px solid var(--on-pine-line); border-radius: var(--radius-card); padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.step p { font-size: 14px; line-height: 1.6; color: var(--on-pine-muted); }

/* ---------- Simple content pages ---------- */
.legal { max-width: 760px; display: flex; flex-direction: column; gap: 20px; font-size: 16px; line-height: 1.7; }
.legal h2 { font-weight: 500; font-size: 26px; letter-spacing: -0.02em; margin-top: 16px; }
.draft-note {
  border: 1px dashed var(--brass); border-radius: 16px; padding: 16px 20px; background: #FBF7EC;
  font-size: 14px; line-height: 1.6; color: #5C4A16;
}

/* Light cards placed on a dark panel keep light-surface styling */
.on-pine .card { color: var(--pine); }
.on-pine .card .field label, .on-pine .card .form-note { color: var(--muted); }
.on-pine .card .input, .on-pine .card .select, .on-pine .card .textarea { background-color: var(--paper); border-color: var(--line); color: var(--pine); }
.on-pine .card a:not(.btn) { color: var(--jade); }
.stay .kicker { align-self: center; }
.on-pine a.hero-card { color: var(--on-pine); }
.site-footer__panel > nav:first-child { padding-top: clamp(24px, 4vw, 48px); }

/* Photograph filling a figure */
.figure--photo { background-image: none; }
.figure__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }

/* Custom select chevron: the native arrow ignores padding and hugs the edge */
.select {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  padding-right: 44px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%230F2A22' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 12px 8px;
}

/* Product photography: fills the card and gallery frames at the photos' own 4:5 ratio */
.product-card__media:has(.product-card__img) { height: auto; aspect-ratio: 4 / 5; padding: 0; }
.product-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease, ease); }
.product-card:hover .product-card__img { transform: scale(1.03); }
.product-card__media .badge { z-index: 1; }
.pdp__gallery .figure--product { min-height: 0; aspect-ratio: 4 / 5; padding: 0; }
.pdp__gallery .figure--product .badge { z-index: 1; }

/* Home hero photo: edges feathered so the studio backdrop melts into the pine panel */
.hero__stage:has(.hero__img) { align-items: center; padding-bottom: 0; }
.hero__img {
  width: 100%; max-width: 440px; height: auto; display: block;
  filter: brightness(.9) saturate(.9);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 90%, transparent), linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent, #000 14%, #000 90%, transparent), linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
          mask-composite: intersect;
}
img.article-card__img { width: 100%; object-fit: cover; display: block; }
.form-error:not(:empty) { color: #B3261E; font-weight: 500; }
.on-pine .form-error:not(:empty) { color: #FFB4A9; }
.on-pine .card .form-error:not(:empty) { color: #B3261E; }
