/*
 * Marchlight site styles: home, /booking/ and /websites/.
 *
 * Warm and friendly, for clinic and salon owners rather than developers.
 * One accent does the work (violet for anything you can press), marigold is
 * reserved for the founding offer and "just booked" moments, green only means
 * "confirmed". Everything else is warm white, plum-black ink and space.
 */

:root {
  /* "Harbour": clinic teal for anything you can press, a soft blush for the
     founding offer and "just booked" moments, green only for "confirmed". */
  --bg: #F4F7F7;
  --bg-2: #E8F1F0;           /* alternating band */
  --surface: #FFFFFF;
  --ink: #0F2A33;
  --muted: #4F6870;
  --line: #DCE7E7;
  --primary: #0E6E72;
  --primary-hover: #0B5A5D;
  --on-primary: #FFFFFF;
  --mari: #F3B3A6;           /* blush highlight */
  --mari-soft: #FCE8E3;
  --on-mari: #5A2118;
  --ok: #2F8F67;
  --shadow: 0 18px 40px -26px rgba(15, 42, 51, .4);
  --radius: 18px;
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1140px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C1E24; --bg-2: #10262D; --surface: #132C33; --ink: #E8F2F2; --muted: #9DB5BA;
    --line: #21414A; --primary: #4FC2BE; --primary-hover: #74D2CF; --on-primary: #062327;
    --mari-soft: #3A2420; --on-mari: #5A2118; --ok: #5BC495; --shadow: none;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--body);
       -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--mari); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.band { padding: clamp(56px, 8vw, 104px) 0; }
.band.alt { background: var(--bg-2); }

h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; line-height: 1.08; margin: 0; font-weight: 720; }
h1 { font-size: clamp(38px, 5.6vw, 66px); }
h2 { font-size: clamp(28px, 3.6vw, 42px); }
h3 { font-size: 22px; letter-spacing: -.015em; }
p { margin: 0; }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 56ch; margin-top: 18px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
       padding: 14px 24px; border-radius: 999px; font: 650 16.5px var(--body); text-decoration: none;
       background: var(--primary); color: var(--on-primary); border: 2px solid var(--primary);
       transition: background .15s, transform .15s; cursor: pointer; }
.btn:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--muted); }
.btn.small { padding: 9px 16px; font-size: 15px; }
.textlink { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 30px; }

/* ------------------------------------------------------------ nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent);
       backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 26px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font: 760 20px var(--display);
        letter-spacing: -.02em; text-decoration: none; }
.logo img { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 22px; margin-left: 10px; }
.nav-links a { text-decoration: none; font-weight: 550; color: var(--muted); font-size: 15.5px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav .spacer { flex: 1; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 8px 12px; border: 1px solid var(--line);
                border-radius: 999px; font-weight: 600; font-size: 15px; }
.menu summary::-webkit-details-marker { display: none; }
.menu .sheet { position: absolute; right: 0; top: 46px; background: var(--surface); border: 1px solid var(--line);
               border-radius: 14px; box-shadow: var(--shadow); padding: 8px; display: flex; flex-direction: column; min-width: 190px; }
.menu .sheet a { padding: 10px 12px; text-decoration: none; border-radius: 9px; font-weight: 550; }
.menu .sheet a:hover { background: var(--bg-2); }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu { display: block; }
  .nav .wrap { gap: 12px; }
}

/* ------------------------------------------------------------ offer badge */
.offer { display: inline-flex; align-items: center; gap: 10px; background: var(--mari-soft);
         border: 1.5px solid var(--mari); border-radius: 999px; padding: 6px 14px 6px 6px;
         font-size: 14.5px; font-weight: 600; }
.offer .tag { background: var(--mari); color: var(--on-mari); border-radius: 999px; padding: 3px 10px; font-weight: 700; }

/* ------------------------------------------------------------ hero */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 8vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-top: 20px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* The hero picture: a customer booking on the left lands in the owner's diary
   on the right. One short sequence on load, nothing looping. */
.scene { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
        padding: 16px; font-size: 14px; }
.mock .cap { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.mock .svc { border: 1.5px solid var(--primary); border-radius: 12px; padding: 10px 12px; font-weight: 650; }
.mock .svc span { display: block; font-weight: 450; color: var(--muted); font-size: 13px; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 12px; }
.chip { border: 1px solid var(--line); border-radius: 9px; padding: 7px 0; text-align: center; font-weight: 600; font-size: 13.5px; }
.chip.pick { animation: pick .5s ease-out .9s both; }
@keyframes pick { to { background: var(--primary); color: var(--on-primary); border-color: var(--primary); } }
.booked { margin-top: 12px; border-radius: 10px; padding: 9px 12px; background: color-mix(in srgb, var(--ok) 14%, var(--surface));
          color: var(--ok); font-weight: 700; font-size: 13.5px; opacity: 0; animation: fade .4s ease-out 1.6s forwards; }
.diary .row { display: flex; gap: 10px; align-items: baseline; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 7px; }
.diary .row b { font-variant-numeric: tabular-nums; min-width: 42px; }
.diary .row span { color: var(--muted); }
.diary .row.new { border-color: var(--mari); background: var(--mari-soft); opacity: 0; transform: translateY(-6px);
                  animation: land .55s cubic-bezier(.2, .9, .3, 1.2) 2.2s forwards; }
.diary .row.new em { font-style: normal; font-size: 11.5px; font-weight: 700; background: var(--mari); color: var(--on-mari);
                     border-radius: 999px; padding: 1px 8px; margin-left: auto; }
@keyframes fade { to { opacity: 1; } }
@keyframes land { to { opacity: 1; transform: none; } }
.scene .link { position: absolute; left: 50%; top: 46%; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%;
               background: var(--mari); display: grid; place-items: center; box-shadow: 0 0 0 6px var(--bg);
               font-weight: 800; color: var(--on-mari); z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .chip.pick, .booked, .diary .row.new { animation: none; opacity: 1; transform: none; }
  .chip.pick { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
}
@media (max-width: 520px) { .scene { grid-template-columns: 1fr; } .scene .link { display: none; } }

/* ------------------------------------------------------------ cards */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .duo, .tri { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); }
.card.raised { box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; }
.card p + p { margin-top: 10px; }
.card .actions { margin-top: 22px; }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
        background: color-mix(in srgb, var(--primary) 12%, var(--surface)); color: var(--primary); }
.icon svg { width: 24px; height: 24px; }
.step-n { width: 34px; height: 34px; border-radius: 50%; background: var(--mari-soft); border: 1.5px solid var(--mari);
          display: grid; place-items: center; font-weight: 750; margin-bottom: 14px; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 9px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
                    background: color-mix(in srgb, var(--ok) 18%, var(--surface)); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(.35em + 4px); width: 5px; height: 9px;
                   border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ticks.no li::before { background: color-mix(in srgb, var(--muted) 16%, var(--surface)); }
.ticks.no li::after { border: 0; width: 10px; height: 2px; background: var(--muted); top: calc(.35em + 8px); left: 4px; transform: none; }

/* ------------------------------------------------------------ pricing */
.price { font: 760 clamp(40px, 5vw, 54px) var(--display); letter-spacing: -.03em; line-height: 1; }
.price small { font: 550 16px var(--body); color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.price-note { color: var(--muted); margin-top: 8px; font-size: 15.5px; }
.was { text-decoration: line-through; color: var(--muted); font-weight: 500; }

/* ------------------------------------------------------------ gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery .item:first-child { grid-column: span 2; }
@media (max-width: 960px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery .item:first-child { grid-column: span 2; } }
@media (max-width: 620px) { .gallery { grid-template-columns: 1fr; } .gallery .item:first-child { grid-column: auto; } }
.item { display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--line);
        border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) { .item, .item:hover { transition: none; transform: none; } }
.item img { width: 100%; height: auto; aspect-ratio: 800 / 478; object-fit: cover; border-bottom: 1px solid var(--line); }
.item .body { padding: 16px 18px 18px; }
.item .kind { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.item h3 { font-size: 20px; margin: 4px 0 6px; }
.item .open { margin-top: 10px; font-weight: 650; color: var(--primary); }

/* ------------------------------------------------------------ calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.calc label { display: block; margin-bottom: 18px; font-weight: 600; }
.calc label b { float: right; font-variant-numeric: tabular-nums; }
.calc input[type=range] { width: 100%; accent-color: var(--primary); margin-top: 8px; }
.calc .out { text-align: center; }
.calc .big { font: 780 clamp(44px, 6vw, 68px) var(--display); letter-spacing: -.03em; color: var(--primary); }

/* ------------------------------------------------------------ honesty strip */
.honest { display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border: 1px dashed var(--line);
          border-radius: var(--radius); padding: 22px 24px; }
.honest .icon { flex: none; margin: 0; }

/* ------------------------------------------------------------ faq */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; color: var(--primary); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 16px; color: var(--muted); }

/* ------------------------------------------------------------ closing + footer */
.closing { background: var(--primary); color: var(--on-primary); border-radius: 28px; padding: clamp(36px, 6vw, 64px);
           text-align: center; }
.closing h2 { color: inherit; }
.closing p { opacity: .9; margin: 14px auto 0; max-width: 54ch; }
.closing .btn { background: var(--surface); color: var(--ink); border-color: var(--surface); margin-top: 26px; }
.closing .btn:hover { background: var(--bg); }
.foot { padding: 48px 0 56px; color: var(--muted); font-size: 15px; }
.foot .cols { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-bottom: 18px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot p + p { margin-top: 6px; }
