/* ---------------------------------------------------------------------------
   Lissi Jowett Beauty — editable static rebuild
   Reonex, 15 October 2026. Staging only.

   Palette (contrast measured, not eyeballed — see the report):
     --ink        #2B2228  15.42:1 on white, 14.00:1 on blush
     --ink-muted  #5B4F56   7.78:1 on white,  7.07:1 on blush
     --rose       #8E2049   8.56:1 on white,  7.77:1 on blush
     --rose-btn   #A32B55   6.92:1 against white text
     --rose-line  #B06683   4.14:1 on white (UI borders need 3:1)
     --blush      #FDF1F4
     --chip       #F6E5EB  12.72:1 against --ink
   No JavaScript anywhere. No external requests.
   --------------------------------------------------------------------------- */

@import url("../fonts/fonts.css");

:root {
  --ink: #2b2228;
  --ink-muted: #5b4f56;
  --rose: #8e2049;
  --rose-btn: #a32b55;
  --rose-line: #b06683;
  --blush: #fdf1f4;
  --chip: #f6e5eb;
  --white: #ffffff;
  /* The self-hosted woff2 files are latin + latin-ext subsets only, so the
     emoji in Lissi's own copy (her heart, and the tick and cross through the
     aftercare) must come from a system emoji font. Named explicitly rather
     than left to the generic fallback. Note: the Reonex build server has NO
     emoji font installed, so emoji appear as empty boxes in screenshots taken
     there. That is the screenshot box, not the page — the characters are
     correct UTF-8 in the HTML and render normally on a phone or desktop. */
  --emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
    "Noto Color Emoji", "Android Emoji";
  --serif: "Bodoni Moda", "Times New Roman", Georgia, var(--emoji), serif;
  --sans: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Arial, var(--emoji), sans-serif;
  --wrap: 1120px;
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--rose);
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 2px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2rem, 5.2vw, 3.1rem);
}

h2 {
  font-size: clamp(1.55rem, 3.6vw, 2.2rem);
}

h3 {
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
}

p {
  margin: 0 0 1.1em;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 18px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 12px 18px;
  z-index: 100;
  border-radius: 0 0 var(--radius) 0;
}

.skip:focus {
  left: 0;
}

/* --- staging banner -------------------------------------------------------- */

.staging {
  background: var(--ink);
  color: var(--white);
  font-size: 0.875rem;
  padding: 8px 0;
  text-align: center;
  margin: 0;
}

.staging a {
  color: var(--chip);
}

/* --- header ---------------------------------------------------------------- */

.site-head {
  border-bottom: 1px solid var(--rose-line);
  background: var(--white);
}

.head-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  padding: 14px 0 12px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.2;
}

.brand span {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
}

/* Contact strip. Never hidden, never inside a menu, at any width. */
.contact-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

.contact-strip a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid var(--rose-line);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--rose);
  text-decoration: none;
  background: var(--white);
}

.contact-strip a:hover,
.contact-strip a:focus-visible {
  background: var(--chip);
  text-decoration: underline;
}

.contact-strip svg {
  width: 17px;
  height: 17px;
  flex: none;
  fill: currentColor;
}

.site-nav {
  border-top: 1px solid var(--chip);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
}

.site-nav a {
  display: inline-block;
  padding: 12px 12px;
  min-height: 44px;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.site-nav a:hover {
  border-bottom-color: var(--rose-line);
}

.site-nav a[aria-current="page"] {
  color: var(--rose);
  border-bottom-color: var(--rose);
}

/* --- buttons --------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--rose-btn);
  background: var(--rose-btn);
  color: var(--white);
}

.btn:hover,
.btn:focus-visible {
  background: var(--rose);
  border-color: var(--rose);
}

.btn-ghost {
  background: var(--white);
  color: var(--rose);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--chip);
  color: var(--rose);
  border-color: var(--rose);
}

.btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex: none;
}

/* --- sections -------------------------------------------------------------- */

.section {
  padding: 46px 0;
}

.section-blush {
  background: var(--blush);
}

.lede {
  font-size: 1.12rem;
  color: var(--ink-muted);
  max-width: 62ch;
}

.hero {
  background: var(--blush);
  padding: 40px 0 44px;
}

.hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero-copy p {
  max-width: 60ch;
}

.hero-figure img {
  border-radius: var(--radius);
  width: 100%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.meta-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.meta-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 1rem;
}

.meta-list strong {
  font-weight: 700;
}

/* --- gallery --------------------------------------------------------------- */

/* CSS columns rather than a grid: her photos are a mix of square and
   portrait, and columns let each one keep its real aspect ratio instead of
   being cropped to fit a cell. No JavaScript masonry. */
.gallery {
  columns: 2;
  column-gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery li {
  break-inside: avoid;
  margin: 0 0 12px;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  width: 100%;
  border-radius: 10px;
  background: var(--chip);
}

.gallery figcaption {
  font-size: 0.86rem;
  color: var(--ink-muted);
  padding: 6px 2px 0;
}

/* --- treatment / price tables ---------------------------------------------- */

.cat-nav {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-nav a {
  display: inline-block;
  padding: 9px 15px;
  min-height: 44px;
  line-height: 26px;
  border: 1px solid var(--rose-line);
  border-radius: 999px;
  background: var(--white);
  color: var(--rose);
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
}

.cat-nav a:hover,
.cat-nav a:focus-visible {
  background: var(--chip);
}

.price-group {
  margin: 0 0 36px;
}

.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rose-line);
}

.price-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: baseline;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--chip);
}

.price-name {
  font-weight: 600;
  flex: 1 1 60%;
}

.price-value {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  white-space: nowrap;
}

.price-desc {
  flex: 1 1 100%;
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin: 2px 0 0;
}

.price-desc + .price-desc {
  margin-top: 8px;
}

/* --- cards / categories ---------------------------------------------------- */

.card-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.card {
  border: 1px solid var(--rose-line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--white);
}

.card h3 {
  margin-bottom: 0.3em;
}

.card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* --- reviews --------------------------------------------------------------- */

.reviews {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.review {
  border: 1px solid var(--rose-line);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review blockquote {
  margin: 0;
  font-size: 1.02rem;
}

.review .stars {
  color: var(--rose);
  letter-spacing: 0.12em;
  font-size: 1rem;
  margin: 0;
}

.review footer {
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.review cite {
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
  display: block;
}

.no-text {
  color: var(--ink-muted);
  font-style: italic;
  margin: 0;
}

/* --- prose (aftercare, terms) ---------------------------------------------- */

.prose {
  max-width: 68ch;
}

.prose h2 {
  margin-top: 1.6em;
}

.prose h2:first-child {
  margin-top: 0;
}

.care-list {
  list-style: none;
  margin: 0 0 1.4em;
  padding: 0;
  display: grid;
  gap: 10px;
}

.care-list li {
  display: grid;
  grid-template-columns: 1.6em 1fr;
  gap: 10px;
  align-items: start;
}

.care-list .mark {
  font-size: 1rem;
  line-height: 1.6;
}

/* --- callouts -------------------------------------------------------------- */

.callout {
  border: 1px solid var(--rose-line);
  border-left-width: 5px;
  border-radius: var(--radius);
  background: var(--blush);
  padding: 18px 20px;
  margin: 0 0 24px;
}

.callout :last-child {
  margin-bottom: 0;
}

/* --- contact --------------------------------------------------------------- */

.contact-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-card {
  border: 1px solid var(--rose-line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 18px;
}

.contact-card .label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-card a {
  font-size: 1.05rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  word-break: break-word;
}

.hours {
  border-collapse: collapse;
  width: 100%;
  max-width: 460px;
  margin: 0 0 20px;
}

.hours th,
.hours td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--chip);
  font-size: 1rem;
}

.hours th {
  font-weight: 700;
  width: 48%;
}

.hours caption {
  text-align: left;
  font-weight: 700;
  padding-bottom: 8px;
}

/* --- footer ---------------------------------------------------------------- */

.site-foot {
  background: var(--ink);
  color: var(--white);
  padding: 36px 0 28px;
  margin-top: 10px;
}

.site-foot a {
  color: var(--chip);
}

.foot-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.site-foot h2 {
  font-size: 1.1rem;
  margin-bottom: 0.6em;
}

.site-foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-foot li {
  margin-bottom: 2px;
}

.site-foot li a {
  display: inline-block;
  padding: 9px 0;
  min-height: 44px;
  line-height: 26px;
}

.foot-bottom {
  border-top: 1px solid #4a3f45;
  margin-top: 26px;
  padding-top: 18px;
  font-size: 0.88rem;
  color: #e4d7dd;
}

.foot-bottom p {
  margin: 0 0 0.5em;
}

/* --- breakpoints ----------------------------------------------------------- */

@media (min-width: 620px) {
  .gallery {
    columns: 3;
  }
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
  }

  .gallery {
    columns: 4;
  }

  .section {
    padding: 60px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* ============================================================
   MOBILE NAVIGATION — added 2026-10-16
   Burger below 768px, full horizontal bar at 768px and above.
   CSS-only (checkbox toggle): no JavaScript, so it cannot break.
   The phone and email links live in .contact-strip, OUTSIDE this
   menu, and stay visible at every width. Never hide them.
   ============================================================ */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-label {
  display: flex; align-items: center; gap: .55rem;
  min-height: 44px; padding: .5rem .9rem; margin: .35rem 0;
  font: inherit; font-weight: 600; letter-spacing: .02em;
  color: #8d1f4d; background: #fff;
  border: 1px solid #e3c3d2; border-radius: 999px;
  cursor: pointer; user-select: none; width: max-content;
}
.nav-toggle-label:hover { background: #fdf4f7; }
.nav-toggle:focus-visible + .nav-toggle-label {
  outline: 3px solid #8d1f4d; outline-offset: 2px;
}
.nav-bars { position: relative; width: 20px; height: 2px; background: currentColor; border-radius: 2px; }
.nav-bars::before, .nav-bars::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  background: currentColor; border-radius: 2px; transition: transform .18s ease, top .18s ease;
}
.nav-bars::before { top: -6px; }
.nav-bars::after  { top: 6px; }
.nav-toggle:checked + .nav-toggle-label .nav-bars { background: transparent; }
.nav-toggle:checked + .nav-toggle-label .nav-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle:checked + .nav-toggle-label .nav-bars::after  { top: 0; transform: rotate(-45deg); }


/* ============================================================
   MOBILE NAVIGATION v2 — 2026-10-16
   Toggle now sits inside .contact-strip, on the same row as
   "Phone Lissi" and "Email Lissi", so the menu no longer eats
   its own row on a phone.
   Because the checkbox and the <nav> are no longer siblings,
   the open state is driven by :has() on the header.
   FALLBACK: if a browser lacks :has(), the @media rule below
   never hides the nav, so the links simply stay visible —
   degraded, never broken.
   Phone and email remain OUTSIDE the menu at every width.
   ============================================================ */
.contact-strip { flex-wrap: wrap; align-items: center; gap: .5rem; }
.contact-strip .nav-toggle-label { margin: 0; }

@media (max-width: 767.98px) {
  .site-head:has(.nav-toggle:checked) .site-nav > .wrap { display: block; }
  .site-head:has(.nav-toggle:not(:checked)) .site-nav > .wrap { display: none; }
  .site-nav ul { display: block; padding-bottom: .5rem; }
  .site-nav li { display: block; }
  .site-nav li a {
    display: flex; align-items: center;
    min-height: 44px; padding: .6rem .2rem;
    border-bottom: 1px solid #f0e2e8;
  }
  .site-nav li:last-child a { border-bottom: 0; }
}

@media (min-width: 768px) {
  .nav-toggle-label { display: none; }
  .site-nav > .wrap { display: block !important; }
}

/* --- Phone / Email / Menu share ONE row on small screens (2026-10-16) --- */
@media (max-width: 767.98px) {
  .contact-strip { flex-wrap: nowrap; gap: .4rem; width: 100%; }
  .contact-strip > a,
  .contact-strip .nav-toggle-label {
    flex: 1 1 0; min-width: 0; justify-content: center;
    padding: .45rem .4rem; font-size: .88rem; white-space: nowrap;
  }
  .contact-strip > a svg,
  .contact-strip .nav-bars { flex: 0 0 auto; }
  .contact-strip > a span,
  .contact-strip .nav-toggle-text {
    overflow: hidden; text-overflow: ellipsis;
  }
}
@media (max-width: 359.98px) {
  /* very narrow handsets: icons only for phone/email, Menu keeps its word */
  .contact-strip > a span { position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* --- Mobile: phone & email become icon-only; Menu keeps its word (2026-10-16) ---
   The visible text is hidden but kept in the DOM and exposed to screen
   readers, so the links still announce as "Phone Lissi" / "Email Lissi".
   Never use display:none here — that would strip the accessible name. */
@media (max-width: 767.98px) {
  .contact-strip > a span {
    position: absolute !important;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
    white-space: nowrap; border: 0;
  }
  .contact-strip > a {
    flex: 0 0 auto;
    width: 52px; height: 44px;
    padding: 0; justify-content: center;
  }
  .contact-strip > a svg { width: 20px; height: 20px; }
  .contact-strip .nav-toggle-label {
    flex: 0 1 auto; margin-left: auto;
    padding: .45rem .9rem; font-size: .95rem;
  }
}
