/* GK Speech Therapy — website styles.
   Colours, type and corners follow claude/brand-and-theme.md ("Blush pink"). */

@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-latin-wght.woff2") format("woff2-variations"),
       url("fonts/outfit-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand-berry: #7A2E4D;
  --brand-berry-dark: #5E2139;
  --brand-plum: #9C4A6C;
  --brand-blush: #F7C6D0;
  --brand-blush-soft: #FBE3E8;
  --brand-cream: #FFF5F7;
  --brand-rose: #D9607F;
  --brand-rose-light: #FFB3C4;

  --ink: #2E1A23;
  --label: #5B4450;
  --muted: #7D5F6B;
  --line: #F1DDE3;
  --line-soft: #F7EBEE;
  --card: #FFFFFF;
  --row: #FDF8F9;
  --green: #2F7D4F;

  --shadow: 0 1px 2px rgba(122, 46, 77, .05), 0 4px 16px rgba(122, 46, 77, .06);
  --radius-card: 14px;
  --radius-btn: 9px;
  --wrap: 1200px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--brand-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--brand-berry); }
a:hover { color: var(--brand-berry-dark); }
:focus-visible { outline: 2px solid var(--brand-berry); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
@media (max-width: 640px) { .section { padding: 64px 0; } }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--brand-berry); color: #fff; padding: 10px 16px; border-radius: var(--radius-btn);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Placeholders still to fill in (details.json) ---------- */
.ph {
  background: var(--brand-blush-soft); color: var(--brand-berry);
  border-radius: 5px; padding: 1px 6px; font-weight: 500;
}
.on-berry .ph { background: var(--brand-berry-dark); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius-btn);
  font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 18px; }
.btn-primary { background: var(--brand-berry); color: #fff; }
.btn-primary:hover { background: var(--brand-berry-dark); color: #fff; }
.btn-secondary { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { background: var(--row); color: var(--brand-berry); }
.btn-white { background: #fff; color: var(--brand-berry); }
.btn-white:hover { background: var(--brand-blush-soft); color: var(--brand-berry-dark); }
.btn-outline-light { background: transparent; color: #fff; border-color: var(--brand-rose-light); }
.btn-outline-light:hover { background: var(--brand-berry-dark); color: #fff; }
.on-berry :focus-visible { outline-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 48px; height: auto; }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 21px; font-weight: 600; letter-spacing: -0.035em; color: var(--brand-berry); }
.brand-sub { font-size: 10px; font-weight: 500; letter-spacing: 0.46em; color: var(--brand-plum); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  color: var(--label); font-weight: 500; font-size: 15px; text-decoration: none;
  padding: 10px 14px; border-radius: var(--radius-btn);
}
.nav a:hover { color: var(--brand-berry); background: var(--row); }
.header-actions { display: flex; align-items: center; gap: 8px; }

.menu { position: relative; display: none; }
.menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: var(--radius-btn); border: 1px solid var(--line); background: #fff; color: var(--brand-berry);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 22px; height: 22px; }
.menu .icon-close { display: none; }
.menu[open] .icon-open { display: none; }
.menu[open] .icon-close { display: block; }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(280px, calc(100vw - 32px));
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow);
  padding: 8px; display: flex; flex-direction: column;
}
.menu-panel a { padding: 13px 14px; border-radius: var(--radius-btn); color: var(--label); font-weight: 500; text-decoration: none; }
.menu-panel a:hover { background: var(--brand-blush-soft); color: var(--brand-berry); }
.menu-panel .btn { margin-top: 6px; color: #fff; }

@media (max-width: 920px) {
  .nav { display: none; }
  .menu { display: block; }
}
@media (max-width: 480px) {
  .header-cta { display: none; }
  .brand img { width: 42px; }
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 96px; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.chip {
  display: inline-block; background: var(--brand-blush); color: var(--brand-berry);
  font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; line-height: 1.4;
}
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); line-height: 1.04; letter-spacing: -0.03em; }
.hero h1 .accent { color: var(--brand-berry); box-shadow: inset 0 -6px 0 var(--brand-rose); }
.lead { font-size: 19px; color: var(--label); max-width: 520px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { font-size: 14px; color: var(--muted); }

.bubble {
  flex: 1 1 420px; min-width: 0; position: relative;
  background: var(--brand-blush); border-radius: 170px 170px 170px 28px;
  padding: 72px 40px 52px; display: flex; flex-direction: column; gap: 16px;
}
.bubble-lines { position: absolute; top: -30px; right: -14px; width: 72px; height: 72px; }
@media (max-width: 560px) {
  .hero { padding: 48px 0 72px; }
  .hero .wrap { gap: 48px; }
  .bubble { border-radius: 110px 110px 110px 22px; padding: 56px 20px 32px; }
  .bubble-lines { top: -24px; right: -4px; width: 56px; height: 56px; }
}

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow);
}
.report { padding: 22px; display: flex; flex-direction: column; gap: 14px; border-color: transparent; }
.report-head { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 999px; background: var(--brand-blush); color: var(--brand-berry);
  font-weight: 600; display: flex; align-items: center; justify-content: center;
}
.report-title { display: flex; flex-direction: column; line-height: 1.25; flex: 1 1 auto; min-width: 0; }
.report-title strong { font-weight: 600; font-size: 16px; }
.report-title span { font-size: 13px; color: var(--muted); }
.tag { background: var(--brand-blush-soft); color: var(--brand-berry); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.goal { display: flex; flex-direction: column; gap: 6px; }
.goal-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.goal-row span:first-child { color: var(--label); }
.goal-row span:last-child { color: var(--brand-berry); font-weight: 600; }
.bar { height: 8px; background: var(--brand-blush-soft); border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--brand-berry); border-radius: 999px; }

.practice { padding: 16px 18px; display: flex; align-items: center; gap: 14px; margin-left: 12%; border-color: transparent; }
@media (max-width: 560px) { .practice { margin-left: 0; } }
.practice div { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.practice strong { font-weight: 600; font-size: 15px; }
.practice span { font-size: 14px; color: var(--label); }

.icon-tile {
  width: 52px; height: 52px; flex: 0 0 52px; border-radius: 13px;
  background: var(--brand-blush-soft); color: var(--brand-berry);
  display: flex; align-items: center; justify-content: center;
}
.icon-tile svg { width: 26px; height: 26px; }
.icon-tile.sm { width: 42px; height: 42px; flex-basis: 42px; border-radius: 11px; }
.icon-tile.sm svg { width: 22px; height: 22px; }

/* ---------- Trust strip ---------- */
.trust { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust .wrap { padding-top: 32px; padding-bottom: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; line-height: 1.4; }
.trust-item svg { width: 26px; height: 26px; flex: 0 0 26px; margin-top: 2px; color: var(--brand-berry); }
.trust-item strong { display: block; font-weight: 600; }
.trust-item span { font-size: 15px; color: var(--muted); }

/* ---------- Section headings ---------- */
.section-head { max-width: 680px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-berry); }
.section-title { font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.12; }
.section-lead { color: var(--label); font-size: 18px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.feature { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.feature h3 { font-size: 1.2rem; }
.feature p { color: var(--label); font-size: 16px; }

/* ---------- Play band (berry) ---------- */
.play { background: var(--brand-berry); color: #fff; }
.play .eyebrow { color: var(--brand-rose-light); }
.play .section-title { color: #fff; }
.play .section-lead { color: var(--brand-blush-soft); }
.play .grid { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.activity {
  background: var(--brand-berry-dark); border: 1px solid rgba(255, 179, 196, .28); border-radius: var(--radius-card);
  padding: 30px; display: flex; flex-direction: column; gap: 14px;
}
.activity .icon-tile { background: rgba(255, 179, 196, .14); color: var(--brand-rose-light); }
.activity h3 { font-size: 1.3rem; color: #fff; }
.activity p { font-size: 16px; color: var(--brand-blush-soft); }
.activity .chip { align-self: flex-start; font-size: 13px; padding: 4px 12px; }
.play-note { margin-top: 36px; font-size: 15px; color: var(--brand-blush-soft); display: flex; align-items: center; gap: 10px; }
.play-note svg { width: 20px; height: 20px; flex: 0 0 20px; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { padding: 28px; display: flex; flex-direction: column; gap: 10px; box-shadow: none; }
.step-num { font-size: 1.9rem; font-weight: 600; color: var(--brand-berry); line-height: 1; }
.step h3 { font-size: 1.15rem; margin-top: 6px; }
.step p { color: var(--label); font-size: 16px; }

/* ---------- Fees ---------- */
.fees { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.fees-copy { flex: 1 1 440px; display: flex; flex-direction: column; gap: 20px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--label); }
.checks svg { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 3px; color: var(--brand-berry); }
.prices { background: var(--brand-blush-soft); border-radius: var(--radius-card); padding: 20px 22px; display: flex; flex-wrap: wrap; gap: 14px 32px; }
.price { display: flex; flex-direction: column; }
.price span { font-size: 13px; color: var(--label); font-weight: 500; }
.price strong { font-size: 1.35rem; font-weight: 600; color: var(--brand-berry); line-height: 1.3; }
.price strong.small { font-size: 1.05rem; margin-top: 4px; }
.prices .ph { background: #fff; }

.invoice-wrap { flex: 1 1 400px; background: var(--brand-cream); border-radius: 16px; padding: 32px; }
@media (max-width: 560px) { .invoice-wrap { padding: 16px; } }
.invoice { padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.invoice-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.invoice-head > div { display: flex; align-items: center; gap: 10px; }
.invoice-head img { width: 34px; height: auto; }
.invoice-head p { display: flex; flex-direction: column; line-height: 1.2; }
.invoice-head p span { font-size: 13px; color: var(--muted); }
.paid { background: #E6F2EA; color: var(--green); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.invoice-lines { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; font-size: 15px; border-top: 1px solid var(--line-soft); padding-top: 16px; }
.invoice-lines .th { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.invoice-lines .r { text-align: right; }
.invoice-lines .soft { color: var(--label); }
.invoice-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line-soft); padding-top: 14px; }
.invoice-total strong:last-child { font-size: 1.5rem; color: var(--brand-berry); }

/* ---------- About ---------- */
.about-photo {
  flex: 1 1 340px; max-width: 460px; aspect-ratio: 1; position: relative;
  border-radius: 170px 170px 170px 28px; background: var(--brand-blush);
  display: grid; place-items: center; padding: 8%;
}
.about-photo img {
  width: 100%; max-width: 360px; height: auto; border-radius: 50%;
  border: 8px solid var(--brand-cream); box-shadow: var(--shadow);
}
.about-photo .bubble-lines { top: -26px; right: -10px; }
.about-photo.empty {
  aspect-ratio: 4 / 5; background: var(--brand-blush-soft); border: 2px dashed var(--brand-blush); color: var(--brand-berry);
  display: flex; flex-direction: column; gap: 10px; font-weight: 600;
}
.about-photo.empty svg { width: 40px; height: 40px; }
@media (max-width: 560px) { .about-photo { border-radius: 120px 120px 120px 22px; } }
.about-copy { flex: 1 1 440px; display: flex; flex-direction: column; gap: 18px; }
.about-copy .bio { font-size: 18px; color: var(--label); white-space: pre-line; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Contact ---------- */
.contact-card {
  background: var(--brand-berry); color: #fff; border-radius: 28px 28px 28px 8px;
  padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 48px; align-items: center;
}
.contact-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-copy h2 { color: #fff; font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.12; }
.contact-copy p { font-size: 18px; color: var(--brand-blush-soft); max-width: 480px; }
.contact-list { flex: 1 1 300px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .icon-tile { background: var(--brand-berry-dark); color: var(--brand-rose-light); width: 44px; height: 44px; flex-basis: 44px; border-radius: 12px; }
.contact-list .icon-tile svg { width: 22px; height: 22px; }
.contact-list div { line-height: 1.35; min-width: 0; overflow-wrap: anywhere; }
.contact-list small { display: block; font-size: 13px; color: var(--brand-rose-light); font-weight: 500; }
.contact-list a, .contact-list strong { color: #fff; font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.site-footer .brand img { width: 40px; }
.site-footer .brand-name { font-size: 18px; }
.site-footer .brand-sub { font-size: 9px; margin-top: 4px; }
.footer-meta { font-size: 14px; color: var(--muted); }

/* ---------- Simple text pages (privacy, 404) ---------- */
.page { padding: 72px 0 96px; }
.prose { max-width: 760px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow); padding: clamp(28px, 5vw, 56px); }
.prose h1 { font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.1; margin-bottom: 8px; }
.prose h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--label); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 1.2em; margin: 10px 0 0; }
.prose li + li { margin-top: 6px; }
.prose .updated { color: var(--muted); font-size: 15px; }

.not-found { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 120px 0; }
.not-found img { width: 120px; }
.not-found h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.not-found p { color: var(--label); }
