/* Tonie Tips - site styles.
   Fonts are self-hosted. Nothing on this site loads from a third-party server except the
   embedded Google Sheets on the tracker pages. */

@font-face {
  font-family: "Gabarito";
  src: url("../fonts/gabarito-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #d71b29;
  --red-deep: #a8101d;
  --ink: #1d1b24;
  --ink-soft: #4b4855;
  --paper: #f9f8fb;
  --card: #ffffff;
  --tint: #ebeaf0;
  --mist: #f0eff4;
  --line: #dddce6;
  --pink: #e64e81;
  --plum: #a42d6f;
  --f-display: "Gabarito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --section: clamp(72px, 11vw, 168px);
  --head: 76px;
  --shadow: 0 18px 40px -22px rgba(21, 19, 26, 0.35);
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.14rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; font-weight: 800; line-height: 1.04; letter-spacing: -0.012em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px; z-index: 200; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section.tight { padding-block: clamp(56px, 8vw, 110px); }
.on-ink { background: var(--ink); color: #fff; }
.on-red { background: var(--red); color: #fff; }
.on-mist { background: var(--mist); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 10px; border: 2px solid transparent;
  font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; text-decoration: none; cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-3px); text-decoration: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--mist); }
.btn-line { border-color: currentColor; color: inherit; }
.btn-line:hover { background: rgba(255, 255, 255, 0.12); }
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.textlink { font-family: var(--f-display); font-weight: 700; text-underline-offset: 0.28em; text-decoration-thickness: 2px; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); }
.head-in { height: var(--head); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; width: 138px; flex: none; }
.brand img { width: 100%; height: auto; }
.nav { display: none; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; }
.nav a, .nav button.nav-btn {
  font-family: var(--f-display); font-weight: 600; font-size: 0.98rem; color: var(--ink);
  background: none; border: 0; cursor: pointer; text-decoration: none;
  padding: 10px 13px; border-radius: 9px; display: inline-flex; align-items: center; gap: 6px; line-height: 1.1;
  transition: background-color 0.2s, color 0.2s;
}
.nav a:hover, .nav button.nav-btn:hover, .nav li:focus-within > button.nav-btn { background: var(--mist); }
.nav a[aria-current="page"], .nav button.nav-btn.is-current { color: var(--red); }
.nav .caret { width: 10px; height: 10px; transition: transform 0.25s; }
.has-menu:hover > .nav-btn .caret, .nav-btn[aria-expanded="true"] .caret { transform: rotate(180deg); }
.menu {
  list-style: none; position: absolute; left: 0; top: calc(100% + 8px); min-width: 240px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s; z-index: 5;
}
.has-menu:hover > .menu, .has-menu:focus-within > .menu, .nav-btn[aria-expanded="true"] + .menu { opacity: 1; visibility: visible; transform: none; }
.menu a { display: flex; width: 100%; }
.menu .sub-label { display: block; padding: 10px 13px 4px; font-family: var(--f-display); font-weight: 700; font-size: 0.8rem; color: var(--ink-soft); }
.menu .menu-sub { list-style: none; margin: 0 0 4px 10px; padding-left: 8px; border-left: 1px solid var(--line); }
.burger { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border: 0; border-radius: 10px; min-height: 46px; padding: 0 16px; font-family: var(--f-display); font-weight: 700; font-size: 1rem; cursor: pointer; }
.burger i { display: block; width: 18px; height: 2px; background: #fff; position: relative; transition: background 0.2s; }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: #fff; transition: transform 0.3s var(--ease); }
.burger i::before { top: -6px; } .burger i::after { top: 6px; }
.burger[aria-expanded="true"] i { background: transparent; }
.burger[aria-expanded="true"] i::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] i::after { transform: translateY(-6px) rotate(-45deg); }

.drawer { position: fixed; inset: var(--head) 0 0 0; background: #fff; z-index: 90; overflow-y: auto; padding: 18px var(--gutter) 60px; display: none; }
.drawer.open { display: block; }
.drawer ul { list-style: none; }
.drawer > ul > li { border-bottom: 1px solid var(--line); }
.drawer a, .drawer .d-label { display: block; padding: 16px 2px; font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; text-decoration: none; }
.drawer .d-label { padding-bottom: 6px; color: var(--ink-soft); font-size: 1.05rem; }
.drawer .d-sub { padding: 0 0 14px 14px; }
.drawer .d-sub a { font-size: 1.1rem; font-weight: 600; padding: 10px 2px; }
.drawer .d-sub .d-sub { padding-left: 14px; }
.drawer a[aria-current="page"] { color: var(--red); }

@media (min-width: 1040px) {
  .nav { display: block; }
  .burger, .drawer { display: none !important; }
  .brand { width: 150px; }
}

/* ---------- home hero ---------- */
.hero { position: relative; padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(70px, 10vw, 150px); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(36px, 6vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 7vw, 5.9rem); font-weight: 800; line-height: 0.98; max-width: 13ch; }
.hero-copy { position: relative; z-index: 3; }
.hero-copy .lede { max-width: 38ch; margin: 28px 0 34px; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); color: var(--ink-soft); }
.fine { font-size: 0.88rem; color: var(--ink-soft); margin-top: 18px; }
/* inline images in headings */
.inl { display: inline-block; width: 1.9em; height: 0.82em; border-radius: 0.14em; vertical-align: -0.04em; margin: 0 0.1em; object-fit: cover; object-position: 50% 58%; }

/* ---------- scrubbed statement ---------- */
.statement { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.7rem, 3.6vw, 3.1rem); line-height: 1.18; letter-spacing: -0.01em; max-width: 26ch; }
.statement-wide { max-width: 34ch; }
.statement .w { display: inline-block; white-space: pre; }

/* ---------- pinned shelf ---------- */
.shelf-grid { display: grid; gap: 48px; }
.shelf-title { position: relative; }
.shelf-title h2 { font-size: clamp(2.2rem, 4.8vw, 4.1rem); font-weight: 800; max-width: 12ch; }
.shelf-title p { margin-top: 22px; max-width: 34ch; color: var(--ink-soft); }
.shelf-list { display: grid; gap: 28px; }
.shelf-card { border-radius: 22px 6px 22px 6px; overflow: hidden; background: var(--mist); aspect-ratio: 4 / 3.4; will-change: transform; }
.shelf-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.shelf-card.contain img { object-fit: contain; padding: 4%; }
.shelf-card:hover img { transform: scale(1.05); }
@media (min-width: 900px) {
  .shelf-grid { grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
  .shelf-title { position: relative; }
  .shelf-list { gap: 40px; padding-block: 8vh; }
}

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(250px, auto); grid-auto-flow: dense; gap: clamp(12px, 1.6vw, 20px); }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(22px, 2.6vw, 38px); color: #fff; text-decoration: none; isolation: isolate; grid-column: span 12; }
.tile:hover { text-decoration: none; }
.tile h3 { font-size: clamp(1.7rem, 3vw, 2.7rem); font-weight: 800; max-width: 14ch; }
.tile p { margin-top: 12px; max-width: 34ch; font-size: 1.02rem; opacity: 0.92; }
.tile .go { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; }
.tile .go svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.tile:hover .go svg { transform: translateX(6px); }
.tile .bg { position: absolute; inset: 0; z-index: -1; }
.tile .bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.tile:hover .bg img { transform: scale(1.06); }
.tile.t-red { background: var(--red); border-radius: 26px 6px 26px 6px; }
.tile.t-ink { background: var(--ink); border-radius: 6px 26px 6px 26px; }
.tile.t-plum { background: var(--plum); border-radius: 6px 26px 26px 6px; }
.tile.has-img .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(21, 19, 26, 0.78), rgba(21, 19, 26, 0.05) 62%); }
.tile.pad-img { justify-content: flex-start; }
.tile .art { position: absolute; right: 6%; bottom: 10%; width: 32%; z-index: -1; transition: transform 0.9s var(--ease); }
.tile.has-art h3, .tile.has-art p { max-width: 58%; }
.tile .art.big { width: 40%; right: 5%; top: 8%; bottom: auto; }
.tile.a.has-art h3, .tile.a.has-art p { max-width: 48%; }
.tile:hover .art { transform: scale(1.06) translateY(-4px); }
@media (min-width: 860px) {
  .bento { grid-auto-rows: 270px; }
  .tile.a { grid-column: span 7; grid-row: span 2; }
  .tile.b { grid-column: span 5; }
  .tile.c { grid-column: span 5; }
  .tile.d { grid-column: span 5; }
  .tile.e { grid-column: span 7; }
}

/* ---------- final call to action ---------- */
.cta { text-align: left; }
.cta h2 { font-size: clamp(2.5rem, 8vw, 7rem); font-weight: 800; line-height: 0.96; max-width: 14ch; }
.cta h2 a { color: var(--red); text-decoration: none; }
.cta h2 a:hover { text-decoration: underline; text-decoration-thickness: 6px; text-underline-offset: 0.12em; }
.cta .row { margin-top: 42px; }

/* ---------- interior page header ---------- */
.phead { position: relative; overflow: hidden; background: #fff; padding-block: clamp(64px, 10vw, 150px); }
.phead-grid { position: relative; z-index: 1; display: grid; gap: 40px; }
.phead h1 { font-size: clamp(2.5rem, 6.8vw, 5.6rem); font-weight: 800; line-height: 0.98; max-width: 14ch; }
.phead .intro { margin-top: 26px; max-width: 44ch; font-size: clamp(1.08rem, 1rem + 0.45vw, 1.28rem); color: var(--ink-soft); }

/* ---------- prose ---------- */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; margin-bottom: 22px; }
.prose h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin: 38px 0 14px; }
.prose p { color: var(--ink-soft); }
.prose p strong { color: var(--ink); }
.prose a { color: var(--red-deep); font-weight: 600; }
.on-ink .prose p, .on-red .prose p { color: rgba(255, 255, 255, 0.86); }
.on-ink .prose a, .on-red .prose a { color: #fff; }
.stack > * + * { margin-top: clamp(40px, 6vw, 90px); }
.split { display: grid; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.flip .split-media { order: -1; }
  .split.wide-media { grid-template-columns: 0.9fr 1.1fr; }
}
.media { border-radius: 22px 6px 22px 6px; overflow: hidden; background: var(--mist); }
.media img { width: 100%; height: auto; transition: transform 0.9s var(--ease); }
.media:hover img { transform: scale(1.04); }
.media.round { border-radius: 6px 22px 6px 22px; }
.media.square img { aspect-ratio: 1; object-fit: cover; }
.media-pair { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.media-pair .media { border-radius: 18px 4px 18px 4px; }
.media-pair .media:nth-child(2) { border-radius: 4px 18px 4px 18px; }
.media-pair .media img { aspect-ratio: 1; object-fit: cover; }
.toppers { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.toppers .media { border-radius: 14px 4px 14px 4px; }
.toppers .media img { aspect-ratio: 1; object-fit: cover; }
@media (min-width: 700px) { .toppers { grid-template-columns: repeat(5, 1fr); } }
.gallery4 { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.gallery4 .media:nth-child(odd) { border-radius: 18px 4px 18px 4px; }
.gallery4 .media:nth-child(even) { border-radius: 4px 18px 4px 18px; }
.gallery4 .media img { aspect-ratio: 3/2; object-fit: cover; }
.gallery4 .media.tall img { aspect-ratio: 1; }

/* ---------- FAQ layout ---------- */
.faq-grid { display: grid; gap: 40px; }
.qnav { position: static; }
.qnav h2 { font-size: 1.3rem; margin-bottom: 16px; }
.qnav ul { list-style: none; display: grid; gap: 2px; }
.qnav a { display: block; padding: 9px 12px; margin-left: -12px; border-radius: 8px; text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: 1rem; line-height: 1.25; transition: background-color 0.2s; }
.qnav a:hover { background: var(--mist); }
.answers > section + section { margin-top: clamp(56px, 8vw, 100px); }
.answers h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); font-weight: 800; margin-bottom: 22px; max-width: 18ch; }
.answers p { color: var(--ink-soft); max-width: 62ch; }
@media (min-width: 980px) {
  .faq-grid { grid-template-columns: 300px 1fr; gap: 90px; align-items: start; }
  .qnav { position: sticky; top: calc(var(--head) + 36px); }
}
.proscons { display: grid; gap: 18px; margin-top: 30px; }
.pc { padding: clamp(22px, 3vw, 34px); border-radius: 22px 6px 22px 6px; }
.pc.pro { background: var(--mist); }
.pc.con { background: var(--plum); color: #fff; border-radius: 6px 22px 6px 22px; }
.pc h3 { font-size: 1.35rem; margin-bottom: 14px; }
.pc ul { list-style: none; display: grid; gap: 12px; }
.pc li { padding-left: 22px; position: relative; font-size: 1rem; line-height: 1.5; }
.pc li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 9px; height: 2px; background: currentColor; }
.pc.con li { color: rgba(255, 255, 255, 0.94); }
.pc.pro li { color: var(--ink-soft); }
@media (min-width: 760px) { .proscons { grid-template-columns: 1fr 1fr; } }
.pc-title { margin-top: 56px; font-size: 1.5rem; font-weight: 800; }

/* ---------- shop ---------- */
.shop-top { display: grid; gap: 14px; }
.shop-list { list-style: none; display: grid; gap: 12px; margin-top: 30px; }
.shop-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-radius: 14px; background: var(--mist); text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; transition: background-color 0.5s ease; }
.shop-link:hover { background: var(--tint); text-decoration: none; }
.shop-link svg { width: 20px; height: 20px; flex: none; }
.shop-link .t { display: flex; align-items: center; gap: 16px; }
.shop-link img { width: 62px; height: 62px; object-fit: contain; background: #fff; border-radius: 10px; flex: none; }
.shop-cols { display: grid; gap: clamp(48px, 7vw, 96px); }
@media (min-width: 900px) {
  .shop-cols { grid-template-columns: 1fr 1fr; gap: clamp(56px, 7vw, 110px); align-items: start; }
  .shop-cols .span2 { grid-column: 1 / -1; }
}
.shop-cols h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; }
.shop-cols h2 a { text-decoration-thickness: 3px; text-underline-offset: 0.18em; }
.slices { display: grid; gap: 12px; }
.slice { position: relative; overflow: hidden; border-radius: 18px 4px 18px 4px; min-height: 170px; display: flex; align-items: flex-end; padding: 24px; color: #fff; text-decoration: none; isolation: isolate; }
.slice:nth-child(even) { border-radius: 4px 18px 4px 18px; }
.slice.red { background: var(--red); }
.slice.blue { background: var(--ink); }
.slice.purple { background: var(--plum); }
.slice.pink { background: var(--pink); color: var(--ink); }
.slice b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 2rem; line-height: 1; }
.slice span { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 600; font-size: 1rem; }
.slice span svg { width: 16px; height: 16px; flex: none; }
@media (min-width: 900px) {
  .slices { display: flex; gap: 12px; height: 340px; }
  .slice { flex: 1; min-height: 0; transition: flex 0.7s var(--ease); }
  .slice.is-open { flex: 3.2; }
  .slice b { font-size: 1.6rem; white-space: nowrap; }
  .slice.is-open b { font-size: 2.6rem; }
  .slice span { opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.4s; white-space: nowrap; }
  .slice.is-open span { opacity: 1; transform: none; }
}
.disclaimer { margin-top: 34px; font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- news ---------- */
.feed { display: grid; gap: 0; }
.post { display: grid; gap: 14px; padding-block: clamp(34px, 5vw, 62px); border-top: 1px solid var(--line); }
.post:first-child { border-top: 0; padding-top: 0; }
.date { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; color: var(--red); }
.post h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; max-width: 22ch; }
.post p { color: var(--ink-soft); max-width: 62ch; }
@media (min-width: 900px) { .post { grid-template-columns: 300px 1fr; gap: 60px; } .post .date { padding-top: 4px; } }
.rrp { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin-top: 34px; }
.rrp-item { background: var(--mist); border-radius: 18px 4px 18px 4px; overflow: hidden; display: flex; flex-direction: column; }
.rrp-item:nth-child(even) { border-radius: 4px 18px 4px 18px; }
.rrp-item img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; transition: transform 0.9s var(--ease); }
.rrp-item .img { overflow: hidden; }
.rrp-item:hover img { transform: scale(1.05); }
.rrp-item div.t { padding: 14px 16px 18px; }
.rrp-item b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; line-height: 1; }
.rrp-item span { font-size: 0.95rem; color: var(--ink-soft); }
@media (min-width: 760px) { .rrp { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .rrp { grid-template-columns: repeat(6, 1fr); } }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); background: #fff; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 1rem; }
th, td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line); }
th { font-family: var(--f-display); font-weight: 800; background: var(--red); color: #fff; font-size: 1rem; position: sticky; top: 0; }
tbody th { background: transparent; color: var(--ink); position: static; font-weight: 700; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--mist); }
td.dash { color: #8a8794; }
.note { margin-top: 18px; font-size: 0.95rem; color: var(--ink-soft); max-width: 62ch; }

/* ---------- cashback ---------- */
.refs { display: grid; gap: 14px; margin-top: 8px; }
.ref { border-radius: 24px 6px 24px 6px; padding: clamp(24px, 3vw, 38px); display: flex; flex-direction: column; gap: 18px; background: var(--mist); }
.ref:nth-child(2) { background: var(--red); color: #fff; border-radius: 6px 24px 6px 24px; }
.ref:nth-child(3) { background: var(--plum); color: #fff; }
.ref h3 { font-size: 1.7rem; font-weight: 800; }
.ref .bonus { font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 6vw, 4.6rem); line-height: 0.9; }
.ref .bonus small { font-size: 0.4em; font-weight: 700; }
.ref a.url { word-break: break-all; font-size: 0.92rem; opacity: 0.9; }
@media (min-width: 900px) { .refs { grid-template-columns: repeat(3, 1fr); } }

/* ---------- stockists ---------- */
.logos { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.logo-cell { background: #fff; border: 1px solid var(--line); border-radius: 18px 4px 18px 4px; aspect-ratio: 1; display: grid; place-items: center; padding: 14%; overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.logo-cell:nth-child(even) { border-radius: 4px 18px 4px 18px; }
.logo-cell img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.7s var(--ease); }
.logo-cell:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.logo-cell:hover img { transform: scale(1.06); }
@media (min-width: 640px) { .logos { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .logos { grid-template-columns: repeat(5, 1fr); } }

/* ---------- groups ---------- */
.groups-grid { display: grid; gap: 14px; }
.group { border-radius: 22px 6px 22px 6px; padding: clamp(24px, 3vw, 38px); background: var(--mist); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; text-decoration: none; transition: background-color 0.5s ease; }
.group:nth-child(even) { border-radius: 6px 22px 6px 22px; }
.group:hover { background: var(--tint); text-decoration: none; }
.group h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 800; max-width: 18ch; }
.group p { margin-top: 10px; opacity: 0.85; font-size: 1rem; max-width: 40ch; }
.group .go { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; }
.group .go svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.group:hover .go svg { transform: translateX(3px); }
.region { margin-top: clamp(52px, 7vw, 90px); }
.region:first-child { margin-top: 0; }
.region > h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); font-weight: 800; margin-bottom: 24px; }
.region > h3 { font-size: 1.1rem; margin: 30px 0 14px; color: var(--ink-soft); font-weight: 700; }
@media (min-width: 760px) { .groups-grid.two { grid-template-columns: 1fr 1fr; } }

/* ---------- tracker ---------- */
.sheet { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.sheet-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; background: var(--red); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 0.95rem; }
.sheet-bar a { color: #fff; }
.sheet iframe { display: block; width: 100%; height: min(78vh, 760px); min-height: 460px; border: 0; background: #fff; }

/* ---------- footer ---------- */
.site-foot { background: var(--red); color: #fff; padding-top: clamp(60px, 8vw, 110px); padding-bottom: 40px; }
.foot-grid { display: grid; gap: 44px; }
.foot-brand img { width: 190px; filter: brightness(0) invert(1); }
.foot-brand p { margin-top: 22px; max-width: 32ch; color: rgba(255, 255, 255, 0.94); font-size: 1rem; }
.foot-cols { display: grid; gap: 34px; grid-template-columns: repeat(2, 1fr); }
.foot-cols h2 { font-size: 0.95rem; font-weight: 700; color: rgba(255, 255, 255, 0.85); margin-bottom: 14px; letter-spacing: 0; }
.foot-cols ul { list-style: none; display: grid; gap: 9px; }
.foot-cols a { text-decoration: none; font-weight: 500; }
.foot-cols a:hover { text-decoration: underline; }
.socials { display: flex; gap: 12px; margin-top: 26px; }
.socials a { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.2); transition: background-color 0.25s, transform 0.35s var(--ease); }
.socials a:hover { background: var(--ink); transform: translateY(-4px); }
.socials svg { width: 22px; height: 22px; fill: #fff; }
.foot-base { margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.4); display: grid; gap: 12px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.94); }
.foot-base p { max-width: 80ch; }
.foot-base a { color: #fff; }
@media (min-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1.6fr; gap: 90px; }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 404 ---------- */
.lost { min-height: 62vh; display: grid; align-items: center; }
.lost h1 { font-size: clamp(3rem, 10vw, 8rem); font-weight: 800; line-height: 0.92; }
.lost p { margin: 22px 0 34px; max-width: 40ch; color: var(--ink-soft); font-size: 1.2rem; }

/* ---------- reveal helpers (JS sets the starting state) ---------- */
.no-motion [data-reveal], .no-motion .statement .w { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}

.tile .art img { border-radius: 14px; box-shadow: var(--shadow); }


/* =====================================================================
   10K polish layer: softer surfaces, plinths, notch dividers, hand-made motion
   ===================================================================== */
body { background: var(--paper); }
.site-head { background: rgba(249, 248, 251, 0.94); -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px); }
.site-head::after { content: ""; z-index: 1; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--red); transform: scaleX(var(--p, 0)); transform-origin: left; }
.phead { background: var(--paper); }

/* hero: a 3 x 3 grid of photos and colour squares that slide to reveal each other */
.hero-art { position: relative; }
.grid9 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.1vw, 14px); opacity: 0; transition: opacity 0.6s ease; }
.grid9.ready { opacity: 1; }
.cell { position: relative; overflow: hidden; aspect-ratio: 1; isolation: isolate; border-radius: 8px; background: var(--tint); }
.cell:nth-child(1) { border-radius: 30px 8px 8px 8px; }
.cell:nth-child(3) { border-radius: 8px 30px 8px 8px; }
.cell:nth-child(7) { border-radius: 8px 8px 8px 30px; }
.cell:nth-child(9) { border-radius: 8px 8px 30px 8px; }
.layer { position: absolute; inset: 0; will-change: transform; overflow: hidden; }
.layer.photo { background: var(--tint); }
.layer.photo img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.layer.logo { background: #fff; display: grid; place-items: center; }
.layer.logo img { width: 66%; height: auto; }
.pool { display: none; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 0.92fr 1.18fr; }
}

/* section surfaces and the notch divider */
.edge { position: relative; }
.rule { position: absolute; top: 0; left: 50%; transform: translateX(-50%) scaleX(var(--ln, 1)); transform-origin: 0 50%; width: min(calc(100% - 2 * var(--gutter)), calc(var(--max) - 2 * var(--gutter))); height: 1px; background: var(--line); }
.on-mist .rule { background: #d6d5df; }
/* image plinths: white-background photos sit on a tint, never on the page */
.shelf-card, .media, .rrp-item .img, .logo-cell { isolation: isolate; }
.shelf-card.tint-a, .shelf-card.tint-c { background: var(--tint); }
.shelf-card.tint-b { background: #e9e8ef; }
.shelf-card img, .media img, .rrp-item img, .logo-cell img { mix-blend-mode: multiply; }
.shelf-card:hover img { transform: none; }
.shelf-card { transition: box-shadow 0.5s var(--ease); }
.shelf-card:hover { box-shadow: var(--shadow); }
.media { background: var(--tint); }
.rrp-item { background: var(--card); }
.rrp-item .img { background: var(--tint); }
.rrp-item img { background: transparent; }
.logo-cell { background: var(--mist); border-color: transparent; }
.stack .media.round, .split .media { background: var(--tint); }

/* bento: one solid red, one black, the rest tints; colour floods in from where you enter */
.tile { --flood: var(--red-deep); --flood-ink: #fff; transition: color 0.35s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--flood); clip-path: circle(0 at var(--x, 0%) var(--y, 100%)); transition: clip-path 0.65s var(--ease); }
.tile:hover::before, .tile:focus-visible::before { clip-path: circle(160% at var(--x, 0%) var(--y, 100%)); }
.tile:hover, .tile:focus-visible { color: var(--flood-ink); }
.tile.t-red { background: var(--red); color: #fff; }
.tile.t-mist { background: var(--mist); color: var(--ink); --flood: var(--red); --flood-ink: #fff; border-radius: 26px 6px 26px 26px; }
.tile.t-plum { background: var(--plum); color: #fff; --flood: var(--ink); --flood-ink: #fff; }
.tile.t-ink { background: var(--ink); color: #fff; --flood: var(--red-deep); }
.tile.has-pic::before { display: none; }
.tile.has-pic:hover, .tile.has-pic:focus-visible { color: inherit; }
.tile.t-photo { color: #fff; }
.tile .pic { position: absolute; z-index: -1; right: 4%; top: 6%; width: 46%; mix-blend-mode: multiply; }
.tile .pic.low { top: auto; bottom: 8%; width: 36%; }
.tile .pic img { width: 100%; height: auto; display: block; }
.tile .pic.cover { inset: 0; width: 100%; mix-blend-mode: normal; }
.tile .pic.cover img { width: 100%; height: 100%; object-fit: cover; }
.tile .pic.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(29, 27, 36, 0.86), rgba(29, 27, 36, 0.12) 70%); }
.tile.has-pic.a h3, .tile.has-pic.a p { max-width: 46%; }
.tile.has-pic.c h3, .tile.has-pic.c p { max-width: 58%; }
.tile p { opacity: 1; }

/* buttons: a fill wipes up from below */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--wipe, var(--ink)); transform: translateY(101%); transition: transform 0.42s var(--ease); }
.btn:hover { transform: none; }
.btn:hover::before { transform: none; }
.btn-red { --wipe: var(--ink); }
.btn-red:hover { background: var(--red); }
.btn-ink { --wipe: var(--red); }
.btn-ink:hover { background: var(--ink); }
.btn-white { --wipe: var(--red); }
.btn-white:hover { background: #fff; color: #fff; }
.btn-line { --wipe: transparent; }

/* links draw a red underline from the left */
.textlink { text-decoration: underline; text-decoration-thickness: 1px; background: linear-gradient(var(--red), var(--red)) 0 100% / 0 3px no-repeat; transition: background-size 0.4s var(--ease); }
.textlink:hover { background-size: 100% 3px; text-decoration-thickness: 1px; }

/* headline words rise from behind a mask */
.rise-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.rise-w > span { display: inline-block; will-change: transform; }

/* phones: the hero art is its own decision */
@media (max-width: 899px) {
  .hero-art { margin-top: 8px; }
  .tile { min-height: 210px; }
}

/* ---------- round 3: shelf shadows, phone stack ---------- */
.shelf-card { box-shadow: 0 34px 60px -26px rgba(21, 19, 26, 0.5), 0 10px 22px -10px rgba(21, 19, 26, 0.28); }
.shelf-card:hover { box-shadow: 0 38px 66px -26px rgba(21, 19, 26, 0.55), 0 12px 24px -10px rgba(21, 19, 26, 0.3); }
.shelf-grid.stack { gap: 22px; }
.shelf-grid.stack .shelf-list { display: block; position: relative; aspect-ratio: 4 / 3.4; padding: 0; }
.shelf-grid.stack .shelf-card { position: absolute; inset: 0; aspect-ratio: auto; }
.shelf-grid.stack .shelf-title p { margin-top: 12px; }


/* =====================================================================
   Round 4: the interior pages, in the same hand as the home page
   ===================================================================== */

/* page header: headline on the left, a small tray of colour squares on the right */
.phead-grid { display: grid; gap: 44px; align-items: end; }
.phead-copy { min-width: 0; }
@media (min-width: 800px) {
  .phead-grid { grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
  }

/* statements that fill in as you scroll */
p.bigp, p.callout { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.55rem, 3.2vw, 2.7rem); line-height: 1.14; letter-spacing: -0.01em; color: var(--ink); max-width: 30ch; }
.prose p.bigp, .answers p.bigp, .answers p.callout { color: var(--ink); max-width: 30ch; }
.answers p.callout { margin-top: 10px; max-width: 24ch; font-size: clamp(1.7rem, 3.6vw, 3rem); }
.prose p.bigp + p { margin-top: 26px; }

/* hairlines that draw across */
[data-line] { position: relative; }
[data-line]::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); transform: scaleX(var(--ln, 1)); transform-origin: left; }
.post { border-top: 0; }
.post:first-child::before { display: none; }

/* a flood of colour from wherever the pointer arrives (the home page tiles, everywhere else) */
.flood { position: relative; overflow: hidden; isolation: isolate; --flood: var(--ink); --flood-ink: #fff; transition: color 0.35s var(--ease), transform 0.4s var(--ease); }
.flood::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--flood); clip-path: circle(0 at var(--x, 0%) var(--y, 100%)); transition: clip-path 0.65s var(--ease); }
.flood:hover::before, .flood:focus-visible::before { clip-path: circle(160% at var(--x, 0%) var(--y, 100%)); }
.flood:hover, .flood:focus-visible { color: var(--flood-ink); }

/* FAQ: the contents list follows you down the page */
.qnav a[aria-current="true"] { background: var(--ink); color: #fff; }
.qnav a { transition: background-color 0.25s, color 0.25s; }
.points p { position: relative; padding-top: 26px; margin-top: 26px; }
.points p:first-of-type { padding-top: 0; margin-top: 0; }
.points p strong:first-child { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; line-height: 1.15; margin-bottom: 6px; color: var(--ink); }

/* tips: the toppers run sideways on desktop, and swipe on a phone */
.hs { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.hs-track { display: flex; gap: 14px; padding-inline: var(--gutter); width: max-content; }
.hs-track .media { flex: none; width: min(64vw, 300px); scroll-snap-align: start; }
.hs-track .media img { aspect-ratio: 1; object-fit: cover; }
@media (min-width: 900px) {
  .hs-sec { padding-block: 44px; }
  .hs { overflow: hidden; scroll-snap-type: none; }
  .hs-track { gap: 24px; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
  .hs-track .media { width: min(32vw, 46vh); }
}

/* news: the date and headline hold while the story scrolls past */
@media (min-width: 900px) {
  .post > div:first-child { position: sticky; top: calc(var(--head) + 40px); align-self: start; }
}

/* tables: the column under the pointer lifts */
td.hot, th.hot { background: var(--mist); }
thead th.hot { background: var(--red-deep); }
tbody tr:hover td.hot, tbody tr:hover th.hot { background: var(--tint); }

/* cashback cards lift a little */
.ref { transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.ref:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

/* stockists */
.logo-cell { will-change: transform; }

/* groups: the region title holds on the left while its cards scroll */
@media (min-width: 980px) {
  .region { display: grid; grid-template-columns: minmax(220px, 0.34fr) 1fr; column-gap: clamp(40px, 6vw, 96px); align-items: start; }
  .region > h2 { grid-column: 1; grid-row: 1 / span 12; position: sticky; top: calc(var(--head) + 40px); margin-bottom: 0; max-width: 11ch; }
  .region > :not(h2) { grid-column: 2; }
  .region > h3 { margin-top: 0; }
  .region > * + h3 { margin-top: 34px; }
}

/* spreading gallery needs room to overlap */
[data-spread] .media { will-change: transform; box-shadow: var(--shadow); }
.media-pair .media { background: var(--tint); }

/* the sheets frame themselves as they arrive */
.sheet { will-change: clip-path; }

@media (prefers-reduced-motion: reduce) {
  .flood::before { transition: none; }
}


/* =====================================================================
   Round 5
   ===================================================================== */

/* the photo box beside each page header */
.pslide { position: relative; overflow: hidden; isolation: isolate; border-radius: 26px 8px 8px 8px; background: var(--tint); aspect-ratio: 1; width: min(100%, 230px); justify-self: start; }
.pslide .layer.photo img { padding: 0; object-fit: cover; }
@media (min-width: 800px) { .pslide { width: clamp(250px, 27vw, 400px); justify-self: end; border-radius: 34px 10px 10px 10px; } }

/* buttons inside prose keep their own text colour */
.prose a.btn, .answers a.btn { font-weight: 700; }
.prose a.btn-red, .prose a.btn-ink { color: #fff; }
.prose a.btn-white { color: var(--ink); }

/* shop pictures from the original page */
.shop-pic { margin-top: 26px; background: var(--tint); border-radius: 22px 6px 22px 6px; display: grid; place-items: center; padding: clamp(16px, 2.4vw, 30px); isolation: isolate; max-width: 460px; }
.shop-pic img { width: 100%; max-width: 380px; height: auto; mix-blend-mode: multiply; }
.shop-split { display: grid; gap: 28px; align-items: start; }
.shop-split .shop-pic { margin-top: 0; }
@media (min-width: 900px) { .shop-split { grid-template-columns: minmax(280px, 0.36fr) 1fr; gap: clamp(36px, 5vw, 80px); } .shop-split h2 { margin-top: 0; } }

/* phones: a blurred header would trap the fixed menu drawer inside the header bar */
@media (max-width: 899px) {
  .site-head { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(249, 248, 251, 0.98); }
}

/* nothing that slides or spreads may widen the page on a phone */
html, body { overflow-x: clip; }
main { overflow-x: clip; }
@media (max-width: 899px) {
  .sheet iframe { height: 64vh; min-height: 420px; }
}
