/* Mahnken Painting & More — site styles. Mobile-first, no framework. */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
}
/* Metric-matched local fallbacks (computed by src/tools/fonts.py) keep text
   from shifting when the web fonts finish loading. */
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia"); size-adjust: 90.81%; ascent-override: 107.70%; descent-override: 28.08%; line-gap-override: 0.00%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107.34%; ascent-override: 90.25%; descent-override: 22.47%; line-gap-override: 0.00%; }
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

:root {
  --ink: #172033;
  --ink-2: #2a3347;
  --muted: #576072;
  --line: #e6dfd3;
  --line-strong: #d5cbbb;
  --paper: #fbf8f3;
  --paper-2: #f3ede3;
  --surface: #ffffff;
  --night: #121a2b;
  --night-2: #1b2539;

  --brand: #f2a22a;        /* fills only — pair with --ink text */
  --brand-hover: #e5921a;
  --brand-strong: #a8520a; /* text/links on light backgrounds (AA) */
  --brand-soft: #fcefd9;

  --sw-terracotta: #c4583c;
  --sw-sage: #8a9a68;
  --sw-sky: #79a6c6;
  --sw-plum: #6c4f72;

  --ok: #1f7a4d;
  --focus: #2f5f80;          /* focus ring on light surfaces (3:1+) */
  --control-border: #857b6b; /* form control outlines (3:1+ on white) */
  --err: #b42318;

  --font-display: "Fraunces", "Fraunces Fallback", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgb(23 32 51 / .06), 0 1px 1px rgb(23 32 51 / .04);
  --shadow: 0 1px 2px rgb(23 32 51 / .05), 0 12px 32px -14px rgb(23 32 51 / .28);
  --shadow-lg: 0 30px 60px -24px rgb(23 32 51 / .38);

  --max: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 8vw, 104px);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (max-width: 899px) { html { scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom)); } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  font-variation-settings: "opsz" 96;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-variation-settings: "opsz" 36; }
h4 { font-size: 1.125rem; font-variation-settings: "opsz" 24; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
a { color: var(--brand-strong); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
strong { font-weight: 650; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.section--dark, .site-footer, .cta-band, .lightbox { --focus: #79a6c6; }
::selection { background: var(--brand-soft); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600; transition: top .15s;
}
.skip-link:focus { top: 12px; color: #fff; }

.icon { flex: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow > * { max-width: 820px; }
.not-found .container--narrow > * { margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--alt { background: var(--paper-2); }
.section--white { background: var(--surface); }
.section--dark { background: var(--night); color: #e9ecf3; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a:not(.btn) { color: #ffd08a; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section--dark .section-head p { color: #b9c1d1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-size: .8125rem; font-weight: 650;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand-strong);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: ""; width: 22px; height: 8px; border-radius: 99px;
  background: linear-gradient(90deg, var(--sw-terracotta) 0 33%, var(--brand) 33% 66%, var(--sw-sage) 66%);
}
.section--dark .eyebrow { color: #ffc773; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 62ch; }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) and (max-width: 959px) { .grid--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; } }

.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 900px) {
  .split > aside.card { position: sticky; top: calc(var(--header-h) + 24px); }
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr .85fr; }
  .split--top { align-items: start; }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand); --btn-fg: var(--ink); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.35rem;
  font: 650 1rem/1.2 var(--font-body); letter-spacing: -.005em;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd);
  border-radius: 999px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { --btn-bg: var(--brand-hover); color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--surface); --btn-bd: var(--ink); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn--dark:hover { --btn-bg: var(--ink-2); }
.btn--light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgb(255 255 255 / .4); }
.btn--light:hover { --btn-bg: rgb(255 255 255 / .1); --btn-bd: #fff; }
.btn--sm { min-height: 40px; padding: .5rem 1rem; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: .9rem 1.7rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 650;
  text-decoration: none; color: var(--brand-strong);
}
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(251 248 243 / .92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgb(23 32 51 / .4); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.site-header .container { max-width: 1320px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand__mark { width: auto; height: 50px; flex: none; }
.site-footer .brand__mark { filter: invert(1); opacity: .92; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; letter-spacing: -.02em; font-variation-settings: "opsz" 48; }
@media (max-width: 349px) { .brand__sub { display: none; } }
.brand__sub { white-space: nowrap; font-size: .66rem; font-weight: 650; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .55rem .7rem; border-radius: 999px; white-space: nowrap;
  font-weight: 560; font-size: .97rem; color: var(--ink); text-decoration: none;
}
.nav__link:hover { background: var(--paper-2); color: var(--ink); }
.nav__link[aria-current="page"], .nav__link.is-active { color: var(--brand-strong); }
.nav__toggle-sub {
  display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: -.5rem;
  background: none; border: 0; border-radius: 99px; color: var(--muted); cursor: pointer;
}
.nav__toggle-sub:hover { background: var(--paper-2); }
.nav__toggle-sub .icon { transition: transform .15s; }
.nav__item.is-open .nav__toggle-sub .icon { transform: rotate(180deg); }
.subnav {
  position: absolute; top: calc(100% + 8px); left: -8px; min-width: 260px;
  list-style: none; margin: 0; padding: .5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.subnav::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.nav__item.is-open .subnav, .nav__item--has-sub:hover .subnav, html:not(.js) .nav__item--has-sub:focus-within .subnav {
  opacity: 1; visibility: visible; transform: none;
}
.nav__item--has-sub.is-dismissed .subnav { opacity: 0; visibility: hidden; transform: translateY(-4px); }
.subnav a {
  display: block; padding: .55rem .75rem; border-radius: var(--radius-sm);
  color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 520;
}
.subnav a:hover, .subnav a[aria-current="page"] { background: var(--paper-2); color: var(--brand-strong); }
.subnav__all { border-top: 1px solid var(--line); margin-top: .35rem; padding-top: .35rem; }

.header-cta { display: none; align-items: center; gap: .5rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: .45rem; font-weight: 650; color: var(--ink);
  text-decoration: none; padding: .5rem .75rem; border-radius: 999px; white-space: nowrap;
}
.header-phone:hover { background: var(--paper-2); color: var(--ink); }

.menu-btn {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); cursor: pointer;
}
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-menu { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }
.header-call-sm {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 999px;
  background: var(--brand); color: var(--ink);
}

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
  padding: 1rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--line); }
.mobile-nav a { display: flex; align-items: center; justify-content: space-between; padding: .95rem .25rem; font-size: 1.15rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.mobile-nav a[aria-current="page"] { color: var(--brand-strong); }
.mobile-nav .mobile-sub { padding: 0 0 .75rem .75rem; }
.mobile-nav .mobile-sub a { font-size: 1rem; font-weight: 500; padding: .5rem .25rem; color: var(--ink-2); }
.mobile-nav .btn-row { margin-top: 1.5rem; }
.mobile-nav > * { max-width: 560px; margin-inline: auto; }
.mobile-nav .btn { flex: 1 1 100%; }
body.nav-open { overflow: hidden; }

@media (min-width: 1100px) and (max-width: 1279px) {
  .header-phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (min-width: 1100px) {
  .nav { display: block; }
  .header-cta { display: flex; }
  .menu-btn, .header-call-sm, .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(28px, 5vw, 72px) clamp(48px, 7vw, 96px); overflow: hidden; }
.hero__grid { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--brand-strong); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .02em; height: .28em; z-index: -1;
  background: var(--brand); opacity: .35; border-radius: 40% 60% 55% 45% / 60% 40% 60% 40%;
  transform: rotate(-1deg);
}
.hero .lede { margin-bottom: 1.6rem; }
.hero__actions { margin-bottom: 1.75rem; }
.trust { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; padding: 0; margin: 0; }
.trust li { display: inline-flex; align-items: center; gap: .45rem; font-size: .95rem; font-weight: 560; color: var(--ink-2); }
.trust .icon { color: var(--ok); }

.hero__media { position: relative; }
.hero__swatches {
  position: absolute; left: -14px; top: 22px; display: grid; gap: 6px; z-index: 2;
  padding: 8px; background: var(--surface); border-radius: 12px; box-shadow: var(--shadow);
}
.hero__swatches span { display: block; width: 30px; height: 30px; border-radius: 6px; }
@media (max-width: 520px) { .hero__swatches { display: none; } }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(20px, 4vw, 40px) clamp(36px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 22ch; }
.page-hero__body { margin-top: clamp(16px, 3vw, 32px); }
.page-hero .lede { margin-bottom: 1.5rem; }
.page-hero--media .split { align-items: center; }
.page-hero__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--paper-2); }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.portrait-photo { aspect-ratio: 4 / 5; }
.portrait-photo img { object-position: 50% 78%; }

.breadcrumbs { font-size: .875rem; color: var(--muted); padding-top: 1rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .35rem; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Strip of facts ---------- */
.facts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
@media (max-width: 559px) { .facts { grid-template-columns: 1fr; } }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { background: var(--surface); padding: 1.25rem 1.35rem; display: flex; gap: .85rem; align-items: flex-start; }
.fact .icon { color: var(--brand-strong); margin-top: .15rem; }
.fact strong { display: block; font-size: 1rem; line-height: 1.3; }
.fact span { display: block; font-size: .9rem; color: var(--muted); line-height: 1.45; margin-top: .2rem; }

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(20px, 2.4vw, 28px); box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin-bottom: 1rem; }
.card p:last-child { margin-bottom: 0; }

.service-card { transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.service-card__icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.1rem;
  border-radius: 14px; background: var(--brand-soft); color: var(--brand-strong);
}
.service-card:nth-child(4n+2) .service-card__icon { background: #f6e4dd; color: #9a3f27; }
.service-card:nth-child(4n+3) .service-card__icon { background: #e9eddf; color: #55633a; }
.service-card:nth-child(4n+4) .service-card__icon { background: #e1ecf4; color: #2f5f80; }
.service-card .link-arrow { margin-top: auto; }
.service-card a.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card__title { font-size: clamp(1.2rem, 2vw, 1.45rem); font-variation-settings: "opsz" 36; margin-bottom: .4rem; }
.service-card__title a { color: inherit; text-decoration: none; }

/* ---------- Lists ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .65rem; }
@media (min-width: 640px) { .checklist--2 { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; } }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; line-height: 1.5; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: .1rem; border-radius: 99px;
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section--dark .checklist li::before { background-color: #2f9e67; }

/* Process steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(16px, 2vw, 24px); counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 1.5rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); counter-increment: step; }
.section--dark .step { background: var(--night-2); border-color: #2a3550; }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1;
  color: var(--brand-strong); margin-bottom: .9rem; font-variation-settings: "opsz" 96;
}
.section--dark .step::before { color: var(--brand); }
.step h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.step p { color: var(--muted); margin: 0; font-size: .98rem; }
.section--dark .step p { color: #b9c1d1; }

/* ---------- Prose ---------- */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.2rem; }
.prose h3 { margin-top: 1.8rem; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }

/* ---------- Before / After pair ---------- */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
@media (min-width: 640px) { .pair { gap: 12px; } }
.pair__item { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 2; background: var(--paper-2); }
.pair--portrait .pair__item { aspect-ratio: 3 / 4; }
@media (max-width: 559px) { .pair:not(.pair--portrait) { grid-template-columns: 1fr; } }
.pair__item img { width: 100%; height: 100%; object-fit: cover; }
.pair__label {
  position: absolute; top: 8px; left: 8px; padding: .25rem .6rem; border-radius: 99px;
  font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgb(18 26 43 / .82); color: #fff;
}
.pair__label--after { background: var(--brand); color: var(--ink); }
.figure-caption { font-size: .92rem; color: var(--muted); margin-top: .75rem; }
.section--dark .figure-caption { color: #b9c1d1; }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 899px) { .gallery > :last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 2 / 1; } }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.gallery__item {
  position: relative; display: block; padding: 0; border: 0; cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden; background: var(--paper-2); aspect-ratio: 1;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.gallery__item a:focus-visible { outline: none; }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem .9rem .75rem;
  background: linear-gradient(transparent, rgb(0 0 0 / .65)); color: #fff; font-size: .88rem; font-weight: 560; text-align: left;
  pointer-events: none;
}
@media (max-width: 599px) { .gallery__item figcaption { padding: 1.25rem .6rem .5rem; font-size: .76rem; } }
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgb(12 16 26 / .9); }
body:has(dialog.lightbox[open]) { overflow: hidden; }
.lightbox img { max-height: 82vh; width: auto; margin-inline: auto; border-radius: var(--radius); }
.lightbox__caption { color: #e9ecf3; text-align: center; margin-top: .75rem; font-size: .95rem; }
.lightbox__btn {
  position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 99px;
  background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .25); color: #fff; cursor: pointer;
}
.lightbox__btn:hover { background: rgb(255 255 255 / .26); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__prev .icon { transform: rotate(180deg); }

/* ---------- Reviews ---------- */
.review { gap: 1rem; }
.review__stars { display: flex; gap: 2px; color: var(--brand); }
.review blockquote { margin: 0; font-size: 1.05rem; color: var(--ink-2); line-height: 1.6; }
.review footer { margin-top: auto; display: flex; align-items: center; gap: .75rem; font-size: .92rem; }
.review__avatar {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 99px;
  background: var(--paper-2); color: var(--ink); font-weight: 700; flex: none;
}
.review__who strong { display: block; }
.review__who span { color: var(--muted); }
.review__source { margin-left: auto; font-size: .8rem; color: var(--muted); text-decoration: none; white-space: nowrap; }

/* ---------- Social ---------- */
.social-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .social-grid { grid-template-columns: repeat(3, 1fr); } .social-grid--stack { grid-template-columns: 1fr; } }
.social-card {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; text-decoration: none;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .2s, box-shadow .2s;
}
.social-card:hover { color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.social-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; flex: none; }
.social-card__icon--tiktok { background: #111; }
.social-card__icon--instagram { background: linear-gradient(45deg, #f5a623, #e1306c 50%, #833ab4); }
.social-card__icon--facebook { background: #1877f2; }
.social-card strong { display: block; font-size: 1.02rem; }
.social-card span { display: block; font-size: .9rem; color: var(--muted); }
.social-card .icon-ext { margin-left: auto; color: var(--muted); }
.section--dark .social-card { background: var(--night-2); border-color: #2a3550; color: #fff; }
.section--dark .social-card span { color: #b9c1d1; }

.video-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.embed-facade {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--radius-lg); overflow: hidden; background: var(--night) center / cover no-repeat; color: #fff;
  text-align: left; font: inherit;
}
.embed-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.embed-facade::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / .12); }
.embed-facade__play {
  position: absolute; z-index: 2; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  display: grid; place-items: center; border-radius: 99px; background: rgb(255 255 255 / .92); color: var(--ink);
  transition: transform .2s;
}
.embed-facade:hover .embed-facade__play { transform: scale(1.08); }
.video-meta { margin-top: .7rem; font-size: .92rem; line-height: 1.4; }
.video-meta strong { display: flex; align-items: center; gap: .4rem; font-size: .85rem; }
.video-meta p { margin: .25rem 0 0; color: var(--ink-2); }
.section--dark .video-meta p { color: #d7dce6; }
.embed-frame { width: 100%; aspect-ratio: 9 / 16; border: 0; border-radius: var(--radius-lg); background: #000; }
.embed-frame--ig { aspect-ratio: auto; height: 640px; background: #fff; }

/* ---------- Areas ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1rem; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 560; font-size: .97rem;
  text-decoration: none;
}
a.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip .icon { color: var(--brand-strong); }
.section--dark .chip { background: var(--night-2); border-color: #2a3550; color: #fff; }

.area-card h2 { font-size: 1.35rem; display: flex; align-items: center; gap: .5rem; }
.area-card small { display: block; color: var(--muted); font-size: .88rem; margin: -.2rem 0 .7rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.25rem; cursor: pointer; list-style: none;
  font-weight: 650; font-size: 1.05rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 99px;
  background: var(--paper-2); font-size: 1.25rem; font-weight: 500; line-height: 1; transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 1.25rem 1.2rem; color: var(--ink-2); }
.faq .faq__a p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--night); color: #fff; padding: clamp(32px, 5vw, 64px);
  display: grid; gap: 1.5rem; align-items: center;
}
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.3fr auto; } }
.cta-band::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--brand), transparent 70%); opacity: .35;
}
.cta-band h2 { color: #fff; margin-bottom: .35rem; }
.cta-band p { color: #c3cad8; margin: 0; font-size: 1.1rem; }
.cta-band > * { position: relative; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.contact-list li { display: flex; gap: .85rem; align-items: flex-start; }
.contact-list .icon-wrap {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand-strong); flex: none;
}
.contact-list strong { display: block; font-size: .85rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.contact-list a, .contact-list span.v { font-weight: 600; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.contact-list a:hover { color: var(--brand-strong); text-decoration: underline; }

.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
.field .req { color: var(--err); margin-left: .15rem; }
.field .hint { font-size: .86rem; color: var(--muted); margin-top: -.15rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .9rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--control-border); border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgb(121 166 198 / .35); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field .error { color: var(--err); font-size: .88rem; font-weight: 560; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.options { display: flex; flex-wrap: wrap; gap: .5rem; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; min-height: 0; }
.option span {
  display: inline-flex; align-items: center; min-height: 42px; padding: .5rem .95rem; border-radius: 99px;
  border: 1.5px solid var(--control-border); background: var(--surface); font-size: .95rem; font-weight: 520;
}
.option input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.option input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.form__note { font-size: .86rem; color: var(--muted); margin: 0; }
.form-status { padding: 1rem 1.15rem; border-radius: var(--radius); font-weight: 560; }
.form-status--ok { background: #e6f4ec; color: #14543a; }
.form-status--err { background: #fdecea; color: #8a1c13; }
.form-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3.5vw, 40px); box-shadow: var(--shadow); }

/* ---------- Color visualizer ---------- */
.viz { display: grid; gap: clamp(20px, 3vw, 36px); }
.viz > * { min-width: 0; }
.viz__summary .btn-row .btn { white-space: normal; text-align: center; }
@media (min-width: 960px) { .viz { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: start; } }
.viz__stage { background: linear-gradient(180deg, #dfeaf3, #f4efe6 78%); border-radius: var(--radius-lg); padding: clamp(12px, 3vw, 28px); border: 1px solid var(--line); }
.viz__stage svg { width: 100%; height: auto; }
@media (max-width: 959px) {
  .viz__stage { position: sticky; top: calc(var(--header-h) + 6px); z-index: 3; padding: 8px; box-shadow: var(--shadow); }
  .viz__stage svg { max-height: 34vh; }
}
.viz__stage [data-part] { cursor: pointer; transition: fill .25s; }
.viz__stage [data-part]:hover { filter: brightness(1.06); }
.viz__parts { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.viz__parts [aria-pressed="true"] { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.viz__swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .6rem; }
.swatch {
  display: grid; gap: .35rem; padding: .45rem; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--surface); cursor: pointer; font: inherit; text-align: left; color: var(--ink);
}
.swatch[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.swatch__chip { display: block; height: 44px; border-radius: 8px; border: 1px solid rgb(0 0 0 / .08); }
.swatch__name { font-size: .74rem; line-height: 1.2; font-weight: 600; }
.viz__summary { margin-top: 1.25rem; font-size: .95rem; }
.viz__summary dl { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; margin: 0; }
.viz__summary dt { color: var(--muted); }
.viz__summary dd { margin: 0; font-weight: 600; display: flex; align-items: center; gap: .45rem; }
.viz__summary dd i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 1px solid rgb(0 0 0 / .15); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #b9c1d1; padding-block: clamp(48px, 7vw, 80px) 0; font-size: .97rem; }
.site-footer a { color: #e9ecf3; text-decoration: none; }
.site-footer a:hover { color: #ffd08a; text-decoration: underline; }
.footer-bottom a { text-decoration: underline; text-underline-offset: .18em; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand__sub { color: #93a0b8; }
.footer-nap { font-style: normal; display: grid; gap: .35rem; margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: .5rem; }
.footer-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 99px; background: var(--night-2); border: 1px solid #2a3550; }
.footer-social a:hover { background: #26324b; text-decoration: none; }
.footer-bottom {
  margin-top: clamp(36px, 5vw, 56px); padding-block: 1.25rem calc(1.25rem + 64px);
  border-top: 1px solid #26314a; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .88rem; color: #8d98ae;
}
@media (min-width: 900px) { .footer-bottom { padding-bottom: 1.25rem; } }
.chamber-badge { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1rem; padding: .6rem .9rem; border-radius: 12px; background: var(--night-2); border: 1px solid #2a3550; font-size: .88rem; }

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -18px rgb(23 32 51 / .5);
  transition: transform .25s;
}
.action-bar a {
  display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px; border-radius: 12px;
  font-weight: 650; font-size: .95rem; text-decoration: none; color: var(--ink); background: var(--paper-2);
}
.action-bar a.primary { background: var(--brand); }
.action-bar.is-hidden { transform: translateY(110%); visibility: hidden; transition: transform .25s, visibility 0s .25s; }
@media (min-width: 900px) { .action-bar { display: none; } }

/* ---------- Misc ---------- */
.muted { color: var(--muted); }
.center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.stack > * + * { margin-top: var(--gap, 1rem); }
.not-found { text-align: center; padding-block: clamp(80px, 12vw, 160px); }
.not-found .big { font-family: var(--font-display); font-size: clamp(5rem, 16vw, 9rem); line-height: 1; color: var(--brand-strong); margin-bottom: .5rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .action-bar, .site-footer, .cta-band, .mobile-nav { display: none !important; }
  body { background: #fff; }
}

/* ---------- Home hero art ---------- */
.hero__art {
  position: relative; display: grid; place-items: center; overflow: hidden;
  aspect-ratio: 5 / 4; padding: clamp(20px, 4vw, 44px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.hero__art::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 47% 53% 44% 56% / 52% 41% 59% 48%;
  background: radial-gradient(circle at 40% 35%, #fbd89b, var(--brand) 70%); opacity: .55; transform: rotate(-8deg);
}
.hero__art img { position: relative; width: 100%; height: auto; }
.hero__inset {
  position: absolute; right: -22px; bottom: -64px; z-index: 2; width: clamp(118px, 13vw, 156px); margin: 0;
  padding: 6px 6px 8px; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-lg); transform: rotate(2.5deg);
}
.hero__inset img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 9px; }
.hero__inset figcaption { font-size: .74rem; font-weight: 600; line-height: 1.3; padding: .45rem .2rem 0; color: var(--ink-2); }
@media (max-width: 959px) {
  .hero__media { margin-bottom: 28px; }
  .hero__inset { right: 16px; bottom: -28px; }
}
@media (max-width: 520px) {
  .hero__inset { right: 12px; bottom: -24px; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Without JavaScript ----------
   The .js class is set by an inline script in <head>. Hide controls that would
   do nothing; navigation falls back to the footer links. */
html:not(.js) .menu-btn,
html:not(.js) .js-only,
html:not(.js) .viz { display: none !important; }

/* ---------- Windows high contrast ---------- */
@media (forced-colors: active) {
  .option input:checked + span { forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; }
  .swatch__chip, .viz__summary dd i { forced-color-adjust: none; }
  .swatch[aria-pressed="true"], .viz__parts [aria-pressed="true"] { outline: 3px solid Highlight; outline-offset: 2px; }
}
