/* Hallmark · checked: brand editorial surfaces · redesign: full · copy: verbatim · scope: app · v2.0.0 */
:root { --educationclarity-palette-1: #c93632; --educationclarity-palette-2: rgba(201, 54, 50, .16); --educationclarity-palette-3: rgba(201, 54, 50, .24); --educationclarity-palette-4: #fdfdfc; --educationclarity-palette-5: #fff2ee; --educationclarity-palette-6: rgba(31, 18, 16, .07); --educationclarity-palette-7: #60646d; --educationclarity-palette-8: rgba(201, 54, 50, .42); --educationclarity-palette-9: rgba(31, 18, 16, .09); --space-0: 0px; --space-2: 2px; --space-4: 4px; --space-8: 8px; --space-12: 12px; --space-16: 16px; --space-20: 20px; --space-24: 24px; --space-32: 32px; --space-40: 40px; --space-48: 48px; --space-64: 64px; --space-80: 80px; --space-96: 96px; --space-120: 120px; --space-144: 144px; --space-176: 176px;   }
/* Shared usability layer for the public Your Hair Hut Education page. */
html { scroll-padding-top: 84px; }
body { overflow-x: hidden; }

:where(h1, h2, h3) { text-wrap: balance; }
:where(p, li) { text-wrap: pretty; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--educationclarity-palette-1);
  outline-offset: 3px;
}

:where(button, .topbar a, .actions a, .education-contact-trigger) {
  min-height: 48px;
  font: inherit;
  text-align: center;
}

:where(.grid, .education-faq) a[href^="mailto:"],
:where(.grid, .education-faq) a[href^="tel:"],
:where(.grid, .education-faq) a[href^="sms:"] {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  vertical-align: middle;
}

.topbar,
.brand,
.hero,
.hero > *,
.grid > *,
.notice > * { min-width: 0; }

.education-site-teaser img {
  width: 100%;
  max-width: 320px;
  height: auto;
}

.topbar a,
.actions a,
.education-contact-trigger { transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease; }

/* Honest engagement: keep the full program truth visible while strengthening choices and answers. */
[data-engagement-flow="honest"] .engagement-step { scroll-margin-top: 88px; }
[data-engagement-flow="honest"] [data-engagement-stage="cue"] h1 { max-width: 17ch; }
[data-engagement-flow="honest"] .engagement-surface {
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
[data-engagement-flow="honest"] .engagement-surface:focus-within {
  border-color: var(--educationclarity-palette-1);
  box-shadow: 0 0 0 3px var(--educationclarity-palette-2);
}
[data-engagement-flow="honest"] .engagement-surface :where(a, button, summary) { min-height: 44px; }
.engagement-guide {
  margin: var(--space-20) 0 var(--space-32);
  padding: var(--space-16) var(--space-20);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 280px) auto;
  align-items: center;
  gap: var(--space-16);
  border: 1px solid var(--educationclarity-palette-3);
  border-radius: 20px;
  background: linear-gradient(135deg, var(--educationclarity-palette-4), var(--educationclarity-palette-5));
  box-shadow: 0 12px 30px var(--educationclarity-palette-6);
}
.engagement-guide-copy { display: grid; gap: var(--space-2); min-width: 0; }
.engagement-guide-copy strong { font-size: 18px; }
.engagement-guide-copy > span:last-of-type { overflow: hidden; color: var(--educationclarity-palette-7); text-overflow: ellipsis; white-space: nowrap; }
.engagement-guide-eyebrow { color: var(--educationclarity-palette-1); font-size: 12px; font-weight: 800; letter-spacing: 0; text-transform: none; }
.engagement-guide progress { width: 100%; height: 9px; accent-color: var(--educationclarity-palette-1); }
.engagement-guide button { min-height: 44px; padding: 0 var(--space-20); border: 1px solid var(--educationclarity-palette-1); border-radius: 999px; background: var(--educationclarity-palette-1); color: var(--educationclarity-palette-4); font: inherit; font-weight: 800; cursor: pointer; }
.engagement-guide [data-engagement-feedback] { position: absolute; width: 1px; height: 1px; margin: calc(var(--space-2) * -1); overflow: hidden; clip: rect(0 0 0 0); }

.hero-card { justify-content: center; }

@media (hover: hover) {
  .topbar a:hover,
  .actions a:hover,
  .education-contact-trigger:hover { transform: translateY(-1px); }
  [data-engagement-flow="honest"] .engagement-surface:hover { border-color: var(--educationclarity-palette-8); box-shadow: 0 16px 36px var(--educationclarity-palette-9); }
  [data-engagement-flow="honest"] :where(button, a):active { transform: scale(.98); }
}

@media (max-width: 800px) {
  .topbar { gap: var(--space-12); padding-block: var(--space-16); }
  .engagement-guide { grid-template-columns: minmax(0, 1fr); gap: var(--space-12); }
  .engagement-guide-copy > span:last-of-type { white-space: normal; }
  .engagement-guide button { width: 100%; }
  .brand { width: 100%; align-items: flex-start; flex-direction: column; gap: var(--space-8); }
  .brand img { width: min(420px, 100%); }
  .hero { gap: var(--space-20); padding-block: var(--space-40); }
  .hero-card { min-height: 0; padding: var(--space-24); border-radius: 24px; }
  .principles { padding-bottom: var(--space-64); }
  .grid article { padding: var(--space-24); }
  .notice { margin-bottom: var(--space-64); }
}

@media (max-width: 560px) {
  .page { width: min(100% - 24px, 1180px); }
  h1 { font-size: clamp(42px, 14vw, 60px); line-height: .96; letter-spacing: -.045em; }
  .lead { margin-top: var(--space-20); font-size: 18px; }
  .actions { display: grid; }
  .actions > *,
  .notice-actions > * { width: 100%; justify-content: center; }
  .hero-card strong { font-size: 26px; }
  .notice { padding: var(--space-24) var(--space-20); border-radius: 20px; }
  .notice h2 { font-size: 29px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  [data-engagement-flow="honest"] :where(button, a):active { transform: none; }
}

/* Spacing refinement 2026-10-29: compact education sections, unchanged content. */
.hero { padding-block: clamp(var(--space-24), 4vw, var(--space-48)); gap: var(--space-24); }
.hero h1 { font-size: clamp(42px, 6vw, 76px); }
.hero-card { min-height: 0; align-self: center; padding: clamp(var(--space-24), 3vw, var(--space-32)); }
.principles { padding-bottom: var(--space-32); }
.notice { margin-bottom: var(--space-24); }
.education-service-areas { margin-bottom: var(--space-24); padding: clamp(var(--space-20), 2.4vw, var(--space-24)); gap: var(--space-24); }
footer { padding-block: var(--space-24); }
@media (max-width: 560px) {
  .hero { padding-block: var(--space-24); }
  .hero h1 { font-size: clamp(38px, 11vw, 54px); }
  .principles { padding-bottom: var(--space-24); }
  .notice, .education-service-areas { margin-bottom: var(--space-24); }
}

