/* Pure Aesthetics Clinic, Saltash
   Tokens per _brief.md. Brand blue #003399 sampled from the clinic's own wordmark. */

:root {
  --paper: #f7f8fa;
  --card: #ffffff;
  --ink: #101828;
  --muted: #4a5468;
  --blue: #003399;
  --blue-deep: #00246b;
  --blue-wash: #e8edf9;
  --pale: #b9c7ee;
  --line: #d8dee9;

  --display: "Familjen Grotesk", "Trebuchet MS", "Segoe UI", sans-serif;
  --body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --band: clamp(3.5rem, 8vw, 6.5rem);
  --max: 1120px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.018em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.05em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); }
a:hover { color: var(--blue-deep); }

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

.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--blue); color: #fff; padding: 0.9rem 1.3rem; font-weight: 600;
}
.skip:focus { left: 0; color: #fff; }

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

.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 248, 250, 0.94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}

.head-row {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: 68px; padding-block: 0.55rem;
}

.brand { display: inline-flex; align-items: center; flex: 0 0 auto; min-height: 44px; }
.brand img { width: clamp(148px, 22vw, 210px); }

.nav { margin-left: auto; display: none; gap: clamp(1rem, 2.2vw, 1.9rem); }

@media (min-width: 880px) { .nav { display: flex; } }

.nav a {
  color: var(--muted); text-decoration: none;
  font-size: 0.83rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  display: inline-flex; align-items: center; min-height: 44px;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.nav a:hover, .nav a:focus-visible { color: var(--blue); border-bottom-color: var(--blue); }

/* mobile section menu: a native disclosure, so it works before any script runs */

.mnav { margin-left: auto; flex: 0 0 auto; position: relative; }
@media (min-width: 880px) { .mnav { display: none; } }

.mnav summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.45rem;
  min-height: 44px; padding: 0 0.85rem;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.83rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
}
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary::after {
  content: ""; width: 9px; height: 9px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.mnav[open] summary { color: var(--blue); border-color: var(--blue); }
.mnav[open] summary::after { transform: translateY(2px) rotate(-135deg); }

.mnav-panel {
  position: absolute; right: 0; top: calc(100% + 0.6rem);
  min-width: 15rem; z-index: 50;
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.14);
}
.mnav-panel a {
  padding: 0.9rem 1.1rem; min-height: 44px;
  display: flex; align-items: center;
  color: var(--ink); text-decoration: none;
  font-size: 0.95rem; font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.mnav-panel a:last-child { border-bottom: 0; }
.mnav-panel a:hover, .mnav-panel a:focus-visible { background: var(--blue-wash); color: var(--blue); }

.head-call {
  margin-left: 0.6rem; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0.6rem 1.15rem;
  background: var(--blue); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 0.92rem; border-radius: 999px;
  white-space: nowrap;
  transition: background-color 0.18s ease;
}
.head-call:hover, .head-call:focus-visible { background: var(--blue-deep); color: #fff; }

@media (min-width: 880px) { .head-call { margin-left: 1.6rem; } }

/* the header carries three things on a 390px screen: fit them rather than let them push */
@media (max-width: 600px) {
  .head-row { gap: 0.6rem; }
  .brand img { width: 128px; }
  .mnav summary { padding: 0 0.65rem; font-size: 0.76rem; letter-spacing: 0.06em; }
  .head-call { margin-left: 0.45rem; padding: 0.6rem 0.9rem; font-size: 0.85rem; }
}

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

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0.85rem 1.7rem;
  border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 1rem; letter-spacing: 0.005em;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn-solid { background: var(--blue); color: #fff; border: 2px solid var(--blue); }
.btn-solid:hover, .btn-solid:focus-visible { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
.btn-line { background: transparent; color: var(--blue); border: 2px solid var(--line); }
.btn-line:hover, .btn-line:focus-visible { border-color: var(--blue); background: var(--blue-wash); color: var(--blue-deep); }
.btn-invert { background: #fff; color: var(--blue-deep); border: 2px solid #fff; }
.btn-invert:hover, .btn-invert:focus-visible { background: var(--pale); border-color: var(--pale); color: var(--blue-deep); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ---------- hero ---------- */

.hero { padding-block: clamp(2.5rem, 6vw, 4.75rem) clamp(2.5rem, 6vw, 4rem); }

.hero-grid { display: grid; gap: clamp(2rem, 5vw, 3.25rem); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.08fr 0.92fr; } }

.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--blue);
  margin: 0 0 1.1rem;
}

.hero h1 { font-size: clamp(2.35rem, 1.5rem + 4vw, 4rem); margin-bottom: 1.25rem; }
.hero-lede { font-size: clamp(1.06rem, 1rem + 0.4vw, 1.24rem); color: var(--muted); margin-bottom: 1.9rem; }

.hero-photo { position: relative; }
.hero-photo img { width: 100%; border-radius: 2px; }

.hero-tag {
  position: absolute; left: 0; bottom: 0;
  background: var(--blue); color: #fff;
  padding: 0.85rem 1.15rem;
  font-family: var(--display); font-size: 0.95rem; line-height: 1.3;
}
.hero-tag span { display: block; color: var(--pale); font-family: var(--body); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* the practical strip: four facts, grid-ruled like the wordmark block */

.facts {
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 820px) { .facts { grid-template-columns: repeat(4, 1fr); } }

.facts div {
  padding: 1.15rem 1.1rem 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 820px) {
  .facts div { border-bottom: 0; border-right: 1px solid var(--line); padding-left: 1.4rem; }
  .facts div:first-child { padding-left: 0; }
  .facts div:last-child { border-right: 0; }
}

.facts dd { margin: 0; }   /* the UA's 40px indent breaks the grid alignment */

.facts dt, .facts .k {
  font-size: 0.73rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem;
}
.facts .v { font-family: var(--display); font-size: 1.12rem; line-height: 1.25; }

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

.band { padding-block: var(--band); }
.band-wash { background: var(--blue-wash); }
.band-blue { background: var(--blue); color: #fff; }
.band-deep { background: var(--blue-deep); color: #fff; }

.band-blue h2, .band-deep h2, .band-blue h3, .band-deep h3 { color: #fff; }
.band-blue p, .band-deep p { color: var(--pale); }

.sec-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head h2 { font-size: clamp(1.85rem, 1.3rem + 2.2vw, 2.8rem); margin-bottom: 0.85rem; }
.sec-head p { color: var(--muted); margin-bottom: 0; }
.band-blue .sec-head p, .band-deep .sec-head p { color: var(--pale); }

/* ---------- credentials ---------- */

.creds { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid rgba(255, 255, 255, 0.24); }
@media (min-width: 700px) { .creds { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .creds { grid-template-columns: repeat(3, 1fr); } }

.creds li {
  list-style: none;
  padding: 1.35rem 1.4rem 1.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  font-family: var(--display); font-size: 1.06rem; line-height: 1.3;
}
.creds li small {
  display: block; margin-top: 0.35rem;
  font-family: var(--body); font-size: 0.85rem; letter-spacing: 0.02em;
  color: var(--pale); font-weight: 400;
}
.creds { padding: 0; margin: 0; }

@media (min-width: 700px) {
  .creds li { padding-left: 1.4rem; border-right: 1px solid rgba(255, 255, 255, 0.24); }
  .creds li:nth-child(2n + 1) { padding-left: 0; }
  .creds li:nth-child(2n) { border-right: 0; }
}
@media (min-width: 1000px) {
  .creds li { padding-left: 1.4rem; border-right: 1px solid rgba(255, 255, 255, 0.24); }
  .creds li:nth-child(2n + 1) { padding-left: 1.4rem; }
  .creds li:nth-child(3n + 1) { padding-left: 0; }
  .creds li:nth-child(2n) { border-right: 1px solid rgba(255, 255, 255, 0.24); }
  .creds li:nth-child(3n) { border-right: 0; }
}

/* ---------- prices: the signature element ---------- */

.price-group { margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.price-group:last-of-type { margin-bottom: 0; }

.price-group > h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--blue);
  margin-bottom: 0.35rem;
}
.price-note {
  font-size: 0.92rem; color: var(--muted);
  margin: 0.75rem 0 1.5rem; max-width: 62ch;
}

.plist { margin: 0; }

.pitem {
  display: grid; gap: 0.35rem 1.5rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
@media (min-width: 760px) { .pitem { grid-template-columns: minmax(0, 1fr) auto; } }

.pitem h4 {
  margin: 0; font-family: var(--display); font-weight: 500;
  font-size: 1.14rem; line-height: 1.25; letter-spacing: -0.01em;
}
.pitem p { margin: 0.28rem 0 0; font-size: 0.93rem; color: var(--muted); max-width: 54ch; }

.tiers {
  display: flex; flex-wrap: wrap; gap: 0.4rem 0.55rem;
  margin: 0.55rem 0 0; padding: 0; list-style: none;
}
@media (min-width: 760px) {
  .tiers { margin-top: 0; justify-content: flex-end; grid-column: 2; align-self: center; }
}
.tiers li {
  background: var(--blue-wash); color: var(--ink);
  padding: 0.34rem 0.7rem; font-size: 0.9rem;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.tiers li b { font-weight: 700; }
.tiers li span { color: var(--muted); font-size: 0.82rem; }

/* specificity: .pitem p above would otherwise win and shrink the price to body size */
.pitem p.solo {
  margin: 0.55rem 0 0;
  font-family: var(--display); font-size: 1.3rem; font-weight: 500;
  font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--blue);
}
@media (min-width: 760px) {
  .pitem p.solo { margin-top: 0; grid-column: 2; text-align: right; align-self: center; }
}

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

.gallery { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

.gallery figure { margin: 0; }
.gallery img { border-radius: 2px; width: 100%; }
.gallery figcaption {
  margin-top: 0.7rem; font-size: 0.88rem; color: var(--muted);
}

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

.reviews { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .reviews { grid-template-columns: repeat(3, 1fr); } }

.reviews blockquote {
  margin: 0; background: var(--card); border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  padding: 1.6rem 1.5rem 1.35rem;
  display: flex; flex-direction: column; gap: 0.9rem;
}
.reviews p { font-size: 1.02rem; margin: 0; }
.reviews cite {
  font-style: normal; font-weight: 600; font-size: 0.9rem;
  color: var(--muted); margin-top: auto;
}

/* ---------- policies ---------- */

.policies { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 780px) { .policies { grid-template-columns: 1fr 1fr; } }

.policies > div {
  padding: 1.5rem 1.5rem 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 780px) {
  .policies > div { padding-left: 1.75rem; border-right: 1px solid var(--line); }
  .policies > div:nth-child(odd) { padding-left: 0; }
  .policies > div:nth-child(even) { border-right: 0; }
}
.policies h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.policies p { font-size: 0.95rem; color: var(--muted); margin: 0; }

/* ---------- visit ---------- */

.visit-grid { display: grid; gap: clamp(2.25rem, 5vw, 3.5rem); }
@media (min-width: 940px) { .visit-grid { grid-template-columns: 0.95fr 1.05fr; } }

.hours { width: 100%; border-collapse: collapse; margin-bottom: 2rem; }
.hours caption {
  text-align: left; font-size: 0.73rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--pale); padding-bottom: 0.65rem;
}
.hours th, .hours td {
  text-align: left; padding: 0.72rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 1rem; font-weight: 400; color: #fff;
}
.hours td { text-align: right; font-variant-numeric: tabular-nums; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.15rem; }
.contact-list .k {
  font-size: 0.73rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--pale); margin-bottom: 0.2rem;
}
.contact-list a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.contact-list a:hover { color: var(--pale); }
.contact-list .v { font-family: var(--display); font-size: 1.15rem; line-height: 1.35; }

.enquiry {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
}
.enquiry h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.enquiry > p { font-size: 0.95rem; color: var(--pale); margin-bottom: 1.6rem; }

.field { margin-bottom: 1.15rem; }
.field label {
  display: block; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--pale); margin-bottom: 0.45rem;
}
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px;
  padding: 0.75rem 0.85rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid transparent; border-radius: 2px;
  font-family: var(--body); font-size: 1rem; color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--pale); outline-offset: 2px;
}
.form-note { font-size: 0.85rem; color: var(--pale); margin: 1.1rem 0 0; }
.form-note a { color: #fff; }

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

.site-foot { background: var(--blue-deep); color: var(--pale); padding-block: 2.75rem 3rem; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.foot-row { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: flex-start; justify-content: space-between; }
.site-foot img { width: 190px; }
.site-foot p { font-size: 0.88rem; margin: 0; max-width: 46ch; }
.site-foot a { color: #fff; }
.foot-social { display: flex; gap: 1.25rem; }
.foot-social a { font-size: 0.88rem; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 404 ---------- */

.gone { min-height: 78vh; display: grid; align-content: center; padding-block: var(--band); }
.gone h1 { font-size: clamp(2.1rem, 1.5rem + 3vw, 3.4rem); margin-bottom: 1rem; }
.gone p { color: var(--muted); font-size: 1.1rem; margin-bottom: 2rem; }

/* ---------- motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
