/* Inner pages and no-JavaScript fallback. Loaded after site.css; uses the same variables. */

/* Without JavaScript, nothing waits to be revealed. site.css hides [data-reveal] until script adds .in;
   the head script adds "js" to <html>, so this rule only applies when script is off. */
html:not(.js) [data-reveal] { opacity: 1; transform: none; }

/* The header is absolute over the page, so inner pages start below it. */
.page-top { padding-block: clamp(130px, 19vh, 200px) clamp(44px, 6vw, 80px); }
.page-top h1 { max-width: 18ch; margin: .1em 0 .45em; }
.page-top .lede { margin: 0 0 1.8em; }

.crumbs { margin: 0 0 2.2em; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brume); }
.crumbs a { color: inherit; text-decoration: none; border-bottom: 1px solid #1f2a4426; }
.crumbs a:hover { color: var(--ivoire); }

.prose { max-width: 68ch; }
.prose p { margin: 0 0 1.2em; color: #3d4659; font-size: clamp(1.02rem, 1.35vw, 1.2rem); }

.facts { list-style: none; margin: 1.6em 0 0; padding: 0; display: grid; gap: .9em; }
.facts li { padding: 0 0 .9em; border-bottom: 1px solid #1f2a441f; color: #3d4659; }

.contact-grid { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.contact-grid p, .contact-card p { margin: 0; color: #3d4659; }
.contact-card { display: grid; gap: 1.2em; }
.contact-card a { color: inherit; }

.linkrow { display: flex; flex-wrap: wrap; gap: 14px; margin: 2.4em 0 0; }

/* Blocks that sit directly under the page title use h2 (heading order), at card-title size. */
.contact-grid h2, .cards h2 { margin: 0 0 .45em; font-size: clamp(1.25rem, 2vw, 1.7rem); }
.contact-grid h2 { color: #a24e00; }

/* Legal pages: headings, lists, links and the date under the title. */
.legal h2 { margin: 1.8em 0 .5em; font-size: clamp(1.3rem, 2vw, 1.7rem); }
.legal ul, .legal ol { margin: 0 0 1.2em; padding-left: 1.3em; color: #3d4659; line-height: 1.7; font-size: clamp(1.02rem, 1.35vw, 1.2rem); }
.legal li { margin: .5em 0; }
.legal a { color: #a24e00; }
.legal strong { color: var(--ivoire); font-weight: 500; }
.legal-updated { color: var(--brume); font-size: .95rem; }

/* Legal pages start higher: the text is the point, not the space above it. */
.page-top--legal { padding-bottom: clamp(16px, 2.5vw, 32px); }
.sec--legal { padding-block: clamp(28px, 4vw, 48px) clamp(56px, 7vw, 96px); }

/* Review cards: coloured stars, a name avatar and the Google mark. */
.avis { align-items: stretch; }
.avis figure { display: flex; flex-direction: column; background: #fff; border: 1px solid #1a1b2224; border-radius: 16px; padding: clamp(22px, 2.4vw, 30px); box-shadow: 0 18px 40px -28px #1f2a4459; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.avis figure:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -28px #1f2a4473; }
.stars { width: 110px; height: 22px; margin-bottom: 1em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FBBC04' d='M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.9L12 17.8 5.8 21.1 7 14.2 2 9.3l6.9-1z'/%3E%3C/svg%3E") repeat-x 0 0 / 22px 22px; }
.avis blockquote { color: #1f2a44; font-size: clamp(.98rem, 1.1vw, 1.05rem); line-height: 1.55; flex: 1; }
.avis figcaption { display: flex; align-items: center; gap: .8em; margin-top: 1.4em; padding-top: 1.1em; border-top: 1px solid #1a1b2224; text-transform: none; letter-spacing: .02em; font-size: .8rem; }
.avis figcaption b { margin: 0 0 2px; font-size: .92rem; letter-spacing: 0; }
.avis__who { flex: 1; }
.avis__av { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 500; font-size: 1rem; background: #4285F4; }
.avis figure:nth-child(3n+2) .avis__av { background: #EA4335; }
.avis figure:nth-child(3n+3) .avis__av { background: #34A853; }
.avis__g { flex: none; }

/* Review groups: training first, then piercing services. */
.avis__group { margin: clamp(30px, 4vw, 52px) 0 clamp(18px, 2.4vw, 28px); font-size: clamp(1.15rem, 1.7vw, 1.45rem); color: #a24e00; }
.avis__group:first-child { margin-top: 0; }
.avis + .avis__group { margin-top: clamp(40px, 5vw, 64px); }
@media (width >= 900px) { .avis--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }

/* UX pass (ui-ux-pro-max review): contrast, tap targets, link cues, label size, mobile review row. */
.contact-card a.btn { color: var(--fg); }                       /* the card's inherited link colour made button text fail contrast */
.crumbs a, .foot a { display: inline-block; min-height: 24px; line-height: 24px; }  /* WCAG 2.5.8 minimum target */
.legal a, .legal-updated a { text-decoration: underline; text-underline-offset: .18em; }  /* links in text must not rely on colour */
.eyebrow, .prices thead th, .avis figcaption { font-size: max(.75rem, 12px); }      /* body-adjacent labels stay at 12px or more */
@media (width < 720px) {
  .avis { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); margin-inline: calc(var(--gut) * -1); padding: 4px var(--gut) 18px; }
  .avis figure { flex: 0 0 min(86%, 340px); scroll-snap-align: start; }
  .avis:focus-visible { outline-offset: -4px; }
}

/* Interactive anatomy (piercing services). Plain list without JavaScript; drawing, dots and chips with it. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.anat { margin-top: clamp(26px, 4vw, 44px); }
.anat__group + .anat__group { margin-top: clamp(30px, 4vw, 50px); }
.anat__title { margin-bottom: .8em; font-size: clamp(1.15rem, 1.7vw, 1.45rem); color: #a24e00; }
.anat__fig { max-width: 340px; }
.anat__svg { display: block; width: 100%; height: auto; }
.anat__list { list-style: none; margin: 1.4em 0 0; padding: 0; display: grid; gap: 1.1em; }
.anat__item h4 { margin: 0 0 .2em; font-size: 1.1rem; }
.anat__where { margin: 0 0 .3em; color: #3d4659; }
.anat__meta { margin: 0; color: #3d4659; display: grid; gap: .2em; }
.anat__row strong { color: var(--ivoire); font-weight: 500; }

.anat--js .anat__seg { display: inline-flex; gap: 6px; padding: 5px; margin-bottom: clamp(22px, 3vw, 34px); background: #fff4e6; border: 1px solid #1a1b2224; border-radius: 999px; }
.anat--js .anat__segbtn { font: inherit; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ivoire); background: transparent; border: 0; border-radius: 999px; padding: .85em 1.5em; min-height: 44px; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease); }
.anat--js .anat__segbtn[aria-pressed="true"] { background: var(--or); color: #1f2a44; }
.anat--js .anat__group { display: grid; gap: clamp(20px, 3vw, 40px); align-items: start; }
.anat--js .anat__group[hidden] { display: none; }
.anat--js .anat__fig { position: relative; width: min(100%, 320px); margin-inline: auto; }
.anat--js .anat__side { display: grid; gap: 18px; }
@media (width >= 860px) { .anat--js .anat__group { grid-template-columns: minmax(260px, 340px) 1fr; } .anat--js .anat__fig { margin-inline: 0; } }

.anat__dot { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.anat__dot::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--or); border: 2px solid #fff; box-shadow: 0 2px 8px #1f2a4459; transition: transform .3s var(--ease), background .3s var(--ease); }
.anat__dot:hover::before { transform: scale(1.25); }
.anat__dot.is-on::before { background: #1f2a44; transform: scale(1.35); }
.anat__dotlabel { position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%); margin-bottom: -6px; padding: .3em .7em; background: #1f2a44; color: #fff; border-radius: 6px; font-size: .75rem; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .2s; }
.anat__dot:hover .anat__dotlabel, .anat__dot.is-on .anat__dotlabel { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .anat__dot:not(.is-on)::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 2px solid var(--or); animation: anatPulse 2.4s ease-out infinite; } }
@keyframes anatPulse { 0% { transform: scale(.7); opacity: .8; } 70%, 100% { transform: scale(1.6); opacity: 0; } }

.anat__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.anat__chip { font: inherit; font-size: .92rem; color: var(--ivoire); background: #fff; border: 1px solid #1a1b2238; border-radius: 999px; padding: .55em 1.15em; min-height: 44px; cursor: pointer; transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.anat__chip:hover { border-color: var(--or); transform: translateY(-2px); }
.anat__chip[aria-pressed="true"] { background: var(--or); border-color: var(--or); color: #1f2a44; }
.anat__panel { background: #fff; border: 1px solid #1a1b2224; border-radius: 16px; padding: clamp(22px, 2.6vw, 34px); box-shadow: 0 18px 40px -28px #1f2a4459; }
.anat__name { margin: 0 0 .35em; font: 300 clamp(1.5rem, 2.4vw, 2rem)/1.1 Fraunces, Georgia, serif; }
.anat__panel .anat__where { font-size: 1.05rem; }
.anat__panel .anat__meta { margin-top: 1em; padding-top: 1em; border-top: 1px solid #1a1b2224; font-size: 1.05rem; }
.anat__place { margin: 1.2em 0 1.4em; color: var(--brume); font-size: .92rem; }
.anat__panel .btn { text-decoration: none; }

.field label, .form__note { font-size: max(.75rem, 12px); }

.anat__list[hidden] { display: none; }
.card__price small a { display: inline-block; min-height: 24px; line-height: 24px; color: #a24e00; text-decoration: underline; text-underline-offset: .18em; }

/* The launch offer, one line at the top of the home page. */
.offer-banner { margin: 0; padding: .6rem 1rem; text-align: center; font-weight: 600; color: var(--display); background: color-mix(in srgb, var(--button-primary) 12%, transparent); border-bottom: 1px solid var(--border-subtle); }
