/* Polly practice — visual scheme (BL-057): green #81b94b, terracotta #c05a3e buttons, beige #e7dfd3,
   Lora headings + Noto Sans body (both with Cyrillic, self-hosted). Mobile-first (BL-056). */

@font-face { font-family: "Lora"; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url(fonts/lora-cyrillic-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Lora"; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url(fonts/lora-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Sans"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/noto-sans-cyrillic-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Noto Sans"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/noto-sans-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #e7dfd3;          /* warm beige page */
  --bg-alt: #ddd3c4;      /* darker band */
  --surface: #f8f4ee;     /* cards */
  --border: #d4c8b6;
  --text: #2a2421;
  --muted: #5e544e;
  --sage: #81b94b;        /* brand green: outlines, dots, focus */
  --sage-strong: #436a22; /* same hue, dark enough for text/links on the beige (~4.8:1) */
  --sage-deep: #375a1b;   /* hover */
  --sage-soft: #dcebc9;
  --header: #f8f4ee;      /* top bar, lighter than the page so it stands apart */
  --on-header: var(--text);
  --on-header-muted: var(--muted);
  --accent: #c05a3e;      /* button accent (terracotta) */
  --accent-deep: #a84a30;
  --on-accent: #fff;      /* text on accent buttons (~4.4:1) */
  --taken: #d6ccbd;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(42, 36, 33, .06), 0 6px 20px rgba(42, 36, 33, .07);
  --font-body: "Noto Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-head: "Lora", Georgia, "Times New Roman", serif;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1; }
img, svg { max-width: 100%; }
a { color: var(--sage-strong); text-underline-offset: .18em; }
a:hover { color: var(--sage-deep); }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.25; color: var(--text); margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 6vw, 2.7rem); }
h2 { font-size: clamp(1.35rem, 4vw, 1.7rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }

/* Placeholder text (TODO in docs/content) */
.ph { text-decoration: underline dotted rgba(129, 185, 75, .55); text-decoration-thickness: 1.5px; text-underline-offset: .25em; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 50; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.4em; border-radius: 999px; border: 1.5px solid var(--sage-strong);
  font: 600 .98rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--sage-strong); }
.btn-ghost:hover { background: var(--sage-soft); }
.btn-lg { padding: .85em 1.8em; font-size: 1.05rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Header */
.site-header { background: var(--header); border-bottom: 1px solid var(--border); position: relative; z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-header); min-width: 0; }
.logo {
  flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sage-soft); color: var(--sage-deep); border: 1px solid var(--sage);
  font: 500 .95rem var(--font-head); letter-spacing: .04em;
}
.logo-img { flex: none; height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-name { font: 500 1.08rem var(--font-head); white-space: nowrap; }
.brand-sub { font-size: .78rem; color: var(--on-header-muted); letter-spacing: .08em; text-transform: uppercase; }

.header-tools { display: flex; align-items: center; gap: 6px; }
.lang-switch {
  font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-decoration: none;
  padding: .45em .7em; border-radius: 8px; color: var(--on-header-muted);
}
.lang-switch:hover { background: rgba(127, 127, 127, .15); color: var(--on-header); }

.menu { position: relative; }
.menu > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px;
  padding: .5em .8em; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  font-weight: 600; font-size: .92rem; user-select: none;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary:hover { border-color: var(--sage); }
.burger { display: inline-flex; flex-direction: column; gap: 4px; width: 18px; }
.burger i { display: block; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.menu[open] .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu[open] .burger i:nth-child(2) { opacity: 0; }
.menu[open] .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu nav {
  position: absolute; right: 0; top: calc(100% + 8px); width: min(300px, calc(100vw - 2 * var(--gutter)));
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 8px;
}
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li a { display: block; padding: .65em .9em; border-radius: 10px; text-decoration: none; color: var(--text); }
.menu li a:hover { background: var(--bg-alt); }
.menu li a[aria-current="page"] { background: var(--sage-soft); color: var(--sage-deep); font-weight: 600; }
.menu-cta { width: 100%; margin-top: 8px; }

@media (max-width: 420px) {
  .menu-label { display: none; }
  .brand-name { font-size: 1rem; }
}

/* Pages */
.page { padding: 40px 0 64px; }
.page-cta { margin-top: 2em; }
.prose > :last-child { margin-bottom: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose h2 { margin-top: 1.4em; }
.page h2 { margin-top: 1.4em; }
.page .card h2, .page .note h2 { margin-top: 0; }

/* Home */
.banner { position: relative; height: clamp(170px, 30vw, 360px); background: var(--bg-alt); overflow: hidden; }
.banner img, .banner-ph { display: block; width: 100%; height: 100%; object-fit: cover; }
.banner-ph .b0 { fill: var(--sage-soft); }
.banner-ph .b1 { fill: var(--surface); opacity: .7; }
.banner-ph .b2 { fill: var(--sage); opacity: .35; }
.banner-ph .b3 { fill: var(--sage-strong); opacity: .35; }
.hero { padding: 0 0 40px; }
/* Phone: info laid over the bottom of the photo. Desktop (>=900px): info left, photo right. */
.hero-split { display: grid; padding: 0; }
.hero-pic, .hero-info { grid-area: 1 / 1; }
.hero-more { grid-area: 2 / 1; text-align: center; padding: 22px var(--gutter) 0; }
.photo.hero-img, .photo-ph.hero-img { height: auto; aspect-ratio: 3 / 4; border-radius: 0; object-position: 50% 20%; }
.hero-info {
  align-self: end; position: relative; text-align: center; padding: 70px var(--gutter) 18px;
  background: linear-gradient(to bottom, transparent, rgba(30, 26, 23, .5) 40%, rgba(30, 26, 23, .78));
  color: #fff;
}
.hero-info h1, .hero-info .tagline, .hero-info .eyebrow { color: #fff; }
.hero-info .tagline { margin-bottom: 0; }
@media (max-width: 899px) { /* phone overlay: smaller text so it covers less of the face */
  .hero-info { padding: 50px var(--gutter) 14px; }
  .hero-info .eyebrow { font-size: .66rem; margin-bottom: .3em; }
  .hero-info h1 { font-size: 1.55rem; margin-bottom: .15em; }
  .hero-info .tagline { font-size: .98rem; }
}
.eyebrow { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-strong); font-weight: 600; margin-bottom: .6em; }
.hero h1 { margin-bottom: .3em; }
.tagline { font: italic 400 clamp(1.15rem, 3.6vw, 1.4rem)/1.45 var(--font-head); color: var(--sage-deep); }
.hero .lead { margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 1.6em; }
.phone-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; font-size: 1.05rem; }
.phone-link svg { width: 18px; height: 18px; fill: currentColor; }

.photo, .photo-ph { display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 180px 180px var(--radius) var(--radius); object-fit: cover; object-position: 50% 22%; }
.photo-ph {
  background: linear-gradient(160deg, var(--sage-soft), var(--bg-alt) 70%);
  border: 1px solid var(--border); display: grid; place-items: end center; overflow: hidden;
}
.photo-ph svg { width: 70%; fill: rgba(129, 185, 75, .22); }
.prose .photo-ph { max-width: 260px; margin: 1em 0; }
.content-img { border-radius: var(--radius); }
.content-img[src*="logo-full"] { display: block; width: min(300px, 70%); margin: 2.5em auto 0; border-radius: 0; }

/* Home services: round icons, details on hover / focus */
.svc-band { padding: 8px 0 56px; }
.svc-circles { list-style: none; margin: 0 0 1.6em; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 40px; }
.svc { position: relative; width: 150px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; cursor: default; outline: none; }
.svc-icon {
  width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 2px solid var(--sage); box-shadow: var(--shadow); transition: transform .2s, background .2s;
}
.svc-icon svg { width: 54px; height: 54px; fill: none; stroke: var(--sage-strong); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.svc-name { font: 500 1rem/1.3 var(--font-head); }
.svc:hover .svc-icon, .svc:focus-within .svc-icon { transform: translateY(-3px); background: var(--sage-soft); }
.svc:focus-visible .svc-icon { outline: 3px solid var(--sage); outline-offset: 3px; }
.svc-pop {
  position: absolute; top: calc(100% + 10px); left: 50%; z-index: 10; width: min(320px, calc(100vw - 2 * var(--gutter)));
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px 18px 16px; text-align: left; font-size: .95rem;
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.svc-pop::before { content: ""; position: absolute; top: -7px; left: calc(50% - 7px); width: 14px; height: 14px; background: var(--surface); border-left: 1px solid var(--border); border-top: 1px solid var(--border); transform: rotate(45deg); }
.svc:hover .svc-pop, .svc:focus-within .svc-pop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.svc-pop .prose { color: var(--muted); }
.svc-facts { margin: 10px 0 14px; font-size: .9rem; }
.svc-facts strong { color: var(--sage-deep); font: 600 1.1rem var(--font-head); }
@media (max-width: 599px) { /* pop-over spans the whole row so it never runs off a phone screen */
  .svc-circles { position: relative; gap: 24px 20px; }
  .svc { position: static; width: 130px; }
  .svc-icon { width: 104px; height: 104px; }
  .svc-pop, .svc:hover .svc-pop, .svc:focus-within .svc-pop { left: 0; right: 0; width: auto; transform: none; }
  .svc-pop::before { display: none; }
}

.steps { background: var(--bg-alt); padding: 48px 0 56px; }
.section-title { text-align: center; margin-bottom: 1.2em; }
.step-list { list-style: none; margin: 0 0 2em; padding: 0; display: grid; gap: 16px; }
.step-list li { background: var(--surface); border-radius: var(--radius); padding: 22px 22px 18px; box-shadow: var(--shadow); }
.step-no {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--sage-soft); color: var(--sage-deep); font: 600 1rem var(--font-head); margin-bottom: 10px;
}
.step-list p { color: var(--muted); margin: 0; }

/* Cards */
.cards { display: grid; gap: 18px; margin: 28px 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.service-card { display: flex; flex-direction: column; }
.service-card .prose { flex: 1; color: var(--muted); }
.service-card .btn { align-self: flex-start; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px 28px; margin: 18px 0 22px; }
.facts dt { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.facts dd { margin: 0; font-weight: 600; }
.facts .price { font: 600 1.3rem var(--font-head); color: var(--sage-deep); }
.note { border-left: 3px solid var(--sage); padding: 4px 0 4px 18px; max-width: 70ch; }
.note p { color: var(--muted); }

.contact-list { margin: 0; display: grid; gap: 14px; }
.contact-list dt { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.contact-list dd { margin: 2px 0 0; font-weight: 500; overflow-wrap: anywhere; }
.map-link { font-size: .92rem; font-weight: 400; }

.empty-state { text-align: center; color: var(--muted); padding: 40px 24px; }
.empty-state svg { width: 52px; height: 52px; fill: none; stroke: var(--sage); stroke-width: 2; stroke-linejoin: round; margin-bottom: 12px; }
.empty-state p { margin: 0 auto; max-width: 46ch; }

/* FAQ */
.faq { display: grid; gap: 10px; margin: 24px 0 28px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; position: relative;
  font: 500 1.06rem/1.4 var(--font-head);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font: 400 1.5rem var(--font-body); color: var(--sage-strong); transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .prose { padding: 0 20px 18px; color: var(--muted); }

/* Booking */
.demo-banner {
  background: #fbf3dc; border: 1px solid #ecdcac; color: #6b5622; border-radius: 10px;
  padding: 10px 14px; font-size: .93rem;
}
.booking-grid { display: grid; gap: 18px; margin: 22px 0 18px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-head h2 { margin: 0; font-size: 1.3rem; }
.cal-nav {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; text-decoration: none;
  font-size: 1.5rem; line-height: 1; color: var(--sage-strong); border: 1px solid var(--border); background: var(--bg);
}
.cal-nav:hover { background: var(--sage-soft); }
.cal-nav.disabled { opacity: .3; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-wd { text-align: center; font-size: .75rem; color: var(--muted); font-weight: 600; padding-bottom: 4px; }
.cal-day {
  aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; font-size: .95rem;
  text-decoration: none; color: var(--muted);
}
.cal-day.off { opacity: .45; }
.cal-day.free { background: var(--sage-soft); color: var(--sage-deep); font-weight: 600; }
.cal-day.free:hover { background: var(--sage); color: #fff; }
.cal-day.today { box-shadow: inset 0 0 0 1.5px var(--sage); }
.cal-day.selected, .cal-day.selected:hover { background: var(--sage-strong); color: #fff; }
.cal-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; color: var(--muted); margin: 14px 0 0; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: -8px; vertical-align: -1px; }
.dot.free { background: var(--sage-soft); border: 1px solid var(--sage); }
.dot.off { background: var(--bg-alt); border: 1px solid var(--border); }

.slots h2::first-letter { text-transform: uppercase; }
.slot-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.slot {
  display: block; text-align: center; padding: .65em 0; border-radius: 10px; font-weight: 600; text-decoration: none;
  border: 1.5px solid var(--sage); color: var(--sage-deep); background: var(--surface);
}
a.slot:hover { background: var(--sage-soft); }
.slot.selected { background: var(--sage-strong); border-color: var(--sage-strong); color: #fff; }
.slot.taken { border-color: var(--taken); color: var(--muted); background: var(--bg); text-decoration: line-through; opacity: .7; }

.booking-form .chosen { background: var(--sage-soft); border-radius: 10px; padding: 10px 14px; }
.form { display: grid; gap: 16px; margin-top: 8px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .93rem; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=number], .form textarea {
  font: 400 1rem var(--font-body); color: var(--text); background: #fff;
  border: 1px solid var(--border); border-radius: 10px; padding: .7em .85em; width: 100%;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--sage); border-color: var(--sage); }
.form .row { display: grid; gap: 16px; }
.form .hint { font-weight: 400; font-size: .84rem; color: var(--muted); margin: 0; }
.req { color: #a05a3c; margin-left: 2px; }
.service-choice { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.service-choice legend { font-weight: 600; font-size: .93rem; margin-bottom: 8px; padding: 0; }
.form .choice {
  display: flex; align-items: flex-start; gap: 12px; font-weight: 400; cursor: pointer;
  border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px; background: #fff;
}
.form .choice:has(input:checked) { border-color: var(--sage-strong); background: var(--sage-soft); }
.form .choice input { margin-top: .3em; accent-color: var(--sage-strong); }
/* Child fields appear only when "child" is selected — CSS only, no JS. */
.child-fields { display: none; gap: 10px; border-left: 3px solid var(--sage); padding-left: 14px; }
.form:has(#svc-child:checked) .child-fields { display: grid; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .check input { margin-top: .35em; width: 18px; height: 18px; accent-color: var(--sage-strong); flex: none; }
.form .btn { justify-self: start; }

/* Footer */
.site-footer { background: var(--bg-alt); color: var(--text); font-size: .9rem; margin-top: auto; }
.footer-grid { display: grid; gap: 22px; padding-top: 36px; padding-bottom: 24px; }
.footer-grid p { margin: 0 0 .5em; }
.footer-name { font: 500 1.1rem var(--font-head); }
.footer-sub { color: var(--muted); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--sage-deep); }
.footer-firm { color: var(--muted); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px;
  border-top: 1px solid var(--border); padding-top: 14px; padding-bottom: 22px; color: var(--muted); font-size: .82rem;
}

/* Tablet / desktop */
@media (min-width: 720px) {
  :root { --gutter: 28px; }
  .step-list { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .form .row.two { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .page { padding: 56px 0 80px; }
}
@media (min-width: 900px) {
  .hero { padding: 56px 0 64px; }
  .hero-split { grid-template-columns: 6fr 5fr; column-gap: 56px; padding: 0 var(--gutter); }
  .hero-pic { grid-area: 1 / 2 / 3 / 3; }
  .hero-info { grid-area: 1 / 1; align-self: end; text-align: left; padding: 0; background: none; }
  .hero-more { grid-area: 2 / 1; align-self: start; text-align: left; padding: 0; }
  .hero-info h1 { color: var(--text); }
  .hero-info .eyebrow { color: var(--sage-strong); }
  .hero-info .tagline { color: var(--sage-deep); margin-bottom: 1em; }
  .hero-more .lead { margin-left: 0; }
  .photo.hero-img, .photo-ph.hero-img { aspect-ratio: 4 / 5; border-radius: var(--radius); box-shadow: var(--shadow); }
  .hero-actions { flex-direction: row; gap: 24px; }
  .svc-icon { width: 140px; height: 140px; }
  .svc { width: 170px; }
  .booking-grid { grid-template-columns: 1.15fr 1fr; align-items: start; }
}

/* Cut-out portrait (transparent PNG): no frame — she stands on the page background; on desktop the cut
   bottom edge of the top fades out. A .jpg portrait keeps the rounded frame above. */
.photo.hero-img[src$=".png"] {
  border-radius: 0; box-shadow: none; aspect-ratio: auto; height: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, #000 82%, transparent);
}
@media (max-width: 899px) { /* phone: no dark overlay on a cut-out — name and tagline go under her in normal colours */
  .hero-split:has(.hero-img[src$=".png"]) .hero-info { grid-area: 2 / 1; background: none; color: inherit; padding-top: 20px; }
  .hero-split:has(.hero-img[src$=".png"]) .hero-more { grid-area: 3 / 1; padding-top: 6px; }
  .hero-split:has(.hero-img[src$=".png"]) .hero-info h1 { color: var(--text); }
  .hero-split:has(.hero-img[src$=".png"]) .hero-info .eyebrow { color: var(--sage-strong); }
  .hero-split:has(.hero-img[src$=".png"]) .hero-info .tagline { color: var(--sage-deep); }
  .hero-split:has(.hero-img[src$=".png"]) .hero-pic { padding: 16px var(--gutter) 0; }
}
@media (min-width: 900px) {
  .hero-split:has(.hero-img[src$=".png"]) .hero-pic { align-self: center; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

@media (min-width: 900px) { .cal-day { aspect-ratio: auto; height: 50px; } }

/* TEMPORARY colour picker (palette.js, BL-073) — remove once the palette is chosen */
.palette-picker { border-top: 1px dashed var(--border); padding-top: 14px; padding-bottom: 14px; }
.palette-picker h2 { font: 600 .9rem var(--font-body); margin: 0 0 4px; }
.palette-picker p { margin: 0 0 10px; color: var(--muted); font-size: .82rem; }
.palette-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 10px; }
@media (min-width: 760px) { .palette-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pc { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
.pc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.pc-swatch { width: 34px; height: 34px; border-radius: 8px; border: 1px solid rgba(0, 0, 0, .15); flex: none; }
.pc-name { font-weight: 600; font-size: .9rem; flex: 1; }
.pc-hex { width: 7.5em; font: 500 .95rem ui-monospace, Consolas, monospace; padding: 6px 8px; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: #222; }
.pc-hex.bad { border-color: #c0392b; outline: 2px solid rgba(192, 57, 43, .25); }
.pc-slider { display: grid; grid-template-columns: 6.2em minmax(0, 1fr); align-items: center; gap: 8px; font-size: .78rem; color: var(--muted); padding: 3px 0; }
.pc-slider input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; margin: 0; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .12); cursor: pointer; touch-action: pan-y; }
.pc-slider input[type=range]::-webkit-slider-runnable-track { background: transparent; height: 22px; }
.pc-slider input[type=range]::-moz-range-track { background: transparent; }
.pc-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -3px; border-radius: 50%; background: #fff; border: 2px solid #333; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.pc-slider input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid #333; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.palette-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.palette-codes { flex: 1 1 260px; min-width: 0; font: 400 .8rem var(--font-body); color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 7px 10px; }
.palette-row button { font: 600 .82rem var(--font-body); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; }
