/* ==========================================================================
   CONCEPT B, "Through the arch" (j-0224). Bellzza's arch is the one frame: a treatment is seen through it, and booking
   is entered through it. ONE motion system: every move is an arch opening (a window wiping up, its picture counter-moving
   so it holds still) on --dna-ease-in-out at 1.35 x --dna-t-reveal; text changes on the same beat. Transform/opacity only.
   Without JS: every name full ink, the first photo in the arch, and a plain link to the booking. Reduced motion: a still.
   ========================================================================== */
:root { --c-ease: var(--dna-ease-in-out); --c-t: calc(var(--dna-t-reveal) * 1.35); }

/* ---- Services: the index, seen through the arch ---- */
.ix { padding: var(--dna-gap-3) 0 var(--dna-gap-6); }
.ix__in { display: grid; gap: var(--dna-gap-4); }
.ix__stage { position: sticky; top: calc(var(--at-hh) - 24px); z-index: 2; background: var(--bz-canvas); padding: 10px 0 12px; display: flex; flex-direction: column; align-items: center; }
.ix__frame { position: relative; width: min(46vw, 190px); aspect-ratio: 3 / 4; }
.ix__gold { position: absolute; inset: -9px -9px 0 -9px; border: 1px solid var(--bz-gold); border-bottom: 0; border-radius: 999px 999px 0 0; }
.ix__arch { position: absolute; inset: 0; overflow: hidden; border-radius: 999px 999px 0 0; background: #1b1714; }
.ix__ph, .ix__win, .ix__img { position: absolute; inset: 0; overflow: hidden; }
.ix__img img, .ix__img picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.ix__ph:not(:first-child) { display: none; }
.ix__ph-label { margin-top: 12px; }
.ix__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bz-line-strong); }
.ix__item { display: grid; grid-template-columns: 2.2rem 1fr; column-gap: var(--bz-s3); padding: var(--dna-gap-3) 0; border-bottom: 1px solid var(--bz-line); scroll-margin-top: 40svh; }
.ix__n { grid-row: 1 / 4; padding-top: .9em; font: 500 12px/1 var(--bz-font-body); letter-spacing: .08em; color: var(--bz-ink-muted); }
.ix__name { margin: 0; font: 300 clamp(2.6rem, 10vw, 6.4rem)/1 var(--at-serif); letter-spacing: -.025em; color: var(--bz-ink); outline: none; }
.ix__name em { font-style: italic; color: var(--bz-gold-ink); }
.ix__line { margin: var(--bz-s3) 0 0; max-width: 30rem; font-size: 1rem; line-height: 1.6; color: var(--bz-ink-2); }
.ix__book { justify-self: start; margin-top: var(--bz-s2); min-height: 44px; display: inline-flex; align-items: center; gap: 6px; color: var(--bz-ink); font: 600 .9375rem/1 var(--bz-font-body); text-decoration: none; border-bottom: 1px solid var(--bz-line-strong); }
@media (min-width: 900px) {
  .ix__in { grid-template-columns: 1fr 420px; column-gap: var(--dna-gap-5); align-items: start; }
  .ix__stage { order: 2; top: calc(var(--at-hh) + 40px); padding: 0; background: none; }
  .ix__frame { width: 360px; }
  .ix__item { grid-template-columns: 3.5rem 1fr; padding: var(--dna-gap-3) 0 var(--dna-gap-3); scroll-margin-top: var(--at-hh); }
}
/* with JS: the names you aren't on step back; the arch opens onto the one you are */
.js .ix__ph { display: block !important; }
.js .ix__ph .ix__win { transform: translateY(100%); transition: transform var(--c-t) var(--c-ease); }
.js .ix__ph .ix__img { transform: translateY(-100%); transition: transform var(--c-t) var(--c-ease); }
.js .ix__ph.is-on .ix__win, .js .ix__ph.is-on .ix__img, .js .ix__ph.is-was .ix__win, .js .ix__ph.is-was .ix__img { transform: none; }
.js .ix__item .ix__name { transition: transform var(--c-t) var(--c-ease); }
.js .ix__item:not(.is-on) .ix__name { color: var(--bz-ink-muted); }
.js .ix__item:not(.is-on) .ix__name em { color: var(--bz-ink-muted); }
.js .ix__item.is-on .ix__name { transform: translateX(10px); }
.js .ix__name { cursor: default; }

/* ---- Booking as an occasion: every Book passes through the arch ---- */
.th { position: fixed; inset: 0; z-index: 100; display: grid; place-items: end center; background: #1b1714; opacity: 0; transition: opacity calc(var(--dna-t-ui) * .8) var(--c-ease); overflow: hidden; }
.th.is-open { opacity: 1; }
.th__arch { position: relative; width: min(64vw, 380px); aspect-ratio: 3 / 4; margin-bottom: -2px; border-radius: 999px 999px 0 0; background: var(--bz-canvas);
  transform-origin: 50% 100%; transform: scale(.38); transition: transform calc(var(--c-t) * 1.2) var(--c-ease); display: grid; place-items: center; text-align: center; }
.th__arch::before { content: ""; position: absolute; inset: -12px -12px 0 -12px; border: 1px solid var(--bz-gold-bright); border-bottom: 0; border-radius: 999px 999px 0 0; }
.th.is-open .th__arch { transform: scale(1); }
.th.is-through .th__arch { transform: scale(4.2); }
.th__in { opacity: 0; transform: translateY(12px); transition: opacity var(--dna-t-ui) var(--c-ease), transform var(--dna-t-ui) var(--c-ease); padding: 0 12%; }
.th.is-open .th__in { opacity: 1; transform: none; transition-delay: .25s; }
.th.is-through .th__in { opacity: 0; transition-delay: 0s; }
.th__in img { width: 110px; height: auto; }
.th__in p { margin: var(--bz-s4) 0 0; font: 300 clamp(1.5rem, 5vw, 2.1rem)/1.1 var(--at-serif); color: var(--bz-ink); }
.th__in p em { font-style: italic; color: var(--bz-gold-ink); }
.th__in span { display: block; margin-top: var(--bz-s3); font: 500 .6875rem/1.4 var(--bz-font-body); letter-spacing: var(--dna-label-track); text-transform: uppercase; color: var(--bz-ink-muted); }

/* ---- About: the story along a gold line ---- */
.st { position: relative; padding: var(--dna-gap-5) 0 var(--dna-gap-6); }
.st__line { position: absolute; left: max(16px, calc(50% - 560px + 8px)); top: 0; bottom: 0; width: 2px; background: var(--bz-line); }
.st__head { position: absolute; left: -5px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bz-gold); box-shadow: 0 0 0 5px rgba(166, 134, 87, .18); will-change: transform; }
.st__line i { position: absolute; inset: 0; background: var(--bz-gold); transform-origin: top; transform: scaleY(1); }
.st__in { padding-left: 40px; }
.st__label { margin-bottom: var(--dna-gap-4); }
.st__ch { min-height: 78svh; display: flex; flex-direction: column; justify-content: center; padding: var(--dna-gap-4) 0; }
.st__ch:first-of-type { min-height: 64svh; justify-content: flex-start; }
.st__k { margin: 0 0 var(--bz-s4); font: 300 clamp(3rem, 10vw, 6.5rem)/1 var(--at-serif); letter-spacing: -.02em; color: var(--bz-gold-ink); }
.st__ch--promise .st__k, .st__ch--door .st__k { font: 500 .6875rem/1.4 var(--bz-font-body); letter-spacing: var(--dna-label-track); text-transform: uppercase; color: var(--bz-ink-muted); }
.st__h { margin: 0; font: 300 clamp(2.4rem, 7.4vw, 5.2rem)/1.04 var(--at-serif); letter-spacing: -.02em; color: var(--bz-ink); max-width: 15ch; }
.st__h em { font-style: italic; color: var(--bz-gold-ink); }
.st__l { display: inline-block; }
.st__p { margin: var(--dna-gap-3) 0 0; max-width: 34rem; font-size: 1.0625rem; line-height: 1.65; color: var(--bz-ink-2); }
.st__ch--door { display: grid; gap: var(--dna-gap-4); align-items: center; }
.st__arch .ap-photo__frame { border-radius: 999px 999px 4px 4px; }
@media (min-width: 900px) { .st__in { padding-left: 72px; } .st__ch--door { grid-template-columns: 380px 1fr; } }
/* with JS: what starts below the fold waits, then rises line by line (what is on screen at load is never hidden) */
.js .st__ch.is-wait .st__k, .js .st__ch.is-wait .st__l, .js .st__ch.is-wait .st__p { opacity: 0; transform: translateY(26px); }
.js .st__k, .js .st__l, .js .st__p { transition: opacity var(--c-t) var(--c-ease), transform var(--c-t) var(--c-ease); }
.js .st__l:nth-child(2) { transition-delay: var(--c-step); }
.js .st__p { transition-delay: calc(var(--c-step) * 2); }


@media (prefers-reduced-motion: reduce) {
  .js .st__k, .js .st__l, .js .st__p { transition: none !important; }
  .js .st__ch.is-wait .st__k, .js .st__ch.is-wait .st__l, .js .st__ch.is-wait .st__p { opacity: 1; transform: none; }
  .js .ix__ph .ix__win, .js .ix__ph .ix__img, .js .ix__item .ix__name { transition: none !important; }
  .js .ix__item.is-on .ix__name { transform: none; }
}

/* ==========================================================================
   j-0227: B's language across the site (decision 13 = B "Through the arch" + A's About). The arch is the one frame.
   ========================================================================== */
/* every portrait photo is seen through the arch, with the gold hairline (a box-shadow ring follows the radius and isn't
   clipped by the frame's overflow) */
.ap-photo--portrait .ap-photo__frame { border-radius: 999px 999px 4px 4px; box-shadow: 0 0 0 9px var(--bz-canvas), 0 0 0 10px var(--bz-gold); margin: 10px 10px 0; }
.ap-invite .ap-photo--portrait .ap-photo__frame, .ap-unsure .ap-photo--portrait .ap-photo__frame { box-shadow: none; }
/* About: the team chapters, words beside the photo in its arch */
.st__ch--team { display: grid; gap: var(--dna-gap-4); align-items: center; }
.st__ch--team .ap-photo { max-width: 380px; }
@media (min-width: 900px) { .st__ch--team { grid-template-columns: 1fr 380px; } .st__ch--flip { grid-template-columns: 380px 1fr; } .st__ch--flip > .ap-photo { order: -1; } }
/* the home index sits inside the treatments band */
.ap-treat .ix { padding-bottom: var(--dna-gap-4); }
/* Products: the two ranges at index scale */
.ap-brand__name { font-size: clamp(2.6rem, 10vw, 6.4rem); line-height: 1; letter-spacing: -.025em; }
/* the enquiry page: the form is an arch-topped card, the mark in its head */
.ap-form { border-radius: 999px 999px 6px 6px; padding-top: 0; box-shadow: 0 0 0 9px var(--bz-canvas), 0 0 0 10px var(--bz-gold); margin-top: 10px; }
.ap-form__head { height: 150px; display: grid; place-items: end center; padding-bottom: 18px; }
.ap-form__head img { width: 96px; height: auto; }
@media (max-width: 599px) { .ap-form__head { height: 124px; } }

/* j-0236: the privacy notice (PDPA-FINAL.md) in the site's system, and the short form notice */
.privacy__langs { padding-top: var(--dna-gap-4); font-size: .9375rem; }
.privacy__langs a { color: var(--bz-ink); }
.privacy__in { max-width: 820px; }
.privacy__title { font-size: clamp(2.4rem, 7vw, 4.4rem); }
.privacy + .privacy { border-top: 1px solid var(--bz-gold); }
.privacy__list { margin: var(--dna-gap-4) 0 0; border-top: 1px solid var(--bz-line-strong); }
.privacy__item { display: grid; gap: var(--bz-s2); padding: var(--dna-gap-2) 0; border-bottom: 1px solid var(--bz-line); }
.privacy__item dt { font: 500 .6875rem/1.6 var(--bz-font-body); letter-spacing: var(--dna-label-track); text-transform: uppercase; color: var(--bz-ink-muted); }
.privacy__item dd { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--bz-ink-2); max-width: 60ch; }
@media (min-width: 900px) { .privacy__item { grid-template-columns: 220px 1fr; gap: var(--dna-gap-4); } }
.pdpa-note { font-size: .8125rem; line-height: 1.55; color: var(--bz-ink-muted); border-top: 1px solid var(--bz-line); padding-top: var(--bz-s3); }
.pdpa-note p { margin: 0 0 .6em; }
.pdpa-note a { color: var(--bz-ink); }

/* j-0239: the treatment pages and their FAQ (b012/aeo-faq README) */
.faq__in { max-width: 880px; }
.faq__list { margin: var(--dna-gap-4) 0 0; border-top: 1px solid var(--bz-line-strong); }
.faq__item { display: grid; gap: var(--bz-s2); padding: var(--dna-gap-3) 0; border-bottom: 1px solid var(--bz-line); }
.faq__q { font: 300 clamp(1.5rem, 4vw, 2.1rem)/1.15 var(--at-serif); letter-spacing: -.01em; color: var(--bz-ink); }
.faq__a { margin: 0; max-width: 60ch; font-size: 1.0625rem; line-height: 1.65; color: var(--bz-ink-2); overflow-wrap: anywhere; }
.faq__a a { color: var(--bz-gold-ink); }
@media (min-width: 900px) { .faq__item { grid-template-columns: 1fr 1fr; gap: var(--dna-gap-5); align-items: baseline; } }
.ap-hero .at-label a { color: inherit; }
.tp__voice { font-family: var(--at-serif); font-style: italic; font-size: clamp(1.25rem, 3vw, 1.6rem); line-height: 1.35; color: var(--bz-gold-ink); }
.tp__others { margin-top: var(--dna-gap-4); }
.tp__others ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bz-line); }
.tp__others li { border-bottom: 1px solid var(--bz-line); }
.tp__others a { display: block; padding: 10px 0; font: 300 1.5rem/1.2 var(--at-serif); color: var(--bz-ink); text-decoration: none; }
.tp__others em { font-style: italic; color: var(--bz-gold-ink); }
.ix__link { color: inherit; text-decoration: none; }
.ix__acts { display: flex; flex-wrap: wrap; gap: var(--bz-s2) var(--bz-s5); align-items: center; margin: var(--bz-s2) 0 0; }
.ix__book { margin-top: 0; }
.ix__more { min-height: 44px; display: inline-flex; align-items: center; color: var(--bz-ink-2); font-size: .9375rem; }
