/* Studio, Questions for Lu (/review) and the 404, linked on those three pages only
   (theme.pageStyles in src/theme.mjs). Builds on site.css: tokens, grid, openings, plates, rulers,
   steps, forms and tones. Nothing here changes a shared component on another page. */

/* =====================================================================
   Studio
   ===================================================================== */

/* ---------- first screen: the label on the plate's top line, her line on its bottom line ---------- */
.studio-hero { padding-top: clamp(28px, 4.2vw, 68px); }
.studio-hero__grid { align-items: stretch; row-gap: 44px; }
.studio-hero__text { grid-column: 1 / span 6; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-bottom: 50px; }
/* Her address over "Salty hair welcome.": plain text in her text face (a label would shout it). */
.studio-hero__label { font: 400 15px/1.6 var(--sans); letter-spacing: 0; text-transform: none; color: var(--brown); }
.studio-hero__title { margin: 0; max-width: 7.4em; font: 400 var(--t-xl)/1 var(--serif); letter-spacing: -.01em; }
.studio-hero__lede { margin: clamp(22px, 2.4vw, 34px) 0 0; max-width: 25em; }
.studio-hero__plate { grid-column: 8 / -1; }
/* short laptops: the plate shrinks so that it and its caption stay in the first screen */
@media (min-width: 900px) {
  .studio-hero__title { max-width: 6em; }
  .studio-hero__plate .plate { width: min(100%, (100vh - var(--header-h) - 176px) * 4 / 5); margin-left: auto; }
  @supports (height: 1svh) { .studio-hero__plate .plate { width: min(100%, (100svh - var(--header-h) - 176px) * 4 / 5); } }
}
@media (max-width: 899px) {
  .studio-hero__text, .studio-hero__plate { grid-column: 1 / -1; }
  .studio-hero__text { gap: 18px; padding-bottom: 0; }
  .studio-hero__lede { margin-top: 20px; }
  .studio-hero__plate { max-width: 560px; }
}

/* ---------- Visit: the address as the legend of a plate, on a ruler ---------- */
.studio-visit .ruler { margin-bottom: clamp(36px, 4vw, 60px); }
.studio-visit__grid, .studio-hi__grid { align-items: start; row-gap: 30px; }
.studio-visit .opening, .studio-hi .opening { grid-column: 1 / span 4; display: block; margin: 0; }
.studio-visit .opening__title, .studio-hi .opening__title { font-size: clamp(36px, 1.5vw + 27px, 50px); }
.studio-visit__address {
  --pad: 50px;
  grid-column: 6 / span 4; position: relative; padding: var(--pad) 0 0 32px;
  font: 400 clamp(22px, .8vw + 17px, 29px)/1.38 var(--serif); letter-spacing: 0; color: var(--ink);
}
/* the pin: the same cross-haired point as the mapping marks, here for the place */
.studio-visit__pin { position: absolute; left: 6px; top: calc(var(--pad) + .69em - 4.5px); width: 9px; height: 9px; border: 1px solid var(--brown); border-radius: 50%; background: var(--paper); }
.studio-visit__pin::before, .studio-visit__pin::after { content: ''; position: absolute; background: var(--brown); }
.studio-visit__pin::before { left: -6px; right: -6px; top: 3px; height: 1px; }
.studio-visit__pin::after { top: -6px; bottom: -6px; left: 3px; width: 1px; }
.studio-visit__when { grid-column: 10 / -1; padding-top: 55px; }
.studio-visit__hours { margin: 0 0 14px; font: 400 15px/1.6 var(--sans); color: var(--muted); }
.studio-visit__map { margin: 0; }
@media (max-width: 899px) {
  .studio-visit .opening, .studio-hi .opening, .studio-visit__address, .studio-visit__when { grid-column: 1 / -1; }
  .studio-visit__address { --pad: 4px; }
  .studio-visit__when { padding: 0 0 0 32px; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .studio-visit__address { grid-column: 1 / span 3; }
  .studio-visit__when { grid-column: 4 / -1; padding: 10px 0 0; }
}

/* ---------- Say hi: her three ways in, a ruled list ---------- */
.studio-hi__list { grid-column: 6 / -1; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.studio-hi__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; border-bottom: 1px solid var(--line); }
.studio-hi__link {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 44px; padding: 20px 0 18px; color: var(--fg); text-decoration: none;
  font: 400 clamp(24px, 1.3vw + 19px, 38px)/1.15 var(--serif); letter-spacing: -.005em; overflow-wrap: anywhere;
  transition: color .3s var(--ease);
}
.studio-hi__link::after { content: ''; flex: none; width: 20px; height: 9px; background: var(--accent); -webkit-mask: var(--i-arrow) center / 100% 100% no-repeat; mask: var(--i-arrow) center / 100% 100% no-repeat; transition: transform .35s var(--ease); }
.studio-hi__link[data-action='instagram']::after { width: 9px; -webkit-mask-image: var(--i-out); mask-image: var(--i-out); }
.studio-hi__link:hover { color: var(--brown); }
.studio-hi__link:hover::after { transform: translateX(3px); }
.studio-hi__link[data-action='instagram']:hover::after { transform: translate(2px, -2px); }
.studio-hi__item[data-action='sms'] .studio-hi__link { grid-column: 1; justify-content: flex-start; }
.studio-hi__item[data-action='sms'] .studio-hi__link::after { display: none; }
.studio-hi__item .sms-detail { font: 400 14px/1.5 var(--sans); color: var(--muted); }
@media (max-width: 899px) {
  .studio-hi__list { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .studio-hi__item { grid-template-columns: minmax(0, 1fr); }
  .studio-hi__item[data-action='sms'] .studio-hi__link { padding-bottom: 4px; }
  .studio-hi__item .sms-detail { grid-column: 1; padding-bottom: 18px; white-space: normal; }
}

/* ---------- How booking works: the olive spread ---------- */
.studio-booking__grid { align-items: start; row-gap: 56px; }
.studio-booking__steps { grid-column: 1 / span 6; }
.studio-steps__action { grid-column: 2; margin: 22px 0 4px; }
.studio-steps .steps__text { max-width: 30em; }
.studio-waitlist { grid-column: 8 / -1; padding-left: clamp(28px, 3vw, 48px); border-left: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.studio-waitlist__title { margin: 0; font: 400 var(--t-m)/1.15 var(--serif); }
.studio-waitlist .form { margin-top: 20px; }
@media (max-width: 899px) {
  .studio-booking__steps, .studio-waitlist { grid-column: 1 / -1; }
  .studio-waitlist { padding: 0; border-left: 0; }
}

/* ---------- Inside the studio: her photos as plates, in their own proportions ---------- */
.studio-gallery__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: clamp(48px, 6vw, 88px); align-items: start; }
.studio-gallery__item--1 { grid-column: 1 / span 7; grid-row: 1; }
.studio-gallery__item--2 { grid-column: 9 / -1; grid-row: 1 / span 2; align-self: center; }
.studio-gallery__item--2:last-child { grid-row: 1; align-self: end; }
.studio-gallery__item--3 { grid-column: 3 / span 5; grid-row: 2; }
@media (max-width: 899px) {
  .studio-gallery__grid { grid-template-columns: minmax(0, 1fr); }
  .studio-gallery__item--1, .studio-gallery__item--2, .studio-gallery__item--3 { grid-column: 1; grid-row: auto; }
  .studio-gallery__item--2 { width: 78%; justify-self: end; }
}
@media (min-width: 600px) and (max-width: 899px) { .studio-gallery__item--2 { width: 60%; } }

/* ---------- Bali, a quiet band with the full form ---------- */
.studio-bali .bali__grid { align-items: start; }
.studio-bali__title { margin: 0 0 18px; font: 400 clamp(34px, 1.6vw + 25px, 52px)/1.06 var(--serif); letter-spacing: -.006em; }
.studio-bali__text { margin: 0; max-width: 28em; color: var(--fg-2); }

/* =====================================================================
   Questions for Lu (/review): a document, not a form
   ===================================================================== */

/* ---------- cover: her title and our note, the contents on the right ---------- */
.portal-cover { padding-top: clamp(36px, 6vw, 104px); }
.portal-cover__grid { align-items: end; row-gap: 48px; }
.portal-cover__text { grid-column: 1 / span 7; }
.portal-cover__title { margin: 0; font: 400 var(--t-xl)/1 var(--serif); letter-spacing: -.01em; }
.portal-cover__intro { margin: clamp(22px, 2.6vw, 34px) 0 0; max-width: 29em; }
.portal-index { grid-column: 9 / -1; }
.portal-index__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.portal-index__row {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: baseline; column-gap: 12px;
  min-height: 48px; padding: 13px 0 11px; border-bottom: 1px solid var(--line); color: var(--fg); text-decoration: none;
}
.portal-index__no, .portal-index__count { font: var(--label-weight) 12px/1 var(--caps); letter-spacing: .1em; font-variant-numeric: lining-nums tabular-nums; }
.portal-index__no { color: var(--accent); }
.portal-index__count { color: var(--muted); }
.portal-index__name { font: 400 20px/1.2 var(--serif); transition: color .3s var(--ease); }
.portal-index__row:hover .portal-index__name { color: var(--accent); }
@media (max-width: 899px) {
  .portal-cover__text, .portal-index { grid-column: 1 / -1; }
}

/* ---------- section headings: a number in her wordmark's capitals, then the title ---------- */
.portal-part__head { margin-bottom: clamp(26px, 3vw, 44px); }
.portal-h { display: flex; align-items: baseline; gap: 18px; margin: 0; font: 400 var(--t-l)/1.06 var(--serif); letter-spacing: -.005em; }
.portal-h__no { flex: none; font: var(--label-weight) 12px/1 var(--caps); letter-spacing: .1em; color: var(--accent); }

/* ---------- a question: the ask on the left, our default answer beside it ---------- */
.portal-qs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.portal-q {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap);
  padding: clamp(28px, 3vw, 44px) 0 clamp(30px, 3.2vw, 48px); border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 12px);
}
/* Her question numbers (she answers "question 8"): kept, in her wordmark's capitals, never italic. */
.portal-q__n { grid-column: 1; margin: 0; padding-top: .35em; font: 300 clamp(15px, .4vw + 13px, 18px)/1 var(--caps); letter-spacing: .14em; color: var(--accent); }
.portal-q__ask { grid-column: 2 / span 6; }
.portal-q__answer { grid-column: 9 / -1; }
.portal-q__topic { margin: 0 0 12px; font: 400 var(--t-m)/1.16 var(--serif); letter-spacing: 0; }
.portal-q__text { margin: 0; max-width: 34em; }
.portal-q__parts { list-style: none; counter-reset: part; margin: 22px 0 0; padding: 0; max-width: 34em; }
.portal-q__parts li { counter-increment: part; position: relative; padding: 11px 0 11px 34px; border-top: 1px solid var(--line-soft); }
.portal-q__parts li::before { content: counter(part, lower-alpha); position: absolute; left: 2px; top: 13px; font: var(--label-weight) 12px/1.6 var(--caps); letter-spacing: .1em; color: var(--accent); }
.portal-default { padding: 17px 20px 19px; background: var(--card); border-top: 1px solid var(--olive); }
.portal-default__label, .portal-see__label { margin: 0 0 8px; font: var(--label-weight) 12px/1.4 var(--caps); letter-spacing: var(--label-track); text-transform: uppercase; }
.portal-default__label { color: var(--olive-deep); }
.portal-default__text { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink); }
.portal-see { margin-top: 20px; }
.portal-see__label { margin: 0; color: var(--muted); }
.portal-see__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; column-gap: 20px; }
.portal-see__link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; line-height: 1.35; color: var(--brown); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 5px; transition: color .3s var(--ease), text-decoration-color .3s var(--ease); }
.portal-see__link:hover { color: var(--ink); text-decoration-color: var(--brown); }
/* the one question needed before launch: its number in a ring, the answer box ruled in her brown */
.portal-q--required .portal-q__n { display: grid; place-items: center; width: 1.5em; height: 1.5em; margin-top: -.18em; border: 1px solid var(--accent); border-radius: 50%; font-size: clamp(26px, 1vw + 20px, 34px); line-height: 1; }
.portal-q--required .portal-default { border-top: 2px solid var(--brown); padding-top: 16px; }
/* suggestions: no topic, the roman numeral a little smaller */
.portal-q--suggestion .portal-q__n { font-size: clamp(14px, .3vw + 12px, 16px); padding-top: .45em; }
.portal-q--suggestion .portal-q__text { font: 400 clamp(19px, .4vw + 17px, 22px)/1.45 var(--serif); }
/* A, B, C: asked first, about her work. The letter upright; the photo or the stills under the ask. */
.portal-q--start .portal-q__n { font-style: normal; }
.portal-q--start .portal-default { border-top: 2px solid var(--brown); padding-top: 16px; }
.portal-start__photo { width: min(100%, 260px); margin: 26px 0 0; }
.portal-start__photo img { width: 100%; height: auto; }
.portal-start__stills { display: grid; gap: 26px; margin-top: 28px; }
.portal-start__still { margin: 0; }
.portal-start__cap { margin-top: 10px; font: var(--label-weight) 12px/1.5 var(--caps); letter-spacing: var(--label-track); text-transform: uppercase; color: var(--muted); }
/* A still of the mapping: her photo and our lines at full strength, so every line can be judged. */
.still { display: block; width: 100%; height: auto; background: var(--paper-3); }
.still line { stroke: var(--thread); stroke-width: 1.2px; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.still .still__axis { stroke-width: 1px; }
.still__pin { fill: var(--paper); stroke: var(--thread); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.still__tag { fill: var(--ink); stroke: var(--chip); stroke-width: 5px; stroke-linejoin: round; paint-order: stroke; vector-effect: non-scaling-stroke; font-family: var(--serif-text); font-variant-caps: all-small-caps; letter-spacing: .06em; }
@media (max-width: 899px) {
  .portal-q { grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; row-gap: 24px; }
  .portal-q__n, .portal-q__ask { grid-row: 1; }
  .portal-q__ask { grid-column: 2; }
  .portal-q__answer { grid-column: 1 / -1; }
  .portal-q__n { font-size: 34px; }
  .portal-q--required .portal-q__n, .portal-q--suggestion .portal-q__n { font-size: 24px; }
}

/* ---------- her photos, a numbered contact sheet ---------- */
.sheet { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(40px, 4vw, 60px) var(--col-gap); }
.sheet__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-3); }
.sheet__frame picture { width: 100%; height: 100%; }
.sheet__frame img { width: 100%; height: 100%; object-fit: cover; }
.sheet__frame--contain { background: var(--card); }
.sheet__frame--contain img { object-fit: contain; padding: 16%; background: none; }
/* not shown (or not received): her own words for the photo fill an empty mat, inside a hairline */
.sheet__frame--empty { display: grid; place-items: center; padding: 14%; background: var(--card); box-shadow: inset 0 0 0 12px var(--card), inset 0 0 0 13px var(--rule); }
.sheet__card { margin: 0; text-align: center; font: 400 clamp(17px, .5vw + 14px, 21px)/1.3 var(--serif); color: var(--brown); text-wrap: balance; }
.sheet__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 16px 0 8px; font: var(--label-weight) 12px/1.4 var(--caps); letter-spacing: var(--label-track); text-transform: uppercase; }
.sheet__no { color: var(--muted); font-variant-numeric: lining-nums tabular-nums; }
.sheet__status { color: var(--brown); }
.sheet__item[data-status='used'] .sheet__status { color: var(--olive-deep); }
.sheet__item[data-status='not used'] .sheet__status { color: var(--muted); }
.sheet__alt { margin: 0 0 8px; font: 400 18px/1.32 var(--serif); color: var(--ink); }
.sheet__reason { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
@media (max-width: 1023px) { .sheet { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 600px) {
  .sheet__alt--card { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 599px) {
  .sheet__card { display: none; }
  .sheet__frame--empty { box-shadow: inset 0 0 0 8px var(--card), inset 0 0 0 9px var(--rule); }
  .sheet { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
  .sheet__item { display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
  .sheet__head { margin-top: 0; }
  .sheet__alt { font-size: 17px; }
}

/* ---------- appendices: they open in place ---------- */
.portal-part--appendix { padding-top: 0; }
.portal-part--photos + .portal-part--appendix { padding-top: var(--space-section); }
.portal-appendix { border-bottom: 1px solid var(--line); }
.portal-part--photos + .portal-part--appendix .portal-appendix { border-top: 1px solid var(--line-strong); }
.portal-appendix__summary { align-items: center !important; padding: 26px 0 !important; }
.portal-appendix__summary .portal-h { font-size: clamp(26px, 1vw + 21px, 38px); }
.portal-appendix__count { margin-left: auto; font: var(--label-weight) 12px/1 var(--caps); letter-spacing: .1em; color: var(--muted); font-variant-numeric: lining-nums tabular-nums; }
.portal-appendix__summary:hover .portal-h__text { color: var(--accent); }
.portal-appendix__body { padding: 4px 0 44px; }
.portal-ruled, .portal-lines { list-style: none; margin: 0; padding: 0; }
.portal-ruled li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; padding: 15px 0; border-top: 1px solid var(--line-soft); }
.portal-ruled li:first-child, .portal-lines__item:first-child { border-top: 0; }
.portal-ruled__no { padding-top: .45em; font: var(--label-weight) 12px/1 var(--caps); letter-spacing: .1em; color: var(--accent); }
.portal-ruled p { margin: 0; max-width: 44em; }
.portal-lines__item { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); padding: 16px 0; border-top: 1px solid var(--line-soft); }
.portal-lines__text { grid-column: 1 / span 5; margin: 0; font: 400 19px/1.36 var(--serif); color: var(--ink); }
.portal-lines__where { grid-column: 7 / -1; margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.portal-lines__label { margin-right: 8px; font: var(--label-weight) 12px/1 var(--caps); letter-spacing: var(--label-track); text-transform: uppercase; }
@media (max-width: 899px) {
  .portal-lines__item { grid-template-columns: minmax(0, 1fr); }
  .portal-lines__text, .portal-lines__where { grid-column: 1; }
  .portal-lines__where { margin-top: 6px; }
}

/* =====================================================================
   404: her Lb signing, one line, the useful links
   ===================================================================== */
.not-found { width: auto; margin: 0; padding-top: clamp(56px, 8vw, 128px); text-align: center; }
.not-found__inner { display: flex; flex-direction: column; align-items: center; }
.not-found__title { margin: clamp(26px, 3vw, 40px) 0 0; max-width: 11em; font: 400 var(--t-xl)/1.02 var(--serif); letter-spacing: -.01em; }
.not-found__links { display: block; width: min(100%, 560px); margin: clamp(44px, 5vw, 72px) 0 0; text-align: left; border-top: 1px solid var(--line-strong); }
.not-found__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; border-bottom: 1px solid var(--line); }
.not-found__link {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 14px 0 12px; color: var(--fg); text-decoration: none;
  font: 400 clamp(21px, .5vw + 18px, 26px)/1.2 var(--serif); transition: color .3s var(--ease);
}
.not-found__link::after { content: ''; flex: none; width: 20px; height: 9px; background: var(--accent); -webkit-mask: var(--i-arrow) center / 100% 100% no-repeat; mask: var(--i-arrow) center / 100% 100% no-repeat; transition: transform .35s var(--ease); }
.not-found__link[data-action='book']::after { width: 9px; -webkit-mask-image: var(--i-out); mask-image: var(--i-out); }
.not-found__link:hover { color: var(--brown); }
.not-found__link:hover::after { transform: translateX(3px); }
.not-found__link[data-action='book']:hover::after { transform: translate(2px, -2px); }
.not-found__item[data-kind='sms'] .not-found__link { grid-column: 1; }
.not-found__item[data-kind='sms'] .not-found__link::after { display: none; }
.not-found__item .sms-detail { font: 400 14px/1.5 var(--sans); color: var(--muted); }
@media (max-width: 479px) {
  .not-found__item { grid-template-columns: minmax(0, 1fr); }
  .not-found__item[data-kind='sms'] .not-found__link { padding-bottom: 2px; min-height: 44px; }
  .not-found__item .sms-detail { grid-column: 1; padding-bottom: 14px; white-space: normal; }
}

/* v3 (27 Nov): the 404's links as soft rounded rows, like Before you book on Services. */
.not-found__links { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: stretch; gap: 8px; border-top: 0; }
.not-found__item { padding: 0 22px; border: 0; border-radius: 16px; background: var(--card); transition: background-color .35s var(--ease); }
.not-found__item:hover { background: var(--panel); }
.not-found__link { min-height: 64px; padding: 14px 0; font-size: clamp(18px, .35vw + 16px, 21px); }
.not-found__link::after { width: 15px; height: 7px; background: currentColor; }
.not-found__link[data-action='book']::after { width: 8px; height: 8px; }
.not-found__link:hover { color: inherit; }
@media (max-width: 479px) { .not-found__item { padding: 0 18px; } }

/* =====================================================================
   v3 (27 Nov): Questions for Lu in the v3 look. One reference per item (.portal-ref), printed as she
   types it (A, Q3, Q8c, S2, P07) and nothing else numbered; the cover on a soft panel, the chips
   under it; rounded defaults with sentence-case labels; See as pills; the photos that wait for her
   set apart; a recap at the end.
   ===================================================================== */
.portal-cover { padding-top: 0; }
.portal-cover__panel { margin: 0 var(--inset); padding: clamp(40px, 5vw, 88px) clamp(24px, 5vw, 80px); border-radius: var(--r-lg); background: var(--panel); }
.portal-cover__title { font-weight: 300; letter-spacing: -.03em; }
.portal-cover__intro { max-width: 34em; }
.page-nav__count { margin-left: 8px; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.page-nav__chip[aria-current] .page-nav__count { color: rgba(255, 255, 255, .72); }

.portal-ref {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 30px; padding: 0 11px;
  border-radius: 999px; background: var(--card); color: var(--ink);
  font: 500 15px/1 var(--sans); letter-spacing: 0; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.portal-ref--sub { min-width: 0; height: 26px; padding: 0 9px; font-size: 13.5px; }
.portal-q__n, .portal-q--required .portal-q__n, .portal-q--suggestion .portal-q__n {
  display: block; width: auto; height: auto; margin: 0; padding: 0; border: 0; border-radius: 0;
  font: inherit; letter-spacing: 0; color: inherit;
}
.portal-q__flag { display: inline-flex; margin: 0 0 12px; padding: 7px 12px; border-radius: 999px; background: var(--olive); color: #fff; font: 500 13px/1 var(--sans); }
.portal-q__parts li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: baseline; padding: 10px 0; }
.portal-q__parts li::before { content: none; }
.portal-h { font-weight: 300; letter-spacing: -.028em; }
.portal-default, .portal-q--required .portal-default, .portal-q--start .portal-default { padding: 18px 20px 20px; border-top: 0; border-radius: var(--r-md); }
.portal-default__label, .portal-see__label {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 13.5px/1.4 var(--sans); letter-spacing: .01em; text-transform: none; color: var(--ink);
}
.portal-default__label::before, .portal-see__label::before { content: ''; flex: none; width: 7px; height: 7px; border: 1.5px solid var(--olive); border-radius: 50%; }
.portal-see__label { margin-bottom: 10px; }
.portal-start__cap { font: 400 14px/1.45 var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
.still, .portal-start__photo, .sheet__frame { border-radius: var(--r-md); overflow: hidden; }
.sheet__frame--empty { box-shadow: none; }
.portal-ruled li { grid-template-columns: minmax(0, 1fr); }

/* the contact sheet in two groups: what waits for her, then what only informs her */
.sheet-group + .sheet-group { margin-top: clamp(56px, 6vw, 96px); }
.sheet-group__title { display: flex; align-items: center; gap: 10px; margin: 0 0 clamp(22px, 2.4vw, 32px); font: 500 15px/1.4 var(--sans); letter-spacing: .01em; color: var(--ink); }
.sheet-group__title::before { content: ''; flex: none; width: 7px; height: 7px; border: 1.5px solid var(--olive); border-radius: 50%; }
.sheet-group__count { color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.sheet__head { align-items: center; gap: 6px; margin: 14px 0 10px; font: inherit; letter-spacing: 0; text-transform: none; }
.sheet__pill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--panel); color: var(--ink); font: 400 12.5px/1 var(--sans); white-space: nowrap; }
.sheet__pill--ask { background: var(--olive); color: #fff; font-weight: 500; }
.sheet__ask { margin: 0 0 6px; font: 400 16px/1.45 var(--sans); color: var(--ink); }
.sheet__reason { font-size: 14.5px; }
@media (max-width: 599px) {
  .sheet { border-top: 0; }
  .sheet__item { border-bottom-color: var(--rule-soft); }
}

/* the end of the page: what still waits for her, and how to reply */
.portal-recap { padding-top: clamp(56px, 6vw, 96px); }
.portal-recap__panel { margin: 0 var(--inset); padding: clamp(36px, 5vw, 80px) clamp(24px, 5vw, 80px); border-radius: var(--r-lg); background: var(--panel); }
.portal-recap__title { margin: 0 0 clamp(22px, 2.4vw, 32px); font: 300 var(--t-l)/1.06 var(--serif); letter-spacing: -.028em; }
.portal-recap__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.portal-recap__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.portal-recap__refs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.portal-recap__refs .portal-ref { background: #fff; }
.portal-recap__to { padding: 0 2px; font-size: 14px; color: var(--muted); }
.portal-recap__text { font-size: 16px; color: var(--ink); }
.portal-recap__rule { max-width: 40em; margin: clamp(22px, 2.4vw, 32px) 0 0; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* ---------- v3 (27 Nov), inner pages: the light titles, the 404 on a soft panel ---------- */
.not-found__title, .studio-bali__title { font-weight: 300; letter-spacing: -.03em; }
.not-found { padding-top: 0; }
.not-found__panel { margin: 0 var(--inset); padding: clamp(48px, 6vw, 96px) 0; border-radius: var(--r-lg); background: var(--panel); }
.not-found__book { margin: clamp(28px, 3vw, 40px) 0 0; }
.not-found__links { margin-top: clamp(28px, 3vw, 40px); }
.not-found__item { background: #fff; }
.not-found__item:hover { background: var(--card); }

/* ---------- v3 (27 Nov), Studio ---------- */
/* Find us: no gutter left from the pin that went */
.studio-visit__address { padding: 0; font-weight: 300; letter-spacing: -.02em; }
.studio-visit__when { padding-top: 6px; }
@media (max-width: 899px) { .studio-visit__when { padding: 0; } }
/* Say hi: soft rounded rows */
.studio-hi__list.link-rows { border-top: 0; }
/* the North Shore list on its own card, named */
.studio-waitlist { padding: clamp(22px, 2.4vw, 32px); border-left: 0; border-radius: var(--r-md); background: rgba(255, 255, 255, .08); }
.studio-waitlist__label { margin: 0 0 14px; }
@media (max-width: 899px) { .studio-waitlist { padding: 22px 18px; } }
/* Inside the studio: one row, each photo in its own proportions (phones: the wide one first, the two others side by side) */
.studio-gallery__grid { grid-template-columns: 2fr 4.5fr 2fr; gap: var(--col-gap); align-items: start; }
.studio-gallery__item--1, .studio-gallery__item--2, .studio-gallery__item--3, .studio-gallery__item--2:last-child { grid-column: auto; grid-row: 1; align-self: start; width: auto; justify-self: stretch; }
@media (max-width: 899px) {
  .studio-gallery__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 24px; }
  .studio-gallery__item--2, .studio-gallery__item--2:last-child { grid-column: 1 / -1; grid-row: 1; width: auto; }
  .studio-gallery__item--1 { grid-column: 1; grid-row: 2; }
  .studio-gallery__item--3 { grid-column: 2; grid-row: 2; }
}

.studio-visit__address { text-wrap: balance; }
@media (min-width: 900px) and (max-width: 959px) { .page-nav__count-word { display: none; } }
