/* TONO. Palette sampled from the logo; type from tono.ie (Cormorant) + Inter for reading. See BRAND.md. */
@font-face { font-family: "Cormorant"; src: url("/assets/fonts/cormorant-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/assets/fonts/cormorant-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --stone: #E4D8C8;      /* background (logo) */
  --ink: #27241F;        /* text (logo) */
  --ink-soft: #57524A;   /* secondary text on stone, 6.0:1 */
  --terracotta: #B2523E; /* the only accent: buttons, key highlights */
  --terracotta-d: #9A4533;
  --night: #0B0A09;      /* dark sections (ads) */
  --cream: #E8DCC8;      /* text on dark (ads) */
  --cream-soft: #B9AE9C; /* secondary text on dark, 8.4:1 */
  --paper: #FFFFFF;      /* product photo tiles (photos are shot on white) */
  --line: rgba(39, 36, 31, .16);
  --line-dark: rgba(232, 220, 200, .16);
  --on-accent: #FDFAF5;  /* button text on terracotta, 4.8:1 */
  --serif: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: max(20px, env(safe-area-inset-left), env(safe-area-inset-right));
  --max: 1200px;
  --header-h: 64px;
  --sticky-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--stone); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: hidden; overflow-wrap: break-word; }
@supports (overflow: clip) { body { overflow-x: clip; } }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--cream); }
p { margin: 0 0 1em; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }
.sr-only { position: absolute; 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: 8px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 12px 16px; }
.skip:focus { top: 8px; }

/* ---------- type ---------- */
.display, .h1, .h2, .h3, .statement { font-family: var(--serif); font-weight: 500; letter-spacing: .005em; line-height: 1.05; margin: 0 0 .5em; }
.display { font-size: clamp(2.6rem, 9.5vw, 5.4rem); line-height: .98; }
.h1 { font-size: clamp(2.4rem, 7vw, 3.8rem); }
.h2 { font-size: clamp(2.1rem, 6vw, 3.4rem); }
.h3 { font-size: 1.6rem; font-weight: 600; line-height: 1.15; }
.statement { font-size: clamp(2rem, 5.6vw, 3.4rem); line-height: 1.1; }
.eyebrow { font-family: var(--sans); font-size: 1rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 1rem; color: var(--ink-soft); }
.dark .eyebrow { color: var(--cream-soft); }
.lede { font-size: 1.125rem; max-width: 34ch; }
.fine { font-size: .875rem; line-height: 1.5; color: var(--ink-soft); }
.dark .fine { color: var(--cream-soft); }

/* ---------- layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.section { padding: clamp(72px, 12vw, 144px) 0; }
.section + .section:not(.dark) { border-top: 1px solid var(--line); }
.dark { background: var(--night); color: var(--cream); }
.split { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 52px; padding: 14px 28px; border: 1px solid currentColor; background: transparent; color: inherit; font: 500 1rem/1.2 var(--sans); letter-spacing: .06em; text-decoration: none; cursor: pointer; border-radius: 0; transition: background .2s, color .2s, border-color .2s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.btn-buy { background: var(--terracotta); border-color: var(--terracotta); color: var(--on-accent); }
.btn-buy:hover { background: var(--terracotta-d); border-color: var(--terracotta-d); text-decoration: none; }
.btn-sm { min-height: 44px; padding: 10px 20px; }
.btn-block { display: flex; width: 100%; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding-top: env(safe-area-inset-top); border-bottom: 1px solid var(--line-dark); }
.header-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; min-height: 44px; min-width: 44px; }
.brand img { height: 40px; width: auto; }
.nav { display: none; margin-left: auto; gap: 8px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-size: 1rem; color: var(--cream-soft); }
.nav a:hover { color: var(--cream); }
.site-header .btn-sm { margin-left: auto; }
@media (min-width: 768px) { .nav { display: flex; } .site-header .btn-sm { margin-left: 8px; } }

/* ---------- hero ---------- */
.hero { padding: 28px 0 48px; }
.hero-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 20px; grid-template-areas: "copy" "media" "buy"; }
.hero-copy { grid-area: copy; }
.hero-media { grid-area: media; margin: 0; }
.hero-buy { grid-area: buy; }
.hero .eyebrow { margin-bottom: .75rem; }
.hero .display { margin-bottom: .3em; }
.hero .lede { color: var(--cream-soft); margin: 0; }
.hero-frame { position: relative; aspect-ratio: 1 / 1; width: min(100%, 48svh); margin: 0 auto; background: var(--night); }
@supports not (height: 1svh) { .hero-frame { width: min(100%, 48vh); } }
.hero-video { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: radial-gradient(closest-side, #000 82%, transparent 100%); mask-image: radial-gradient(closest-side, #000 82%, transparent 100%); }
.hero-media figcaption { text-align: center; margin-top: 4px; }
.vid-toggle { position: absolute; right: 4px; bottom: 4px; width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: 50%; background: rgba(11, 10, 9, .6); color: var(--cream); cursor: pointer; display: grid; place-items: center; }
.vid-toggle[hidden] { display: none; }
.vid-icon { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.vid-toggle[aria-pressed="true"] .vid-icon { border: 0; border-left: 12px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; width: 0; height: 0; margin-left: 3px; }
.swatches { border: 0; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 16px 8px 10px; border: 1px solid var(--line-dark); cursor: pointer; font-size: 1rem; -webkit-tap-highlight-color: transparent; }
.swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch:has(input:checked) { border-color: var(--cream); }
.swatch:has(input:focus-visible) { outline: 2px solid var(--cream); outline-offset: 2px; }
.dot { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(232, 220, 200, .5); flex: none; }
.dot-black { background: radial-gradient(circle at 35% 35%, #4a4744, #111 70%); }
.dot-silver { background: radial-gradient(circle at 35% 35%, #fafafa, #a9a9ad 70%); }
.buy-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.price { font-family: var(--serif); font-size: 2.6rem; font-weight: 500; line-height: 1; margin: 0; }
.hero .btn-buy { flex: 1 1 200px; }
.assure { margin: 16px 0 0; }
@media (min-width: 900px) {
  .hero { padding: 48px 0 72px; min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }
  .hero-in { width: 100%; grid-template-columns: 1.15fr .85fr; grid-template-areas: "copy media" "buy media"; column-gap: 64px; row-gap: 32px; align-items: end; }
  .hero-buy { align-self: start; }
  .hero-frame { width: min(100%, 72svh); }
  .hero .btn-buy { flex: 0 0 auto; padding-inline: 40px; }
  .hero .display { font-size: clamp(3.4rem, 5vw, 4.8rem); }
}
@media (min-width: 900px) and (max-height: 640px) { .hero-frame { width: min(100%, 60svh); } }
/* phones in landscape: copy beside the video so the Buy row stays in view */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-in { grid-template-columns: 1fr 1fr; grid-template-areas: "copy media" "buy media"; column-gap: 24px; align-items: start; }
  .hero-frame { width: min(100%, 72svh); }
  .display { font-size: clamp(2rem, 6vw, 3rem); }
}

/* ---------- problem ---------- */
.problem { text-align: left; }
.dose { margin: 40px 0 16px; display: grid; gap: 14px; }
.dose-row { display: grid; grid-template-columns: 4.5em 1fr 4.2em; align-items: center; gap: 12px; font-size: 1rem; font-variant-numeric: tabular-nums; }
.dose-bar { height: 10px; background: rgba(39, 36, 31, .08); }
.dose-15m { width: 3.125%; } /* 15 min / 480 min */
.dose-8h { width: 100%; }
.dose-bar span { display: block; height: 100%; min-width: 6px; background: var(--ink); }
.dose-row:first-child .dose-bar span { background: var(--terracotta); }
.dose-v { text-align: right; }

/* ---------- how ---------- */
.how-media { margin: 0; }
.how-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--night); }
.how-media figcaption { margin-top: 8px; }
.facts { margin-top: 28px !important; border-top: 1px solid var(--line); }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }

/* ---------- grid (only with 2+ products) ---------- */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card-link { display: grid; gap: 8px; text-decoration: none; }
.card-link img { background: var(--paper); aspect-ratio: 1 / 1; object-fit: contain; width: 100%; }
.card-name { font-family: var(--serif); font-size: 1.5rem; }

/* ---------- colours ---------- */
.colour-grid { display: grid; gap: 32px; margin-top: 40px !important; }
@media (min-width: 768px) { .colour-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
.colour-card { display: grid; gap: 18px; }
.photo { background: var(--paper); aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; }
.photo img { width: 88%; height: 88%; object-fit: contain; }
.colour-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.colour-meta .h3 { margin: 0; }
.price-s { font-family: var(--serif); font-size: 1.6rem; margin: 0; }

/* ---------- in the box ---------- */
.box-list { margin-top: 32px !important; border-top: 1px solid var(--line); }
.box-list li { display: grid; gap: 2px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.box-list strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; }
.box-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 8px; }
.case-a { width: 100%; height: auto; }
.case-b { width: 86%; height: auto; justify-self: center; margin-bottom: 8%; }

/* ---------- offer ---------- */
.offer .lede { color: var(--cream-soft); }
.offer-price { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 28px 0; }
.offer-price .big { font-family: var(--serif); font-size: clamp(3.4rem, 10vw, 5rem); line-height: 1; color: var(--cream); }
.offer-price .was { color: var(--cream-soft); }
.offer .btn-buy { margin-bottom: 16px; }
.offer-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- reviews ---------- */
.reviews { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.review { border-top: 1px solid var(--line); padding-top: 18px; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 1.4rem; line-height: 1.3; }

/* ---------- faq ---------- */
.qa { border-top: 1px solid var(--line); }
.qa:last-of-type { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.2; -webkit-tap-highlight-color: transparent; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-4px) rotate(45deg); transition: transform .2s; }
.qa[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.qa-a { padding: 0 0 18px; max-width: 60ch; }
.qa-a p { margin: 0; }
.guarantee { margin-top: 56px; padding: 32px; background: rgba(255, 255, 255, .35); border: 1px solid var(--line); }
.guarantee p { margin: 0; }

/* ---------- policy pages ---------- */
.prose h2 { margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .6em; }
.table-wrap { overflow-x: auto; margin: 24px 0; }
table { border-collapse: collapse; width: 100%; font-size: 1rem; }
th, td { text-align: left; vertical-align: top; padding: 12px 20px 12px 0; border-bottom: 1px solid var(--line); }
th { font-weight: 600; }
.form-copy { padding: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .35); }

/* ---------- footer ---------- */
.site-footer { padding: clamp(64px, 10vw, 112px) 0 32px; }
.signup { max-width: 640px; margin-bottom: 72px; }
.signup p { color: var(--cream-soft); }
.signup-form { display: grid; gap: 16px; margin-top: 24px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 1rem; }
.signup-form input[type="email"] { width: 100%; min-height: 52px; padding: 12px 14px; font: 16px/1.3 var(--sans); color: var(--cream); background: transparent; border: 1px solid rgba(232, 220, 200, .55); border-radius: 0; -webkit-appearance: none; appearance: none; }
.signup-form input[type="email"][aria-invalid="true"] { border-color: #E08A75; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; line-height: 1.45; color: var(--cream-soft); cursor: pointer; }
.consent input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--terracotta); }
.consent { min-height: 44px; }
.signup-form .btn { justify-self: start; min-width: 160px; }
.form-status { min-height: 1.5em; margin: 0; color: var(--cream); }
.form-status.error { color: #F0A592; }
.foot-cols { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding: 40px 0; border-top: 1px solid var(--line-dark); }
.foot-cols p, .foot-cols li { font-size: 1rem; color: var(--cream-soft); }
.foot-cols a { color: var(--cream); display: inline-block; padding: 10px 0; }
.foot-cols li a { padding: 10px 0; }
.foot-h { font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; color: var(--cream); }
.foot-base { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.foot-mark { width: 92px; height: auto; }
.foot-base .fine { margin: 0; }

/* ---------- sticky buy (phones) ---------- */
.sticky-buy { display: none; }
@media (max-width: 899px) {
  body.has-sticky .site-footer { padding-bottom: calc(32px + var(--sticky-h) + env(safe-area-inset-bottom)); }
  .sticky-buy { display: flex; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; align-items: center; justify-content: space-between; gap: 12px;
    min-height: var(--sticky-h); padding: 12px max(16px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background: var(--night); color: var(--cream); border-top: 1px solid var(--line-dark); transform: translateY(0); transition: transform .25s; }
  .sticky-buy.is-hidden { transform: translateY(110%); visibility: hidden; }
  .sticky-info { margin: 0; display: grid; line-height: 1.25; font-size: 1rem; min-width: 0; }
  .sticky-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-price { font-family: var(--serif); font-size: 1.5rem; }
  .sticky-buy .btn { flex: none; padding-inline: 24px; }
}
.site-footer .wrap > .foot-cols:first-child { border-top: 0; padding-top: 0; }  /* no sign-up block above */
