/* =====================================================================
   NOIR & GOLD · inner pages (services, prices, shop, contact, book, service and product pages)
   ===================================================================== */

/* ---------- page header ---------- */
.page-hero { position: relative; min-height: min(86vh, 820px); display: flex; align-items: flex-end; overflow: hidden; padding: 120px 0 clamp(48px, 7vw, 90px); }
.page-hero-media { position: absolute; inset: 0; overflow: hidden; background: var(--ink-3); }
.page-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: sepia(.3) saturate(.85) brightness(.75); transform-origin: 50% 40%; }
.page-hero-media .ph-tag { top: auto; bottom: 18px; left: auto; right: 18px; }
.page-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,12,10,.9) 0%, rgba(13,12,10,.55) 45%, rgba(13,12,10,.15) 100%), linear-gradient(180deg, rgba(13,12,10,.5) 0%, transparent 25%, transparent 70%, var(--ink) 100%); }
@media (max-width: 700px) { .page-hero-shade { background: linear-gradient(180deg, rgba(13,12,10,.55) 0%, rgba(13,12,10,.35) 35%, rgba(13,12,10,.92) 75%, var(--ink) 100%); } }
.page-hero-inner { position: relative; z-index: 1; max-width: 1200px; }
/* service pages on laptops: the photo sits on the right and the text on clean dark on the left,
   so titles never cross a face and portrait photos are not stretched (and blurred) across the whole screen */
@media (min-width: 900px) {
  .page-hero-split { background: var(--ink); }
  .page-hero-split .page-hero-media { left: 44%; }
  .page-hero-split .page-hero-media img { object-position: 50% 28%; }
  .page-hero-split .page-hero-shade { background:
    linear-gradient(90deg, var(--ink) 0%, var(--ink) 44%, rgba(13,12,10,.55) 52%, rgba(13,12,10,0) 70%),
    linear-gradient(180deg, rgba(13,12,10,.55) 0%, transparent 22%, transparent 72%, var(--ink) 100%); }
  /* sized so the longest single word ("Installation") fits the 42vw text column; the gold fill stops at the box edge */
  .page-hero-split .page-title { max-width: 42vw; font-size: clamp(44px, 4.8vw, 80px); }
  .page-hero-split .page-lead { max-width: 40ch; }
}
.page-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gg-muted); }
.page-crumbs a { color: var(--cream); text-decoration: none; }
.page-crumbs a:hover { color: var(--gold); }
.page-crumbs [aria-current] { color: var(--gold); }
.page-title { font-size: clamp(48px, 9vw, 120px); line-height: .95; background: var(--gold-grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 7s ease-in-out infinite; padding-bottom: .06em; }
.page-hero .ornament { margin: 18px 0; }
.page-lead { max-width: 52ch; margin: 0 0 28px; font: 500 clamp(18px, 2vw, 22px)/1.5 var(--gg-display); color: var(--cream); }
.page-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.page-cta .btn svg { font-size: 18px; }
.page-from { margin: 22px 0 0; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gg-muted); }
.page-from b { color: var(--gold); font-size: 16px; letter-spacing: .04em; }
@media (max-width: 520px) { .page-cta .btn { flex: 1 1 100%; } }
/* listing pages (services, prices, shop, contact, book) use a shorter header */
.page-hero-short { min-height: min(64vh, 620px); }
.page-hero-short .page-title { font-size: clamp(44px, 8vw, 104px); }
.page-cta [data-icon] { display: inline-flex; font-size: 18px; }
.page-hero-compact { min-height: 0; padding-bottom: clamp(36px, 5vw, 60px); }
.page-hero-compact .page-title { font-size: clamp(40px, 6.5vw, 84px); }
.page-hero-compact .page-lead { margin-bottom: 0; }
.book-main { padding-top: clamp(48px, 6vw, 90px); }
@media (max-width: 999px) { .book-main .book-intro { order: 2; } }

/* ---------- what you get ---------- */
.detail { border-top: 1px solid var(--gg-line); }
.detail .split-text { background: var(--ink-2); }
.included { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; max-width: 44ch; }
.included li { position: relative; padding-left: 30px; font-size: 16px; color: var(--cream); }
.included li::before { content: ""; position: absolute; left: 0; top: .55em; width: 16px; height: 1px; background: var(--gold); }
.included li::after { content: ""; position: absolute; left: 14px; top: calc(.55em - 3px); width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }
.tip { margin: 0; max-width: 44ch; padding: 14px 16px; border: 1px dashed var(--gg-line); color: var(--gg-muted) !important; font-size: 14px; }
.tip b { color: var(--gold); }

/* ---------- styles chips ---------- */
.styles-sec { padding: clamp(70px, 10vw, 120px) 0 clamp(20px, 4vw, 40px); }
.styles { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.style-chip { padding: 12px 20px; border: 1px solid var(--gg-line); font: 600 13px/1 "Cinzel", "Cinzel Fallback", serif; letter-spacing: .12em; text-transform: uppercase; color: var(--cream); transition: border-color .3s, color .3s, background .3s; }
.style-chip:hover { border-color: var(--gold); color: var(--ink); background: var(--gold); }

/* ---------- gallery ---------- */
.gallery-sec { padding: clamp(60px, 9vw, 110px) 0; }
.sec-note { margin: 14px 0 0; font-size: 13px; font-style: italic; color: var(--gg-muted); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; grid-auto-flow: dense; }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
.gal-item { position: relative; display: block; padding: 0; border: 0; background: var(--ink-3); aspect-ratio: 3 / 4; overflow: hidden; cursor: zoom-in; }
.gal-wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
/* the large photo fills its two rows instead of stretching them to its own height */
.gal-wide img { position: absolute; inset: 0; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.18) saturate(.92); transition: transform 1s cubic-bezier(.2,.8,.2,1), filter .6s; }
.gal-item:hover img { transform: scale(1.06); filter: none; }
.gal-item::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(201,162,74,0); transition: border-color .5s, inset .5s; pointer-events: none; }
.gal-item:hover::after { inset: 12px; border-color: rgba(201,162,74,.75); }

/* ---------- service prices ---------- */
.prices-inner { padding-block: clamp(60px, 9vw, 110px); }
.prices-inner .prices-bg { display: none; }
.prices-inner::before { display: none; }
.price-more { margin: 24px 0 0; text-align: right; }
.price-card .link-gold { color: var(--gold-lo); }

/* ---------- related ---------- */
.related { padding: clamp(70px, 10vw, 130px) 0; }
.rel-grid { display: grid; gap: 22px; }
@media (min-width: 760px) { .rel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rel-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.rel-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); margin-bottom: 10px; }
.rel-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.8) sepia(.25) brightness(.85); transition: filter .6s, transform 1s cubic-bezier(.2,.8,.2,1); }
.rel-card:hover .rel-media img { filter: none; transform: scale(1.05); }
.rel-name { font: 600 20px/1.2 "Cinzel", "Cinzel Fallback", serif; letter-spacing: .06em; text-transform: uppercase; }
.rel-blurb { font-size: 14px; color: var(--gg-muted); }
.rel-from { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

/* ---------- listing pages ---------- */
.services .sec-note { text-align: center; }
/* services page: two groups; the second sits on a slightly lighter band */
.svc-group .svc-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.svc-group .svc { width: calc((100% - 12px) / 2); }
@media (min-width: 700px) { .svc-group .svc { width: calc((100% - 36px) / 3); } }
@media (min-width: 1100px) { .svc-group .svc { width: calc((100% - 90px) / 6); } }
.svc-group + .svc-group { padding-top: clamp(70px, 10vw, 120px); background: var(--ink-2); border-top: 1px solid var(--gg-line); }
.prices-page { padding-top: clamp(50px, 7vw, 90px); }

/* three numbered notes (prices, shop) */
.notes { padding: clamp(60px, 9vw, 110px) 0; }
.notes-row { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--gg-line); border: 1px solid var(--gg-line); }
@media (min-width: 800px) { .notes-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.notes-row li { padding: clamp(24px, 3vw, 36px); background: var(--ink); }
.notes-n { font: italic 500 22px/1 var(--gg-display); color: var(--gold); }
.notes-row h3 { margin: 12px 0 8px; font: 600 18px/1.25 "Cinzel", "Cinzel Fallback", serif; letter-spacing: .06em; text-transform: uppercase; }
.notes-row p { margin: 0; font-size: 14px; color: var(--gg-muted); }

/* closing call to action */
.cta-band { padding: clamp(60px, 9vw, 110px) 0; background: var(--cream); color: var(--ink); }
.cta-band-in { display: grid; gap: 28px; }
@media (min-width: 900px) { .cta-band-in { grid-template-columns: 1fr auto; align-items: end; gap: 60px; } }
.cta-band .script { color: var(--gold-lo); }
.cta-band .caps { color: var(--ink); }
.cta-band p:not(.script) { margin: 14px 0 0; max-width: 48ch; color: #574d3e; }
.cta-band-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-gold::before { background: var(--ink); }
.cta-band .btn-gold:hover { color: var(--gold-hi); }
.cta-band .btn-line { border-color: rgba(22,19,14,.45); color: var(--ink); }
.cta-band .btn-line:hover { color: var(--ink); }
.cta-band .btn [data-icon] { font-size: 18px; }
@media (max-width: 520px) { .cta-band-btns .btn { flex: 1 1 100%; } }

/* book page: how-it-works list beside the form */
.book-steps-h { font-size: clamp(36px, 5vw, 64px) !important; }
.book-how { list-style: none; counter-reset: how; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; max-width: 40ch; }
.book-how li { counter-increment: how; position: relative; padding-left: 40px; color: var(--gg-muted); }
.book-how li::before { content: counter(how, decimal-leading-zero); position: absolute; left: 0; top: -.1em; font: italic 500 20px/1.2 var(--gg-display); color: var(--gold); }
.book-how b { color: var(--cream); font-weight: 700; }

/* ---------- product page ---------- */
.pdp { padding: 110px 0 clamp(50px, 8vw, 90px); }
.pdp-crumbs { margin-bottom: 26px; }
.pdp-grid { display: grid; gap: 34px; }
@media (min-width: 900px) { .pdp-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; } .pdp-info { position: sticky; top: 100px; } }
.pdp-gallery { display: grid; gap: 10px; }
.pdp-main { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--gg-line); background: var(--ink-3); aspect-ratio: 4 / 5; overflow: hidden; cursor: zoom-in; }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 10px; }
.pdp-thumb { width: 84px; aspect-ratio: 1; padding: 0; border: 1px solid var(--gg-line); background: var(--ink-3); overflow: hidden; opacity: .55; transition: opacity .3s, border-color .3s; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb[aria-pressed="true"], .pdp-thumb:hover { opacity: 1; border-color: var(--gold); }
.pdp-name { font-size: clamp(32px, 4.4vw, 54px); }
.pdp-detail { margin: 10px 0 0; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--gg-muted); }
.pdp-price { margin: 18px 0 18px; font: 600 clamp(30px, 3.6vw, 42px)/1 "Cinzel", "Cinzel Fallback", serif; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pdp-price .ph-inline { -webkit-text-fill-color: var(--gg-muted); font-family: var(--gg-body); vertical-align: middle; }
.pdp-soldout { display: inline-block; vertical-align: middle; margin-left: 10px; padding: 4px 12px; border: 1px solid currentColor; border-radius: 99px; font: 700 12px/1.2 var(--gg-body); letter-spacing: .1em; text-transform: uppercase; -webkit-text-fill-color: var(--gg-fg); }
.pdp-desc { margin: 0 0 26px; max-width: 46ch; font: 500 19px/1.55 var(--gg-display); color: var(--cream); }
.pdp-order { width: 100%; max-width: 420px; }
.pdp-order svg { font-size: 20px; }
.pdp-ask { display: inline-block; margin: 14px 0 0; color: var(--gold); font-size: 14px; font-weight: 700; text-underline-offset: 4px; }
.pdp-specs { margin: 30px 0 0; border-top: 1px solid var(--gg-line); }
.pdp-specs div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--gg-line); }
.pdp-specs dt { color: var(--gg-muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.pdp-specs dd { margin: 0; text-align: right; }
.pdp-notes { list-style: none; margin: 26px 0 0; padding: 18px; display: grid; gap: 10px; background: var(--ink-2); border: 1px solid var(--gg-line); font-size: 14px; color: var(--gg-muted); }
.pdp-notes b { color: var(--cream); }
.pdp-notes a { color: var(--gold); }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 2000; display: grid; grid-template-columns: 60px 1fr 60px; align-items: center; gap: 8px; padding: 50px 10px 40px; background: rgba(8,7,5,.94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lb[hidden] { display: none; }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; height: 100%; justify-content: center; }
.lb-img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border: 1px solid var(--gg-line); }
.lb-cap { font-size: 14px; color: var(--cream); text-align: center; }
.lb-cap span { color: var(--gg-muted); }
.lb-close { position: absolute; top: 10px; right: 14px; width: 46px; height: 46px; border: 1px solid var(--gg-line); background: none; color: var(--cream); font-size: 28px; line-height: 1; }
.lb-prev, .lb-next { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; background: none; color: var(--gold); font-size: 20px; }
.lb-prev:hover, .lb-next:hover, .lb-close:hover { background: var(--gold); color: var(--ink); }
.lb-count { position: absolute; top: 18px; left: 18px; margin: 0; font-size: 13px; letter-spacing: .1em; color: var(--gg-muted); }
.lb-open, .lb-open body { overflow: hidden; }
@media (max-width: 600px) {
  .lb { grid-template-columns: 1fr; padding: 60px 10px 90px; }
  .lb-prev, .lb-next { position: absolute; bottom: 22px; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
}

@media (prefers-reduced-motion: reduce) { .page-title { animation: none; } }

/* product pages: "More hair" shows 3 cards; with 2 across on phones and tablets the third would sit alone, so show 2 there */
@media (max-width: 899px) { .related .shop-grid > .prod:nth-child(n+3) { display: none; } }

/* Hair shop header, laptop and up: photo on the right, fading in from the middle, so the title stays clear. */
@media (min-width: 900px) {
  .page-hero-right { background: var(--ink); border-bottom: 1px solid var(--gg-line); }
  .page-hero-right .page-hero-media { left: 50%; background: transparent; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%); mask-image: linear-gradient(90deg, transparent 0%, #000 55%); }
  .page-hero-right .page-hero-media img { filter: sepia(.2) saturate(.9) brightness(.7); }
  .page-hero-right .page-hero-shade { background: linear-gradient(180deg, rgba(13,12,10,.45) 0%, transparent 25%, transparent 70%, var(--ink) 100%); }
  .page-hero-right .page-title { font-size: clamp(44px, 6vw, 84px); }
}
