/* ========
   Age Less, Plymouth. Bespoke stylesheet.

   Brand teal #139CB5 is sampled from their own logo pixels (#1094B5) and
   their own stylesheet (#139CB5, #1597B3, #118499). Nothing here is invented.

   Signature system: "the line that softens". Fine contour lines carry texture
   on the left and resolve smooth on the right. It is the treatment itself
   drawn as a graphic system, and it repeats through the hero, the dividers,
   the rules and the section transitions.
   ======== */

/* tokens */
:root {
  /* their real teal, plus a darker step that passes AA as text */
  --teal: #139CB5;
  --teal-mid: #0E7C93;
  --teal-deep: #0A5A6B;   /* 7.7:1 on white */
  --teal-ink: #063845;
  --teal-wash: #EAF5F8;
  --teal-line: rgba(19, 156, 181, 0.28);

  --ink: #10171A;
  --slate: #46595F;       /* 6.1:1 on white */
  --hair: #DCE6E9;
  --porcelain: #F5F9FA;
  --paper: #FFFFFF;
  --sand: #F0E9DF;

  --serif: 'Newsreader', 'Times New Roman', Times, serif;
  --sans: 'Karla', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --step: clamp(3.5rem, 7vw, 6.5rem);   /* vertical section rhythm */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 1.7rem + 3.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem); }
h3 { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); }
p { margin: 0 0 1.1em; text-wrap: pretty; }

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

/* kerned eyebrow label, used to open most sections */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--teal);
  flex: none;
}

.lede { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); color: var(--slate); line-height: 1.6; }

/* skip link */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--teal-deep); color: #fff; padding: 0.75rem 1.25rem;
}
.skip:focus { left: 0; }

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

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--sans); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--teal-deep); color: #fff; }
.btn-solid:hover { background: var(--teal-ink); }
.btn-ghost { border-color: var(--teal-line); color: var(--teal-deep); background: transparent; }
.btn-ghost:hover { border-color: var(--teal); background: var(--teal-wash); }
.btn-light { background: #fff; color: var(--teal-ink); }
.btn-light:hover { background: var(--teal-wash); }

/* header */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
}
.head-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 0.85rem 0;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 168px; }

.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2rem);
}
.site-nav a {
  font-size: 0.92rem; font-weight: 500; color: var(--ink);
  text-decoration: none; padding: 0.4rem 0; position: relative;
}
/* the underline itself softens in, left to right */
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--teal-deep); }

.head-cta { flex: none; }
.head-cta .btn { padding: 0.7rem 1.25rem; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--hair);
  border-radius: 8px; padding: 0.55rem 0.7rem; cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .head-cta { display: none; }
  .site-nav {
    position: absolute; inset: 100% 0 auto; background: #fff;
    border-bottom: 1px solid var(--hair);
    max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease);
  }
  .site-nav.open { max-height: 26rem; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem var(--gutter) 1.25rem; }
  .site-nav li { border-bottom: 1px solid var(--hair); }
  .site-nav a { display: block; padding: 0.95rem 0; }
  .site-nav a::after { display: none; }
}

/* demo ribbon */
.ribbon {
  background: var(--teal-ink); color: #CFE9F0;
  font-size: 0.78rem; line-height: 1.5; text-align: center;
  padding: 0.5rem var(--gutter);
}
.ribbon strong { color: #fff; }

/* ========
   SIGNATURE 1. The hero. Lines carrying texture on the left resolve smooth
   on the right, behind the wordmark. Canvas draws it; CSS holds the layout.
   ======== */
.hero { position: relative; background: var(--paper); overflow: hidden; }
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; pointer-events: none;
}
/* JS off, or canvas unsupported: a static tinted wash instead of a blank box */
.no-js .hero { background:
  linear-gradient(100deg, var(--teal-wash) 0%, var(--teal-wash) 42%, #fff 78%); }

.hero-in {
  position: relative; z-index: 2;
  padding-block: clamp(4rem, 9vw, 7.5rem) clamp(3.5rem, 7vw, 6rem);
}
.hero-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: end; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }

.hero h1 { margin-bottom: 0.35em; }
.hero h1 .soft {
  /* the name is a subtraction, so the word "Less" lightens as it is read */
  font-style: italic;
  font-weight: 200;
  color: var(--teal-deep);
}
.hero-lede { max-width: 44ch; font-size: clamp(1.1rem, 1rem + 0.55vw, 1.35rem); color: var(--slate); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* the trust strip sits in the hero, because the trust IS the product here */
.hero-trust {
  border-top: 1px solid var(--teal-line);
  padding-top: 1.5rem;
  display: grid; gap: 1.25rem;
}
.hero-trust dl { margin: 0; display: grid; gap: 0.15rem; }
.hero-trust dt {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--teal-deep);
}
.hero-trust dd { margin: 0; font-size: 0.95rem; color: var(--slate); }
/* auto-fit, so a single note spans the column instead of being squeezed
   into a third of it while two thirds sit empty */
@media (min-width: 560px) {
  .hero-trust { grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 1.5rem; }
}

/* the divider: one line, softening left to right */
.softline { display: block; width: 100%; height: 34px; color: var(--teal); }
.softline svg { display: block; width: 100%; height: 100%; }

/* sections */
section { padding-block: var(--step); }
.tint { background: var(--porcelain); }
.deep { background: var(--teal-ink); color: #E4F1F5; }
.deep h2, .deep h3 { color: #fff; }
.deep .eyebrow { color: #8FD3E4; }
.deep .eyebrow::before { background: #8FD3E4; }
.deep .lede { color: #BBDDE6; }
.deep a { color: #9BDCEC; }

/* ========
   SIGNATURE 2. The voice pull quote. Her own words, set as an oversized
   editorial statement with a hung teal opening mark.
   ======== */
.voice { position: relative; }
.voice blockquote {
  margin: 0; max-width: 22ch;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 1.1rem + 3.2vw, 3.6rem);
  line-height: 1.14; letter-spacing: -0.02em;
  position: relative;
}
.voice blockquote::before {
  content: "\201C";
  position: absolute; right: 100%; top: -0.08em;
  margin-right: 0.06em;
  color: var(--teal); opacity: 0.5;
  font-size: 1.4em; line-height: 1;
}
.voice-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .voice-grid { grid-template-columns: 1.1fr 0.9fr; } }
.voice cite {
  display: block; margin-top: 1.5rem; font-style: normal;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--teal-deep);
}

/* ========
   SIGNATURE 3. The ledger. The treatment menu is not a card grid. It is a
   hairline ruled ledger with oversized teal numerals, the way a clinic
   actually writes a list down.
   ======== */
.ledger { border-top: 1px solid var(--hair); }
.ledger-row {
  display: grid; gap: 0.4rem 2rem;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  border-bottom: 1px solid var(--hair);
  align-items: start;
  transition: background 0.3s var(--ease);
}
.ledger-row:hover { background: var(--teal-wash); }
@media (min-width: 780px) {
  .ledger-row { grid-template-columns: 4.5rem 1fr 12rem; }
}
.ledger-num {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
  line-height: 1; color: var(--teal);
  font-variant-numeric: lining-nums tabular-nums;
}
.ledger-body h3 { margin-bottom: 0.35em; }
.ledger-body p { margin: 0; color: var(--slate); font-size: 0.97rem; }
.ledger-body p + p { margin-top: 0.6em; }
.ledger-price {
  font-family: var(--serif);
  font-size: 1.35rem; color: var(--ink);
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}
.ledger-price small { display: block; font-family: var(--sans); font-size: 0.78rem; color: var(--slate); white-space: normal; }
@media (min-width: 780px) { .ledger-price { text-align: right; } }

/* the consultation led pill, used everywhere a POM would otherwise be priced */
.pill {
  display: inline-block;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-deep); background: var(--teal-wash);
  border: 1px solid var(--teal-line);
  border-radius: 999px; padding: 0.4rem 0.85rem;
  white-space: nowrap;
}

/* ========
   SIGNATURE 4. The fifteen. Her free 15 minute consultation, drawn as a
   quarter arc: a real quarter of an hour, no obligation.
   ======== */
.fifteen-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 820px) { .fifteen-grid { grid-template-columns: 0.8fr 1.2fr; } }
.dial { position: relative; width: min(100%, 320px); margin-inline: auto; }
.dial svg { width: 100%; height: auto; display: block; overflow: visible; }
.dial-arc { transition: stroke-dashoffset 1.4s var(--ease); }
.js .dial-arc { stroke-dashoffset: var(--arc-len); }
.js .dial.in .dial-arc { stroke-dashoffset: var(--arc-off); }
.dial-num {
  position: absolute; inset: 0;
  display: grid; place-content: center; text-align: center;
}
.dial-num b {
  display: block; font-family: var(--serif); font-weight: 400;
  font-size: clamp(3rem, 2rem + 4vw, 4.5rem); line-height: 1; color: var(--teal-ink);
}
.dial-num span {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--teal-deep);
}

/* ========
   SIGNATURE 5. The record card. Jane's credentials set like a clinical
   record, hairline ruled, monospaced-feeling, next to the one real photo.
   ======== */
.record-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 900px) { .record-grid { grid-template-columns: 1fr 1fr; } }

.photo-frame {
  position: relative;
  background: var(--teal-ink);
  border-radius: 2px;
  overflow: hidden;
}
/* the real photo is greyscale already, so a luminosity blend tints it teal
   without ever flashing white: the backdrop is teal before the image loads */
.photo-frame img {
  width: 100%;
  mix-blend-mode: luminosity;
  opacity: 0.92;
}
@supports not (mix-blend-mode: luminosity) { .photo-frame img { opacity: 1; } }
.photo-cap {
  font-size: 0.78rem; color: var(--slate); margin-top: 0.75rem;
  padding-left: 0.9rem; border-left: 2px solid var(--teal);
}

.record { border-top: 1px solid var(--teal-line); margin-top: 1.75rem; }
.record div {
  display: grid; gap: 0.15rem 1.5rem;
  padding: 0.85rem 0; border-bottom: 1px solid var(--teal-line);
}
@media (min-width: 520px) { .record div { grid-template-columns: 9.5rem 1fr; align-items: baseline; } }
.record dt {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--teal-deep);
}
.deep .record dt { color: #8FD3E4; }
.record dd { margin: 0; font-size: 0.97rem; }

/* plain feature list */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 1.1rem; height: 1px; background: var(--teal);
}

/* two column prose */
.prose-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 900px) { .prose-grid { grid-template-columns: 0.8fr 1.2fr; } }

/* contact cards */
.people { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 640px) { .people { grid-template-columns: 1fr 1fr; } }
.person {
  border: 1px solid var(--hair); border-radius: 3px;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: #fff;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.person:hover { border-color: var(--teal); transform: translateY(-3px); }
.person h3 { margin-bottom: 0.15em; }
.person .role { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 1rem; }
.person a.tel {
  font-family: var(--serif); font-size: 1.5rem; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--teal-line);
  transition: border-color 0.25s var(--ease);
}
.person a.tel:hover { border-color: var(--teal); }

/* info blocks */
.info-grid { display: grid; gap: 1.75rem; }
@media (min-width: 700px) { .info-grid { grid-template-columns: repeat(3, 1fr); } }
.info h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
.info p { font-size: 0.95rem; color: var(--slate); margin: 0; }
.deep .info p { color: #BBDDE6; }

/* footer */
.site-foot { background: var(--teal-ink); color: #A8CCD6; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.foot-grid { display: grid; gap: 2.5rem; }
@media (min-width: 780px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-foot img { width: 150px; margin-bottom: 1.25rem; }
.site-foot h4 {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: #fff; margin: 0 0 1rem;
}
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.site-foot a { color: #A8CCD6; text-decoration: none; transition: color 0.2s var(--ease); }
.site-foot a:hover { color: #fff; }
.site-foot p { font-size: 0.9rem; margin: 0 0 0.6em; }
.foot-base {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between;
  font-size: 0.8rem; color: #7FA9B5;
}

/* scroll reveals */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .person:hover { transform: none; }
  .dial-arc { transition: none; }
  .js .dial .dial-arc { stroke-dashoffset: var(--arc-off); }
}

/* print: nothing may be hidden by a reveal, and the ink stays sane */
@media print {
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .ribbon, .hero-canvas, .softline, .nav-toggle, .head-cta { display: none; }
  .deep, .site-foot { background: #fff; color: #000; }
  .deep h2, .deep h3, .site-foot h4 { color: #000; }
  .deep .lede, .deep .info p, .site-foot p, .site-foot a { color: #333; }
  a { text-decoration: underline; }
}
