/* ==========================================================
   Aveline Dental Studio · inner pages
   Loaded after style.css on every page. Reuses its tokens.
   ========================================================== */

/* ---------- shared page furniture ---------- */
.h1 {
  font-size: clamp(44px, 6.2vw, 96px);
  font-weight: 350;
  line-height: .98;
  letter-spacing: -.052em;
  text-wrap: balance;
}
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: clamp(28px, 4vw, 48px); font-size: 13.5px; color: var(--muted); }
.crumbs a { color: var(--ink-2); transition: color .2s var(--ease); }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-hidden] { color: var(--faint); }

.phead { padding-top: clamp(124px, 12vw, 168px); }
.phead__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr); gap: 48px; align-items: end; }
.phead .h1 { max-width: 14ch; }
.phead .lead { justify-self: end; }
.phead--compact .h1 { font-size: clamp(42px, 5.2vw, 80px); }
.pband { margin-top: clamp(40px, 5vw, 64px); border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21 / 9; background: var(--surface-2); }
.pband img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.pband--group { aspect-ratio: 16 / 9; }

.shead { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.shead .h2 { max-width: 18ch; }
.shead__note { max-width: 40ch; font-size: 15px; color: var(--ink-2); }

.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--center { align-items: center; }
.split__side .lead { margin-top: 20px; max-width: 36ch; }

/* open columns with a rule on top */
.cols { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 40px 28px; }
.cols--2 { --n: 2; }
.cols--4 { --n: 4; }
.col { padding-top: 20px; border-top: 1px solid var(--line-2); }
.col .n { display: block; font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.col h3 { font-size: 19px; font-weight: 500; letter-spacing: -.022em; line-height: 1.25; }
.col p { margin-top: 8px; font-size: 15px; color: var(--ink-2); max-width: 40ch; }
.col--muted h3 { color: var(--ink-2); }
.col p a, .prose a, .lead a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 3px; transition: text-decoration-color .2s var(--ease); }
.col p a:hover, .prose a:hover { text-decoration-color: var(--ink); }

/* hairline list with check marks */
.checks { border-top: 1px solid var(--line); }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.checks svg { font-size: 18px; color: var(--accent); margin-top: 2px; }

/* hairline link list (name · meta · arrow) */
.linklist { border-top: 1px solid var(--line); }
.linklist li { border-bottom: 1px solid var(--line); }
.linklist a { display: grid; grid-template-columns: minmax(0, 1fr) auto 18px; align-items: center; gap: 16px; padding: 16px 0; font-size: 16px; letter-spacing: -.015em; transition: color .2s var(--ease); }
.linklist .m { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: right; }
.linklist svg { font-size: 17px; color: var(--ink-2); transition: transform .3s var(--ease), color .2s var(--ease); }
.linklist a:hover { color: var(--accent); }
.linklist a:hover svg { transform: translateX(3px); color: var(--accent); }

/* ---------- filter ---------- */
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: clamp(40px, 5vw, 64px) 0 clamp(28px, 3vw, 40px); padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.filter__btn {
  height: 38px; padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 14px; letter-spacing: -.01em;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.filter__btn:hover { border-color: var(--ink); color: var(--ink); }
.filter__btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter__count { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.filter__count span { color: var(--ink); }
[data-filter-item][hidden] { display: none !important; }
.is-filtered-in { animation: filter-in .45s var(--ease-out) both; }
@keyframes filter-in { from { opacity: 0; transform: translateY(10px); } }
.filter-empty { padding: 40px 0; color: var(--ink-2); }

/* ---------- treatment cards ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 20px; }
.tlist .tgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tstart { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(22px, 2.2vw, 30px); border-radius: var(--r-lg); background: var(--ice); }
.tstart .label { color: var(--accent-ink); }
.tstart__title { font-size: clamp(26px, 2.3vw, 34px); font-weight: 400; letter-spacing: -.035em; line-height: 1.05; max-width: 10ch; }
.tstart p { margin-top: 14px; font-size: 15px; color: var(--ink-2); max-width: 32ch; }
.tstart .btn { margin-top: auto; }
.tstart p + .btn { margin-top: 28px; }
/* photo fills whatever height the grid row gives the card, so it never shows an empty panel */
.tstart__img { flex: 1 1 150px; align-self: stretch; min-height: 150px; margin-top: 24px; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); }
.tstart__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.tcard > a { display: flex; flex-direction: column; height: 100%; }
.tcard__img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.tcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 40%); }
.tcard__cat { position: absolute; left: 12px; top: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: 12.5px; }
.tcard__meta { margin-top: 18px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.tcard__title { margin-top: 6px; font-size: clamp(22px, 1.8vw, 26px); font-weight: 450; letter-spacing: -.03em; line-height: 1.15; transition: color .25s var(--ease); }
.tcard p { margin-top: 8px; font-size: 15px; color: var(--ink-2); max-width: 38ch; }
.tcard__go { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; }
.tcard__go svg { font-size: 17px; transition: transform .3s var(--ease); }
.tcard > a:hover .tcard__title { color: var(--accent); }
.tcard > a:hover .tcard__go svg { transform: translateX(3px); }

/* ---------- pricing block ---------- */
.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(56px, 7vw, 96px); padding: clamp(24px, 4vw, 56px); border-radius: var(--r-xl); background: var(--ice); }
.pricing__text h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 400; letter-spacing: -.035em; line-height: 1.1; }
.pricing__text p { margin-top: 14px; color: var(--ink-2); max-width: 44ch; }
.pricing__plans { display: grid; grid-template-columns: 1fr 1fr; margin-top: 28px; border-top: 1px solid rgba(8,60,68,.18); }
.pricing__plans > div { padding: 16px 16px 0 0; }
.pricing__plans > div + div { padding-left: 20px; border-left: 1px solid rgba(8,60,68,.18); }
.pricing__plans dt { font-size: 13px; color: var(--accent-ink); }
.pricing__plans dd { margin-top: 4px; font-size: 28px; font-weight: 400; letter-spacing: -.04em; }
.estimate-wrap { display: flex; justify-content: center; }
.estimate { width: 100%; max-width: 520px; }
.estimate .cost { margin-top: 16px; }

.facts-inline { margin-top: 28px; border-top: 1px solid var(--line); }
.facts-inline li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts-inline span { display: block; font-size: 12.5px; color: var(--muted); }

/* ---------- treatment detail ---------- */
.thero { padding-top: clamp(112px, 11vw, 150px); }
.thero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: stretch; }
.thero__text { display: flex; flex-direction: column; align-items: flex-start; padding-top: 8px; }
.thero .h1 { font-size: clamp(44px, 5.6vw, 88px); max-width: 11ch; }
.thero .lead { margin-top: 24px; max-width: 46ch; }
.tfacts { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); width: 100%; margin-top: auto; padding-top: 44px; }
.tfacts > div { padding: 18px 28px 0 0; border-top: 1px solid var(--line-2); min-width: 0; }
.tfacts > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.tfacts dt { font-size: 12.5px; color: var(--muted); }
.tfacts dd { margin-top: 4px; font-size: 18px; letter-spacing: -.02em; line-height: 1.3; }
.tfacts dd a { transition: color .2s var(--ease); }
.tfacts dd a:hover { color: var(--accent); }
.thero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.thero__ctas .btn--outline svg { color: var(--accent); }
.thero__ctas .btn--outline:hover svg { transform: none; }
.thero__img { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1 / 1.08; background: var(--surface-2); }
.thero__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 40%); }

.steps { border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.35fr) 120px; gap: 24px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); }
.steps .n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.steps h3 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 400; letter-spacing: -.03em; line-height: 1.15; }
.steps p { font-size: 15.5px; color: var(--ink-2); max-width: 54ch; }
.steps .t { font-family: var(--mono); font-size: 12px; color: var(--ink-2); text-align: right; white-space: nowrap; }

.aftercare__result { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.3; letter-spacing: -.028em; text-wrap: pretty; max-width: 34ch; }
.aftercare__list { margin-top: clamp(32px, 4vw, 48px); }
.aftercare__list h3 { font-size: 13px; font-weight: 400; color: var(--muted); margin-bottom: 12px; }
/* results + aftercare: text on the left, photo on the right stretched to the text's height (no dead space) */
.split--after { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; row-gap: 0; align-items: start; }
.split--after .split__side, .split--after .aftercare { display: contents; }
.split--after .label { grid-column: 1; grid-row: 1; }
.split--after .h2 { grid-column: 1; grid-row: 2; }
.split--after .aftercare__result { grid-column: 1; grid-row: 3; margin-top: clamp(20px, 2.4vw, 32px); }
.split--after .aftercare__list { grid-column: 1; grid-row: 4; }
.split--after .split__img { grid-column: 2; grid-row: 1 / -1; align-self: stretch; margin-top: 0; aspect-ratio: auto; height: 100%; min-height: 420px; }
.readmore { display: grid; grid-template-columns: 1fr 20px; align-items: center; gap: 4px 16px; margin-top: 28px; padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); transition: border-color .25s var(--ease); }
.readmore__k { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.readmore__t { grid-column: 1; font-size: 17px; letter-spacing: -.02em; }
.readmore svg { grid-row: 1 / span 2; grid-column: 2; font-size: 18px; transition: transform .3s var(--ease); }
.readmore:hover { border-color: var(--ink); }
.readmore:hover svg { transform: translateX(3px); }

/* led by */
.ldoc { display: grid; grid-template-columns: minmax(220px, 340px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding: 12px; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); }
.ldoc__img { display: block; aspect-ratio: 4 / 5; border-radius: calc(var(--r-xl) - 8px); overflow: hidden; background: var(--surface-2); }
.ldoc__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.ldoc__img--mono, .author__img--mono, .byline__img--mono { display: grid; place-items: center; background: var(--ice); color: var(--accent-ink); font-family: var(--mono); letter-spacing: .02em; }
.ldoc__img--mono { font-size: clamp(48px, 6vw, 88px); font-weight: 400; }
.ldoc__body { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(12px, 2.5vw, 32px) clamp(8px, 2vw, 28px) clamp(12px, 2vw, 24px) 0; }
.ldoc__name { font-size: clamp(32px, 3.4vw, 50px); font-weight: 400; letter-spacing: -.04em; line-height: 1.02; }
.ldoc__role { margin-top: 8px; color: var(--ink-2); }
.ldoc__bio { margin-top: 24px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; letter-spacing: -.015em; max-width: 46ch; }
.ldoc .team__facts { width: 100%; max-width: 560px; }
.ldoc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: auto; padding-top: 32px; }

.split__img { margin-top: clamp(28px, 3vw, 40px); aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.split__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.split__img img[src$="treat-porcelain-veneers-result.webp"] { object-position: 72% 12%; }
.contact__img { margin-bottom: clamp(40px, 5vw, 64px); aspect-ratio: 21 / 8; border-radius: var(--r-xl); overflow: hidden; background: var(--surface-2); }
.contact__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.prose__fig { margin: 2.2em 0 .4em; }
.prose__fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg); background: var(--surface-2); }
.prose__fig figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ---------- about ---------- */
.story__img { margin-top: 8px; }
.story__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg); }
.story__img figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.story__lead { font-size: clamp(26px, 3vw, 44px); line-height: 1.14; letter-spacing: -.034em; text-wrap: pretty; }
.story__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: clamp(32px, 4vw, 48px); padding-top: 24px; border-top: 1px solid var(--line); }
.story__cols p { color: var(--ink-2); font-size: 15.5px; }

.pair { display: grid; grid-template-columns: 16fr 25fr; gap: 14px; align-items: end; }
.pair__img { border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.pair__img--tall { aspect-ratio: 4 / 5; }
.pair__img--wide { aspect-ratio: 5 / 4; }
.pair__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 45%); }
.pair figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }

.dgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.dcard { display: flex; flex-direction: column; }
.dcard__img { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.dcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.dcard__name { margin-top: 16px; font-size: 20px; letter-spacing: -.025em; transition: color .25s var(--ease); }
.dcard__role { font-size: 14px; color: var(--ink-2); }
.dcard__meta { margin-top: 8px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.dcard:hover .dcard__name { color: var(--accent); }

.qgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.qgrid blockquote { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.4; letter-spacing: -.02em; text-wrap: pretty; }
.qgrid figcaption { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.qgrid figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.qgrid figcaption strong { display: block; font-weight: 500; letter-spacing: -.015em; }
.qgrid figcaption span { font-size: 13.5px; color: var(--ink-2); }
.qgrid__more { margin-top: 36px; }
.score--sm { margin-top: 0; }
.score--sm > strong { font-size: 48px; }

/* ---------- team ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 6px; }
.jump a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); transition: border-color .25s var(--ease), color .25s var(--ease); }
.jump a:hover { border-color: var(--ink); color: var(--ink); }
.profile { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.profile:first-of-type { border-top: 0; padding-top: 0; }
.profile--flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.profile--flip .profile__photo { order: 2; }
.profile__photo { position: relative; align-self: start; aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; background: var(--surface-2); }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.profile__body { display: flex; flex-direction: column; align-items: flex-start; padding-top: 4px; }
.profile__n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.profile__name { margin-top: 16px; font-size: clamp(36px, 3.8vw, 56px); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.profile__role { margin-top: 10px; font-size: 17px; color: var(--ink-2); }
.profile__bio { margin-top: 28px; }
.profile__bio p { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; letter-spacing: -.012em; max-width: 50ch; }
.profile__bio p + p { margin-top: 14px; color: var(--ink-2); font-size: 16px; }
.profile .team__facts { width: 100%; max-width: 560px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.profile__leads { width: 100%; max-width: 560px; margin-top: 32px; }
.profile__leads h3, .article__treat-h { font-size: 13px; font-weight: 400; color: var(--muted); margin-bottom: 8px; letter-spacing: 0; }
.profile__actions { margin-top: 32px; }

.people { border-top: 1px solid var(--line); }
.people li { display: grid; grid-template-columns: 56px minmax(0, .9fr) minmax(0, 1.4fr); grid-template-rows: auto auto; column-gap: 20px; row-gap: 2px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.people__img { grid-row: 1 / span 2; align-self: center; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--surface-2); }
.people__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.people__img--mono { display: grid; place-items: center; background: var(--ice); color: var(--accent-ink); font-family: var(--mono); font-size: 13px; }
.people__name { grid-column: 2; grid-row: 1; font-size: 20px; letter-spacing: -.025em; }
.people__role { grid-column: 2; grid-row: 2; font-size: 14px; color: var(--ink-2); }
.people__note { grid-column: 3; grid-row: 1; font-size: 14.5px; color: var(--ink); }
.people__lang { grid-column: 3; grid-row: 2; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.people li:target .people__name { color: var(--accent); }

.note-panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: end; padding: clamp(28px, 5vw, 64px); border-radius: var(--r-xl); background: var(--ice); }
.note-panel .label { color: var(--accent-ink); }
.note-panel__body { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.note-panel__body p { color: var(--ink-2); max-width: 52ch; }

/* ---------- journal ---------- */
.feat > a { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.feat__img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-xl); overflow: hidden; background: var(--surface-2); }
.feat__img img { width: 100%; height: 100%; object-fit: cover; }
.feat__body { display: flex; flex-direction: column; align-items: flex-start; }
.feat__k { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.feat__title { margin-top: 14px; font-size: clamp(30px, 3.2vw, 48px); font-weight: 400; letter-spacing: -.04em; line-height: 1.05; transition: color .25s var(--ease); }
.feat__body > p { margin-top: 16px; color: var(--ink-2); max-width: 44ch; }
.feat .post__meta { width: 100%; max-width: 440px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.feat .link-arrow { margin-top: 24px; }
.feat > a:hover .feat__title { color: var(--accent); }
.feat > a:hover .link-arrow svg { transform: translateX(3px); }
.jgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; }
.jlist .jgrid { margin-top: clamp(48px, 6vw, 80px); }
.post h2 { margin-top: 8px; font-size: 21px; font-weight: 450; letter-spacing: -.025em; line-height: 1.25; max-width: 26ch; transition: color .25s var(--ease); }
.post a:hover h2 { color: var(--accent); }

/* article */
.ahead { padding-top: clamp(124px, 12vw, 168px); }
.ahead__title { max-width: 20ch; font-size: clamp(38px, 4.8vw, 72px); font-weight: 350; line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 32px; }
.byline__img { display: block; flex: none; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--surface-2); }
.byline__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.byline__img--mono { font-size: 14px; }
.byline__who { display: flex; flex-direction: column; line-height: 1.3; }
.byline__who strong { font-weight: 500; letter-spacing: -.015em; }
.byline__who span { font-size: 13.5px; color: var(--ink-2); }
.byline__meta { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.ahero { margin-top: clamp(32px, 4vw, 48px); aspect-ratio: 16 / 9; border-radius: var(--r-xl); overflow: hidden; background: var(--surface-2); }
.ahero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }

.abody { display: grid; grid-template-columns: minmax(180px, 250px) minmax(0, 1fr); gap: clamp(32px, 7vw, 120px); margin-top: clamp(48px, 6vw, 80px); }
.abody__side { position: relative; min-width: 0; }
.abody > .prose { min-width: 0; }
.toc { position: sticky; top: 104px; }
.toc h2 { font-size: 13px; font-weight: 400; color: var(--muted); margin-bottom: 10px; }
.toc ol { border-top: 1px solid var(--line); counter-reset: toc; }
.toc li { border-bottom: 1px solid var(--line); counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 28px 1fr; padding: 10px 0; font-size: 14px; line-height: 1.35; color: var(--ink-2); transition: color .2s var(--ease); }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: 11.5px; color: var(--faint); padding-top: 2px; }
.toc a:hover, .toc a.is-current { color: var(--ink); }
.toc a.is-current::before { color: var(--accent); }

.prose { max-width: 70ch; font-size: 18px; line-height: 1.7; letter-spacing: -.005em; color: var(--ink); }
.prose > p + p { margin-top: 1.1em; }
.prose h2 { margin: 2.2em 0 .6em; font-size: clamp(24px, 2.2vw, 32px); font-weight: 450; letter-spacing: -.03em; line-height: 1.15; scroll-margin-top: 100px; }
.prose > h2:first-child { margin-top: 0; }
.prose strong { font-weight: 550; }
.prose ul, .prose ol { margin: 1.2em 0; border-top: 1px solid var(--line); }
.prose ul > li, .prose ol > li { position: relative; padding: 12px 0 12px 36px; border-bottom: 1px solid var(--line); }
.prose ul > li::before { content: ""; position: absolute; left: 6px; top: 1.35em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.prose ol { counter-reset: li; }
.prose ol > li { counter-increment: li; }
.prose ol > li::before { content: counter(li, decimal-leading-zero); position: absolute; left: 0; top: 15px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.summary { margin-bottom: 2.4em; padding: 24px 28px 12px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.summary .summary__h { margin: 0 0 8px; font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.summary ul { margin: 0; border-top: 0; }
.summary ul > li { font-size: 16.5px; line-height: 1.55; }
.summary ul > li:last-child { border-bottom: 0; }
.table-wrap { margin: 1.4em 0; overflow-x: auto; border-top: 1px solid var(--line-2); }
.prose table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.prose th, .prose td { padding: 12px 16px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose thead th { font-size: 13px; font-weight: 400; color: var(--muted); }
.prose tbody th { font-weight: 500; }
.prose td { color: var(--ink-2); }

.author { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 20px; margin-top: 3em; padding-top: 28px; border-top: 1px solid var(--line-2); }
.author__img { display: block; width: 88px; height: 88px; border-radius: 50%; overflow: hidden; background: var(--surface-2); }
.author__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.author__img--mono { font-size: 22px; }
.author__k { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
.author__name { display: block; font-size: 21px; font-weight: 450; letter-spacing: -.025em; line-height: 1.3; }
.author p { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.author .link-arrow { margin-top: 12px; }
.article__treat { margin-top: 48px; }
.prose .article__treat-h { margin: 0 0 8px; font-size: 13px; letter-spacing: 0; }
.prose .linklist { margin: 0; }
.prose .linklist li { padding: 0; }
.prose .linklist li::before { display: none; }
.prose .linklist a { text-decoration: none; font-size: 16.5px; line-height: 1.4; }

/* ---------- booking ---------- */
.bk-section { padding-top: clamp(40px, 5vw, 64px); }
.bk-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: clamp(20px, 3vw, 40px); align-items: start; }
.bk { position: relative; padding: clamp(20px, 3vw, 36px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.bk-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: clamp(28px, 3.5vw, 40px); }
.bk-steps button { position: relative; width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding-top: 14px; text-align: left; color: var(--muted); cursor: default; }
.bk-steps button::before, .bk-steps button::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; border-radius: 2px; background: var(--line); }
.bk-steps button::after { background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.bk-steps .n { font-family: var(--mono); font-size: 12px; }
.bk-steps .t { font-size: 14px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.bk-steps button.is-done { color: var(--ink-2); cursor: pointer; }
.bk-steps button.is-done:hover { color: var(--ink); }
.bk-steps button.is-done::after, .bk-steps button[aria-current="step"]::after { transform: scaleX(1); }
.bk-steps button[aria-current="step"] { color: var(--ink); }
.bk-steps button:disabled { cursor: default; }

.bk-panel__head h2, .bk-done h2 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 400; letter-spacing: -.035em; line-height: 1.1; outline: none; }
.bk-panel__head p { margin-top: 8px; font-size: 15px; color: var(--ink-2); max-width: 56ch; }
.bk-panel { animation: panel-in .5s var(--ease-out) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }
.bk-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 20px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--ice); color: var(--accent-ink); font-size: 14px; }
.bk-note[hidden] { display: none; }
.bk-note button { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

.opts { display: grid; gap: 8px; margin-top: 24px; }
.opt { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--line); cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.opt:hover { border-color: var(--line-2); background: var(--bg); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--faint); display: grid; place-items: center; transition: border-color .2s var(--ease); }
.opt__radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .25s var(--ease-out); }
.opt__main { min-width: 0; display: flex; flex-direction: column; }
.opt__name { font-size: 16.5px; font-weight: 500; letter-spacing: -.02em; }
.opt__desc { font-size: 14px; color: var(--ink-2); }
.opt__side { text-align: right; font-family: var(--mono); font-size: 12px; color: var(--muted); line-height: 1.5; }
.opt__side strong { display: block; font-family: var(--font); font-size: 14px; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.opt:has(input:checked) { border-color: var(--accent); background: rgba(220,235,235,.45); }
.opt:has(input:checked) .opt__radio { border-color: var(--accent); }
.opt:has(input:checked) .opt__radio::after { transform: scale(1); }
.opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt--person { grid-template-columns: 22px 48px minmax(0, 1fr) auto; }
.opt__face { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--surface-2); }
.opt__face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.opt__face--mono { display: grid; place-items: center; background: var(--ice); color: var(--accent-ink); font-family: var(--mono); font-size: 13px; }
.opt__face--any { display: grid; place-items: center; background: var(--ink); color: #fff; }
.opt__face--any svg { font-size: 20px; }

.bk-days { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(72px, 1fr); gap: 6px; margin-top: 24px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; scroll-snap-type: x proximity; }
.bk-days::-webkit-scrollbar { display: none; }
.bk-days .day { scroll-snap-align: start; }
.bk-days .day:disabled { opacity: .4; cursor: not-allowed; background: transparent; }
.bk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 6px; margin-top: 12px; min-height: 92px; align-content: start; }
.bk-hint { min-height: 22px; margin-top: 12px; font-size: 13.5px; color: var(--ink-2); }

.bk-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-top: 24px; }
.field { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { display: block; padding: 0; margin-bottom: 6px; font-size: 13px; color: var(--ink-2); }
.opt-l { color: var(--muted); }
.field input, .field textarea { width: 100%; height: 48px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--bg); font: inherit; font-size: 15px; color: var(--ink); outline: none; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.field textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus, .field textarea:focus { border-color: var(--accent); background: #fff; }
.field input[aria-invalid="true"] { border-color: #b4462f; }
.field__err { min-height: 0; font-size: 13px; color: #b4462f; }
.field__err:not(:empty) { margin-top: 6px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; margin: 0; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: flex; align-items: center; min-height: 48px; padding: 10px 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); font-size: 14.5px; color: var(--ink); cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.seg span:hover { border-color: var(--ink-2); }
.seg input:checked + span { border-color: var(--accent); background: rgba(220,235,235,.45); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.seg.is-invalid span { border-color: #b4462f; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.check a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 3px; }
.check.is-invalid span { color: #b4462f; }

.bk-review { margin-top: 24px; border-top: 1px solid var(--line); }
.bk-review > div { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bk-review dt { font-size: 13px; color: var(--muted); }
.bk-review dd { font-size: 16px; letter-spacing: -.015em; overflow-wrap: anywhere; }
.bk-review dd small { display: block; font-size: 13.5px; color: var(--ink-2); letter-spacing: 0; }
.bk-review button { font-size: 14px; font-weight: 500; color: var(--accent); }
.bk-review button:hover { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }

.bk-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.bk-nav[hidden] { display: none; }
.bk-nav [data-bk-back] svg { font-size: 18px; }
.bk-nav [data-bk-back]:hover svg { transform: translateX(-3px); }
.bk-nav [data-bk-back][hidden] { display: inline-flex; visibility: hidden; }
.bk-nav__count { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.bk-demo { margin-top: 16px; font-size: 12.5px; color: var(--muted); }

.bk-done { display: flex; flex-direction: column; align-items: flex-start; animation: panel-in .5s var(--ease-out) both; }
.bk-done[hidden] { display: none; }
.bk-done__mark { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 50%; background: var(--ice); color: var(--accent); }
.bk-done__mark svg { font-size: 24px; }
.bk-done__lead { margin-top: 12px; font-size: 17px; color: var(--ink-2); max-width: 52ch; }
.bk-done__lead strong { color: var(--ink); font-weight: 500; }
.bk-done__ref { display: grid; grid-template-columns: auto auto; justify-content: start; margin-top: 24px; border-top: 1px solid var(--line); }
.bk-done__ref > div { padding: 14px 32px 0 0; }
.bk-done__ref > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.bk-done__ref dt { font-size: 12.5px; color: var(--muted); }
.bk-done__ref dd { font-size: 16px; letter-spacing: -.01em; }
.bk-done__ref [data-bk-ref] { font-family: var(--mono); font-size: 15px; }
.bk-next { width: 100%; margin-top: 32px; border-top: 1px solid var(--line); }
.bk-next li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.bk-next .n { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 3px; }
.bk-done__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

.bk-aside { position: sticky; top: 100px; display: grid; gap: 14px; }
.bk-summary { padding: 24px; }
.bk-summary .card__title { font-size: 19px; }
.bk-summary__list { margin-top: 16px; border-top: 1px solid var(--line); }
.bk-summary__list > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line-2); }
.bk-summary__list dt { font-size: 13px; color: var(--muted); }
.bk-summary__list dd { font-size: 14.5px; letter-spacing: -.01em; }
.bk-summary__list dd.is-empty { color: var(--faint); }
.bk-summary__note { margin-top: 16px; font-size: 13px; color: var(--ink-2); }
.bk-help { padding: 20px 24px; border-radius: var(--r-lg); background: var(--ice); font-size: 14px; color: var(--accent-ink); }
.bk-help p + p { margin-top: 10px; }
.bk-help a { font-weight: 500; text-decoration: underline; text-decoration-color: rgba(8,60,68,.3); text-underline-offset: 3px; }

.contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.contact__col { padding-top: 20px; border-top: 1px solid var(--line-2); }
.contact__col h3 { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 400; color: var(--muted); }
.contact__col h3 svg { font-size: 16px; color: var(--accent); }
.contact__big { margin-top: 16px; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.3; letter-spacing: -.025em; overflow-wrap: anywhere; }
.contact__big a { transition: color .2s var(--ease); }
.contact__big a:hover { color: var(--accent); }
.contact__col > p:not(.contact__big):not(.hours-status) { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); max-width: 34ch; }
.contact__col .link-arrow { margin-top: 18px; }
.hours-status { margin-top: 16px; font-size: 15px; }
.hours-table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 14.5px; }
.hours-table th, .hours-table td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--ink); font-weight: 500; }
.hours-table tr.is-today th::after { content: "Today"; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--ice); color: var(--accent-ink); font-size: 11.5px; font-weight: 400; vertical-align: 1px; }
.info-cols { margin-top: clamp(56px, 7vw, 88px); }
.info-cols .col p { max-width: 52ch; }
.info-cols .checks { margin-top: 20px; }

/* ---------- 404 ---------- */
.nf { padding-top: clamp(140px, 14vw, 200px); }
.nf__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.nf__code { display: block; margin-bottom: 20px; font-family: var(--mono); font-size: 13px; color: var(--accent); }
.nf .lead { margin-top: 24px; }
.nf__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

/* ---------- legal ---------- */
.legal .abody { margin-top: clamp(48px, 6vw, 72px); }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1180px) {
  .cols--4 { --n: 2; }
  .tlist .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li { grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1.3fr); }
  .steps .t { grid-column: 3; text-align: left; margin-top: -10px; }
}

@media (max-width: 980px) {
  .phead__grid { grid-template-columns: 1fr; gap: 24px; }
  .phead .lead { justify-self: start; }
  .pband { aspect-ratio: 16 / 9; }
  .split, .pricing, .note-panel, .nf__grid { grid-template-columns: 1fr; }
  .split--after { grid-template-rows: none; }
  .split--after .split__img { grid-column: 1; grid-row: 3; height: auto; min-height: 0; aspect-ratio: 16 / 10; margin-top: clamp(24px, 3vw, 36px); }
  .split--after .aftercare__result { grid-row: 4; }
  .split--after .aftercare__list { grid-row: 5; }
  .split__side .lead { max-width: 52ch; }
  .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .thero__grid { grid-template-columns: 1fr; }
  .thero__img { order: -1; aspect-ratio: 4 / 3; }
  .thero__img img { object-position: var(--pos, 50% 35%); }
  .thero__text .crumbs { margin-bottom: 24px; }
  .tfacts { padding-top: 36px; }
  .profile, .profile--flip { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .profile--flip .profile__photo { order: 0; }
  .qgrid { grid-template-columns: 1fr; }
  .qgrid .col { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; }
  .qgrid figcaption { margin-top: 0; align-self: start; }
  .feat > a { grid-template-columns: 1fr; }
  .abody { grid-template-columns: 1fr; }
  .toc { position: static; }
  .abody__side { max-width: 560px; }
  .bk-layout { grid-template-columns: 1fr; }
  .bk-aside { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
  .contact { grid-template-columns: 1fr 1fr; }
  .contact__col:last-child { grid-column: 1 / -1; max-width: 520px; }
  .ldoc { grid-template-columns: 240px minmax(0, 1fr); }
  .story__img { max-width: 520px; }
  .split__img { aspect-ratio: 16 / 10; }
  .contact__img { aspect-ratio: 16 / 7; }
}

@media (max-width: 720px) {
  .phead { padding-top: 112px; }
  .h1 { font-size: clamp(40px, 11vw, 56px); }
  .pband, .pband--group { aspect-ratio: 3 / 2; }
  .shead { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cols--2, .cols--4 { --n: 1; }
  .col .n { margin-bottom: 10px; }
  .filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
  .filter::-webkit-scrollbar { display: none; }
  .filter__btn { flex: none; }
  .filter__count { padding-left: 8px; }
  .tgrid, .tlist .tgrid { grid-template-columns: 1fr; gap: 40px; }
  .tcard__img { aspect-ratio: 4 / 4.2; }
  .thero { padding-top: 96px; }
  .thero__img { aspect-ratio: 4 / 3.4; }
  .thero .h1 { font-size: clamp(40px, 11vw, 56px); }
  .tfacts { grid-template-columns: 1fr; padding-top: 28px; }
  .tfacts > div, .tfacts > div + div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-left: 0; border-top: 1px solid var(--line); }
  .tfacts > div:first-child { border-top-color: var(--line-2); }
  .tfacts > div:last-child { border-bottom: 1px solid var(--line); }
  .tfacts dd { margin: 0; font-size: 16px; text-align: right; }
  .thero__ctas { width: 100%; }
  .thero__ctas .btn { flex: 1 1 100%; }
  .steps li { grid-template-columns: 40px minmax(0, 1fr); gap: 8px 12px; padding: 22px 0; }
  .steps p, .steps .t { grid-column: 2; }
  .steps .t { margin-top: 4px; }
  .pricing { padding: 20px; }
  .pricing__plans dd { font-size: 24px; }
  .ldoc { grid-template-columns: 1fr; padding: 8px; }
  .ldoc__img { aspect-ratio: 1 / 1; }
  .ldoc__body { padding: 8px 12px 16px; }
  .ldoc .team__facts { grid-template-columns: 1fr 1fr; }
  .story__cols { grid-template-columns: 1fr; gap: 16px; }
  .pair { grid-template-columns: 1fr; }
  .dgrid { gap: 28px 12px; }
  .dcard__name { font-size: 17px; }
  .dcard__role { font-size: 13px; }
  .dcard__meta { font-size: 11px; }
  .qgrid .col { grid-template-columns: 1fr; }
  .profile, .profile--flip { grid-template-columns: 1fr; gap: 28px; }
  .profile__photo { aspect-ratio: 4 / 4.4; }
  .profile .team__facts { grid-template-columns: 1fr 1fr; }
  .people li { grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: none; column-gap: 16px; align-items: start; }
  .people__img { width: 48px; height: 48px; grid-row: 1 / span 4; align-self: start; }
  .people__name, .people__role, .people__note, .people__lang { grid-column: 2; grid-row: auto; }
  .people__note { margin-top: 6px; color: var(--ink-2); }
  .feat__img { border-radius: var(--r-lg); }
  .jgrid { grid-template-columns: 1fr; }
  .ahead { padding-top: 112px; }
  .ahero { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
  .byline__meta { margin-left: 0; width: 100%; }
  .prose { font-size: 17px; }
  .summary { padding: 20px 20px 8px; }
  .author { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
  .author__img { width: 64px; height: 64px; }
  .bk { padding: 18px; border-radius: var(--r-lg); }
  .bk-steps { gap: 4px; }
  .bk-steps .t { display: none; }
  .bk-steps button[aria-current="step"] .t { display: block; position: absolute; left: 0; top: 34px; overflow: visible; }
  .bk-steps { margin-bottom: 44px; }
  .opt { grid-template-columns: 20px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .opt__side { grid-column: 2; text-align: left; }
  .opt__side strong { display: inline; margin-right: 8px; }
  .opt--person { grid-template-columns: 20px 44px minmax(0, 1fr); }
  .opt--person .opt__side { grid-column: 3; }
  .opt__face { width: 44px; height: 44px; }
  .bk-form { grid-template-columns: 1fr; }
  .seg { grid-template-columns: 1fr; }
  .bk-review > div { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; }
  .bk-review dt { grid-column: 1; }
  .bk-review dd { grid-column: 1; }
  .bk-review button { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .bk-nav { gap: 10px; }
  .bk-nav .btn { --h: 44px; padding: 0 16px; }
  .bk-nav__count { display: none; }
  .bk-done__ref { grid-template-columns: 1fr; }
  .bk-done__ref > div + div { padding-left: 0; border-left: 0; }
  .bk-aside { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact__col:last-child { max-width: none; }
  .nf { padding-top: 120px; }
  .split__img { aspect-ratio: 4 / 3; }
  .contact__img { aspect-ratio: 3 / 2; border-radius: var(--r-lg); }
}

/* keep amounts on one line in narrow estimate cards */
.estimate .cost li span:last-child { white-space: nowrap; }
.estimate .cost li span:first-child { min-width: 0; }
