/* Sorellina Clinic — inner pages, in the same "211 Shirland Road" world as
   the homepage. Load after css/shopfront.css, which owns the tokens, the
   fascia, the price mirror, films, the visit block and the footer. This file
   adds the parts inner pages share: the window hero, wall sections, the
   printed cards, the treatment menu, notes, FAQs, prose and forms. */

/* The inner fascia opens at a smaller street scale than the homepage's. */
.page-inner { --sign-h: clamp(180px, 24vh, 230px); }
@media (max-width: 640px) { .page-inner { --sign-h: 150px; } }

/* ------------------------------------------------------------ window hero */
/* The page's own shop window: gilt lettering on black glass beside a framed
   photograph, inside the charcoal shopfront timber. */
.window-hero {
  position: relative;
  background: var(--charcoal);
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 9px);
  padding: clamp(14px, 1.6vw, 22px) var(--gutter) 0;
  --focus: var(--gold);
}
.window-hero .front { min-height: 0; max-height: none; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.hero-glass {
  position: relative; display: grid; align-content: center; gap: 0;
  padding: clamp(32px, 5vw, 80px) clamp(24px, 4vw, 64px);
  min-height: clamp(420px, 62vh, 640px);
  background-color: #121314;
  background-image: linear-gradient(118deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .05) 38%, rgba(255, 255, 255, 0) 46%);
  border-radius: 2px;
  box-shadow: 0 0 0 1px var(--charcoal-line), inset 0 0 0 1px rgba(0, 0, 0, .6), inset 0 0 60px rgba(0, 0, 0, .55);
  color: var(--on-dark);
}
.hero-glass h1 { font-size: clamp(2.8rem, 5.6vw, 5.6rem); line-height: .98; letter-spacing: -.015em; }
.hero-glass .hero-lede { margin-top: clamp(18px, 2.4vh, 28px); max-width: 34rem; font-size: clamp(1rem, 1.15vw, 1.15rem); color: #e9e3d6; }
.hero-actions { margin-top: clamp(24px, 3.4vh, 36px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hero-photo { position: relative; margin: 0; overflow: hidden; border-radius: 2px; box-shadow: 0 0 0 1px var(--charcoal-line); min-height: 320px; background: var(--fascia-2); }
.hero-photo img, .hero-photo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-photo figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 1; padding: 6px 10px; background: rgba(20, 21, 22, .82); color: var(--on-dark); font-size: .8rem; }
.window-hero .stallriser span:empty { display: none; }
.js .hero-glass h1 { animation: gild 1100ms var(--ease-out) 120ms both; }
.js .hero-glass .hero-lede, .js .hero-glass .hero-actions { animation: rise 700ms var(--ease-out) 520ms both; }
@media (max-width: 900px) {
  .window-hero .front { grid-template-columns: 1fr; }
  .hero-glass { min-height: 0; padding: 36px 24px 32px; }
  .hero-photo { min-height: 0; aspect-ratio: 4 / 3; }
}

/* the gold button and the gilt text link, shared by every inner page */
.btn-gilt { display: inline-flex; align-items: center; gap: 14px; padding: 15px 22px; background: var(--gold); color: var(--ink); font-weight: 500; text-decoration: none; border-radius: 2px; border: 0; font: inherit; font-weight: 500; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 160ms ease; }
.btn-gilt:active { transform: scale(.97); }
.btn-ink { display: inline-flex; align-items: center; gap: 14px; padding: 15px 22px; background: var(--fascia); color: var(--gold-light); font-weight: 500; text-decoration: none; border-radius: 2px; border: 0; font: inherit; font-weight: 500; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 160ms ease; }
.btn-ink:active { transform: scale(.97); }
.link-gilt { color: var(--gold-light); font-weight: 500; text-underline-offset: .22em; text-decoration-color: rgba(227, 200, 134, .45); }
@media (hover: hover) and (pointer: fine) {
  .btn-gilt:hover { background: var(--gold-light); }
  .btn-ink:hover { background: #000; }
  .link-gilt:hover { text-decoration-color: currentColor; }
}

/* ----------------------------------------------------------- wall sections */
/* A section inside the clinic: pale wall, a signwritten heading, a line of
   context, then the content. .on-grey uses the deeper wall; .on-dark is the
   charcoal shopfront again; .on-blue is the counter. */
.wall { padding: clamp(72px, 9vw, 128px) var(--gutter); background: var(--wall); }
.wall.on-grey { background: var(--wall-2); }
.wall.on-dark { background: var(--charcoal); color: var(--on-dark); --focus: var(--gold); }
.wall.on-blue { background: var(--blue); color: var(--on-blue); --focus: var(--on-blue); }
.wall-inner { max-width: 1360px; margin: 0 auto; }
.wall-inner.narrow { max-width: 860px; }
.wall h2 { font-size: clamp(2.3rem, 4.6vw, 4.2rem); line-height: 1.02; }
.wall.on-dark h2 { color: var(--gold); text-shadow: 0 1px 0 var(--gold-shade), 0 2px 1px rgba(0, 0, 0, .45); }
.wall .section-lede { margin-top: 18px; max-width: 38rem; font-size: 1.1rem; color: var(--ink-2); }
.wall.on-dark .section-lede { color: var(--on-dark-2); }
.wall.on-blue .section-lede { color: #d6e1ea; }
.wall .section-body { margin-top: clamp(36px, 4.6vw, 60px); }

/* Two-column price mirror panels for long lists (e.g. laser areas). */
.price-rows.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 56px); }
.price-rows.two-col div { padding: 13px 0; }
.price-rows.two-col dd span { font-size: clamp(1.25rem, 1.7vw, 1.6rem); }
.price-rows .row-grand dt { color: var(--gold-light); }
.price-glass.single { grid-template-columns: 1fr; }
.price-glass.single .price-panels { padding: clamp(28px, 4vw, 64px); }
@media (max-width: 860px) { .price-rows.two-col { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ brass plaque */
/* Short facts set as an engraved brass plate: one line each, no big-number
   tiles. */
.plaque {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0;
  max-width: 1100px; margin: 0 auto; padding: 18px 28px;
  background: var(--brass); color: var(--ink); border-radius: 3px;
  box-shadow: inset 0 0 0 6px var(--brass), inset 0 0 0 7px rgba(110, 80, 23, .55), 0 2px 0 rgba(0, 0, 0, .2), 0 12px 24px rgba(27, 28, 30, .18);
}
.plaque p { padding: 4px 22px; font-size: .98rem; border-left: 1px solid rgba(27, 28, 30, .25); }
.plaque p:first-child { border-left: 0; }
.plaque strong { font: 400 1.15rem var(--serif); }
@media (max-width: 700px) { .plaque { flex-direction: column; align-items: flex-start; } .plaque p { border-left: 0; padding: 4px 6px; } }

/* --------------------------------------------------------- printed cards */
/* The aftercare cards we hand over at the desk: printed paper, a little
   askew, lying on the wall. */
.printed { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(22px, 3vw, 40px); }
.printed-card { padding: clamp(24px, 3vw, 36px); background: var(--paper); color: var(--ink); box-shadow: 0 1px 1px rgba(0, 0, 0, .12), 0 14px 28px rgba(27, 28, 30, .14); }
.printed-card:nth-child(odd) { rotate: -.6deg; }
.printed-card:nth-child(even) { rotate: .5deg; }
.printed-card h3 { font-size: clamp(1.6rem, 2.2vw, 2rem); line-height: 1.1; }
.printed-card ul, .printed-card ol { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.printed-card li { position: relative; padding-left: 26px; color: var(--ink-2); }
.printed-card li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 1.5px; background: var(--gold); }
.printed-card p { margin-top: 12px; color: var(--ink-2); }

/* -------------------------------------------------------- treatment menu */
/* A printed treatment menu: name and description on the left, price and
   length on the right, rules between. Not a grid of cards. */
.menu { max-width: 1100px; margin: 0 auto; }
.menu-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 32px; align-items: baseline; padding: 22px 0; border-top: 1px solid rgba(27, 28, 30, .14); }
.menu-item:last-child { border-bottom: 1px solid rgba(27, 28, 30, .14); }
.menu-item h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); line-height: 1.15; }
.menu-item .menu-tag { display: inline-block; margin-left: 10px; vertical-align: .35em; padding: 2px 8px; font: 500 .72rem/1.4 var(--sans); color: var(--blue); border: 1px solid rgba(47, 93, 134, .35); border-radius: 999px; }
.menu-item p { grid-column: 1; max-width: 40rem; color: var(--ink-2); }
.menu-price { grid-column: 2; grid-row: 1 / span 2; text-align: right; display: grid; justify-items: end; align-self: start; }
.menu-price strong { font: 400 clamp(1.5rem, 2.2vw, 2rem)/1 var(--serif); font-variant-numeric: lining-nums; white-space: nowrap; }
.menu-price small { margin-top: 6px; font-size: .82rem; color: var(--ink-2); white-space: nowrap; }
.on-dark .menu-item { border-color: rgba(201, 161, 74, .2); }
.on-dark .menu-item p, .on-dark .menu-price small { color: var(--on-dark-2); }
.on-dark .menu-price strong { color: var(--gold); }
@media (max-width: 600px) {
  .menu-item { grid-template-columns: 1fr; }
  .menu-price { grid-column: 1; grid-row: auto; justify-items: start; text-align: left; }
}

/* ------------------------------------------------------------------ note */
/* A single printed slip pinned to the wall for a side note or add-on. */
.note { max-width: 640px; margin: clamp(36px, 4vw, 56px) auto 0; padding: 24px 28px; background: var(--paper); rotate: -.8deg; box-shadow: 0 1px 1px rgba(0, 0, 0, .14), 0 14px 26px rgba(27, 28, 30, .16); }
.note h3 { font-size: 1.5rem; line-height: 1.15; }
.note p { margin-top: 8px; color: var(--ink-2); }
.note a { display: inline-block; margin-top: 12px; font-weight: 500; }

/* ----------------------------------------------------------- photo pair */
.photo-pair { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(14px, 2vw, 24px); }
.photo-pair figure { margin: 0; }
.photo-pair img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 8px solid var(--charcoal); }
.photo-pair figcaption { margin-top: 10px; font-size: .9rem; color: var(--ink-2); }
@media (max-width: 700px) { .photo-pair { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- film row */
.film-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 2vw, 28px); }
.film-strip figure { margin: 0; flex: 0 1 300px; }
.film-strip video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--fascia); box-shadow: 0 0 0 1px var(--charcoal-line); }
.film-strip figcaption { margin-top: 12px; font-size: .92rem; color: var(--ink-2); }
.on-dark .film-strip figcaption { color: var(--on-dark-2); }

/* ------------------------------------------------------------------- FAQ */
.faq { max-width: 900px; }
.faq details { border-top: 1px solid rgba(27, 28, 30, .16); }
.faq details:last-child { border-bottom: 1px solid rgba(27, 28, 30, .16); }
.faq summary { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font: 400 clamp(1.25rem, 1.8vw, 1.6rem)/1.25 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; rotate: 45deg; translate: 0 -4px; transition: rotate 200ms var(--ease-out); }
.faq details[open] summary::after { rotate: 225deg; translate: 0 2px; }
.faq details > div { padding: 0 0 24px; max-width: 46rem; color: var(--ink-2); }
.faq details > div p + p { margin-top: 10px; }

/* ----------------------------------------------------------------- prose */
/* Journal posts and legal pages: one fixed reading measure. */
.prose { max-width: 42rem; margin: 0 auto; font-size: 1.08rem; line-height: 1.7; color: #2a2b2e; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.12; color: var(--ink); }
.prose h3 { margin-top: 1.6em; font-size: 1.4rem; line-height: 1.2; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--gold-shade); }
.prose a { color: var(--blue); font-weight: 500; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose blockquote { margin: 1.8em 0; padding: 18px 0 0; border-top: 1px solid rgba(110, 80, 23, .45); font: 400 1.45rem/1.38 var(--serif); color: var(--ink); }
.prose blockquote p { text-indent: -.42em; }
.prose figure { margin: 1.8em 0; }
.prose figure img { width: 100%; border: 8px solid var(--charcoal); }
.prose figcaption { margin-top: 8px; font-size: .88rem; color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: .98rem; font-variant-numeric: tabular-nums; }
.prose th, .prose td { padding: 10px 8px; border-bottom: 1px solid rgba(27, 28, 30, .14); text-align: left; vertical-align: top; }
.prose th { font-weight: 500; color: var(--ink); }
.post-meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: var(--on-dark-2); }

/* ------------------------------------------------------- journal listing */
.journal-list { display: grid; gap: 0; max-width: 1100px; margin: 0 auto; }
.journal-entry { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: center; padding: 28px 0; border-top: 1px solid rgba(27, 28, 30, .14); text-decoration: none; color: inherit; }
.journal-entry:last-child { border-bottom: 1px solid rgba(27, 28, 30, .14); }
.journal-entry img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 6px solid var(--charcoal); transition: transform 220ms var(--ease-out); }
.journal-entry h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.1; }
.journal-entry p { margin-top: 10px; color: var(--ink-2); max-width: 38rem; }
.journal-entry .entry-date { display: block; margin-top: 12px; font-size: .86rem; color: var(--blue); }
@media (hover: hover) and (pointer: fine) { .journal-entry:hover img { transform: translateY(-3px); } .journal-entry:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; } }
@media (max-width: 700px) { .journal-entry { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- forms */
/* Fields read like the clinic's paper forms: a set label, a ruled line to
   write on, brass focus. Error and success states carry words, not only
   colour. */
.form-card { max-width: 760px; margin: 0 auto; padding: clamp(24px, 4vw, 48px); background: var(--paper); box-shadow: 0 1px 1px rgba(0, 0, 0, .1), 0 18px 36px rgba(27, 28, 30, .14); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: grid; gap: 6px; }
.form-field label, .form-label { font-size: .9rem; font-weight: 500; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid rgba(27, 28, 30, .25); border-radius: 2px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--gold-shade); box-shadow: 0 0 0 3px rgba(201, 161, 74, .35); }
.form-field .hint { font-size: .82rem; color: var(--ink-2); }
.form-check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.form-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--charcoal); flex: none; }
.form-status { margin-top: 14px; font-size: .95rem; }
.form-status.is-error { color: #8e2b2b; }
.form-status.is-ok { color: #1f6b47; }

/* the current page in the fascia nav and mobile menu */
.fascia-nav a[aria-current="page"] { color: #fff; }
.fascia-nav a[aria-current="page"]::after { transform: scaleX(1); }
.mobile-nav a[aria-current="page"] { color: var(--gold); }

@media (max-width: 900px) { .window-hero .hero-glass h1 { padding-right: 96px; } }

/* The practitioner who treats you, in a round brass mirror hung in the hero
   window (the homepage's mirrors, carried onto the pages people book from). */
.hero-photo .hero-mirrors { position: absolute; z-index: 2; left: clamp(14px, 2vw, 24px); bottom: clamp(14px, 2vw, 24px); display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; }
.hero-mirrors a { display: grid; justify-items: center; gap: 8px; text-decoration: none; }
.hero-mirrors .mirror { --size: clamp(88px, 8vw, 118px); }
.hero-photo figcaption { left: auto; right: 16px; }
@media (max-width: 900px) { .hero-mirrors .mirror { --size: 76px; } }

/* Window-hero lettering never forces the page wider than a phone. */
.hero-glass { min-width: 0; }
.hero-glass h1 { overflow-wrap: break-word; }
@media (max-width: 520px) { .hero-glass h1 { font-size: clamp(2.3rem, 10.5vw, 3.1rem); } }
/* Mirror portraits inside the hero photo are not the hero photo. */
.hero-photo .hero-mirrors img { position: static; inset: auto; width: 100%; height: 100%; }
