/* ==========================================================================
   Clearer Health - styles.css
   Mobile-first, no framework. Pages are generated by tools/build.py.
   Fonts: Lora 500 (headings) + Open Sans 400/600/700 (text), self-hosted (SIL OFL 1.1, licences in /fonts).
   Breakpoints are in em so they follow the visitor's font-size setting:
     30em 480px | 37.5em 600px | 48em 768px | 60em 960px | 66em 1056px (one-row header) | 77.5em 1240px
   ========================================================================== */

/* ---------- Fonts (+ metric-matched fallbacks so the swap doesn't shift the layout) ---------- */
@font-face { font-family: "Lora"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/lora-500.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/open-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/open-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/open-sans-700.woff2") format("woff2"); }
@font-face { font-family: "Open Sans Fallback"; src: local("Arial"); size-adjust: 104.6%; ascent-override: 102.2%; descent-override: 28%; line-gap-override: 0%; }
@font-face { font-family: "Lora Fallback"; src: local("Georgia"); size-adjust: 105.4%; ascent-override: 95.5%; descent-override: 26%; line-gap-override: 0%; }

/* ---------- Tokens ---------- */
:root {
  /* Brand palette: ivory #F7F3E9, pale aqua #B9DAD5, soft sand #DCCBB4, sea blue #3F7180.
     Text colours derived for WCAG AA (ratios in NOTES.md). */
  --ivory: #F7F3E9;
  --white: #FFFFFF;
  --aqua-soft: #B9DAD5;   /* pale aqua: accents, rings (never text on light) */
  --aqua-pale: #E3F0EE;   /* aqua tint bands */
  --aqua: #65A5B1;        /* logo sun tone: decorative only */
  --sand: #DCCBB4;        /* soft sand: rules, borders */
  --sand-pale: #EFE6D8;   /* sand tint bands */
  --sea: #3F7180;         /* primary buttons (white text 5.4:1) */
  --link: #2F5A66;        /* links, ghost buttons, focus (6.8:1 on ivory) */
  --ink: #1F3940;         /* text + headings (11:1 on ivory), footer */
  --ink-soft: #4E5E62;    /* secondary text (6.1:1 on ivory, 4.6:1+ on tints) */
  --line: #E6DBC9;        /* hairlines on ivory/white */
  --input: #6E7F83;       /* form field borders (4.1:1 on white) */
  --error: #9B2C2C;       /* 7.3:1 on white */
  --footer-text: #F7F3E9;
  --footer-muted: #C9D8D5;

  --font-head: "Lora", "Lora Fallback", Georgia, serif;
  --font-body: "Open Sans", "Open Sans Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1160px;
  --read: 680px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(56px, 8vw, 104px);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow: 0 1px 2px rgba(31, 57, 64, .04), 0 8px 24px rgba(31, 57, 64, .07);
  --shadow-lift: 0 2px 4px rgba(31, 57, 64, .05), 0 16px 36px rgba(31, 57, 64, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 132px; }
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--font-body); font-size: clamp(1rem, .96rem + .2vw, 1.0625rem); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--aqua-soft); color: var(--ink); }
h1, h2, h3, p, li, dd, td, th, a, summary { overflow-wrap: break-word; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 500; color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.125rem, 1.45rem + 2.6vw, 3.5rem); line-height: 1.1; letter-spacing: -.01em; }
h2 { font-size: clamp(1.625rem, 1.3rem + 1.35vw, 2.375rem); line-height: 1.16; }
h3 { font-size: clamp(1.1875rem, 1.1rem + .4vw, 1.4375rem); line-height: 1.25; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
strong { font-weight: 700; }
.h3 { font-size: clamp(1.1875rem, 1.1rem + .4vw, 1.4375rem); line-height: 1.25; }
.h1-sub { display: block; margin-top: .4em; font-size: .46em; line-height: 1.3; letter-spacing: 0; color: var(--ink-soft); text-wrap: balance; }
.mx-auto { margin-inline: auto; }

.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.6; color: var(--ink-soft); }
.small { font-size: .875rem; line-height: 1.55; color: var(--ink-soft); }
.eyebrow { margin: 0 0 .9em; font-size: .8125rem; line-height: 1.4; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.eyebrow::before { content: ""; display: inline-block; width: 24px; height: 2px; margin: 0 10px 0 0; vertical-align: middle; position: relative; top: -2px; background: var(--sand); }
.center .eyebrow::before, .eyebrow--plain::before { display: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -200px; z-index: 100; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; color: var(--white); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--read); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--white { background: var(--white); }
.section--aqua { background: var(--aqua-pale); }
.section--sand { background: var(--sand-pale); }
.section--flush-top { padding-top: 0; }
.center { text-align: center; }
.center .btn-row { justify-content: center; }
.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 16px; } .mt-4 { margin-top: 24px; } .mt-5 { margin-top: 32px; } .mt-6 { margin-top: 48px; }
.section-head { max-width: 40rem; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.section-head .eyebrow::before { display: none; }
.section-head > :last-child { margin-bottom: 0; }

.split { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 60em) { .split { grid-template-columns: 1fr 1fr; } .split--wide-text { grid-template-columns: 1.15fr .85fr; } }
.grid { display: grid; gap: clamp(20px, 2.5vw, 28px); }
@media (min-width: 48em) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.5em; border: 2px solid transparent; border-radius: 999px;
  font: 700 1rem/1.25 var(--font-body); text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--sea); color: var(--white); }
.btn--primary:hover { background: var(--ink); color: var(--white); text-decoration: none; }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--link); }
.btn--ghost:hover { background: rgba(63, 113, 128, .09); color: var(--ink); text-decoration: none; }
.btn--sm { min-height: 44px; padding: .55em 1.15em; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: clamp(20px, 3vw, 28px); }
.btn-row--center { justify-content: center; }
@media (max-width: 29.99em) { .btn-row--stack .btn { flex: 1 1 100%; } }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow::after { content: "\2192"; display: inline-block; margin-left: .35em; transition: transform .2s var(--ease); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ivory); border-bottom: 1px solid var(--line); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: rgba(247, 243, 233, .9); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }
}
/* Phones + tablets: logo and Book on row 1, all links on row 2 (no menu button, nothing hidden behind a tap) */
.header-row { display: grid; grid-template-columns: auto auto; grid-template-areas: "logo book" "nav nav"; align-items: center; justify-content: space-between; column-gap: 16px; padding-top: 10px; }
.logo { grid-area: logo; display: inline-flex; align-items: center; min-height: 44px; border-radius: 6px; }
.logo img { width: clamp(148px, 41vw, 200px); }
.btn--header { grid-area: book; min-height: 42px; padding: .45em 1.1em; font-size: .9375rem; white-space: nowrap; }
.bk-more { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* still read out: "Book a consultation" */
.nav { grid-area: nav; margin-top: 10px; border-top: 1px solid var(--line); }
.nav ul { display: flex; justify-content: space-between; margin: 0; padding: 0; list-style: none; }
.nav a { position: relative; display: flex; align-items: center; min-height: 44px; padding: 0 2px; color: var(--ink); font-size: .875rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: color .2s var(--ease); }
.nav a::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 7px; height: 2px; border-radius: 2px; background: var(--link); transform: scaleX(0); transition: transform .2s var(--ease); }
.nav a:hover { color: var(--link); }
.nav a:hover::after { transform: scaleX(1); opacity: .4; }
.nav a[aria-current="page"] { color: var(--link); }
.nav a[aria-current="page"]::after { transform: scaleX(1); opacity: 1; }
.nav__home { display: none; }   /* small phones: the logo is the home link, so the row keeps its spacing */
@media (max-width: 24.99em) { .nav a { font-size: .8125rem; } }   /* small phones: keep clear gaps between links */
@media (max-width: 22.49em) { .nav ul { margin-inline: -8px; } }
@media (min-width: 30em) { .nav__home { display: block; } .nav a { font-size: .9375rem; } }
@media (min-width: 37.5em) {
  .bk-more { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .btn--header { padding: .5em 1.3em; }
  .nav ul { justify-content: center; gap: clamp(28px, 5vw, 52px); }
}
/* Laptops and up: one calm bar. Switches back to two rows before anything can cramp (also at 150% zoom). */
@media (min-width: 66em) {
  .header-row { grid-template-columns: auto 1fr auto; grid-template-areas: "logo nav book"; column-gap: 32px; min-height: 76px; padding-top: 0; }
  .logo img { width: 188px; }
  .nav { margin: 0; border: 0; }
  .nav ul { gap: clamp(22px, 2.3vw, 40px); }
  .nav a { min-height: 76px; }
  .nav a::after { bottom: 22px; }
}
@media (min-width: 77.5em) { .logo img { width: 204px; } .nav a { font-size: 1rem; } }

/* ---------- Heroes ---------- */
.hero { position: relative; padding-block: clamp(48px, 7vw, 96px); }
.hero--home { text-align: center; overflow: hidden; isolation: isolate; padding-bottom: clamp(56px, 8vw, 104px); }
.hero--home::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -38%; width: min(1100px, 160vw); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(185, 218, 213, .5), rgba(185, 218, 213, .18) 55%, rgba(247, 243, 233, 0) 100%); }
.hero--home h1 { max-width: 22ch; margin-inline: auto; }
.hero--home .lead { max-width: 38rem; margin-inline: auto; }
.hero__mark { width: clamp(64px, 9vw, 92px); height: auto; margin: 0 auto 20px; }
@media (max-width: 37.49em) {   /* phones: intros run to several lines, so they read better left-aligned */
  .hero--home, .page-head, .post-header { text-align: left; }
  .hero--home .hero__mark { margin-left: 0; width: 60px; }
  .hero--home h1, .hero--home .lead, .page-head h1, .page-head .lead, .post-header h1 { margin-left: 0; }
  .hero--home .btn-row, .page-head .btn-row { justify-content: flex-start; }
  .page-head .shop-meta { justify-content: flex-start; }
}
.hero-trust { margin: 24px 0 0; font-size: .875rem; font-weight: 600; line-height: 1.5; color: var(--ink-soft); }
.hero-trust span { white-space: nowrap; }
.hero .split { align-items: center; }
.page-head { padding-block: clamp(44px, 6.5vw, 88px) clamp(36px, 5vw, 64px); text-align: center; }
.page-head h1 { max-width: 20ch; margin-inline: auto; }
.page-head .lead { max-width: 40rem; margin-inline: auto; }
.page-head > .wrap > :last-child { margin-bottom: 0; }
.wave { display: block; line-height: 0; background: var(--ivory); }
.wave svg { width: 100%; height: clamp(22px, 3.5vw, 44px); fill: var(--white); }

/* ---------- Illustrations ---------- */
.illus { width: 100%; height: auto; }
.illus--round { max-width: clamp(220px, 32vw, 360px); margin-inline: auto; border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .72), 0 0 0 11px var(--aqua-soft), 0 24px 48px rgba(31, 57, 64, .12); }
.illus--small { max-width: 132px; border-radius: 50%; box-shadow: 0 0 0 6px var(--white), 0 0 0 7px var(--aqua-soft); }
@media (max-width: 59.99em) { .split .illus--round { max-width: 200px; } }

/* ---------- Rounded bands ---------- */
.band { border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 64px); }
.band--aqua { background: var(--aqua-pale); }
.band--sand { background: var(--sand-pale); }
.band > :last-child, .band .split > div > :last-child { margin-bottom: 0; }

/* ---------- Pillars (icon + title + text) ---------- */
.pillars { display: grid; gap: 32px; }
@media (min-width: 48em) { .pillars { grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3.5vw, 48px); } }
.pillar { text-align: center; }
.pillar h3 { margin: 16px 0 8px; }
.pillar p { margin: 0 auto; max-width: 30ch; color: var(--ink-soft); }
.icon-dot { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto; border-radius: 50%; background: var(--aqua-pale); color: var(--sea); box-shadow: inset 0 0 0 1.5px var(--aqua-soft); }
.section--aqua .icon-dot, .band--aqua .icon-dot { background: var(--white); }
.pillar:nth-child(2) .icon-dot { background: var(--sand-pale); box-shadow: inset 0 0 0 1.5px var(--sand); }
.icon-dot svg { width: 32px; height: 32px; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; min-height: 40px; padding-left: 54px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 2px var(--aqua); color: var(--link); font-weight: 700; font-size: .9375rem; }
.steps strong { display: block; font-weight: 700; }
.steps span { display: block; color: var(--ink-soft); }
.steps--cards { gap: clamp(16px, 2vw, 24px); }
.steps--cards li { padding: 76px 24px 24px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.steps--cards li::before { left: 24px; top: 24px; }
@media (min-width: 37.5em) { .steps--cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60em) { .steps--cards { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Lists, cards, price ---------- */
.ticks { margin: 0; padding: 0; list-style: none; }
.ticks li { position: relative; margin-bottom: 10px; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 14px; height: 14px; border-radius: 50%; background: var(--aqua-soft); box-shadow: inset 0 0 0 4px var(--sea); }
.card { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 3vw, 32px); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.card > * { margin: 0; }
.card .btn { align-self: flex-start; margin-top: auto; }
.card p:not(.eyebrow) { color: var(--ink-soft); }
.price-card { padding: clamp(28px, 4vw, 40px); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); text-align: center; }
.price-card .eyebrow::before { display: none; }
.price-big { margin: 4px 0 6px; font-family: var(--font-head); font-size: clamp(2.75rem, 2.2rem + 2vw, 3.75rem); line-height: 1; color: var(--ink); }
.price-what { margin: 0 0 8px; font-weight: 700; color: var(--ink); }
.price-note { display: inline-flex; align-items: center; gap: 10px; margin: 16px 0 0; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .75); box-shadow: inset 0 0 0 1px var(--line); font-size: .9375rem; font-weight: 700; line-height: 1.4; color: var(--ink); }
.price-note::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--sea); box-shadow: 0 0 0 3px var(--aqua-soft); }
.price-note--center { margin-top: 20px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 20px 14px 24px; font-weight: 700; cursor: pointer; list-style: none; border-radius: var(--radius); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--sand);
  background: linear-gradient(var(--link), var(--link)) center / 12px 2px no-repeat, linear-gradient(var(--link), var(--link)) center / 2px 12px no-repeat;
  transition: transform .25s var(--ease); }
.faq details[open] summary::after { background-size: 12px 2px, 0 0; transform: rotate(180deg); }
.faq summary:hover::after { box-shadow: inset 0 0 0 1.5px var(--link); }
.faq details > div { padding: 0 24px 20px; color: var(--ink-soft); }
.faq details > div > :last-child { margin-bottom: 0; }

/* ---------- Instagram preview (static tiles, no Meta scripts) ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.6vw, 16px); max-width: 640px; margin: clamp(24px, 4vw, 36px) auto; text-decoration: none; }
.ig-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(4px, 1vw, 10px); min-width: 0; aspect-ratio: 1; overflow: hidden; padding: clamp(6px, 2vw, 20px); border-radius: clamp(10px, 1.6vw, 16px); background: var(--aqua-soft); color: var(--ink); text-align: center; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.ig-grid:hover .ig-tile { box-shadow: var(--shadow); }
.ig-grid .ig-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.ig-tile--sand { background: var(--sand); }
.ig-tile--ivory { background: var(--ivory); box-shadow: inset 0 0 0 1px var(--sand); }
.ig-tile--sea { background: var(--sea); color: var(--white); }
.ig-tile--sea .ig-mark { filter: brightness(0) invert(1); opacity: .92; }
.ig-mark { width: clamp(20px, 4vw, 40px); height: auto; flex: none; }
.ig-quote { font-family: var(--font-head); font-weight: 500; font-size: clamp(.75rem, .55rem + 1vw, 1.125rem); line-height: 1.25; text-wrap: balance; }

/* ---------- Tags, chips ---------- */
.tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--aqua-pale); color: var(--link); font-size: .75rem; font-weight: 700; letter-spacing: .08em; line-height: 1.5; text-transform: uppercase; text-decoration: none; }
a.tag:hover { background: var(--aqua-soft); color: var(--ink); }
.cat-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.cat-list li { padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, .7); color: var(--ink); font-size: .875rem; font-weight: 600; }

/* ---------- Forms (main contact form + quick enquiry) ---------- */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .9375rem; font-weight: 700; line-height: 1.4; }
.req { font-weight: 400; font-size: .875em; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--input); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.4;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { min-height: 128px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--link) 50%), linear-gradient(135deg, var(--link) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--link); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--link); outline-offset: 1px; border-color: var(--link); border-radius: var(--radius-sm); }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.hint { margin: 0; font-size: .875rem; line-height: 1.5; color: var(--ink-soft); }
.field-error { margin: 0; font-size: .875rem; font-weight: 600; color: var(--error); }
.field-error::before { content: "! "; font-weight: 700; }
.field-error[hidden] { display: none; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .9375rem; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--sea); cursor: pointer; }
.check .field-error { grid-column: 2; }
.field .check { font-weight: 400; }
.field .check--compact, .qform .field .check--compact { font-size: .8125rem; line-height: 1.5; color: var(--ink-soft); }
.check--compact input { width: 18px; height: 18px; margin-top: 1px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-note { margin: 0; flex: 1 1 14rem; font-size: .8125rem; line-height: 1.5; color: var(--ink-soft); }
.form-status { margin: 0; font-size: .9375rem; line-height: 1.55; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); font-weight: 600; }
.form-status.is-ok { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--aqua-pale); border-left: 4px solid var(--sea); color: var(--ink); }
.form-status.is-ok p { margin: 0 0 6px; } .form-status.is-ok p:last-child { margin: 0; }
.copy-btn { margin-top: 8px; padding: 6px 14px; min-height: 36px; border: 1.5px solid var(--link); border-radius: 999px; background: var(--white); color: var(--link); font: 700 .875rem var(--font-body); cursor: pointer; }
.copy-btn:hover { background: var(--link); color: var(--white); }
.form-fallback { display: none; }   /* shown by noscript.css when JavaScript is off */

/* Quick enquiry band: intro + compact form card (+ steps/links), reused across pages.
   Phones: intro, form, extras. Laptops: intro and extras on the left, form on the right. */
.enquiry { display: grid; grid-template-areas: "intro" "card" "more"; gap: clamp(24px, 4vw, 40px); padding: clamp(24px, 5vw, 64px); border-radius: var(--radius-lg); background: var(--aqua-pale); }
.enquiry--sand { background: var(--sand-pale); }
.enquiry__intro { grid-area: intro; }
.enquiry__intro > :last-child { margin-bottom: 0; }
.enquiry__card { grid-area: card; container-type: inline-size; padding: clamp(20px, 3.2vw, 32px); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.enquiry__more { grid-area: more; }
.enquiry__more:empty { display: none; }
.enquiry__more .steps { margin-bottom: 24px; }
.enquiry__more .steps li::before { background: var(--white); }
.enquiry__link { margin: 0; }
.enquiry__link + .enquiry__link { margin-top: 8px; }
.qform { display: grid; gap: 14px; }
.qform__row { display: grid; gap: 14px; }
.qform .field label { font-size: .875rem; }
.qform .field input { min-height: 46px; }
.qform .field textarea { min-height: 112px; }
.qform .btn { width: 100%; }
@container (min-width: 380px) { .qform__row { grid-template-columns: 1fr 1fr; } .qform .btn { width: auto; } }
@media (min-width: 60em) {
  .enquiry { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: "intro card" "more card"; grid-template-rows: auto 1fr; column-gap: clamp(40px, 5vw, 72px); row-gap: 28px; }
  .enquiry__intro { align-self: end; }
  .enquiry__card { align-self: center; }
}

/* ---------- Contact page ---------- */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 56px); }
@media (min-width: 60em) { .contact-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; } }
.card--form { padding: clamp(22px, 4vw, 40px); }
.card--form > h2 { margin-bottom: 20px; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); }
.post-main { padding-bottom: clamp(48px, 7vw, 88px); }
.contact-aside .illus--small { margin-bottom: 28px; }
.contact-aside h2 { font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); }
.contact-aside .small { margin-top: 24px; }
@media (min-width: 60em) { .contact-aside { position: sticky; top: 120px; padding-top: 8px; } }

/* ---------- Blog + post ---------- */
.post-header { padding-block: clamp(44px, 6.5vw, 88px) clamp(28px, 4vw, 48px); text-align: center; }
.post-header h1 { max-width: 22ch; margin: 16px auto 12px; }
.meta { color: var(--ink-soft); font-size: .9375rem; }
.post-body { font-size: clamp(1.0625rem, 1rem + .25vw, 1.125rem); }
.post-body h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); }
.soon-box { padding: clamp(28px, 5vw, 44px) clamp(20px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--aqua-pale); text-align: center; }
.soon-box .eyebrow::before { display: none; }
.soon-box > :last-child { margin-bottom: 0; }
.note { margin-top: 40px; padding: 20px 24px; border-radius: var(--radius); background: var(--sand-pale); border-left: 4px solid var(--sand); font-size: .9375rem; line-height: 1.6; }
.note--inline { margin-top: 20px; }
.related { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 32px; padding: 20px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); font-size: 1rem; }
.related img { width: 76px; border-radius: 3px; box-shadow: 0 2px 10px rgba(31, 57, 64, .18); }
.related p { margin: 0 0 4px; }
.related .eyebrow { margin-bottom: 6px; }
.related .eyebrow::before { display: none; }
.related__title { font-family: var(--font-head); font-size: 1.25rem; line-height: 1.3; }
.related__title a { color: var(--ink); text-decoration: none; }
.related__title a:hover { text-decoration: underline; }
.related__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 12px; }
@media (min-width: 37.5em) { .related { grid-template-columns: 96px minmax(0, 1fr); gap: 24px; padding: 24px; } .related img { width: 96px; } }
.soon { max-width: var(--read); margin-inline: auto; text-align: center; }
.soon-mark { width: 64px; height: auto; margin: 0 auto 16px; }
.latest { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.post-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.post-card h3 { margin: 0; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--link); text-decoration: underline; }
.post-card p { margin: 0; color: var(--ink-soft); }

/* ---------- Shop ---------- */
.shop-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin: 20px 0 0; padding: 0; list-style: none; font-size: .875rem; font-weight: 600; color: var(--ink); }
.shop-meta li { padding: 5px 14px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.chips { display: flex; gap: 8px; margin: 0 calc(var(--gutter) * -1) clamp(24px, 3vw, 36px); padding: 4px var(--gutter) 8px; list-style: none; overflow-x: auto; scrollbar-width: none; scroll-padding-inline: var(--gutter);
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.chips::-webkit-scrollbar { display: none; }
.chips li { flex: none; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid var(--sand); border-radius: 999px; background: var(--white); color: var(--ink); font: 600 .9375rem/1.2 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.chip:hover { border-color: var(--link); background: var(--aqua-pale); color: var(--ink); text-decoration: none; }
.chip .count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 8px; padding: 0 6px; border-radius: 999px; background: var(--sand-pale); font-size: .75rem; font-weight: 700; color: var(--ink-soft); }
.shop { padding-top: clamp(32px, 4.5vw, 56px); }
.shop-group { scroll-margin-top: 150px; }
.shop-group .product__section { display: none; }   /* the section heading already names the topic */
.shop-group + .shop-group { margin-top: clamp(48px, 7vw, 80px); }
.shop-group h2 { margin-bottom: clamp(18px, 2.5vw, 28px); font-size: clamp(1.375rem, 1.15rem + 1vw, 1.875rem); }
.blog-group + .blog-group { margin-top: clamp(40px, 6vw, 64px); }
@media (min-width: 60em) { .chips { flex-wrap: wrap; justify-content: center; margin-inline: 0; padding-inline: 0; overflow: visible; -webkit-mask-image: none; mask-image: none; } }

.product-grid { display: grid; gap: 16px; }
.product { position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr); overflow: hidden; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); scroll-margin-top: 140px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.product[hidden] { display: none; }
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.product:target { box-shadow: 0 0 0 3px var(--aqua-soft), var(--shadow); }
.product__cover { display: block; padding: 16px 0 0 14px; background: linear-gradient(160deg, var(--aqua-pale), var(--sand-pale)); }
.product__cover img { width: 100%; aspect-ratio: 600 / 849; object-fit: cover; object-position: top; border-radius: 3px 3px 0 0; box-shadow: 0 2px 12px rgba(31, 57, 64, .18); }
.product__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 16px 18px 18px; }
.product__body > * { margin: 0; }
.product__section { font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--link); }
.product h3 { font-size: 1.125rem; line-height: 1.3; }
.product h3 a { color: var(--ink); text-decoration: none; }
.product h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* whole card opens the guide page */
.product h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.product h3 a:focus-visible { outline: none; }
.product:has(h3 a:focus-visible) { outline: 3px solid var(--link); outline-offset: 3px; }
.product__sub { font-size: .875rem; line-height: 1.5; color: var(--ink-soft); }
.product__meta { font-size: .8125rem; color: var(--ink-soft); }
.product__buy { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; margin-top: auto !important; padding-top: 10px; }
.product__buy .btn { padding-inline: 1em; }
.price { font-family: var(--font-head); font-size: 1.375rem; line-height: 1; color: var(--ink); }
@media (min-width: 37.5em) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.2vw, 28px); }
  .product { display: flex; flex-direction: column; }
  .product__cover { aspect-ratio: 16 / 10; padding: 26px 26% 0; overflow: hidden; }
  .product__cover img { height: auto; }
  .product__body { flex: 1; gap: 8px; padding: 18px 22px 22px; }
  .product h3 { font-size: 1.25rem; }
  .product__buy { padding-top: 16px; border-top: 1px solid var(--line); }
}
@media (min-width: 60em) { .product-grid { grid-template-columns: repeat(3, 1fr); } }

/* Guide (product) page */
.crumbs { margin: 0 0 20px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .875rem; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--sand); }
.guide { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 60em) { .guide { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.guide__media { padding: clamp(24px, 5vw, 56px) clamp(40px, 9vw, 96px); border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--aqua-pale), var(--sand-pale)); }
.guide__media img { width: 100%; max-width: 380px; margin-inline: auto; border-radius: 4px; box-shadow: 0 4px 24px rgba(31, 57, 64, .2); }
@media (max-width: 59.99em) { .guide__media { padding-block: 20px; } .guide__media img { max-width: 180px; } }   /* phones/tablets: title and price stay near the top */
.guide-top { padding-top: clamp(28px, 4vw, 48px); }
.guide__info h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin: 8px 0 16px; }
.split--top { align-items: start; }
.guide__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 24px 0; padding: 20px 0; border-block: 1px solid var(--line); }
.guide__buy .price { font-size: 2rem; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.facts li { padding: 5px 12px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: .8125rem; font-weight: 600; }
.inside { margin: 0; padding-left: 1.2em; }
.inside li { margin-bottom: 6px; }
.peek { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 2vw, 20px); margin-top: 16px; }
.peek img { border-radius: 4px; box-shadow: 0 2px 14px rgba(31, 57, 64, .14); background: var(--white); }

/* ---------- Checkout preview (native dialog) ---------- */
.modal { width: min(480px, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: clamp(24px, 5vw, 40px); overflow-y: auto; overscroll-behavior: contain;
  border: 0; border-radius: var(--radius-lg); background: var(--ivory); color: var(--ink); box-shadow: 0 24px 64px rgba(31, 57, 64, .3); }
.modal::backdrop { background: rgba(31, 57, 64, .5); }
.modal .eyebrow { padding-right: 44px; }
.modal .eyebrow::before { display: none; }
.modal h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); padding-right: 44px; }
.modal__close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: 1.75rem; line-height: 1; cursor: pointer; }
.modal__close:hover { background: var(--sand-pale); }
.modal__item { display: flex; justify-content: space-between; gap: 16px; margin: 16px 0 6px; padding: 14px 0; border-block: 1px solid var(--line); font-weight: 600; }
.modal__item strong { font-family: var(--font-head); font-weight: 500; font-size: 1.25rem; white-space: nowrap; }
.modal__meta { margin: 0 0 16px; }
.modal__label { margin: 0 0 4px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.modal__inside ul { margin: 0 0 16px; padding-left: 1.2em; font-size: .9375rem; line-height: 1.5; }
.modal__inside li { margin-bottom: 2px; }
.modal__inside:has(ul:empty) { display: none; }
.modal .btn { width: 100%; margin-top: 8px; }
.modal__thanks { font-family: var(--font-head); font-size: 1.25rem; color: var(--link); margin-bottom: 8px; }
body.modal-open { overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(48px, 7vw, 80px) 0 32px; border-top: 4px solid var(--aqua-soft); background: var(--ink); color: var(--footer-text); font-size: .9375rem; }
.site-footer a { color: var(--footer-text); }
.site-footer a:hover { color: var(--white); }
.site-footer :focus-visible { outline-color: var(--aqua-soft); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; }
.footer-brand { grid-column: 1 / -1; max-width: 26rem; }
.footer-brand img { width: 210px; margin-bottom: 20px; }
.footer-tagline { margin: 0 0 8px; font-family: var(--font-head); font-size: 1.25rem; line-height: 1.3; }
.footer-brand p { color: var(--footer-muted); }
.footer-h { margin: 0 0 10px; font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; color: var(--aqua-soft); }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-ig { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-weight: 600; text-decoration: none; }
.footer-ig:hover { text-decoration: underline; }
.footer-ig svg { width: 20px; height: 20px; }
.footer-note { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(247, 243, 233, .16); font-size: .8125rem; line-height: 1.6; color: var(--footer-muted); }
.footer-note p { max-width: 80ch; margin: 0 0 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 16px; font-size: .8125rem; color: var(--footer-muted); }
.footer-bottom p { margin: 0; }
@media (min-width: 48em) {
  .footer-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .footer-brand { grid-column: auto; }
}

/* ---------- Legal pages ---------- */
.legal { font-size: 1rem; }
.legal h2 { margin-top: 1.7em; font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); scroll-margin-top: 120px; }
.legal ul { padding-left: 1.25em; }
.legal li { margin-bottom: 6px; }
.toc { margin-bottom: 8px; padding: 20px 24px; border-radius: var(--radius); background: var(--ivory); box-shadow: inset 0 0 0 1px var(--line); }
.toc .eyebrow { margin-bottom: 8px; }
.toc .eyebrow::before { display: none; }
.toc ol { margin: 0; padding-left: 1.4em; columns: 2 15rem; column-gap: 32px; font-size: .9375rem; }
.toc li { break-inside: avoid; padding: 2px 0; }

/* ---------- Drafts schedule ---------- */
.table-scroll { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.drafts-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: .9375rem; }
.drafts-table th, .drafts-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.drafts-table th { background: var(--sand-pale); font-size: .8125rem; letter-spacing: .04em; }
.drafts-table td:first-child { white-space: nowrap; }
.status { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--sand-pale); font-size: .8125rem; font-weight: 600; }
.status--published { background: var(--aqua-pale); color: var(--link); }
@media (max-width: 37.49em) {   /* phones: each post becomes a compact card - date + status, title, category + linked product */
  .drafts-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .drafts-table, .drafts-table tbody { display: block; }
  .drafts-table tr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .drafts-table td { display: block; padding: 0; border: 0; font-size: .8125rem; color: var(--ink-soft); }
  .drafts-table td:nth-child(1) { order: 1; flex: 1; font-weight: 700; }
  .drafts-table td:nth-child(5) { order: 2; }
  .drafts-table td:nth-child(3) { order: 3; flex-basis: 100%; font-size: .9375rem; color: var(--ink); }
  .drafts-table td:nth-child(2) { order: 4; }
  .drafts-table td:nth-child(4) { order: 5; }
  .drafts-table td:nth-child(4)::before { content: "\2192\00a0"; }
}

/* ---------- Motion + print ---------- */
@media (hover: none) { .product:hover, .ig-grid .ig-tile:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .product:hover, .ig-grid .ig-tile:hover, .btn:active { transform: none; }
}
@media print {
  .site-header, .skip, .enquiry, .btn, .chips, .modal, .wave, .footer-grid nav { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .site-footer { background: #fff; color: #000; border: 0; padding-top: 16px; }
  .site-footer a, .site-footer p { color: #000; }
  .section, .hero, .page-head { padding-block: 16px; }
  a { color: #000; }
}

/* online message forms (29/10): honeypot field, hidden from people; package box on the shop */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.package { margin: 0 0 var(--space-6, 40px); padding: 28px 24px; border-radius: var(--radius, 16px); }
.package h2 { margin-top: 0; }
.price-line { font-size: 1.5rem; margin: 12px 0; }
.price-line s { color: var(--ink-soft); margin-right: 8px; }

/* 30/10 About page photo */
.about-photo{width:100%;max-width:420px;height:auto;aspect-ratio:1;object-fit:cover;border-radius:50%;justify-self:center;box-shadow:0 12px 32px rgba(63,113,128,.18)}
