/* =========================================================
   Brow & Lash Lab · design system
   Calm, bright, reduced. Mobile first: base = phone, min-width queries add larger layouts.
   Two main colours drive everything: --c-base (canvas) and --c-accent (buttons, details).
   ========================================================= */

:root {
  --c-base: #f7f4ef;
  --c-accent: #1e1b18;
  --c-ink: #1f1b17;

  --bg: var(--c-base);
  --bg-deep: color-mix(in oklab, var(--c-base) 92%, var(--c-ink));
  --surface: color-mix(in oklab, var(--c-base) 55%, #fff);
  --surface-2: color-mix(in oklab, var(--c-base) 93%, var(--c-ink));
  --text: color-mix(in oklab, var(--c-ink) 94%, var(--c-accent));
  --muted: color-mix(in oklab, var(--text) 62%, var(--c-base));
  --accent: var(--c-accent);
  --accent-2: color-mix(in oklab, var(--c-accent) 80%, var(--c-ink));
  --line: color-mix(in oklab, var(--c-ink) 14%, var(--c-base));
  --line-soft: color-mix(in oklab, var(--c-ink) 8%, transparent);
  --on-accent: #fbf8f4;
  --veil: color-mix(in oklab, var(--c-base) 55%, transparent);
  --shadow: 0 18px 50px color-mix(in oklab, var(--c-ink) 10%, transparent);

  --font: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-amp: "Cormorant Garamond", Georgia, serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --sec: clamp(72px, 10vw, 140px);
  --r: 18px;
  --r-lg: 26px;
  --ease: cubic-bezier(.2,.7,.1,1);
}
/* dark tone (dark presets in the colour panel) */
:root[data-tone="dark"] {
  --c-ink: #f4efe8;
  --bg-deep: color-mix(in oklab, var(--c-base) 84%, #000);
  --surface: color-mix(in oklab, var(--c-base) 93%, var(--c-ink));
  --surface-2: color-mix(in oklab, var(--c-base) 88%, var(--c-ink));
  --line: color-mix(in oklab, var(--c-ink) 16%, var(--c-base));
  --line-soft: color-mix(in oklab, var(--c-ink) 9%, transparent);
  --veil: color-mix(in oklab, var(--c-base) 60%, transparent);
  --shadow: 0 18px 50px rgba(0,0,0,.35);
}

/* ---------- reset & type ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-weight: 300; font-size: 16.5px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; text-decoration-color: var(--line); }
a:hover { text-decoration-color: currentColor; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; line-height: 1.12; letter-spacing: -.01em; color: var(--text); }
strong, b { font-weight: 500; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 30px; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }
.sec { padding-block: var(--sec); }
.sec--tight { padding-block: calc(var(--sec) * .6); }
.sec--soft { background: var(--surface-2); }
.center { text-align: center; }
.label { display: block; font-size: 12px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.title { font-size: clamp(32px, 6.4vw, 54px); }
.title-s { font-size: clamp(26px, 4.6vw, 36px); }
.lead { font-size: clamp(17px, 2.3vw, 20px); color: var(--text); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.stack > * + * { margin-top: 1em; }
.head { margin-bottom: clamp(36px, 6vw, 64px); }
.head .lead { margin-top: 18px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: 999px;
  border: 1px solid var(--accent); background: var(--accent); color: var(--on-accent); font: inherit; font-size: 14px; font-weight: 400; letter-spacing: .04em;
  text-decoration: none; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--line { background: transparent; color: var(--text); border-color: var(--line); }
.btn--line:hover { border-color: var(--text); }
.btn--light { background: var(--surface); color: var(--text); border-color: transparent; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.center .btns { justify-content: center; }
.more { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .04em; text-decoration: none; color: var(--text); }
.more::after { content: "→"; transition: transform .3s var(--ease); }
.more:hover::after { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; height: 68px; display: flex; align-items: center; transition: background .4s, box-shadow .4s; }
.site-header.scrolled, .site-header.solid { background: color-mix(in oklab, var(--bg) 90%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-soft); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(100% - 2 * var(--gutter), 1320px); }
.logo { text-decoration: none; color: var(--text); font-size: 15px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; white-space: nowrap; line-height: 1; }
.logo .amp { font-family: var(--font-amp); font-style: italic; text-transform: none; letter-spacing: 0; font-size: 1.35em; margin: 0 .12em; }
.logo small { display: block; margin-bottom: 7px; font-size: 9.5px; letter-spacing: .42em; color: var(--muted); }
.logo .lw { display: block; }
/* phones and tablets: logo centred below the status bar / Dynamic Island, tagline above */
.site-header { height: auto; padding: 40px 0 12px; }
.site-header .wrap { display: grid; grid-template-columns: 46px 1fr 46px; align-items: center; gap: 8px; }
.site-header .logo { grid-column: 2; justify-self: center; text-align: center; }
.site-header .nav { grid-column: 3; justify-self: end; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: none; gap: 30px; list-style: none; }
.nav ul a { font-size: 14px; letter-spacing: .06em; text-decoration: none; color: var(--text); padding: 8px 0; border-bottom: 1px solid transparent; }
.nav ul a:hover, .nav ul a[aria-current="page"] { border-bottom-color: var(--text); }
.nav .btn { display: none; min-height: 42px; padding: 0 20px; font-size: 13px; }
.burger { width: 46px; height: 46px; border: 0; background: none; cursor: pointer; position: relative; color: var(--text); }
.burger span { position: absolute; left: 12px; right: 12px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.burger span:nth-child(1) { top: 19px; } .burger span:nth-child(2) { top: 27px; }
.menu-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 55; background: var(--bg); padding: 120px var(--gutter) 40px; display: flex; flex-direction: column; gap: 6px;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a.mm { font-size: 28px; font-weight: 300; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.mobile-menu .btn { margin-top: 24px; align-self: flex-start; }
.mobile-menu .mm-foot { margin-top: auto; color: var(--muted); font-size: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 92svh; display: grid; place-items: center; text-align: center; overflow: hidden; padding: 130px var(--gutter) 70px; }
.hero__img { position: absolute; inset: 0; z-index: -2; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos-m, 70% 40%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--veil) 0%, color-mix(in oklab, var(--bg) 35%, transparent) 50%, var(--veil) 100%); }
.hero__inner { max-width: 1040px; }
.hero__brand { font-size: clamp(28px, 6.2vw, 70px); font-weight: 300; letter-spacing: .14em; text-transform: uppercase; line-height: 1.05; }
.hero__brand .amp { font-family: var(--font-amp); font-style: italic; text-transform: none; letter-spacing: 0; font-size: 1.15em; }
.hero__tag { display: block; margin-top: 14px; font-size: 12px; letter-spacing: .5em; text-transform: uppercase; color: var(--muted); }
.hero h1.hero__title { font-size: clamp(34px, 7vw, 64px); }
.hero .lead { margin: 22px auto 0; max-width: 560px; }
.hero--page { min-height: 62svh; }
.crumbs { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }

/* ---------- cards (services) ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 28px; }
.card { display: block; text-decoration: none; color: var(--text); text-align: center; }
.card .ph { aspect-ratio: 4/4.6; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); margin-bottom: 18px; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .ph img { transform: scale(1.04); }
.card h3 { font-size: 15px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; }
.card p { margin: 8px auto 0; color: var(--muted); font-size: 15px; max-width: 26ch; }

/* ---------- banner (image band with centred text) ---------- */
.banner { position: relative; overflow: hidden; border-radius: var(--r-lg); min-height: 420px; display: grid; place-items: center; text-align: center; padding: 60px 24px; isolation: isolate; }
.banner img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in oklab, var(--bg) 45%, transparent); }
.banner h2 { font-size: clamp(28px, 5.4vw, 46px); }
.banner p { margin: 12px auto 0; max-width: 46ch; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.split .ph { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/4.4; background: var(--surface-2); }
.split .ph img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { margin-bottom: 20px; }
.checks { list-style: none; display: grid; gap: 10px; margin-top: 20px; }
.checks li { padding-left: 26px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 12px; height: 1px; background: var(--text); }

/* ---------- facts line ---------- */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-soft); border-radius: var(--r); overflow: hidden; }
.facts div { background: var(--surface); padding: 24px 18px; text-align: center; }
.facts b { display: block; font-size: clamp(26px, 5vw, 40px); font-weight: 300; }
.facts span { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.footnote { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ---------- price list ---------- */
.plist { display: grid; gap: 0; }
.pgroup + .pgroup { margin-top: 56px; }
.pgroup h2 { font-size: clamp(24px, 4vw, 32px); margin-bottom: 8px; }
.pgroup > p { color: var(--muted); }
.prow { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.prow b { font-weight: 400; }
.prow i { flex: 1; }
.prow em { font-style: normal; white-space: nowrap; color: var(--muted); font-size: 15px; }
.prow small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.prow > div { flex: 1; }

/* ---------- steps ---------- */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: 1fr; gap: 0; }
.steps li { counter-increment: s; display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.steps li::before { content: counter(s, decimal-leading-zero); color: var(--muted); font-size: 14px; min-width: 26px; padding-top: 2px; }

/* ---------- stylists ---------- */
.people { display: grid; grid-template-columns: 1fr; gap: 14px; }
.person { background: var(--surface); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 1px 0 var(--line-soft); }
.person h3 { font-size: 22px; font-weight: 400; }
.person .meta { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.person p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.person .btn { margin-top: 14px; align-self: flex-start; min-height: 42px; font-size: 13px; }
.person .xtra { font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.note { background: var(--surface); border-radius: var(--r); padding: 20px 22px; color: var(--muted); font-size: 15px; margin-top: 20px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-size: 18px; font-weight: 400; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 300; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 22px; color: var(--muted); }

/* ---------- compare ---------- */
.compare { display: grid; grid-template-columns: 1fr; gap: 14px; }
.compare > div { background: var(--surface); border-radius: var(--r); padding: 26px; }
.compare h3 { font-size: 22px; font-weight: 400; margin-bottom: 14px; }
.compare dl { margin: 0; display: grid; gap: 10px; }
.compare dt { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.compare dd { margin: 0 0 6px; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr; gap: 40px; }
.info dl { margin: 0; display: grid; gap: 18px; }
.info dt { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.info dd { margin: 0; }
.info a { text-decoration: none; }
.info a:hover { text-decoration: underline; }
.form { display: grid; gap: 16px; background: var(--surface); border-radius: var(--r-lg); padding: 26px; }
.form .row { display: grid; grid-template-columns: 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--text); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); }
.form-success { display: none; }
.form.sent > :not(.form-success) { display: none; }
.form.sent .form-success { display: block; }
.form-success h3 { font-size: 24px; margin-bottom: 8px; }
.map-link { display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/10; position: relative; margin-top: 22px; }
.map-link img { width: 100%; height: 100%; object-fit: cover; }
.map-link span { position: absolute; left: 14px; bottom: 14px; background: var(--surface); padding: 8px 14px; border-radius: 30px; font-size: 13px; }

/* ---------- blog ---------- */
.posts { display: grid; grid-template-columns: 1fr; gap: 34px; }
.post { text-decoration: none; color: var(--text); display: block; }
.post .ph { aspect-ratio: 16/10; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 16px; background: var(--surface-2); }
.post .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post:hover .ph img { transform: scale(1.04); }
.post time { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.post h3 { font-size: 22px; font-weight: 400; margin: 6px 0 8px; }
.post p { color: var(--muted); font-size: 15px; margin: 0; }
.prose { max-width: 68ch; margin-inline: auto; }
.prose h2 { font-size: clamp(24px, 4vw, 32px); margin: 1.8em 0 .6em; }
.prose h3 { font-size: 20px; font-weight: 400; margin: 1.5em 0 .5em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.legal { font-size: 15.5px; color: var(--muted); }
.legal h1, .legal h2, .legal h3 { color: var(--text); }

/* ---------- footer ---------- */
.site-footer { background: var(--surface-2); padding: 64px 0 34px; margin-top: 0; }
.f-grid { display: grid; grid-template-columns: 1fr; gap: 34px; }
.f-grid h4 { font-size: 12px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.f-grid p { margin: 0; }
.f-grid ul { list-style: none; display: grid; gap: 4px; }
.f-grid a { text-decoration: none; }
.f-grid a:hover { text-decoration: underline; }
.f-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; font-size: 13px; color: var(--muted); }
.f-bottom a { color: var(--muted); text-decoration: none; }

/* floating WhatsApp (desktop) and booking bar (phones) */
.wa-fab { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: none; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 14px; border-radius: 30px;
  background: var(--surface); color: var(--text); text-decoration: none; font-size: 13px; box-shadow: var(--shadow); }
.wa-fab svg { width: 20px; height: 20px; }
.m-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 58; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in oklab, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line-soft); }
.m-bar a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; text-decoration: none; color: var(--text); }
.m-bar a.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.m-bar svg { width: 18px; height: 18px; }
.menu-open .m-bar { display: none; }
body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- Desktop / Mobil view toggle ---------- */
.vt { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 71; display: none; padding: 4px; gap: 4px; background: var(--surface); border-radius: 30px; box-shadow: var(--shadow); }
.vt button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 0; border-radius: 24px; background: none; cursor: pointer; color: var(--muted); font: inherit; font-size: 13px; }
.vt button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.vt svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.dv { position: fixed; inset: 0; z-index: 69; display: grid; place-items: center; align-content: center; gap: 14px; padding: 20px 20px 90px;
  background: color-mix(in oklab, var(--bg-deep) 80%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.dv[hidden] { display: none; }
.dv__phone { position: relative; width: 390px; height: min(844px, calc(100svh - 150px)); border-radius: 46px; padding: 12px; background: #141210; box-shadow: 0 40px 120px rgba(0,0,0,.35); }
.dv__phone iframe { width: 100%; height: 100%; border: 0; border-radius: 34px; background: var(--bg); display: block; }
.dv__notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; border-radius: 20px; background: #141210; z-index: 2; pointer-events: none; }
.dv__hint { margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.embedded .vt, .embedded .tp-toggle, .embedded .tp { display: none !important; }
html.embedded { scrollbar-width: none; }
html.embedded::-webkit-scrollbar { display: none; }

/* ---------- colour panel (Gestaltung) ---------- */
.tp-toggle { position: fixed; left: 16px; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 70; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 13px;
  background: var(--surface); border: 0; border-radius: 30px; box-shadow: var(--shadow); color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }
.tp-toggle .sw { width: 20px; height: 20px; border-radius: 50%; background: conic-gradient(var(--c-accent) 0 50%, var(--c-base) 0); box-shadow: 0 0 0 1px var(--line); }
.tp-toggle span.t { display: none; }
.tp { position: fixed; left: 16px; bottom: calc(134px + env(safe-area-inset-bottom)); z-index: 70; width: min(360px, calc(100vw - 32px)); max-height: calc(100svh - 220px); overflow-y: auto;
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 22px; font-size: 14px; display: none; }
.tp.open { display: block; }
.tp h3 { font-size: 22px; font-weight: 400; margin-bottom: 4px; }
.tp .tp-sub { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.tp .tp-label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; }
.tp-presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tp-preset { border: 1px solid var(--line-soft); border-radius: 12px; background: none; color: var(--text); cursor: pointer; padding: 8px; text-align: left; font: inherit; font-size: 12px; line-height: 1.3; }
.tp-preset[aria-pressed="true"] { border-color: var(--text); }
.tp-preset .chips { display: flex; height: 22px; border-radius: 6px; overflow: hidden; margin-bottom: 6px; box-shadow: 0 0 0 1px var(--line-soft); }
.tp-preset .chips i { flex: 1; }
.tp-row { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.tp-row label { flex: 1; }
.tp-row code { font-size: 11px; color: var(--muted); }
.tp-row input[type=color] { width: 38px; height: 30px; border: 1px solid var(--line); border-radius: 8px; background: none; padding: 2px; cursor: pointer; }
.tp-row .tp-reset { background: none; border: 0; color: var(--muted); cursor: pointer; width: 26px; height: 26px; visibility: hidden; }
.tp-row.overridden .tp-reset { visibility: visible; }
.tp details summary { cursor: pointer; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 18px 0 6px; }
.tp-actions { display: flex; gap: 8px; margin-top: 18px; }
.tp-actions button { flex: 1; min-height: 38px; border: 1px solid var(--line); border-radius: 30px; background: none; color: var(--text); font: inherit; font-size: 12px; cursor: pointer; }
.tp textarea { width: 100%; height: 140px; margin-top: 12px; background: var(--bg); color: var(--muted); border: 1px solid var(--line); border-radius: 10px; font: 11px/1.5 ui-monospace, Consolas, monospace; padding: 10px; display: none; }
.tp textarea.show { display: block; }

/* =========================================================
   larger screens
   ========================================================= */
@media (min-width: 601px) {
  .cards { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .people { grid-template-columns: repeat(2, 1fr); }
  .form .row { grid-template-columns: 1fr 1fr; }
  .form { padding: 34px; }
  .compare { grid-template-columns: 1fr 1fr; }
  .posts { grid-template-columns: 1fr 1fr; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .tp-toggle span.t { display: inline; }
}
@media (min-width: 901px) {
  .hero__img img { object-position: var(--pos, 70% 40%); }
  .split { grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); }
  .split--rev .split-media { order: 2; }
  .contact { grid-template-columns: 1fr 1.1fr; gap: 70px; }
  .people { grid-template-columns: repeat(3, 1fr); }
  .posts { grid-template-columns: repeat(3, 1fr); }
  .f-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .banner { min-height: 520px; }
  body { padding-bottom: 0; }
  .m-bar { display: none; }
  .wa-fab { display: inline-flex; }
  .vt { display: inline-flex; }
  .tp-toggle { left: 22px; bottom: 22px; }
  .tp { left: 22px; bottom: 78px; max-height: calc(100svh - 110px); }
}
@media (min-width: 1101px) {
  .site-header { height: 80px; padding: 0; }
  .site-header .wrap { display: flex; }
  .site-header .logo { text-align: left; }
  .nav ul { display: flex; }
  .nav .btn { display: inline-flex; }
  .burger { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}
/* long words and lists never push the layout wider than the screen */
.split > *, .contact > *, .compare > *, .prow > div { min-width: 0; }
.prow small, .prow b { overflow-wrap: break-word; hyphens: auto; }
.form > *, .form .row > *, .field { min-width: 0; }
