/* Directory scuole di recitazione — estensione del design system Primo Atto */

.schools-main {
  padding: 28px 0 96px;
}

.schools-shell {
  width: min(100% - 40px, var(--page));
  margin: 0 auto;
}

.schools-main .breadcrumb {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 12px;
}

.schools-main .breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.schools-main .breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.schools-main .breadcrumb span {
  margin: 0 6px;
  color: var(--muted-2);
}

.schools-main .breadcrumb span[aria-current="page"] {
  margin-left: 0;
}

.schools-main h1,
.schools-main h2,
.schools-main h3,
.schools-main .hero-number {
  font-family: var(--font-serif);
  letter-spacing: -.035em;
}

.schools-main h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(42px, 6.2vw, 82px);
  line-height: .98;
  font-weight: 600;
}

.schools-main h2 {
  margin: 0 0 10px;
  font-size: clamp(29px, 3.6vw, 46px);
  line-height: 1.06;
  font-weight: 600;
}

.schools-main h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.15;
  font-weight: 600;
}

.schools-main p {
  color: var(--body);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent) !important;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.schools-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, .65fr);
  gap: 54px;
  align-items: end;
  padding: 54px 0 74px;
  border-bottom: 1px solid var(--line);
}

.schools-hero > *,
.school-hero > *,
.school-profile-grid > *,
.directory-layout > *,
.schools-hero-copy,
.schools-hero-panel,
.school-hero-main,
.school-hero-aside {
  min-width: 0;
}

.schools-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -30px;
  right: -6vw;
  width: 45vw;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(158, 47, 37, .1), transparent);
  pointer-events: none;
}

.schools-deck {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
}

.schools-hero-actions,
.place-actions,
.school-hero-actions,
.course-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease);
}

.btn-primary:hover,
.btn-secondary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
}

.btn-secondary:hover {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.btn-small {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 13px;
}

.schools-text-link {
  color: var(--accent) !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.schools-hero-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background:
    linear-gradient(150deg, rgba(255, 252, 246, .96), rgba(241, 236, 225, .92)),
    var(--surface);
  box-shadow: var(--shadow-md);
}

.schools-hero-panel .hero-number {
  margin: 4px 0 -8px;
  font-size: 76px;
  line-height: 1;
  color: var(--ink);
}

.schools-hero-panel > p {
  margin: 8px 0;
}

.schools-hero-panel dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.schools-hero-panel dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.schools-hero-panel dd {
  margin: 4px 0 0;
  font-family: var(--font-serif);
  font-size: 26px;
}

.hero-panel-note,
.school-disclaimer {
  color: var(--muted) !important;
  font-size: 12px;
  line-height: 1.55;
}

.schools-wizard-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 42px 0;
  padding: 34px 38px;
  border: 1px solid #d9c3b7;
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 88% 15%, rgba(158, 47, 37, .13), transparent 34%),
    var(--surface-2);
}

.schools-wizard-callout h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.schools-wizard-callout p {
  max-width: 760px;
  margin: 0;
}

.directory-section {
  margin-top: 76px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-heading p {
  max-width: 760px;
  margin: 0;
}

.directory-layout {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.school-filters {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  max-height: calc(100vh - var(--header-h) - 36px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.filter-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.filter-heading h2 {
  margin: 0;
  font-size: 28px;
}

.filter-reset {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-underline-offset: 3px;
}

.filter-grid,
.wizard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.field-wide {
  margin-bottom: 14px;
}

.field input,
.field select {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.field input::placeholder {
  color: var(--muted-2);
}

.field-large input {
  min-height: 58px;
  font-size: 22px;
}

.filter-actions {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.filter-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.school-results {
  min-width: 0;
}

.school-grid,
.match-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.school-card,
.match-card,
.course-card,
.person-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.school-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 22px;
  transition: border-color .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease);
}

.school-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.school-card-head,
.match-card-head {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.school-card-head h3 {
  font-size: 24px;
}

.school-card-head h3 a,
.match-card-head h3 a,
.school-link {
  text-decoration: none;
}

.school-monogram {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border: 1px solid #d8c7b9;
  border-radius: 13px;
  background: linear-gradient(145deg, #fff9f0, #eadfd1);
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.03em;
}

.school-monogram--large {
  width: 78px;
  height: 78px;
  margin-bottom: 22px;
  border-radius: 19px;
  font-size: 28px;
}

.school-logo {
  display: block;
  object-fit: contain;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #ded4c7, #bcae9e);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}

.school-logo--card {
  width: 46px;
  height: 46px;
  flex: none;
  padding: 5px;
  border-radius: 12px;
}

.school-logo--large {
  width: 92px;
  height: 92px;
  margin-bottom: 22px;
  padding: 9px;
  border-radius: 20px;
}

.school-source-line {
  margin: 8px 0 0 !important;
  color: var(--muted) !important;
  font-size: 11px;
}

.school-source-note {
  color: var(--accent) !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.official-quote {
  margin: 18px 0 0;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--paper);
}

.official-quote p {
  margin: 0;
  color: var(--body);
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.65;
}

.official-quote footer {
  margin-top: 12px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.school-place {
  margin: 2px 0 5px !important;
  color: var(--muted) !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.school-card-copy {
  display: -webkit-box;
  margin: 16px 0;
  overflow: hidden;
  color: var(--body);
  font-size: 14px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.school-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 5px 0 4px;
}

.school-tag {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--body);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .015em;
}

.school-tag--strong {
  border-color: #dbc8bd;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.school-card-facts,
.course-facts {
  display: grid;
  gap: 0;
  margin: 17px 0 0;
  border-top: 1px solid var(--line);
}

.school-card-facts div,
.course-facts div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.school-card-facts dt,
.course-facts dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.school-card-facts dd,
.course-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  text-align: right;
}

.course-facts dd small,
.course-facts dd {
  line-height: 1.45;
}

.course-facts dd small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.school-card-actions,
.match-card-actions,
.course-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}

.school-link {
  color: var(--accent) !important;
  font-size: 13px;
  font-weight: 750;
}

.school-source {
  color: var(--muted) !important;
  font-size: 11px;
  font-weight: 600;
}

.place-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.place-links a {
  display: flex;
  min-height: 92px;
  flex-direction: column;
  justify-content: space-between;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  text-decoration: none;
  transition: border-color .15s var(--ease), transform .15s var(--ease);
}

.place-links a:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.place-links strong {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
}

.place-links span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.directory-report-link {
  margin-top: 34px;
  color: var(--muted) !important;
  font-size: 13px;
}

.directory-report-link a {
  color: var(--accent);
  font-weight: 700;
}

.place-hero {
  max-width: 900px;
  padding: 26px 0 42px;
}

.place-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: 18px;
}

.related-places {
  margin: 50px 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface-2);
}

.related-places h2 {
  font-size: 30px;
}

.school-profile .breadcrumb {
  margin-bottom: 18px;
}

.school-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(270px, .55fr);
  gap: 38px;
  align-items: stretch;
  padding: 38px 0 54px;
  border-bottom: 1px solid var(--line);
}

.school-hero--featured {
  margin: 0 -24px;
  padding: 52px 24px 58px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 8%, rgba(158, 47, 37, .12), transparent 30%),
    linear-gradient(145deg, rgba(255, 252, 246, .9), rgba(241, 236, 225, .72));
}

.school-hero-main {
  max-width: 820px;
}

.school-hero-main h1 {
  font-size: clamp(44px, 6vw, 80px);
}

.school-deck {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: 19px;
  line-height: 1.55;
}

.school-hero-aside {
  align-self: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.school-hero-aside dl {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.school-hero-aside dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.school-hero-aside dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.school-hero-aside dd {
  margin: 0;
  font-size: 12px;
  font-weight: 650;
  text-align: right;
}

.school-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: 38px;
  align-items: start;
  margin-top: 44px;
}

.school-profile-main,
.school-profile-aside {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.school-profile-aside {
  position: sticky;
  top: calc(var(--header-h) + 18px);
}

.profile-section {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.profile-section > p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.7;
}

.profile-section h2 {
  font-size: clamp(28px, 3.2vw, 40px);
}

.profile-section h3 {
  margin-top: 26px;
}

.profile-intro {
  padding-bottom: 8px;
}

.schools-callout,
.course-gaps,
.course-note,
.form-error {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--amber-soft);
  color: var(--body);
  font-size: 13px !important;
  line-height: 1.6 !important;
}

.form-error {
  border-left-color: var(--danger);
  background: var(--accent-soft);
}

.course-list {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.course-card {
  padding: 23px;
}

.course-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.course-card-head h3 {
  font-size: 29px;
}

.course-year {
  flex: none;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 10px;
  font-weight: 750;
}

.course-card > p {
  font-size: 14px;
  line-height: 1.65;
}

.course-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 22px;
  margin-top: 18px;
}

.course-facts div {
  min-width: 0;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
}

.status-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.person-card {
  padding: 20px;
  background: var(--paper);
}

.person-card p {
  margin: 10px 0;
  font-size: 13px;
  line-height: 1.6;
}

.person-role {
  color: var(--accent) !important;
  font-size: 11px !important;
  font-weight: 700;
}

.founder-note {
  border-color: #d8c3b8;
  background:
    radial-gradient(circle at 90% 6%, rgba(158, 47, 37, .09), transparent 32%),
    var(--surface-2);
}

.founder-note p {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.65;
}

.founder-signature {
  display: grid;
  gap: 2px;
  margin-top: 24px !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
}

.founder-signature span {
  color: var(--muted);
  font-size: 11px;
}

.founder-note-disclaimer {
  margin-top: 18px !important;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-sans) !important;
  font-size: 11px !important;
}

.contact-list,
.source-list {
  display: grid;
  gap: 0;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li,
.source-list li {
  display: grid;
  gap: 3px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.contact-list li > span,
.source-list li > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.contact-list a,
.source-list a {
  color: var(--accent);
  font-weight: 600;
  text-underline-offset: 3px;
}

.wizard-main {
  max-width: 1100px;
}

.wizard-hero {
  max-width: 860px;
  padding: 34px 0 42px;
}

.wizard-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 20px;
  font-size: 20px;
}

.wizard-panel {
  margin-top: 44px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.wizard-progress {
  height: 5px;
  margin-bottom: 28px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-3);
}

.wizard-progress-bar {
  display: block;
  width: 14.28%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width .2s var(--ease);
}

.wizard-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.wizard-step legend {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  letter-spacing: -.03em;
}

.wizard-step legend span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0;
}

.wizard-help {
  max-width: 780px;
  margin: 8px 0 20px;
  color: var(--muted) !important;
  font-size: 13px;
}

.wizard-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 18px;
}

.filter-checks {
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.check,
.choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--body);
  font-size: 14px;
}

.check input,
.choice input {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--accent);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.choice {
  min-height: 52px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  cursor: pointer;
}

.choice:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.wizard-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.match-results {
  margin: 26px 0 58px;
}

.match-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.match-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.match-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.match-score {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  min-width: 56px;
  padding: 7px 8px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green);
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 700;
}

.match-score small {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
}

.match-course {
  margin: 18px 0 6px !important;
  color: var(--ink) !important;
  font-size: 15px;
  font-weight: 700;
}

.match-distance {
  margin: 6px 0 0 !important;
  color: var(--muted) !important;
  font-size: 11px;
}

.match-reasons {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--body);
  font-size: 13px;
  line-height: 1.55;
}

.match-reasons li + li {
  margin-top: 6px;
}

.alternatives {
  margin-top: 42px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.alternatives h3 {
  font-size: 31px;
}

.alternatives > p {
  max-width: 760px;
}

.method-note {
  margin-top: 34px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface-2);
}

.method-note h3 {
  font-size: 25px;
}

.method-note p {
  margin: 12px 0 0;
  font-size: 13px;
}

.empty-state {
  padding: 42px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
  text-align: center;
}

.empty-state p {
  max-width: 600px;
  margin: 12px auto 22px;
}

.report-panel {
  max-width: 860px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.report-form {
  display: grid;
  gap: 18px;
}

.report-form textarea {
  width: 100%;
  min-height: 170px;
  padding: 11px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
  resize: vertical;
}

.report-form .field > strong {
  color: var(--ink);
  font-size: 17px;
}

.report-form .field > small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.report-actions {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.report-actions p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.report-success {
  max-width: 860px;
  margin-bottom: 24px;
  padding: 22px;
  border: 1px solid #b9cdbb;
  border-left: 4px solid var(--green);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--green-soft);
}

.report-success p {
  margin: 8px 0;
}

.report-success a {
  color: var(--green);
  font-weight: 700;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 1100px) {
  .schools-hero,
  .school-hero {
    grid-template-columns: minmax(0, 1fr) minmax(260px, .6fr);
    gap: 34px;
  }

  .school-profile-grid {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 24px;
  }

  .place-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .schools-hero,
  .school-hero,
  .school-profile-grid {
    grid-template-columns: 1fr;
  }

  .school-profile-aside {
    position: static;
  }

  .directory-layout {
    grid-template-columns: 1fr;
  }

  .school-filters {
    position: static;
    max-height: none;
  }

  .filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .school-grid,
  .match-grid {
    grid-template-columns: 1fr;
  }

  .wizard-grid {
    grid-template-columns: 1fr;
  }

  .schools-wizard-callout {
    align-items: flex-start;
    flex-direction: column;
  }

  .place-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schools-hero-panel {
    max-width: 620px;
  }
}

@media (max-width: 640px) {
  .schools-shell {
    width: min(100% - 28px, var(--page));
  }

  .schools-main {
    padding-top: 18px;
  }

  .schools-main h1 {
    font-size: clamp(39px, 13vw, 62px);
    overflow-wrap: break-word;
  }

  .schools-hero {
    padding-top: 28px;
    padding-bottom: 46px;
  }

  .schools-hero-actions,
  .place-actions,
  .school-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .schools-hero-actions .btn-primary,
  .place-actions .btn-primary,
  .school-hero-actions .btn-primary {
    width: 100%;
  }

  .schools-hero-panel dl {
    gap: 8px;
  }

  .schools-hero-panel dt {
    font-size: 9px;
    letter-spacing: .045em;
  }

  .schools-hero-panel dd {
    font-size: 23px;
  }

  .schools-wizard-callout,
  .wizard-panel,
  .report-panel,
  .profile-section,
  .place-links a,
  .related-places {
    padding: 20px;
  }

  .filter-grid,
  .choice-grid,
  .course-facts,
  .people-grid,
  .place-links {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .match-card-head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .match-score {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 8px;
  }

  .wizard-step legend {
    align-items: flex-start;
    font-size: 29px;
  }

  .wizard-actions {
    flex-direction: column-reverse;
  }

  .report-actions {
    flex-direction: column;
  }

  .wizard-actions .btn-primary,
  .wizard-actions .btn-secondary {
    width: 100%;
  }

  .school-hero--featured {
    margin: 0;
    padding: 28px 0 38px;
    border-radius: 0;
    background: transparent;
  }

  .course-card-head {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .school-card,
  .place-links a,
  .btn-primary,
  .btn-secondary,
  .wizard-progress-bar {
    transition: none;
  }
}
