/* Base reset */
html { color-scheme: light; scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }

:root {
  --bg: #f3f3f1; --surface: #ffffff; --fg: #0c0c0c; --muted: #5a5a55; --line: #d2d2cc;
  --accent: #f5cf2e; --accent-fg: #0c0c0c; --hl: #f5cf2e; --hl-fg: #0c0c0c;
  --wa: #128c4a; --ok: #128c4a; --bad: #b3261e;
  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0a0a; --surface: #151515; --fg: #f1f1ee; --muted: #a3a39c; --line: #2d2d2a;
    --wa: #2fbf71; --ok: #2fbf71; --bad: #ff6b5e; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0a0a; --surface: #151515; --fg: #f1f1ee; --muted: #a3a39c; --line: #2d2d2a;
  --wa: #2fbf71; --ok: #2fbf71; --bad: #ff6b5e; color-scheme: dark;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 16px; line-height: 1.55; padding-block: 0 72px; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); }
h1, h2, h3 { font-family: var(--font-display); text-transform: uppercase; line-height: 0.95; margin: 0; text-wrap: balance; letter-spacing: 0.01em; }
p { margin: 0; }
a { color: inherit; }
button, select, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--fg); outline-offset: 2px; }
.in { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.sr { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
section[id], #tools, main#top { scroll-margin-top: calc(132px + env(safe-area-inset-top, 0px)); }

/* header (only the top row wraps; the menu below scrolls) */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.top > .in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.logo img { width: 52px; height: 52px; flex: none; display: block; border-radius: 50%; }
.logo .t { display: flex; flex-direction: column; min-width: 0; }
.logo b { font-family: var(--font-display); font-size: 26px; font-weight: 900; text-transform: uppercase; line-height: 1; letter-spacing: 0.02em; }
.logo .t span { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* main menu */
.menu { border-top: 1px solid var(--line); }
.menu .in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.menu .in::-webkit-scrollbar { display: none; }
.menu a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; }
.menu a:hover { background: var(--bg); }
.menu a.active { border-bottom-color: var(--fg); background: var(--hl); color: var(--hl-fg); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 2px solid var(--fg); background: transparent; font-weight: 700; text-decoration: none; cursor: pointer; border-radius: 4px; white-space: nowrap; }
.btn:hover { background: var(--fg); color: var(--bg); }
.btn.solid { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.btn.solid:hover { filter: brightness(1.08); background: var(--accent); color: var(--accent-fg); }
.btn.wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn.wa:hover { filter: brightness(1.1); background: var(--wa); color: #fff; }
.btn.small { min-height: 38px; padding: 0 12px; font-size: 14px; }
.btn.on { background: var(--fg); color: var(--bg); }

/* open / closed pill */
.open-pill { display: inline-block; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; border: 1.5px solid currentColor; color: var(--muted); }
.open-pill.is-open { color: var(--ok); }
.open-pill.is-closed { color: var(--bad); }

/* hero */
.hero { padding-block: 44px 40px; }
.hero .in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.5vw, 60px); font-weight: 900; line-height: 1.05; margin-block: 14px 18px; }
.hero h1 em { font-style: normal; background: var(--hl); color: var(--hl-fg); padding: 0 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero p.lead { font-size: 18px; max-width: 52ch; color: var(--muted); }
.hero .cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.facts { background: var(--surface); border: 3px solid var(--fg); padding: 14px 16px; }
.facts .mark { width: 96px; height: 96px; display: block; margin-bottom: 10px; border-radius: 50%; }
.facts h2 { font-size: 34px; font-weight: 900; border-bottom: 8px solid var(--fg); padding-bottom: 6px; }
.facts .row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts .row:last-of-type { border-bottom: 4px solid var(--fg); }
.facts .row b { font-weight: 700; }
.facts .row > span { text-align: right; color: var(--muted); min-width: 0; }
.facts small { display: block; padding-top: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }

/* sections */
section { padding-block: 44px; }
.sec-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.sec-head h2 { font-size: clamp(34px, 6vw, 56px); font-weight: 900; }
.sec-head p { color: var(--muted); max-width: 60ch; }
.alt { background: var(--surface); border-block: 1px solid var(--line); }

/* goal finder */
.goals { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.goal { text-align: left; background: var(--bg); border: 2px solid var(--fg); padding: 16px; cursor: pointer; display: flex; flex-direction: column; gap: 8px; border-radius: 4px; }
.goal:hover { background: var(--fg); color: var(--bg); }
.goal h3 { font-size: 30px; font-weight: 900; }
.goal p { font-size: 14px; color: var(--muted); }
.goal:hover p { color: inherit; opacity: 0.85; }

/* category tiles */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.cat { text-align: left; background: var(--surface); border: 2px solid var(--fg); padding: 18px; cursor: pointer; display: flex; flex-direction: column; gap: 10px; min-width: 0; border-radius: 4px; }
.alt .cat { background: var(--bg); }
.cat:hover { background: var(--fg); color: var(--bg); }
.cat h3 { font-size: 36px; font-weight: 900; }
.cat ul { list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.cat:hover ul { color: inherit; opacity: 0.85; }
.cat .go { margin-top: auto; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

/* catalog */
.tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 220px); gap: 10px; margin-bottom: 14px; }
.field { width: 100%; min-height: 46px; padding: 0 14px; border: 2px solid var(--fg); background: var(--surface); border-radius: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chips:empty { display: none; }
.chip { min-height: 38px; padding: 0 14px; border: 2px solid var(--line); background: var(--surface); border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 14px; }
.chip:hover { border-color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip.goal-on { background: var(--hl); color: var(--hl-fg); border-color: var(--fg); }
.count { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin: 10px 0 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.card { background: var(--surface); border: 2px solid var(--line); padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; border-radius: 4px; }
.alt .card { background: var(--bg); }
.card .brand { font-family: var(--font-display); font-weight: 900; font-size: 24px; text-transform: uppercase; line-height: 1; border-bottom: 4px solid var(--fg); padding-bottom: 6px; }
.card .name { font-weight: 700; font-size: 17px; }
.card .meta { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.card .tag { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 3px 8px; background: var(--hl); color: var(--hl-fg); border-radius: 3px; }
.card .row { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.card .row .btn { flex: 1 1 auto; }
.card.own { border-color: var(--fg); border-width: 3px; box-shadow: 6px 6px 0 var(--hl); }
.card.own .brand { background: var(--hl); color: var(--hl-fg); padding: 6px 8px 4px; border-bottom-color: var(--fg); }
.card .own-tag { align-self: flex-start; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; background: var(--fg); color: var(--bg); padding: 3px 8px; border-radius: 3px; }
.card .pic { width: 100%; aspect-ratio: 1/1; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 3px; display: block; }
.empty { border: 2px dashed var(--fg); padding: 28px 20px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; grid-column: 1 / -1; }
.empty h3 { font-size: 34px; font-weight: 900; }
.note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* brands */
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0; border: 2px solid var(--fg); }
.brand-btn { background: var(--bg); border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 84px; padding: 12px; cursor: pointer; font-family: var(--font-display); font-weight: 900; font-size: 26px; text-transform: uppercase; text-align: center; line-height: 1; overflow-wrap: anywhere; }
.brand-btn:hover { background: var(--fg); color: var(--bg); }
.brand-btn.more { background: var(--hl); color: var(--hl-fg); display: flex; align-items: center; justify-content: center; text-decoration: none; }
.brand-btn.own { background: var(--hl); color: var(--hl-fg); box-shadow: inset 0 0 0 3px var(--fg); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 2px solid var(--fg); border-radius: 4px; display: block; }

/* reviews */
.reviews { overflow: hidden; padding: 2px 0 8px; -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent); }
.reviews.manual { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reviews:empty { display: none; }
.rev-track { display: flex; gap: 14px; width: max-content; animation: revscroll linear infinite; }
.rev-track.still { width: auto; animation: none; }
.reviews:hover .rev-track, .reviews:focus-within .rev-track, .reviews.touching .rev-track { animation-play-state: paused; }
@keyframes revscroll { to { transform: translateX(calc(-50% - 7px)); } }
.review { flex: 0 0 min(340px, 82%); scroll-snap-align: start; background: var(--bg); border: 2px solid var(--fg); padding: 16px; border-radius: 4px; display: flex; flex-direction: column; gap: 10px; }
.review .stars { font-size: 18px; letter-spacing: 2px; color: #c98f00; }
.review p { font-size: 16px; }
.review .who { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-top: auto; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; counter-reset: s; }
.step { border-top: 6px solid var(--fg); padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.step::before { counter-increment: s; content: "Step " counter(s); font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.step h3 { font-size: 30px; font-weight: 900; }
.step p { color: var(--muted); }

/* faq */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 2px solid var(--fg); border-radius: 4px; background: var(--surface); }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 16px 16px; color: var(--muted); }

/* visit */
.visit { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.visit dl { margin: 0; display: grid; gap: 14px; }
.visit dt { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.visit dd { margin: 2px 0 0; font-weight: 600; font-size: 18px; overflow-wrap: anywhere; }
.copy { margin-left: 8px; min-height: 30px; padding: 0 10px; border: 1.5px solid var(--line); background: transparent; border-radius: 4px; cursor: pointer; font-size: 13px; }
.copy:hover { border-color: var(--fg); }
.visit dd a { text-decoration: underline; text-underline-offset: 3px; }
.visit .box { border: 2px solid var(--fg); padding: 18px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; background: var(--bg); }
.visit .box h3 { font-size: 34px; font-weight: 900; }
footer { padding-block: 28px; font-size: 13px; color: var(--muted); }
footer .in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
footer .legal { flex-basis: 100%; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }

/* enquiry list bar */
.enq { position: fixed; z-index: 24; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border: 3px solid var(--fg); box-shadow: 6px 6px 0 var(--hl); padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; max-width: min(360px, calc(100vw - 32px)); }
.enq b { font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.enq-btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* mobile bottom bar */
.dock { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--surface); border-top: 2px solid var(--fg); padding: 8px max(16px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); gap: 6px; }
.dock .btn { flex: 1; padding: 0 8px; font-size: 14px; }

/* founder */
.founder { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 36px; align-items: center; }
.founder-photo { aspect-ratio: 4 / 5; border: 3px solid var(--fg); background: var(--hl); color: var(--hl-fg); box-shadow: 8px 8px 0 var(--fg); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.founder-photo span { font-family: var(--font-display); font-weight: 900; font-size: clamp(80px, 14vw, 160px); line-height: 1; letter-spacing: 0.02em; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-body { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.founder-body h2 { font-size: clamp(40px, 7vw, 72px); font-weight: 900; }
.founder-body .role { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; background: var(--hl); color: var(--hl-fg); padding: 4px 10px; border-radius: 3px; }
.founder-body > p:not(.eyebrow):not(.role) { font-size: 18px; color: var(--muted); max-width: 58ch; }
.founder-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.founder-points li { padding-left: 26px; position: relative; font-weight: 600; }
.founder-points li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 6px; border-left: 3px solid var(--fg); border-bottom: 3px solid var(--fg); transform: rotate(-45deg) translateY(-3px); }
.founder-body .cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }

@media (max-width: 760px) {
  .hero .in { grid-template-columns: minmax(0, 1fr); }
  .tools { grid-template-columns: minmax(0, 1fr); }
  .dock { display: flex; }
  .top .actions { display: none; }
  .hero { padding-block: 28px; }
  .founder { grid-template-columns: minmax(0, 1fr); }
  .founder-photo { max-width: 320px; }
  .enq { left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); max-width: none; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: no-preference) {
  .cat, .brand-btn, .btn, .chip, .goal { transition: background 0.15s, color 0.15s, border-color 0.15s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}