@font-face { font-family: 'Piazzolla'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/piazzolla-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Piazzolla'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/piazzolla-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Inclusive Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/inclusive-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Inclusive Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/inclusive-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Inclusive Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/inclusive-sans-latin-600-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #f5f8fa;
  --fg-light-base-body: #141f2e;
  --fg-light-base-heading: #141f2e;
  --fg-light-base-muted: #4d5b6a;
  --fg-light-base-link: #205792;
  --fg-light-base-inverse: #324153;
  --bg-light-card: #ffffff;
  --fg-light-card-body: #141f2e;
  --fg-light-card-heading: #141f2e;
  --fg-light-card-muted: #4d5b6a;
  --fg-light-card-link: #205792;
  --fg-light-card-inverse: #324153;
  --bg-light-elevated: #e3ebf2;
  --fg-light-elevated-body: #141f2e;
  --fg-light-elevated-heading: #141f2e;
  --fg-light-elevated-muted: #4d5b6a;
  --fg-light-elevated-link: #205792;
  --fg-light-elevated-inverse: #324153;
  --brand-light-accent: #205792;
  --brand-light-accent-hover: #153e6f;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #205792;
  --border-light-default: #748598;
  --border-light-subtle: #c6d3df;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
.text-role-link:hover { color: var(--brand-light-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-light-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
html:has(:focus-visible) :is(details.site-menu, details.site-nav-group)[open]:not(:focus-within) > ul { visibility: hidden; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
:where(section[data-section][style] > .bg-surface-card) { padding: clamp(1rem, 3vw, 2rem); }
:where(section[data-section][style] > .bg-surface-card > :first-child) { margin-top: 0; }
:where(section[data-section][style] > .bg-surface-card > :last-child) { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

/* Dermatology FAQ board: cool clinic white, ink-blue accent, Fitzpatrick tone swatches, UV index scales and loupe circles. */
:root {
  --font-head: 'Piazzolla', 'Iowan Old Style', Georgia, serif;
  --font-text: 'Inclusive Sans', 'Segoe UI', 'Helvetica Neue', sans-serif;
  --accent: var(--brand-light-accent);
  --accent-deep: var(--brand-light-accent-hover);
  --on-accent: var(--brand-light-on-accent);
  --line: var(--border-light-default);
  --line-soft: var(--border-light-subtle);
  --paper: var(--bg-light-base);
  --sheet: var(--bg-light-card);
  --band: var(--bg-light-elevated);
  --ink: var(--fg-light-base-heading);
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --frame: 72rem;
  --measure: 40rem;
  --header-h: 4.75rem;
  /* Fitzpatrick skin types I to VI. */
  --tone-1: #f3d9c6;
  --tone-2: #e6bc98;
  --tone-3: #cf9a6e;
  --tone-4: #a8714a;
  --tone-5: #7a4e30;
  --tone-6: #4a2e1d;
  /* UV index bands: low, moderate, high, very high, extreme. */
  --uv-low: #4b9b3a;
  --uv-mod: #f2c81f;
  --uv-high: #ee7d1f;
  --uv-vhigh: #d8262e;
  --uv-ext: #8b4bb0;
  --uv-bar: linear-gradient(90deg,
    var(--uv-low) 0 18.18%, var(--uv-mod) 18.18% 45.45%, var(--uv-high) 45.45% 63.63%,
    var(--uv-vhigh) 63.63% 90.9%, var(--uv-ext) 90.9% 100%);
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.62;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  text-wrap: balance;
}
h1 { margin: 0; font-size: clamp(2.05rem, 4.8vw, 3.3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); font-weight: 500; margin: 2.6rem 0 0.8rem; }
h3 { font-size: 1.2rem; font-weight: 500; margin: 1.8rem 0 0.5rem; }

a { text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.swatch {
  flex: 0 0 auto;
  display: inline-block;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line);
}
.swatch-uv { background: conic-gradient(var(--uv-low) 0 25%, var(--uv-mod) 0 50%, var(--uv-high) 0 75%, var(--uv-vhigh) 0); }
.swatch-tone { background: linear-gradient(90deg, var(--tone-2) 0 50%, var(--tone-5) 50%); }
.swatch-light { background: radial-gradient(circle, var(--uv-mod) 0 35%, var(--tone-1) 36%); }
.swatch-laser { background: radial-gradient(circle, var(--sheet) 0 22%, var(--accent) 23%); }
.swatch-prp { background: linear-gradient(180deg, var(--uv-mod) 0 45%, var(--uv-vhigh) 45%); }

.tone-row { display: flex; gap: 0; border-radius: 0.3rem; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-soft); }
.tone-row > span { flex: 1 1 0; height: 1.6rem; }
.tone-row > span:nth-child(1) { background: var(--tone-1); }
.tone-row > span:nth-child(2) { background: var(--tone-2); }
.tone-row > span:nth-child(3) { background: var(--tone-3); }
.tone-row > span:nth-child(4) { background: var(--tone-4); }
.tone-row > span:nth-child(5) { background: var(--tone-5); }
.tone-row > span:nth-child(6) { background: var(--tone-6); }

/* ---------- Header: brand beside the concern toggle, UV strip underneath ---------- */

.site-header { position: sticky; top: 0; z-index: 30; }
.header-row {
  max-width: var(--frame);
  margin: 0 auto;
  padding: 0.75rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.uv-strip { height: 4px; background: var(--uv-bar); }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; min-width: 0; text-decoration: none; }
.brand .site-logo { width: 2.1rem; height: 2.1rem; flex: 0 0 auto; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; line-height: 1.1; }
.brand:hover .brand-name { text-decoration: underline; text-decoration-thickness: 1px; }

.menu-slot { flex: 0 0 auto; }
.site-menu > summary {
  position: relative;
  z-index: 42;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.5rem 1.05rem 0.5rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--sheet);
  font-weight: 600;
  white-space: nowrap;
}
.site-menu > summary:hover { border-color: var(--accent); }
.menu-icon {
  position: relative;
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.menu-icon::after {
  content: "";
  position: absolute;
  right: -0.4rem;
  bottom: -0.4rem;
  width: 0.5rem;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}
.site-menu[open] > summary { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

.site-menu > ul {
  position: fixed;
  inset: 0;
  z-index: 41;
  margin: 0;
  padding: calc(var(--header-h) + 2rem) max(var(--gutter), calc((100vw - var(--frame)) / 2 + var(--gutter))) 2.5rem;
  list-style: none;
  overflow-y: auto;
  background: var(--sheet);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  align-content: start;
  gap: 0 2.5rem;
}
.site-menu > ul > li { border-top: 1px solid var(--line-soft); }
.site-menu > ul a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 0;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
}
.site-menu > ul a:hover { text-decoration: underline; }
.site-menu > ul a::before {
  content: "";
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--line-soft);
  box-shadow: inset 0 0 0 1px var(--line);
}
.site-menu > ul > li:nth-child(1) a::before { background: conic-gradient(var(--uv-low) 0 25%, var(--uv-mod) 0 50%, var(--uv-high) 0 75%, var(--uv-vhigh) 0); }
.site-menu > ul > li:nth-child(2) a::before { background: linear-gradient(90deg, var(--tone-2) 0 50%, var(--tone-5) 50%); }
.site-menu > ul > li:nth-child(3) a::before { background: radial-gradient(circle, var(--uv-mod) 0 35%, var(--tone-1) 36%); }
.site-menu > ul > li:nth-child(4) a::before { background: radial-gradient(circle, var(--sheet) 0 22%, var(--accent) 23%); }
.site-menu > ul > li:nth-child(5) a::before { background: linear-gradient(180deg, var(--uv-mod) 0 45%, var(--uv-vhigh) 45%); }
.site-menu > ul > li:nth-child(n+6) a::before { background: transparent; box-shadow: inset 0 0 0 2px var(--accent); }

/* ---------- Page frame, breadcrumbs, prose ---------- */

.page-frame { flex: 1 0 auto; width: 100%; max-width: var(--frame); margin: 0 auto; padding: 0 var(--gutter) 4.5rem; }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.3rem 0.5rem; margin: 1.3rem 0 0; padding: 0; list-style: none; font-size: 0.93rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line); }

.prose { max-width: var(--measure); }
.prose p, .prose ul, .prose ol { margin: 0 0 1.05rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.45rem; }
.prose ul > li::marker { color: var(--accent); }
.prose strong { font-weight: 600; }
.prose blockquote { margin: 1.5rem 0; padding: 0.9rem 1.2rem; border-left: 3px solid var(--accent); background: var(--sheet); }
.prose figure { margin: 0 0 2rem; }
.prose figure img { display: block; width: 100%; border-radius: 0.5rem; }
.prose figcaption { margin-top: 0.45rem; font-size: 0.9rem; color: var(--fg-muted); }
.prose section[data-section][style] { margin: 2rem 0; border-radius: 0.5rem; }
.table-scroll { overflow-x: auto; }
.prose table { border-collapse: collapse; width: 100%; }
.prose th, .prose td { padding: 0.5rem 0.7rem; border-bottom: 1px solid var(--line-soft); text-align: left; }

/* ---------- Home: hero question beside a loupe crop, then the concern list ---------- */

.home {
  display: grid;
  grid-template-columns: minmax(0, 40rem) minmax(0, 1fr);
  column-gap: clamp(2rem, 6vw, 5rem);
  padding-top: clamp(2rem, 6vw, 4.25rem);
}
.home-ask { grid-column: 1; }
.home-title h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); max-width: 15ch; }
.home-lines { margin-top: 1.4rem; max-width: 34rem; }
.home-lines .display-line { margin: 0; font-size: 1.2rem; line-height: 1.5; }
.home-lines .display-line + .display-line { margin-top: 0.7rem; font-size: 1.04rem; color: var(--fg-muted); }

.home-body { display: contents; }
.home-body > * { grid-column: 1; max-width: var(--measure); }
.home-body > .photo-hero {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: center;
  position: relative;
  width: min(100%, 24rem);
  margin: 0 1.5rem 0 0;
}
.home-body > .photo-hero img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 0.7rem solid var(--sheet);
  box-shadow: 0 0 0 3px var(--ink), 0 0 0 0.35rem var(--sheet), 0 0 0 calc(0.35rem + 1px) var(--line-soft);
}
.home-body > .photo-hero::after {
  content: "";
  position: absolute;
  left: 85%;
  top: 85%;
  width: 26%;
  height: 1.3rem;
  border-radius: 0.65rem;
  background: var(--ink);
  transform: rotate(45deg);
  transform-origin: left center;
}

.concern-list {
  grid-column: 1;
  margin: 2.25rem 0 1.5rem;
  padding: 0;
  list-style: none;
  max-width: 34rem;
  border-top: 1px solid var(--line);
}
.concern-list li { border-bottom: 1px solid var(--line-soft); }
.concern-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 0;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 500;
  text-decoration: none;
}
.concern-row:hover .concern-name { text-decoration: underline; }
.concern-row .swatch { width: 1.4rem; height: 1.4rem; }

/* ---------- Topic cluster: UV scale lead, condition notes, question stack ---------- */

.concern { max-width: 48rem; padding-top: clamp(1.75rem, 5vw, 3rem); }
.concern-head { padding-bottom: 1.4rem; }
.uv-scale { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 3px; margin-top: 1.5rem; max-width: 30rem; }
.uv-scale > span { height: 0.85rem; border-radius: 2px; }
.uv-scale > span:nth-child(-n+2) { background: var(--uv-low); }
.uv-scale > span:nth-child(n+3):nth-child(-n+5) { background: var(--uv-mod); }
.uv-scale > span:nth-child(n+6):nth-child(-n+7) { background: var(--uv-high); }
.uv-scale > span:nth-child(n+8):nth-child(-n+10) { background: var(--uv-vhigh); }
.uv-scale > span:nth-child(11) { background: var(--uv-ext); }
.concern-body > p:first-child { font-size: 1.16rem; line-height: 1.55; }

.question-stack { margin-top: 2.5rem; border: 1px solid var(--line); border-radius: 0.6rem; overflow: hidden; }
.question-stack ul { margin: 0; padding: 0; list-style: none; }
.question-stack li + li { border-top: 1px solid var(--line-soft); }
.question-stack a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.05rem clamp(1rem, 3vw, 1.5rem);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}
.question-stack a::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  font-family: var(--font-text);
  font-size: 1.15rem;
  line-height: 1;
}
.question-stack a:hover { background: var(--paper); text-decoration: underline; }
.question-stack a:hover::after { background: var(--accent); color: var(--on-accent); }
.question-stack:has(ul:empty) { display: none; }

/* ---------- Question detail: answer beside the tone card ---------- */

.answer {
  display: grid;
  grid-template-columns: minmax(0, var(--measure)) minmax(0, 16rem);
  grid-template-areas: "title title" "body side";
  column-gap: clamp(2rem, 6vw, 5rem);
  padding-top: clamp(1.75rem, 5vw, 3rem);
}
.answer-title { grid-area: title; max-width: 46rem; }
.answer-title h1 { font-size: clamp(1.95rem, 4.2vw, 3rem); }
.answer-body { grid-area: body; margin-top: 1.75rem; }
.answer-body > p:first-of-type {
  position: relative;
  padding: 1.1rem 1.2rem 1.1rem 4.6rem;
  border-radius: 0.6rem;
  background: var(--sheet);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  font-size: 1.14rem;
  line-height: 1.55;
}
.answer-body > p:first-of-type::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 1.15rem;
  width: 2.3rem;
  height: 2.3rem;
  border: 3px solid var(--accent);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 45%, var(--tone-3) 0 18%, transparent 19%), var(--tone-1);
}
.answer-body > p:first-of-type::after {
  content: "";
  position: absolute;
  left: 3.05rem;
  top: 3.25rem;
  width: 0.95rem;
  height: 4px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
  transform-origin: left center;
}
.answer-side { grid-area: side; margin-top: 1.75rem; }
.tone-card { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: 1.2rem; border: 1px solid var(--line-soft); border-radius: 0.6rem; }
.tone-loupe { display: block; width: 3.5rem; height: 3.5rem; margin-bottom: 0.8rem; color: var(--accent); }
.tone-label { margin: 0 0 0.6rem; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.tone-note { margin: 0.75rem 0 0; font-size: 0.95rem; line-height: 1.45; }

/* ---------- Geo cluster: stepped tinted bands ---------- */

.area { display: grid; gap: 0; max-width: 50rem; padding-top: clamp(1.75rem, 5vw, 3rem); }
.area-step { border-radius: 0.6rem; }
.area-step-1 { padding: clamp(1.4rem, 4vw, 2.4rem) clamp(1.1rem, 4vw, 2.4rem); }
.area-step-2 {
  margin: -0.75rem 0 0 clamp(1rem, 6vw, 4.5rem);
  padding: clamp(1.25rem, 4vw, 2.25rem) clamp(1.1rem, 4vw, 2.4rem) 0.75rem;
  border: 1px solid var(--line-soft);
}
.area-step-3 { margin-left: clamp(2rem, 12vw, 9rem); }
.area-step-3:has(ul:empty) { display: none; }
.area-step-3 ul { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.area-step-3 a { display: block; padding: 0.6rem 0; font-family: var(--font-head); font-size: 1.15rem; }
.area-title h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
.area-title::after { content: ""; display: block; max-width: 18rem; height: 0.55rem; margin-top: 1.1rem; border-radius: 0.3rem; background: linear-gradient(90deg, var(--tone-1), var(--tone-2), var(--tone-3), var(--tone-4), var(--tone-5), var(--tone-6)); }
.area-body > h2 {
  margin: 2rem 0 1rem;
  padding: 0.7rem 0.9rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 0.35rem 0.35rem 0;
  background: var(--band);
}
.area-body > h2:first-child { margin-top: 0; }

/* ---------- About: clinical record, title and chart beside the notes ---------- */

.record {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: clamp(1.75rem, 6vw, 5rem);
  align-items: start;
  padding-top: clamp(1.75rem, 5vw, 3rem);
}
.record-side { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.record-title h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
.record-chart { display: grid; gap: 0.7rem; margin-top: 1.75rem; max-width: 16rem; padding: 1rem; border: 1px solid var(--line-soft); border-radius: 0.5rem; background: var(--sheet); }
.chart-line { display: block; height: 0.45rem; border-radius: 0.25rem; background: var(--line-soft); }
.chart-line:nth-child(1) { width: 70%; background: var(--accent); }
.chart-line:nth-child(2) { width: 92%; }
.chart-line:nth-child(3) { width: 58%; }
.chart-line:nth-child(4) { width: 80%; }
.record-chart .tone-row > span { height: 1rem; }
.record-body > p:first-child { font-size: 1.16rem; line-height: 1.55; }
.record-body > h2 {
  display: grid;
  grid-template-columns: 0.6rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.record-body > h2::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--accent); }

/* ---------- Contact: one column, concern chips, the question form ---------- */

.ask { max-width: 40rem; padding-top: clamp(1.75rem, 5vw, 3rem); }
.ask-body { margin-top: 1.3rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.4rem 1rem 0.4rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--sheet);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
}
.chip:hover { border-color: var(--accent); text-decoration: underline; }
.ask-form {
  display: grid;
  gap: 1.1rem;
  margin: 2rem 0 0;
  padding: clamp(1.2rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
}
.ask-field { display: grid; gap: 0.35rem; }
.ask-field label { font-weight: 600; }
.ask-field input, .ask-field textarea {
  width: 100%;
  min-height: 2.8rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: var(--paper);
  color: var(--fg-body);
  font: inherit;
}
.ask-field textarea { resize: vertical; }
.ask-button {
  justify-self: start;
  min-height: 2.9rem;
  margin-top: 0.4rem;
  padding: 0.6rem 1.6rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.ask-button:hover { background: var(--accent-deep); }
.ask-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Thank you: loupe icon over the next topics ---------- */

.received { max-width: 38rem; padding-top: clamp(2rem, 6vw, 4rem); }
.received-loupe { display: block; width: 4.5rem; height: 4.5rem; margin-bottom: 1.2rem; color: var(--accent); }
.received-title h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); }
.received-body { margin-top: 1rem; }

/* ---------- Footer ---------- */

.site-footer { margin-top: 2rem; border-top: 4px solid transparent; border-image: var(--uv-bar) 1; }
.footer-inner {
  max-width: var(--frame);
  margin: 0 auto;
  padding: 2.25rem var(--gutter) 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem 2.5rem;
}
.footer-name { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; }
.footer-name a { text-decoration: none; }
.footer-name a:hover { text-decoration: underline; }
.footer-line { margin: 0.35rem 0 0; }
.footer-areas { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; margin: 0; padding: 0; list-style: none; align-self: center; }
.footer-areas a { display: inline-block; padding: 0.3rem 0; }
.footer-client { grid-column: 1 / -1; margin: 0; padding-top: 1rem; border-top: 1px solid var(--line-soft); font-size: 0.95rem; }

/* ---------- Narrower screens ---------- */

@media (max-width: 63.9375rem) {
  .answer { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "body" "side"; }
  .tone-card { position: static; max-width: 22rem; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 47.9375rem) {
  :root { --header-h: 4.25rem; }
  .header-row { padding: 0.6rem var(--gutter); }
  .brand-name { font-size: 1.08rem; }
  .brand .site-logo { width: 1.8rem; height: 1.8rem; }
  .home { grid-template-columns: minmax(0, 1fr); }
  .home-body > .photo-hero { grid-column: 1; grid-row: auto; width: min(78%, 17rem); justify-self: start; margin: 0.5rem 0 2.5rem 0.5rem; }
  .record { grid-template-columns: minmax(0, 1fr); }
  .record-side { position: static; }
  .area-step-2 { margin-left: 0.75rem; }
  .area-step-3 { margin-left: 1.5rem; }
}

@media (max-width: 29.9375rem) {
  .site-menu > summary { padding: 0.5rem 0.75rem; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}
