/* Signed: ASDHEM | AMXME Sites design kit – shared foundation of all premium themes.
   Contract: a theme sets surface tokens (--bg --surface --surface-2 --ink --muted --line) and layout; the engine
   injects direction tokens (--font-display --font-body --radius --h-weight --h-track --h-case) and brand tokens
   (--brand --on-brand --brand-text --brand-soft --brand-line --brand-accent). Nothing here hardcodes a colour. */

/* ---------- fonts (self-hosted, OFL) ---------- */
@font-face { font-family: "Inter"; src: url(/static/fonts/inter-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url(/static/fonts/inter-latin-ext.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; src: url(/static/fonts/manrope-latin.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Manrope"; src: url(/static/fonts/manrope-latin-ext.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; src: url(/static/fonts/space-grotesk-latin.woff2) format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Space Grotesk"; src: url(/static/fonts/space-grotesk-latin-ext.woff2) format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; src: url(/static/fonts/dm-sans-latin.woff2) format("woff2"); font-weight: 100 1000; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "DM Sans"; src: url(/static/fonts/dm-sans-latin-ext.woff2) format("woff2"); font-weight: 100 1000; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; src: url(/static/fonts/instrument-sans-latin.woff2) format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Instrument Sans"; src: url(/static/fonts/instrument-sans-latin-ext.woff2) format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Syne"; src: url(/static/fonts/syne-latin.woff2) format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Syne"; src: url(/static/fonts/syne-latin-ext.woff2) format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; src: url(/static/fonts/fraunces-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Fraunces"; src: url(/static/fonts/fraunces-latin-ext.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: italic; src: url(/static/fonts/fraunces-italic-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Playfair Display"; src: url(/static/fonts/playfair-display-latin.woff2) format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Playfair Display"; src: url(/static/fonts/playfair-display-latin-ext.woff2) format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: italic; src: url(/static/fonts/playfair-display-italic-latin.woff2) format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Instrument Serif"; src: url(/static/fonts/instrument-serif-latin-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Instrument Serif"; src: url(/static/fonts/instrument-serif-latin-ext-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; src: url(/static/fonts/instrument-serif-latin-italic.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }

/* ---------- defaults a theme may override ---------- */
:root {
  --bg: #fff; --surface: #f6f6f4; --surface-2: #ededea; --ink: #111216; --muted: #5d606b; --line: #e3e3df;
  --w: 1200px; --w-text: 68ch; --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(56px, 9vw, 120px); --gap: clamp(16px, 2.4vw, 28px);
  --fs-body: 17px; --lh-body: 1.65;
  --fs-h1: clamp(40px, 6.4vw, 84px); --fs-h2: clamp(30px, 4vw, 52px); --fs-h3: clamp(19px, 1.6vw, 23px);
  --radius-btn: var(--radius); --shadow: 0 1px 2px rgb(0 0 0 / .04), 0 8px 28px rgb(0 0 0 / .06);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-body)/var(--lh-body) var(--font-body); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "kern", "liga", "calt"; }
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-text); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: var(--h-weight); letter-spacing: var(--h-track); line-height: 1.08;
  margin: 0 0 .45em; text-wrap: balance; color: var(--ink); }
h1 { font-size: var(--fs-h1); } h2 { font-size: var(--fs-h2); } h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
small, .small { font-size: .875rem; }
.muted { color: var(--muted); } .center { text-align: center; }
::selection { background: var(--brand); color: var(--on-brand); }
:focus-visible { outline: 2px solid var(--brand-text); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 12px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--w) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(760px + 2 * var(--gutter)); }
.sec { padding-block: var(--sec); }
.sec + .sec.same { padding-top: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12.5px/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-text); margin-bottom: 18px; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--muted); max-width: 60ch; }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 64px); max-width: 760px; }
.sec-head h2 { margin: 0; text-transform: var(--h-case); }
.sec-head .lead { margin: 0; }
.sec-head.center { margin-inline: auto; justify-items: center; text-align: center; }

/* ---------- buttons ---------- */
.btn { --b-bg: var(--brand); --b-fg: var(--on-brand); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
  padding: 0 24px; border-radius: var(--radius-btn); border: 1px solid transparent; background: var(--b-bg); color: var(--b-fg);
  font: 600 15.5px/1 var(--font-body); letter-spacing: .005em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .25s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--brand) 70%, transparent); text-decoration: none; }
.btn:active { transform: none; }
.btn .arr { transition: transform .25s var(--ease); } .btn:hover .arr { transform: translateX(3px); }
.btn-ghost { --b-bg: transparent; --b-fg: var(--ink); border-color: color-mix(in srgb, var(--ink) 22%, transparent); }
.btn-ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn-ink { --b-bg: var(--ink); --b-fg: var(--bg); }
.btn-light { --b-bg: #fff; --b-fg: #111; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 16.5px; } .btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-danger { --b-bg: #b42318; --b-fg: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--brand-text); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form label, .field { display: grid; gap: 7px; font: 600 14px/1.3 var(--font-body); color: var(--ink); }
input, select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  border-radius: calc(var(--radius) * .7); background: var(--bg); color: var(--ink); font: 400 16px/1.4 var(--font-body);
  transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 140px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: color-mix(in srgb, var(--ink) 35%, transparent); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
input[type=checkbox], input[type=radio] { width: 18px; min-height: 18px; height: 18px; padding: 0; accent-color: var(--brand); }
.form .check, .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: 14.5px; }
.check input { margin-top: 3px; flex: none; }
.row2 { display: grid; gap: 18px; } @media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; } legend { font-weight: 650; margin-bottom: 8px; }
.note { padding: 14px 18px; border-radius: calc(var(--radius) * .7); background: var(--surface); border-left: 3px solid var(--brand); margin: 18px 0; }
.note-error { border-color: #d92d20; } .note-success { border-color: #12b76a; }
.flash-wrap { padding-top: 16px; }

/* ---------- prose ---------- */
.prose { max-width: var(--w-text); font-size: 1.06rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; } .prose p { margin: 0; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 1.8em 0 .5em; } .prose h3 { margin: 1.5em 0 .4em; }
.prose a { color: var(--brand-text); }
.prose img { border-radius: var(--radius); margin-block: 1.6em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--brand); font-family: var(--font-display); font-size: 1.25em; line-height: 1.45; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose li + li { margin-top: .4em; }

/* ---------- media helpers ---------- */
.ph { display: block; position: relative; overflow: hidden; background: var(--surface); border-radius: var(--radius); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.ph.r-43 { aspect-ratio: 4 / 3; } .ph.r-32 { aspect-ratio: 3 / 2; } .ph.r-45 { aspect-ratio: 4 / 5; } .ph.r-11 { aspect-ratio: 1; } .ph.r-169 { aspect-ratio: 16 / 9; } .ph.r-23 { aspect-ratio: 2 / 3; }
a:hover .ph img, .hover-zoom:hover img { transform: scale(1.035); }

/* ---------- generic sections (kit defaults – themes restyle) ---------- */
.k-grid { display: grid; gap: var(--gap); }
@media (min-width: 720px) { .k-grid.c2 { grid-template-columns: repeat(2, 1fr); } .k-grid.c3, .k-grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .k-grid.c3 { grid-template-columns: repeat(3, 1fr); } .k-grid.c4 { grid-template-columns: repeat(4, 1fr); } }
.k-feature { padding-top: 22px; border-top: 1px solid var(--line); }
.k-feature .num { font: 500 13px/1 var(--font-body); color: var(--muted); letter-spacing: .08em; display: block; margin-bottom: 18px; }
.k-feature h3 { margin-bottom: 10px; } .k-feature p { color: var(--muted); margin: 0; }
.k-split { display: grid; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) { .k-split { grid-template-columns: 1fr 1fr; } .k-split.rev > :first-child { order: 2; } }
.k-quote { margin: 0; padding: clamp(28px, 4vw, 40px); background: var(--surface); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.k-quote p { font-family: var(--font-display); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.45; margin: 0; }
.k-quote cite { font-style: normal; font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 12px; }
.k-quote .who { display: grid; gap: 2px; } .k-quote .role { font-weight: 400; color: var(--muted); font-size: 14px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; background: var(--brand-soft); color: var(--brand-text);
  font: 700 16px/1 var(--font-body); text-transform: uppercase; }
.k-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
@media (min-width: 900px) { .k-stats { grid-template-columns: repeat(4, 1fr); } }
.k-stat strong { display: block; font: var(--h-weight) clamp(38px, 4.6vw, 64px)/1 var(--font-display); letter-spacing: -.03em; margin-bottom: 10px; }
.k-stat span { color: var(--muted); font-size: 15px; }
.k-price { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 14px; background: var(--bg); }
.k-price.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow); }
.k-price .amount { font: var(--h-weight) clamp(32px, 3vw, 44px)/1 var(--font-display); letter-spacing: -.03em; }
.k-price ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
.k-price li { display: flex; gap: 10px; } .k-price li::before { content: ""; width: 16px; height: 16px; flex: none; margin-top: 4px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23000' stroke-opacity='.65' stroke-width='1.6'/%3E%3C/svg%3E") center/16px no-repeat; }
.k-faq { border-top: 1px solid var(--line); }
.k-faq details { border-bottom: 1px solid var(--line); }
.k-faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 600 clamp(17px, 1.4vw, 19px)/1.4 var(--font-body); }
.k-faq summary::-webkit-details-marker { display: none; }
.k-faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(currentColor, currentColor) center/14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center/1.5px 14px no-repeat; transition: transform .3s var(--ease); }
.k-faq details[open] summary::after { transform: rotate(45deg); }
.k-faq details p { color: var(--muted); padding: 0 44px 22px 0; margin: 0; max-width: 70ch; }
.k-team .ph { margin-bottom: 16px; } .k-team h3 { margin: 0 0 4px; font-size: 18px; } .k-team p { color: var(--muted); margin: 0; font-size: 15px; }
.k-team .initial { aspect-ratio: 4/5; border-radius: var(--radius); background: linear-gradient(160deg, var(--brand-soft), var(--surface)); display: grid; place-items: center;
  font: var(--h-weight) 64px/1 var(--font-display); color: var(--brand-text); margin-bottom: 16px; }
.k-gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .k-gallery { grid-template-columns: repeat(4, 1fr); } .k-gallery a:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; } }
.k-gallery a { display: block; overflow: hidden; border-radius: calc(var(--radius) * .6); background: var(--surface); }
.k-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; transition: transform .9s var(--ease); }
.k-gallery a:hover img { transform: scale(1.04); }
.k-hours { width: 100%; border-collapse: collapse; font-size: 16px; }
.k-hours th, .k-hours td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.k-hours td { text-align: right; font-variant-numeric: tabular-nums; } .k-hours tr.today th, .k-hours tr.today td { font-weight: 650; color: var(--ink); }
.k-steps { counter-reset: step; display: grid; gap: var(--gap); }
@media (min-width: 900px) { .k-steps { grid-template-columns: repeat(var(--n, 3), 1fr); } }
.k-steps li { list-style: none; counter-increment: step; padding-top: 22px; border-top: 1px solid var(--line); }
.k-steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 500 13px/1 var(--font-body); letter-spacing: .1em; color: var(--brand-text); margin-bottom: 18px; }
.k-steps h3 { margin-bottom: 8px; } .k-steps p { color: var(--muted); margin: 0; }
.k-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px clamp(28px, 5vw, 64px); }
.k-logos span { font: 700 clamp(17px, 1.6vw, 22px)/1 var(--font-display); letter-spacing: -.02em; color: color-mix(in srgb, var(--ink) 45%, transparent); white-space: nowrap; }
.k-cta { padding: clamp(40px, 7vw, 88px); border-radius: calc(var(--radius) * 1.5); background: var(--ink); color: var(--bg); display: grid; gap: 24px; }
.k-cta h2 { color: inherit; margin: 0; max-width: 18ch; } .k-cta p { margin: 0; opacity: .75; max-width: 54ch; }
.k-cta .btn { --b-bg: var(--bg); --b-fg: var(--ink); justify-self: start; }
.k-contact { display: grid; gap: clamp(32px, 6vw, 96px); }
@media (min-width: 900px) { .k-contact { grid-template-columns: .85fr 1.15fr; } }
.k-contact dl { display: grid; gap: 18px; margin: 28px 0 0; } .k-contact dt { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.k-contact dd { margin: 2px 0 0; font-size: 18px; } .k-contact dd a { color: var(--ink); }
.k-card { display: flex; flex-direction: column; gap: 14px; color: inherit; text-decoration: none; }
.k-card h3 { margin: 0; } .k-card h3 a { color: inherit; text-decoration: none; } .k-card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.k-card .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--muted); }
.k-card .price { font-weight: 650; color: var(--ink); }
.tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 99px; background: var(--brand-soft); color: var(--ink); font-size: 12.5px; font-weight: 600; }

/* ---------- module pages (legacy markup, styled for themes) ---------- */
.b { padding-block: var(--sec); } .wrap.b { padding-inline: var(--gutter); }
.b-narrow { max-width: calc(760px + 2 * var(--gutter)); }
.page-h { font-size: clamp(36px, 5vw, 64px); margin-bottom: 28px; text-transform: var(--h-case); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; } .crumbs a { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.chips a { padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: all .2s; }
.chips a:hover { border-color: var(--ink); } .chips a.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.grid { display: grid; gap: var(--gap); } .g3, .g4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.card.item { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.item-img { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--surface); }
.item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); } .item:hover .item-img img { transform: scale(1.04); }
.item-b { padding: 20px 22px 24px; display: grid; gap: 8px; } .item-b h3 { margin: 0; font-size: 19px; } .item-b h3 a { color: var(--ink); text-decoration: none; }
.item-b p { margin: 0; color: var(--muted); font-size: 15px; }
.price-v { font-weight: 650; font-variant-numeric: tabular-nums; } .price-v.big { font: var(--h-weight) 30px/1.1 var(--font-display); }
.detail-img { width: 100%; border-radius: var(--radius); margin: 8px 0 32px; max-height: 640px; object-fit: cover; }
.detail-grid { display: grid; gap: clamp(28px, 5vw, 72px); }
@media (min-width: 960px) { .detail-grid { grid-template-columns: 1fr 340px; } .product-grid { grid-template-columns: 1.1fr .9fr; } }
.facts-box dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0; font-size: 15px; } .facts-box dt { color: var(--muted); } .facts-box dd { margin: 0; font-weight: 600; text-align: right; }
.gal { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); margin-top: 32px; }
.gal img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--radius) * .6); }
.gal.small { grid-template-columns: repeat(4, 1fr); margin-top: 10px; }
.pager { display: flex; gap: 18px; justify-content: center; align-items: center; margin-top: 48px; color: var(--muted); font-size: 15px; }
.pager a { color: var(--ink); font-weight: 600; text-decoration: none; padding: 10px 16px; border: 1px solid var(--line); border-radius: 99px; }
.lessons { padding-left: 1.2em; display: grid; gap: 10px; }
.buy { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; margin: 24px 0; } .buy label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; } .buy input { width: 96px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slot input { position: absolute; opacity: 0; } .slot span { display: block; text-align: center; padding: 12px 0; border: 1px solid var(--line); border-radius: calc(var(--radius) * .6); font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; transition: all .15s; }
.slot input:checked + span { background: var(--brand); color: var(--on-brand); border-color: var(--brand); } .slot input:focus-visible + span { outline: 2px solid var(--brand-text); outline-offset: 2px; }
.hours { width: 100%; border-collapse: collapse; } .hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; } .hours td { text-align: right; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 15px; } .tbl th, .tbl td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; } .tbl th { font-weight: 600; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.r { text-align: right; }
/* forum (legacy markup) */
.forum-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.ftable { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.frow { display: grid; grid-template-columns: 1fr; gap: 6px 24px; padding: 18px 22px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); transition: background .15s; }
.frow:last-child { border-bottom: 0; } .frow:hover { background: var(--surface); }
@media (min-width: 760px) { .frow { grid-template-columns: 1fr 84px 84px 220px; align-items: center; } }
.frow strong { font-size: 17px; } .frow p { margin: 4px 0 0; font-size: 14.5px; } .frow small { display: block; }
.fnum { text-align: center; } .fnum b { display: block; font-variant-numeric: tabular-nums; } .fnum small { color: var(--muted); font-size: 12px; }
.flast { font-size: 14px; display: grid; } .flast span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post { display: grid; gap: 18px; margin-bottom: 16px; }
@media (min-width: 760px) { .post { grid-template-columns: 180px 1fr; } }
.post-author { display: grid; gap: 6px; align-content: start; font-weight: 600; font-size: 15px; } .post-author a { color: var(--ink); text-decoration: none; }
.post-tools summary { cursor: pointer; color: var(--muted); list-style: none; margin-top: 10px; }
.is-hidden { opacity: .5; }
.mod { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- header / nav building blocks ---------- */
.nav-t { position: absolute; opacity: 0; pointer-events: none; }
.nav-b { display: none; width: 44px; height: 44px; place-items: center; cursor: pointer; border-radius: 8px; }
.nav-b span { display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; transition: background .2s; }
.nav-b span::before, .nav-b span::after { content: ""; position: absolute; left: 0; width: 22px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.nav-b span::before { top: -7px; } .nav-b span::after { top: 7px; }
.nav-t:checked ~ .nav-b span { background: transparent; } .nav-t:checked ~ .nav-b span::before { transform: translateY(7px) rotate(45deg); } .nav-t:checked ~ .nav-b span::after { transform: translateY(-7px) rotate(-45deg); }
.nav-t:focus-visible ~ .nav-b { outline: 2px solid var(--brand-text); outline-offset: 2px; }
.cart-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--brand); color: var(--on-brand); font-size: 11.5px; font-weight: 700; }

/* ---------- motion ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }
html:not(.js) .rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .rv { opacity: 1; transform: none; } }

/* ---------- demo ribbon ---------- */
.demo-bar { position: fixed; z-index: 90; left: 50%; bottom: 14px; transform: translateX(-50%); background: #111; color: #fff; font: 500 13px/1 "Inter", system-ui, sans-serif;
  padding: 10px 16px; border-radius: 99px; box-shadow: 0 8px 30px rgb(0 0 0 / .25); white-space: nowrap; }
@media print { .demo-bar, header, footer, .nav-b { display: none !important; } }

/* ---------- kit list / detail pages ---------- */
.list-head { display: grid; gap: 8px; margin-bottom: clamp(28px, 4vw, 48px); }
.list-head .page-h { margin-bottom: 8px; }
.detail-hero { margin: 8px 0 clamp(32px, 5vw, 56px); border-radius: var(--radius); }
.detail-gal { margin-top: 48px; }
.latest-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.latest-head .sec-head { margin-bottom: 40px; }
.big-quote { margin: 0; } .big-quote blockquote { margin: 0 0 28px; } .big-quote p { font: var(--h-weight) clamp(24px, 3vw, 40px)/1.3 var(--font-display); margin: 0; }
.big-quote figcaption { display: inline-flex; align-items: center; gap: 12px; } .q-img img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.svc-list { display: grid; gap: var(--gap); } @media (min-width: 900px) { .svc-list { grid-template-columns: repeat(2, 1fr); } }
.svc { padding: 28px 0; border-top: 1px solid var(--line); } .svc-n { color: var(--brand-text); font-size: 14px; } .svc h3 { margin: 10px 0 8px; } .svc p { color: var(--muted); margin: 0; } .svc-meta { display: block; margin-top: 10px; font-size: 14px; }

/* ---------- community (forum) components ---------- */
:root { --hue: 212; }
.btn-block { display: flex; width: 100%; }
.fav { --hue: 210; width: 40px; height: 40px; border-radius: 50%; flex: none; display: inline-grid; place-items: center; font: 700 15px/1 var(--font-body);
  background: hsl(var(--hue) 70% 92%); color: hsl(var(--hue) 55% 28%); }
[data-scheme=dark] .fav { background: hsl(var(--hue) 45% 22%); color: hsl(var(--hue) 80% 86%); }
.f-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.f-head .page-h { margin-bottom: 6px; } .f-head .lead { margin: 0; }
.f-search { display: flex; gap: 8px; min-width: min(100%, 360px); } .f-search input { min-height: 44px; }
.f-layout { display: grid; gap: 32px; } @media (min-width: 1000px) { .f-layout { grid-template-columns: minmax(0, 1fr) 300px; } }
.f-mainc { min-width: 0; }
.f-h2 { font-size: 22px; margin: 44px 0 16px; letter-spacing: -.01em; }
.f-cats, .tp-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.fc, .tp { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 6px 16px; align-items: center; padding: 18px 20px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); transition: background .15s; }
.fc:last-child, .tp:last-child { border-bottom: 0; } .fc:hover, .tp:hover { background: var(--surface); }
@media (min-width: 760px) { .fc { grid-template-columns: 48px minmax(0, 1fr) 76px 76px 230px; } .tp { grid-template-columns: 40px minmax(0, 1fr) 76px 76px 150px; } }
.fc-ic { width: 46px; height: 46px; border-radius: calc(var(--radius) * .8 + 4px); display: grid; place-items: center; font: 700 19px/1 var(--font-display);
  background: hsl(var(--hue) 75% 93%); color: hsl(var(--hue) 60% 30%); }
[data-scheme=dark] .fc-ic { background: hsl(var(--hue) 50% 20%); color: hsl(var(--hue) 85% 80%); }
.fc-main, .tp-main { display: grid; gap: 4px; min-width: 0; }
.fc-name, .tp-title { font-weight: 650; font-size: 16.5px; line-height: 1.35; } .fc-desc { color: var(--muted); font-size: 14.5px; }
.tp-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 13.5px; color: var(--muted); }
.tp-cat { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.tp-cat::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: hsl(var(--hue) 70% 50%); }
.tp-badge { display: inline-block; padding: 2px 8px; margin-right: 8px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; vertical-align: 2px; }
.tp-badge.pin { background: var(--brand-soft); color: var(--brand-text); } .tp-badge.lock { background: var(--surface-2); color: var(--muted); }
.tp-num { display: none; text-align: center; } .tp-num b { display: block; font-variant-numeric: tabular-nums; font-size: 16px; } .tp-num small { color: var(--muted); font-size: 12px; }
@media (min-width: 760px) { .tp-num { display: block; } }
.tp-when { font-size: 13.5px; color: var(--muted); text-align: right; } @media (max-width: 759px) { .tp-when, .tp-av { display: none; } .tp { grid-template-columns: minmax(0, 1fr); } .fc { grid-template-columns: 44px minmax(0, 1fr); } }
.fc-last { display: none; gap: 10px; align-items: center; min-width: 0; font-size: 14px; } @media (min-width: 760px) { .fc-last { display: flex; } }
.fc-last .fav { width: 32px; height: 32px; font-size: 13px; } .fc-last > span { display: grid; min-width: 0; } .fc-last-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.f-side { display: grid; gap: 16px; align-content: start; }
.f-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--bg); }
.f-box-h { font: 650 13px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.f-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; text-align: center; } .f-stats dt { font-size: 12px; color: var(--muted); } .f-stats dd { margin: 0; font: 700 22px/1.2 var(--font-display); order: -1; }
.f-stats div { display: flex; flex-direction: column-reverse; }
.f-newest { display: flex; gap: 12px; align-items: center; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); } .f-newest > span { display: grid; } .f-newest a { color: var(--ink); font-weight: 600; text-decoration: none; }
.f-rules { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; font-size: 14.5px; color: var(--muted); }
.f-empty { padding: 24px; margin: 0; }
.f-topic-head { margin-bottom: 28px; display: grid; gap: 10px; } .f-topic-head .page-h { margin: 0; font-size: clamp(28px, 3.6vw, 46px); }
.posts { display: grid; gap: 14px; }
.pst { display: grid; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
@media (min-width: 760px) { .pst { grid-template-columns: 170px minmax(0, 1fr); gap: 28px; } }
.pst-author { display: flex; gap: 12px; align-items: center; } @media (min-width: 760px) { .pst-author { flex-direction: column; align-items: flex-start; text-align: left; } .pst-av { width: 56px; height: 56px; font-size: 21px; } }
.pst-author > span { display: grid; gap: 3px; } .pst-author a { color: var(--ink); font-weight: 650; text-decoration: none; }
.role-badge { display: inline-block; width: fit-content; padding: 2px 8px; border-radius: 6px; background: var(--brand-soft); color: var(--brand-text); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.pst-body { min-width: 0; } .pst-date { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--muted); margin-bottom: 12px; } .pst-n { color: var(--muted); text-decoration: none; }
.pst .prose { font-size: 16.5px; max-width: 72ch; }
.f-reply { margin-top: 28px; } .f-compose { max-width: 820px; } .f-join { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.sec-forum .ftable { border-radius: var(--radius); }
.f-catlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; } .f-catlist li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; } .f-catlist a { text-decoration: none; }

/* ---------- shop components ---------- */
.shop-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; } .shop-head .page-h { margin-bottom: 6px; }
.shop-cats { margin-bottom: 36px; } .shop-vat { margin-top: 40px; }
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 32px) clamp(12px, 2vw, 24px); }
@media (min-width: 1000px) { .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .pgrid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pc-link { display: block; color: var(--ink); text-decoration: none; }
.pc-img { position: relative; background: var(--surface); }
.pc-badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; }
.pc-badge { display: inline-block; padding: 5px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: .02em; background: var(--bg); color: var(--ink); }
.pc-badge.sale { background: #b42318; color: #fff; } .pc-badge.new { background: var(--ink); color: var(--bg); } .pc-badge.out { background: var(--surface-2); color: var(--muted); }
.pc-body { padding-top: 14px; display: grid; gap: 4px; }
.pc-title { font: 600 16px/1.35 var(--font-body); letter-spacing: 0; margin: 0; } .pc-cat { font-size: 13px; color: var(--muted); }
.pc-price { margin: 4px 0 0; font-variant-numeric: tabular-nums; } .pc-price s { color: var(--muted); font-size: 14px; margin-right: 4px; } .pc-price b { font-weight: 650; }
.pp { display: grid; gap: clamp(28px, 5vw, 72px); } @media (min-width: 960px) { .pp { grid-template-columns: 1.15fr .85fr; } }
.pp-main { border-radius: var(--radius); } .pp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.pp-sticky { position: sticky; top: 100px; display: grid; gap: 14px; }
.pp-title { font-size: clamp(30px, 3.4vw, 46px); margin: 0; } .pp-price { font-size: 24px; margin: 0; font-variant-numeric: tabular-nums; } .pp-price s { color: var(--muted); font-size: 18px; }
.pp-lead { font-size: 17px; color: var(--muted); margin: 0; }
.pp-buy { display: grid; gap: 12px; margin-top: 8px; } .pp-row { display: flex; gap: 10px; } .pp-qty input { width: 84px; text-align: center; min-height: 56px; } .pp-row .btn { flex: 1; }
.pp-stock { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin: 0; } .pp-stock span { width: 8px; height: 8px; border-radius: 50%; background: #12b76a; }
.pp-usps { list-style: none; margin: 8px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14.5px; color: var(--muted); }
.pp-usps li::before { content: "✓"; color: var(--brand-text); font-weight: 700; margin-right: 10px; }
.pp-acc { border-top: 1px solid var(--line); padding-top: 14px; } .pp-acc summary { cursor: pointer; font-weight: 650; list-style: none; padding: 4px 0 10px; } .pp-acc summary::-webkit-details-marker { display: none; }
.pp-variants { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0; }

/* ---------- booking components ---------- */
.bk-wrap { max-width: calc(920px + 2 * var(--gutter)); }
.bk-head { margin-bottom: 28px; }
.bk-step { display: grid; gap: 28px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); background: var(--bg); margin-bottom: 20px; }
.bk-step legend { display: flex; align-items: center; gap: 12px; font: 650 18px/1.2 var(--font-display); margin-bottom: 16px; }
.bk-n { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--brand); color: var(--on-brand); font: 700 14px/1 var(--font-body); }
.bk-svcs { display: grid; gap: 10px; } @media (min-width: 720px) { .bk-svcs { grid-template-columns: 1fr 1fr; } }
.bk-svc { position: relative; cursor: pointer; } .bk-svc input { position: absolute; opacity: 0; }
.bk-svc-c { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s, background .2s; height: 100%; }
.bk-svc-c b { font-size: 16.5px; } .bk-svc-c small { color: var(--muted); font-size: 14px; } .bk-svc-m { font-size: 14px; font-weight: 600; color: var(--brand-text); margin-top: 4px; }
.bk-svc:hover .bk-svc-c { border-color: var(--ink); } .bk-svc input:checked + .bk-svc-c { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); background: var(--brand-soft); }
.bk-svc input:focus-visible + .bk-svc-c { outline: 2px solid var(--brand-text); outline-offset: 2px; }
.bk-date { display: flex; gap: 10px; flex-wrap: wrap; } .bk-date input { max-width: 260px; } .bk-persons { max-width: 140px; }
.svc-rows { border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background .2s, padding .3s var(--ease); }
@media (min-width: 720px) { .svc-row { grid-template-columns: 1fr 100px 110px 30px; } .svc-row:hover { background: var(--surface); padding-inline: 16px; } }
.svc-row-t { display: grid; gap: 4px; } .svc-row-t b { font: var(--h-weight) 19px/1.3 var(--font-display); } .svc-row-t small { color: var(--muted); font-size: 14.5px; }
.svc-row-m { color: var(--muted); font-size: 14.5px; } .svc-row-p { font-weight: 650; font-variant-numeric: tabular-nums; text-align: right; } .svc-row-go { color: var(--brand-text); font-weight: 700; display: none; }
@media (min-width: 720px) { .svc-row-go { display: block; } }
@media (max-width: 719px) { .svc-row-m { grid-row: 2; } .svc-row-p { grid-row: 1 / span 2; grid-column: 2; } }
.bk-svc input:checked + .bk-svc-c .bk-svc-m { color: var(--ink); }
/* narrow text pages (legal, about): headings stay readable even in themes with huge display sizes */
.sec-text h1, .narrow h1 { font-size: clamp(34px, 5vw, 64px); overflow-wrap: break-word; hyphens: auto; }
