/* "Atelier" visual system. Same page modules as every system; this file decides
   how they look and move. */

:root { --wide-padded: calc(var(--wide) + 2 * var(--gutter)); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-read);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; font-family: var(--font-ui); text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.h2 { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.04; letter-spacing: -0.01em; }
.h2-sm { font-size: var(--step-2); }
.lede { color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; max-width: 44ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 0; cursor: pointer;
  font-family: var(--font-ui); font-weight: 600; font-size: 16px; letter-spacing: 0.005em;
  text-decoration: none; border-radius: var(--radius-control);
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out), transform 160ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.55; cursor: progress; transform: none; }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 17px; }
.btn-solid { background: var(--brand); color: var(--brand-ink-on); }
.btn-solid:hover { background: var(--brand-deep); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--rule); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ---------- slots ---------- */
.slot {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center; color: var(--ink-2);
  font-family: var(--font-ui); font-weight: 600; font-size: 15px;
  background-color: var(--ground-2);
  background-image: repeating-linear-gradient(135deg, transparent 0 11px, rgba(18,21,28,0.05) 11px 12px);
  border: 1px dashed #b9bfca; border-radius: var(--radius-media);
}
.slot-inline { display: inline-flex; flex-direction: row; padding: 2px 10px; border-radius: 6px; font-size: 14px; vertical-align: middle; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,0.97); border-bottom: 1px solid transparent; transition: border-color 200ms var(--ease-out); }
.site-head.is-stuck { border-bottom-color: var(--rule); }
.head-inner { max-width: var(--wide-padded); margin: 0 auto; padding: 16px var(--gutter); display: flex; align-items: center; gap: 28px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.slot-logo { width: 40px; height: 40px; font-size: 10px; border-radius: 10px; }
.logo { height: 44px; width: auto; }
.wordmark-text { font-family: var(--font-display); font-size: 25px; letter-spacing: -0.005em; }
.primary-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; font-family: var(--font-ui); font-size: 16px; font-weight: 500; }
.primary-nav > a, .menu-btn { text-decoration: none; padding: 9px 14px; border-radius: 999px; transition: background-color 200ms var(--ease-out); }
.primary-nav > a:hover, .menu-btn:hover, .menu-btn[aria-expanded="true"] { background: var(--ground-2); }
.primary-nav [aria-current="page"] { background: var(--ground-2); }
.menu { position: relative; }
.menu-btn { all: unset; cursor: pointer; font: inherit; padding: 9px 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; transition: background-color 200ms var(--ease-out); }
.menu-btn::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 240ms var(--ease-out); }
.menu-btn[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.menu-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.menu-panel {
  position: absolute; top: calc(100% + 12px); left: 0; z-index: 50;
  min-width: 260px; padding: 14px;
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-panel);
  box-shadow: 0 30px 60px -30px rgba(18,21,28,0.3);
  animation: panelIn 280ms var(--ease-out);
}
.menu-panel ul { display: grid; gap: 2px; }
.menu-cols { grid-template-columns: repeat(2, minmax(200px, 1fr)); column-gap: 6px; }
.menu-panel a { display: block; padding: 10px 14px; border-radius: 12px; text-decoration: none; font-weight: 500; transition: background-color 180ms; }
.menu-panel a:hover { background: var(--ground-2); }
.menu-all { margin-top: 8px; color: var(--brand); font-weight: 600 !important; }
@keyframes panelIn { from { opacity: 0; transform: translateY(-6px) scale(0.985); } to { opacity: 1; transform: none; } }
.head-cta { min-height: 46px; margin-left: 8px; }
.mobile-menu-btn { display: none; }
.mobile-menu { display: none; }

/* ---------- hero: full-bleed portrait with a caption panel ---------- */
.hero { padding: 8px var(--gutter) clamp(40px, 5vw, 72px); }
.hero-grid { max-width: var(--wide); margin: 0 auto; display: grid; grid-template-areas: "stack"; }
.hero-photo, .hero-copy { grid-area: stack; }
.hero-photo { margin: 0; }
.slot-photo { height: min(80vh, 760px); min-height: 480px; width: 100%; font-size: 17px; border-radius: 24px; align-items: flex-end; padding: 0 12%; }
.hero-copy {
  align-self: end; justify-self: start; position: relative; z-index: 1;
  width: min(780px, calc(100% - 48px)); margin: 0 0 clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px);
  padding: clamp(28px, 3.2vw, 48px);
  background: #fff; border-radius: var(--radius-panel);
}
.hero-title { font-family: var(--font-display); font-size: clamp(2.4rem, 1.6rem + 2.7vw, 4.1rem); line-height: 1.02; letter-spacing: -0.015em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-title .line > span { display: inline-block; }
.hero-sub { margin-top: 20px; font-size: var(--step-0); line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- inner page head ---------- */
.page-head { max-width: var(--wide-padded); margin: 0 auto; padding: clamp(36px, 5vw, 72px) var(--gutter) clamp(28px, 3.5vw, 48px); text-align: center; }
.crumbs ol { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-family: var(--font-ui); font-size: 14px; color: var(--ink-3); margin-bottom: 24px; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #c3c8d1; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page-title { font-family: var(--font-display); font-size: clamp(2.6rem, 1.8rem + 3.3vw, 5rem); line-height: 1.02; letter-spacing: -0.015em; max-width: 20ch; margin: 0 auto; }
.page-lede { margin: 22px auto 0; max-width: 52ch; font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); }

/* ---------- how we help (signature): pill tabs over a panel ---------- */
.reader { background: var(--ground-2); padding: clamp(40px, 5vw, 72px) var(--gutter); }
.reader-head, .reader-body { max-width: var(--wide); margin: 0 auto; }
.reader-head { text-align: center; margin-bottom: 28px; }
.reader-body { display: grid; gap: 28px; }
.reader-choices { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.choice {
  all: unset; box-sizing: border-box; cursor: pointer; position: relative;
  padding: 13px 22px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule);
  transition: background-color 260ms var(--ease-out), color 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
.choice-title { font-family: var(--font-ui); font-weight: 600; font-size: 16.5px; }
.choice:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.choice[aria-checked="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.choice:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.reader-sheet {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px);
  background: #fff; border-radius: var(--radius-panel); padding: clamp(28px, 4vw, 56px);
}
.docs { counter-reset: doc; display: grid; gap: 4px; }
.docs li { counter-increment: doc; display: grid; grid-template-columns: 52px 1fr; align-items: baseline; padding: 12px 0; font-size: 18px; line-height: 1.4; }
.docs li::before { content: counter(doc, decimal-leading-zero); font-family: var(--font-display); font-size: 24px; color: var(--brand); line-height: 1; }
.docs li.enter { animation: rowIn 560ms var(--ease-out) both; animation-delay: calc(var(--i) * 60ms); }
.docs-links a { text-decoration: none; }
.docs-links a:hover { color: var(--brand); }
.sheet-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-family: var(--font-ui); font-weight: 600; font-size: 16px; color: var(--brand); text-decoration: none; }
.sheet-more::after { content: ""; width: 18px; height: 1.5px; background: currentColor; transition: width 260ms var(--ease-out); }
.sheet-more:hover::after { width: 30px; }
.tool-card { padding: clamp(24px, 3vw, 36px); background: color-mix(in srgb, var(--brand) 7%, #fff); border-radius: var(--radius-panel); display: grid; gap: 14px; justify-items: start; align-self: start; }
.tool-card.enter { animation: rowIn 560ms var(--ease-out) both; animation-delay: 160ms; }
.tool-name { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.05; }
.reads { font-size: var(--step-0); line-height: 1.55; color: var(--ink-2); }
@keyframes rowIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- differentiator: centred statement ---------- */
.with { padding: clamp(48px, 6vw, 88px) var(--gutter); }
.with-grid { max-width: 900px; margin: 0 auto; text-align: center; display: grid; gap: 26px; justify-items: center; }
.with-title { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.08; letter-spacing: -0.01em; }
.with-copy { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 44ch; }

/* ---------- tools ---------- */
.tools { padding: 0 var(--gutter) clamp(48px, 6vw, 88px); }
.tools-grid { max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.tool-list { margin-top: 26px; display: grid; gap: 8px; }
.tool-list a { display: grid; gap: 2px; padding: 18px 22px; border-radius: 16px; text-decoration: none; background: var(--ground-2); transition: background-color 220ms var(--ease-out), transform 220ms var(--ease-out); }
.tool-list a:hover { background: color-mix(in srgb, var(--brand) 10%, #fff); transform: translateX(4px); }
.tl-name { font-family: var(--font-ui); font-weight: 700; font-size: 18px; }
.tl-desc { font-size: 16px; color: var(--ink-2); }
.slot-embed { min-height: 460px; border-radius: 24px; }

/* ---------- team ---------- */
.team { max-width: var(--wide-padded); margin: 0 auto; padding: clamp(48px, 6vw, 88px) var(--gutter) clamp(32px, 4vw, 56px); border-top: 1px solid var(--rule); }
.team-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 56px); text-align: center; justify-items: center; }
.team-page { border-top: 0; padding-top: 0; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); max-width: 820px; margin: 0 auto; }
.team .sheet-more { display: flex; justify-content: center; margin: 36px auto 0; width: max-content; }
.slot-person, .person-photo { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; margin-bottom: 20px; border-radius: 20px; }
.person-name { font-family: var(--font-display); font-size: var(--step-1); }
.person-role { font-family: var(--font-ui); font-size: 15px; color: var(--ink-3); margin-top: 4px; }
.person-bio { margin-top: 12px; font-size: 16.5px; color: var(--ink-2); max-width: 40ch; }

/* ---------- reviews ---------- */
.reviews { max-width: var(--wide-padded); margin: 0 auto; padding: 0 var(--gutter) clamp(40px, 5vw, 72px); }
.slot-reviews { min-height: 200px; border-radius: 24px; }

/* ---------- where we work: brand band ---------- */
.areas { background: var(--brand-deep); color: var(--brand-ink-on); padding: clamp(44px, 5.5vw, 80px) var(--gutter); }
.areas-plain { background: transparent; color: var(--ink); padding-top: 0; }
.areas-grid { max-width: var(--wide); margin: 0 auto; display: grid; justify-items: center; text-align: center; gap: 28px; }
.area-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1080px; }
.area-list a { display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; border-radius: 999px; text-decoration: none; font-family: var(--font-display); font-size: var(--step-1); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3); transition: background-color 220ms var(--ease-out), color 220ms var(--ease-out); }
.area-list a:hover { background: var(--brand-ink-on); color: var(--brand-deep); }
.areas-plain .area-list a { box-shadow: inset 0 0 0 1px var(--rule); }
.areas-plain .area-list a:hover { background: var(--ink); color: #fff; }
.areas-note { color: color-mix(in srgb, var(--brand-ink-on) 78%, transparent); max-width: 46ch; }
.areas .h2 { color: inherit; }

/* ---------- notes: image-led ---------- */
.notes { max-width: var(--wide-padded); margin: 0 auto; padding: clamp(48px, 6vw, 88px) var(--gutter) clamp(32px, 4vw, 56px); }
.notes .h2 { margin-bottom: 32px; text-align: center; }
.notes-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.slot-note { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.2; }
.slot-note::before {
  content: ""; display: block; aspect-ratio: 4 / 3; margin-bottom: 18px; border-radius: 16px;
  background-color: var(--ground-2);
  background-image: repeating-linear-gradient(135deg, transparent 0 11px, rgba(18,21,28,0.05) 11px 12px);
  border: 1px dashed #b9bfca;
}
.note-tag { display: block; margin-bottom: 8px; font-family: var(--font-ui); font-size: 13px; font-weight: 600; color: var(--ink-3); }

/* ---------- faq: centred column ---------- */
.faq { max-width: calc(820px + 2 * var(--gutter)); margin: 0 auto; padding: clamp(40px, 5vw, 72px) var(--gutter); display: grid; gap: 28px; }
.faq > div:first-child { text-align: center; display: grid; gap: 10px; justify-items: center; }
.faq-cat { padding-top: clamp(20px, 3vw, 40px); padding-bottom: clamp(20px, 3vw, 40px); }
.faq-list { display: grid; gap: 10px; }
.faq details { background: var(--ground-2); border-radius: 16px; transition: background-color 220ms; }
.faq details[open] { background: color-mix(in srgb, var(--brand) 7%, #fff); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 34px; gap: 16px; align-items: center; padding: 20px 22px; font-family: var(--font-ui); font-weight: 600; font-size: 17.5px; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 34px; height: 34px; border-radius: 50%;
  background: #fff linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat;
  box-shadow: inset 0 0 0 1px var(--rule);
  transition: transform 300ms var(--ease-out);
}
.faq details:not([open]) summary::after { background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink)); background-size: 12px 1.5px, 1.5px 12px; background-position: center, center; background-repeat: no-repeat; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { padding: 0 64px 22px 22px; color: var(--ink-2); }
.faq details[open] p { animation: rowIn 380ms var(--ease-out) both; }
.cat-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.cat-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--ground-2); font-family: var(--font-ui); font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color 200ms, color 200ms; }
.cat-jump a:hover { background: var(--ink); color: #fff; }

/* ---------- service pages ---------- */
.svc-body, .svc-sections, .related, .index-list-wrap, .tool-stage, .contact-grid-wrap, .wizard-wrap { max-width: var(--wide-padded); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.svc-body { padding-bottom: clamp(40px, 5vw, 72px); }
.svc-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; background: var(--ground-2); border-radius: 24px; padding: clamp(24px, 4vw, 56px); }
.svc-grid .tool-card { background: #fff; }
.svc-sections { max-width: calc(760px + 2 * var(--gutter)); padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(24px, 3vw, 48px); display: grid; gap: clamp(36px, 4vw, 56px); }
.svc-row { display: grid; gap: 14px; }
.svc-row p { color: var(--ink-2); font-size: var(--step-0); }
.svc-h { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.1; }
.related { padding-top: clamp(16px, 2vw, 28px); padding-bottom: clamp(44px, 5.5vw, 80px); text-align: center; }
.related-h { font-family: var(--font-ui); font-size: 14px; font-weight: 600; color: var(--ink-3); margin-bottom: 14px; }
.related-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.related-list a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--rule); text-decoration: none; font-family: var(--font-ui); font-weight: 600; font-size: 16px; transition: background-color 200ms, color 200ms, box-shadow 200ms; }
.related-list a:hover { background: var(--ink); color: #fff; box-shadow: none; }

.index-list-wrap { padding-bottom: clamp(44px, 5.5vw, 80px); }
.index-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.index-row { display: grid; gap: 10px; padding: clamp(22px, 2.6vw, 32px); border-radius: 20px; background: var(--ground-2); text-decoration: none; height: 100%; transition: background-color 240ms var(--ease-out), transform 240ms var(--ease-out); }
.index-row:hover { background: color-mix(in srgb, var(--brand) 9%, #fff); transform: translateY(-2px); }
.work-num { font-family: var(--font-display); font-size: 20px; color: var(--brand); }
.work-name { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.08; }
.work-desc { font-size: 16.5px; color: var(--ink-2); }

.tool-stage { padding-bottom: clamp(40px, 5vw, 64px); }
.slot-tool { min-height: 580px; border-radius: 24px; }
.slot-facts { min-height: 160px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 8px; font-family: var(--font-ui); font-weight: 600; font-size: 15px; }
.form input:not([type="radio"]):not([type="checkbox"]), .form textarea, .form select {
  font: 400 18px/1.4 var(--font-ui); color: var(--ink);
  background: var(--paper); border: 1.5px solid color-mix(in srgb, var(--ink) 22%, transparent); border-radius: 14px;
  padding: 15px 18px; min-height: 58px; width: 100%;
  transition: border-color 180ms var(--ease-out), background-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.form [aria-invalid="true"] { border-color: #b3261e !important; background: #fff; }
.form-error { color: #b3261e; font-family: var(--font-ui); font-weight: 600; font-size: 15px; }
.form-done { display: grid; gap: 10px; padding: 32px; background: color-mix(in srgb, var(--brand) 7%, #fff); border-radius: var(--radius-panel); }
.form-done p:last-child { color: var(--ink-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent { grid-template-columns: 22px 1fr !important; align-items: start; font-weight: 500 !important; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); }

.contact-grid-wrap { padding-bottom: clamp(44px, 5.5vw, 80px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.slot-booking { min-height: 620px; border-radius: 24px; }
.contact-side { display: grid; gap: 22px; padding: clamp(24px, 3vw, 40px); background: #fff; border: 1px solid var(--rule); border-radius: 24px; }
.contact-phone { font-family: var(--font-ui); font-size: 18px; font-weight: 600; }

.wizard-wrap { max-width: calc(760px + 2 * var(--gutter)); padding-bottom: clamp(44px, 5.5vw, 80px); }
.wizard-progress { height: 6px; border-radius: 999px; background: var(--ground-2); margin-bottom: 32px; overflow: hidden; }
.wizard-progress span { display: block; height: 100%; width: 25%; border-radius: 999px; background: var(--brand); transition: width 520ms var(--ease-out); }
.wiz-step legend { font-family: var(--font-display); font-size: var(--step-2); margin-bottom: 20px; }
.wiz-step:not([hidden]) { animation: rowIn 420ms var(--ease-out) both; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opt { position: relative; display: block !important; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: flex; align-items: center; min-height: 62px; padding: 14px 22px; border-radius: 16px; background: var(--ground-2); box-shadow: inset 0 0 0 1.5px transparent; font-family: var(--font-ui); font-weight: 600; font-size: 17px; transition: background-color 180ms, color 180ms, box-shadow 180ms; }
.opt:hover span { box-shadow: inset 0 0 0 1.5px var(--ink); }
.opt input:checked + span { background: var(--ink); color: #fff; }
.opt input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.wiz-nav { display: flex; gap: 12px; justify-content: flex-end; margin-top: 6px; }

/* ---------- footer: light, big wordmark ---------- */
.site-foot { background: var(--ground-2); color: var(--ink-2); padding: clamp(40px, 5vw, 64px) var(--gutter) 64px; font-size: 15.5px; }
.foot-inner { max-width: var(--wide); margin: 0 auto; }
.foot-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-bottom: 40px; margin-bottom: 26px; border-bottom: 1px solid var(--rule); }
.foot-h { font-family: var(--font-display); font-size: 21px; color: var(--ink); margin-bottom: 14px; }
.foot-index ul { display: grid; gap: 9px; }
.foot-index a { text-decoration: none; }
.foot-index a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.foot-legal { font-size: 14.5px; }

.mobile-cta { display: none; }

/* ---------- motion ---------- */
.js .hero-photo { clip-path: inset(0 0 100% 0 round 24px); }
.js.ready .hero-photo { clip-path: inset(0 0 0 0 round 24px); transition: clip-path 1200ms var(--ease-in-out); }
.js .hero-copy { opacity: 0; transform: translateY(24px); }
.js.ready .hero-copy { opacity: 1; transform: none; transition: opacity 800ms var(--ease-out) 700ms, transform 900ms var(--ease-out) 700ms; }
.js .hero-title .line > span { transform: translateY(105%); }
.js.ready .hero-title .line > span { transform: none; transition: transform 900ms var(--ease-out) 850ms; }
.js.ready .hero-title .line:nth-child(2) > span { transition-delay: 930ms; }

mark.hl { color: inherit; background: none; padding: 0; }

/* Atelier has no ruled lines, so the shared draw hook does nothing here. */
.js .draw::after { content: none; }

.maple { display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.maple svg { display: block; flex: 0 0 auto; }
.maple span { display: none; }
.maple-line { fill: none; stroke: #d0574a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 230; stroke-dashoffset: 230; transition: stroke-dashoffset 2600ms var(--ease-in-out) 150ms; }
.maple-fill { fill: #d0574a; opacity: 0; transition: opacity 900ms ease-out 2300ms; }
.maple.in .maple-line { stroke-dashoffset: 0; }
.maple.in .maple-fill { opacity: 0.18; }
.areas-plain .maple-line, .page-head .maple-line { stroke: #b5483b; }
.page-head .maple-fill { fill: #b5483b; }
html:not(.js) .maple-line { stroke-dashoffset: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .primary-nav, .head-cta { display: none; }
  .mobile-menu-btn { display: inline-flex; margin-left: auto; align-items: center; min-height: 46px; padding: 0 20px; font: 600 16px var(--font-ui); color: var(--ink); background: var(--ground-2); border: 0; border-radius: 999px; cursor: pointer; }
  .mobile-menu:not([hidden]) { display: block; max-height: calc(100vh - 72px); overflow: auto; padding: 8px var(--gutter) 28px; background: #fff; border-top: 1px solid var(--rule); animation: panelIn 240ms var(--ease-out); }
  .mobile-menu ul { display: grid; gap: 4px; margin-bottom: 14px; }
  .mobile-menu a { display: block; padding: 12px 16px; border-radius: 14px; background: var(--ground-2); text-decoration: none; font-family: var(--font-ui); font-weight: 600; font-size: 17px; }
  .mm-h { margin: 18px 0 8px; font-family: var(--font-display); font-size: 20px; }
  .reader-sheet { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .slot-booking { min-height: 460px; }
  .index-list { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .hero { padding-top: 4px; }
  .slot-photo { height: auto; min-height: 0; aspect-ratio: 4 / 4.2; border-radius: 20px; align-items: center; padding: 0; }
  .hero-grid { grid-template-areas: "photo" "copy"; }
  .hero-photo { grid-area: photo; }
  .hero-copy { grid-area: copy; width: calc(100% - 20px); margin: -64px 10px 0; padding: 26px 22px; box-shadow: 0 20px 40px -28px rgba(18,21,28,0.35); }
  .hero-title { font-size: clamp(2rem, 8.8vw, 2.9rem); }
  .hero-title .line, .js .hero-title .line > span, .js.ready .hero-title .line > span { display: inline; transform: none; }
  .page-title { font-size: clamp(2.3rem, 10.5vw, 3.3rem); }
  .hero-actions .btn { flex: 1 1 100%; }
  .reader-choices { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 6px; margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); }
  .choice { flex: 0 0 auto; scroll-snap-align: start; }
  .reader-sheet { padding: 24px 20px; }
  .tools-grid, .svc-grid { grid-template-columns: 1fr; }
  .svc-grid { padding: 20px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .person-bio { font-size: 15.5px; }
  .notes-list { grid-template-columns: 1fr; }
  .foot-index { grid-template-columns: 1fr 1fr; }
  .slot-embed { min-height: 320px; }
  .slot-tool { min-height: 440px; }
  .opts, .field-row { grid-template-columns: 1fr; }
  .wiz-nav .btn { flex: 1; }
  .faq details p { padding-right: 22px; }
  .mobile-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 35; padding: 0; transform: translateY(140%); transition: transform 360ms var(--ease-out); }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { width: 100%; box-shadow: 0 16px 32px -14px rgba(18,21,28,0.45); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .js .hero-photo { clip-path: none; }
  .js .hero-copy, .js .hero-title .line > span { opacity: 1; transform: none; }
  .maple-line { stroke-dashoffset: 0; }
  .maple-fill { opacity: 0.18; }
}
.areas-grid > div { display: grid; justify-items: center; gap: 22px; }

/* ---------- rates, partners, video (shared modules) ---------- */
.rates-panel { max-width: calc(1000px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) clamp(24px, 3vw, 40px); }
.rates-down { padding: 32px; border: 1px solid var(--rule); color: var(--ink-2); }
.rates-means-h { margin-bottom: 8px; }
.svc-h-sm { font-size: var(--step-1); }
.rates-disclaimer { margin-top: 28px; font-size: 14px; line-height: 1.6; color: var(--ink-3); max-width: 72ch; }
.referral { max-width: 860px; display: grid; gap: 24px; }
.ref-part { display: grid; gap: 16px; }
.ref-part + .ref-part { margin-top: 12px; }
.ref-part legend { font-weight: 700; font-size: 15px; color: var(--ink-3); margin-bottom: 12px; }
.form select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.video-wrap { max-width: var(--wide-padded); margin: 0 auto; padding: 0 var(--gutter) clamp(32px, 4vw, 56px); }
.intro-video { display: block; width: 100%; max-width: 860px; border-radius: 8px; background: #000; }
.proto-inline { display: inline-block; margin-top: 6px; padding: 6px 12px; border-radius: 4px; background: #15191a; color: #f0cf63; font: 600 13px system-ui, sans-serif; text-decoration: none; }

.menu-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.partner-body { margin: 14px 0 22px; color: var(--ink-2); max-width: 52ch; }
.partner-signup { display: grid; gap: 18px; align-content: start; }
.form-note { font-size: 14.5px; color: var(--ink-3); }
.partner-link { font-size: var(--step-1); font-weight: 700; overflow-wrap: anywhere; }

/* ---------- scroll reveals + partners band ---------- */
.js .rv { opacity: 0; transform: translateY(22px) scale(0.985); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .rv.rv-in { opacity: 1; transform: none; }
.hero-photo { will-change: translate; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; } }
.partners-band { padding: clamp(40px, 5vw, 72px) var(--gutter); }
.partners-band-inner { max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 48px); align-items: center; }
.partners-band-inner p { color: var(--ink-2); font-size: var(--step-1); line-height: 1.45; }
@media (max-width: 900px) { .partners-band-inner { grid-template-columns: 1fr; } .partners-band-inner .btn { justify-self: start; } }
.partners-band-inner { background: var(--ground-2); border-radius: 24px; padding: clamp(28px, 4vw, 56px); }

/* ---------- real photos (uploads, RGP) take the placeholder's frame ---------- */
.hero-photo img { display: block; width: 100%; height: min(80vh, 760px); min-height: 480px; object-fit: cover; object-position: 50% 18%; border-radius: 24px; }
@media (max-width: 760px) {
  .hero-photo img { height: auto; min-height: 0; aspect-ratio: 4 / 4.2; object-position: 50% 18%; border-radius: 20px; }
}

/* ---------- logo plus name: keep the full name readable on phones ----------
   A wide logo already carries the name (shared/site.js adds .logo-wide), so the
   name is kept for screen readers only. Beside a small mark it can wrap. */
@media (max-width: 560px) {
  .wordmark.has-logo { min-width: 0; }
  .wordmark.has-logo .logo { max-width: 58vw; height: auto; max-height: 40px; }
  .wordmark.has-logo:not(.logo-wide) .wordmark-text { min-width: 0; white-space: normal; overflow: visible; overflow-wrap: anywhere; text-overflow: clip; font-size: clamp(14px, 3.6vw, 18px); line-height: 1.2; }
  .wordmark.logo-wide .wordmark-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}
@media (max-width: 360px) {
  .wordmark.has-logo { gap: 8px; }
  .wordmark.has-logo .logo { max-height: 28px; }
  .wordmark.has-logo .wordmark-text { font-size: 19px; }
}
