@font-face {
  font-family: Manrope;
  src: url("assets/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Resource Icons";
  src: url("assets/icons.woff2") format("woff2");
  font-display: block;
}

:root {
  color-scheme: light;
  --ink: #21191b;
  --muted: #61575a;
  --wine: #41121d;
  --dark-wine: #321019;
  --red: #981630;
  --red-dark: #791126;
  --pink: #faeef0;
  --line: #e8dfe0;
  --paper: #f8f5f3;
  --white: #fff;
  --width: 74rem;
  --gutter: clamp(1.15rem, 4.45vw, 4.75rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 500 1rem/1.6 Manrope, system-ui, sans-serif;
}

a { color: var(--red-dark); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.035em; font-weight: 800; }
address { font-style: normal; }

:focus-visible {
  outline: 3px solid #a71d3b;
  outline-offset: 4px;
}

.hero :focus-visible, .site-footer :focus-visible, .utility :focus-visible {
  outline-color: #ffc0c9;
}

.wrap { width: min(var(--width), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.icon {
  display: inline-block;
  flex: 0 0 auto;
  overflow: hidden;
  width: 1em;
  height: 1em;
  font: normal 1.5rem/1 "Resource Icons";
  font-feature-settings: "liga";
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: .6rem;
  left: 1rem;
  padding: .6rem 1rem;
  transform: translateY(-200%);
  background: var(--white);
}

.skip-link:focus { transform: translateY(0); }
.site-header { position: relative; z-index: 3; background: var(--white); }
.utility { background: var(--dark-wine); color: var(--white); }
.utility-inner { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 clamp(.65rem, 2vw, 1.55rem); }
.utility a {
  color: #f9e8eb;
  padding-block: .45rem;
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
}

.utility a:hover { text-decoration: underline; }
.masthead { min-height: 5.35rem; display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--ink); text-decoration: none; flex: 0 0 auto; }
.brand img { object-fit: contain; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.25rem; font-weight: 800; line-height: 1.2; letter-spacing: -.035em; }
.brand small { font-size: .875rem; font-weight: 700; color: var(--muted); }
.primary-nav { display: flex; align-items: center; gap: clamp(.85rem, 2.8vw, 2.7rem); }
.primary-nav a { padding: .6rem .05rem; color: var(--ink); font-size: .94rem; font-weight: 800; text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current] { color: var(--red-dark); }
.primary-nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .5rem; }
.primary-nav .contact-link {
  padding: .62rem 1.03rem;
  border: 1px solid #d9aeb7;
  border-radius: .55rem;
  color: var(--red-dark);
}

.primary-nav .contact-link:hover { background: var(--pink); }
.menu-toggle { display: none; }

.hero { position: relative; isolation: isolate; background: var(--wine); color: var(--white); }
.hero-image { position: absolute; z-index: -1; inset: 0 0 0 41%; overflow: hidden; }
.hero-image img { height: 100%; width: 100%; object-fit: cover; object-position: 78% 50%; }
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--wine) 0%, rgba(65, 18, 29, .68) 13%, rgba(65, 18, 29, 0) 43%);
  pointer-events: none;
}

.photo-caption {
  position: absolute;
  z-index: 1;
  right: max(var(--gutter), calc((100vw - var(--width)) / 2));
  bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  padding: .42rem .75rem;
  border: 1px solid #ffffff60;
  border-radius: .35rem;
  background: #24191bdc;
  color: var(--white);
  font-size: .875rem;
  font-weight: 700;
}

.photo-caption .icon { font-size: 1rem; }
.hero-content { width: min(100%, 31.5rem); padding: clamp(3.2rem, 5.1vw, 4.8rem) 0 clamp(3.5rem, 4.8vw, 4.6rem); }
.hero-motto {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: #ffc3cb;
  font-size: .875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.hero-motto::before { content: ""; display: inline-block; width: 1.75rem; height: 2px; background: #f9a3b1; flex: 0 0 auto; }
.hero h1 { margin-top: .72rem; font-size: clamp(3.7rem, 7.05vw, 6.85rem); letter-spacing: -.062em; word-spacing: .055em; line-height: .96; }
.hero-description { margin-top: 1.28rem; max-width: 27.5rem; color: #f8e8ec; font-size: clamp(1rem, 1.45vw, 1.2rem); line-height: 1.55; }
.search { position: relative; z-index: 2; margin-top: 1.65rem; }
.search-form {
  display: flex;
  align-items: center;
  gap: .68rem;
  padding: .35rem .38rem .35rem .9rem;
  background: var(--white);
  color: var(--red-dark);
  border: 1px solid #ffffffa0;
  border-radius: .7rem;
  box-shadow: 0 8px 28px #1e050d30;
}

.search-form input { min-width: 0; flex: 1 1 auto; padding: .68rem .15rem; color: var(--ink); border: 0; background: transparent; }
.search-form input::placeholder { color: #675b5e; }
.search-form input:focus-visible { outline-color: var(--red); outline-offset: 0; border-radius: .2rem; }
.search-form button, .button {
  padding: .62rem .92rem;
  border: 1px solid transparent;
  border-radius: .43rem;
  background: var(--red);
  color: var(--white);
  font-size: .94rem;
  font-weight: 800;
  text-decoration: none;
}

.search-form button:hover, .button:hover { background: var(--red-dark); }
.search-results {
  position: absolute;
  z-index: 3;
  inset: calc(100% + .45rem) 0 auto;
  max-height: 21rem;
  overflow: auto;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: .7rem;
  box-shadow: 0 14px 32px #310e2042;
}

.search-count { padding: .6rem .95rem; color: var(--muted); font-size: .875rem; }
.search-list { margin: 0; padding: 0; list-style: none; }
.search-list a { display: block; padding: .64rem .95rem; color: var(--ink); border-top: 1px solid var(--line); font-weight: 750; text-decoration: none; }
.search-list a:hover { background: var(--pink); color: var(--red-dark); }
.search-list a:focus-visible { outline-color: var(--red); outline-offset: -3px; }
.search-list small { display: block; color: var(--muted); font-size: .875rem; font-weight: 600; }

.quick-section { padding-block: clamp(2.35rem, 4.6vw, 4.2rem); background: var(--white); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem 1.5rem; }
.section-heading h2 { font-size: clamp(2rem, 3.25vw, 3.05rem); letter-spacing: -.047em; }
.section-heading a { font-size: .94rem; font-weight: 800; }
.quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin-top: 1.45rem; }
.quick-card {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 6.25rem;
  gap: .9rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: background .18s, border-color .18s, box-shadow .18s;
}

.quick-card:hover { border-color: #d8a4af; background: #fff9fa; box-shadow: 0 4px 12px #41121d12; }
.quick-card:hover strong { color: var(--red-dark); text-decoration: underline; text-underline-offset: .22em; }
.quick-card strong, .quick-card small { display: block; }
.quick-card strong { font-size: 1.0625rem; font-weight: 800; letter-spacing: -.018em; line-height: 1.25; }
.quick-card small { margin-top: .23rem; color: var(--muted); font-size: .875rem; line-height: 1.4; }
.quick-icon, .resource-heading > .icon {
  display: grid;
  width: 2.95rem;
  height: 2.95rem;
  place-items: center;
  flex: 0 0 auto;
  color: var(--red-dark);
  background: var(--pink);
  border-radius: .62rem;
}

.directory { padding-block: clamp(2.7rem, 5vw, 4.8rem); border-top: 1px solid var(--line); }
.directory-heading { margin-bottom: 1.65rem; }
.directory-layout { display: grid; grid-template-columns: minmax(12rem, 15.5rem) minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 3.55rem); align-items: start; }
.topic-nav { position: sticky; top: 1.55rem; display: grid; gap: .12rem; padding: 1rem .7rem .7rem; border: 1px solid var(--line); border-radius: .7rem; background: var(--white); }
.topic-nav h3 { padding: .2rem .65rem .68rem; font-size: 1rem; letter-spacing: -.02em; }
.topic-nav a { padding: .62rem .65rem; border-radius: .38rem; color: var(--muted); text-decoration: none; font-size: .875rem; font-weight: 750; }
.topic-nav a:hover, .topic-nav a[aria-current] { background: var(--pink); color: var(--red-dark); }
.directory-content { display: grid; gap: 1rem; min-width: 0; }
.resource-section {
  padding: clamp(1rem, 3vw, 2.05rem);
  border: 1px solid var(--line);
  border-radius: .82rem;
  background: var(--white);
  scroll-margin-top: .15rem;
}

.resource-section:target { border-color: #c48191; }
.resource-heading { display: flex; align-items: flex-start; gap: .82rem; margin-bottom: 1.25rem; }
.resource-heading h3 { margin-top: .04rem; font-size: clamp(1.35rem, 2.45vw, 2rem); }
.resource-heading p { margin-top: .26rem; color: var(--muted); }
.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; }
.resource-link {
  min-height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .45rem .65rem;
  padding: .65rem .22rem;
  border-top: 1px solid var(--line);
  color: var(--red-dark);
  text-decoration: none;
  font-weight: 800;
  line-height: 1.38;
}

.resource-link:hover > span:first-child { text-decoration: underline; text-underline-offset: .18em; }
.link-kind { flex-shrink: 0; color: var(--muted); font-size: .8125rem; font-weight: 700; }
.notice { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; margin-bottom: 1.2rem; border-radius: .58rem; background: var(--pink); }
.notice h4, .detail-block h4 { font-size: 1.15rem; }
.notice p, .detail-block p { margin-top: .34rem; color: var(--muted); }
.notice .button { text-align: center; flex-shrink: 0; }
.detail-block { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.detail-block .resource-link { border-top: 0; }
.section-copy { margin: -.15rem 0 1.12rem; color: var(--muted); }
.counselor-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 1.4rem; margin: .75rem 0 0; padding: 0; }
.counselor-list li { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: .55rem; padding: .44rem 0; border-bottom: 1px solid var(--line); }
.counselor-list span, .counselor-list a { font-weight: 750; }

.site-footer { padding: clamp(2.7rem, 5.2vw, 4.5rem) 0 1.4rem; background: var(--dark-wine); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: minmax(15rem, 2fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer-contact h2 { font-size: clamp(1.55rem, 2.8vw, 2.43rem); max-width: 15ch; }
.footer-contact p { margin: .8rem 0 1.1rem; color: #f4dfe4; }
.footer-button { display: inline-block; padding: .65rem .86rem; color: var(--white); border: 1px solid #e3b9c3; border-radius: .45rem; text-decoration: none; font-weight: 800; }
.footer-button:hover { background: #ffffff1a; }
.footer-group h3 { margin-bottom: .7rem; font-size: 1rem; letter-spacing: 0; }
.footer-group a, .footer-group address span { display: block; width: fit-content; padding: .22rem 0; color: #f4dfe4; font-size: .9rem; text-decoration: none; }
.footer-group a:hover, .footer-bottom a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 2rem; padding-top: 1.08rem; border-top: 1px solid #ffffff32; color: #f4dfe4; font-size: .875rem; }
.footer-bottom a { color: inherit; text-decoration: none; }

.accessibility-help {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 1rem 2rem;
  margin-bottom: 2.5rem;
  padding: clamp(1rem, 3vw, 1.55rem);
  border: 1px solid #ffffff56;
  border-radius: .75rem;
  background: #ffffff0c;
}

.accessibility-help h2 { font-size: clamp(1.45rem, 2.7vw, 1.9rem); }
.accessibility-help p { margin-top: .55rem; max-width: 64ch; color: #f4dfe4; }
.accessibility-contact { display: grid; justify-items: start; align-content: center; gap: .55rem; }
.accessibility-contact a { color: #fff; font-weight: 750; overflow-wrap: anywhere; }

.document-header { border-bottom: 1px solid var(--line); background: var(--white); }
.document-header .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1.5rem; padding-block: 1rem; }
.document-header .wrap > a:last-child { margin-inline-start: auto; font-weight: 750; }
.document { width: min(55rem, calc(100% - 2 * var(--gutter))); margin: 0 auto; padding-block: clamp(1.7rem, 4.5vw, 4.5rem); }
.document h1 { font-size: clamp(2rem, 5vw, 3.6rem); overflow-wrap: break-word; }
.document h2 { font-size: clamp(1.35rem, 3vw, 1.95rem); }
.document h3 { margin-top: 1.3rem; font-size: 1.2rem; }
.document p { margin-block: .65rem; }
.document a { overflow-wrap: anywhere; }
.document ol, .document ul { padding-inline-start: 1.6rem; }
.document li + li { margin-top: .42rem; }
.document nav, .document-section { margin-top: 1.3rem; padding: clamp(.86rem, 4vw, 1.7rem); border: 1px solid var(--line); border-radius: .75rem; background: var(--white); }
.document nav ul { margin-bottom: 0; }
.document .source-link { margin-top: 1.35rem; }
.declaration-fields { min-inline-size: 0; margin: 1rem 0; padding: .7rem 1rem 1rem; border: 1px solid #9b8186; }
.declaration-fields legend { padding-inline: .35em; font-weight: 800; }
.declaration-fields label { display: block; margin-top: .56rem; font-weight: 750; }
.declaration-fields input, .declaration-fields textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: .35rem .55rem;
  border: 1px solid #806a6e;
  border-radius: .3rem;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}
.declaration-fields textarea { display: block; resize: vertical; }
.declaration-fields .signature-line { display: block; min-height: 2rem; margin-block: .25rem .6rem; border-bottom: 1px solid currentColor; }
.salary-scroll { overflow: auto; max-width: 100%; padding: .12rem; }
.salary-table { width: 100%; min-width: 52rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.salary-table th, .salary-table td { padding: .48rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.salary-table caption { padding-block: .5rem; text-align: start; font-weight: 800; }
.salary-table thead th { background: var(--pink); text-align: start; }
.salary-table tbody th { text-align: start; }
.salary-table td { text-align: end; }
.salary-table tbody tr:nth-child(even) { background: var(--paper); }

@media (max-width: 58rem) {
  .hero-image { left: 38%; }
  .hero-image::after { background: linear-gradient(90deg, var(--wine), #41121dc2 18%, #41121d14 72%); }
  .hero-content { width: 28rem; max-width: 66%; }
  .hero-motto { letter-spacing: .065em; }
  .notice { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 45rem) {
  .masthead { min-height: 4.55rem; flex-wrap: wrap; gap: 0; }
  .brand img { width: 43px; height: 43px; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 2.75rem;
    padding: .45rem .66rem;
    border: 1px solid var(--line);
    border-radius: .42rem;
    color: var(--red-dark);
    background: var(--white);
    font-weight: 800;
  }
  .primary-nav { flex: 0 0 100%; padding-bottom: .65rem; align-items: flex-start; flex-wrap: wrap; gap: .2rem 1.05rem; }
  .primary-nav .contact-link { padding: .6rem .05rem; border: 0; }
  .site-header.has-menu .primary-nav { display: none; }
  .site-header.has-menu .primary-nav.is-open { display: flex; }
  .hero { display: flex; flex-direction: column; }
  .hero-image { position: relative; order: 2; inset: auto; height: clamp(9rem, 37vw, 15rem); }
  .hero-image img { object-position: center 52%; }
  .hero-image::after { background: linear-gradient(180deg, #41121d 0%, #41121d00 35%); }
  .photo-caption { right: var(--gutter); bottom: .65rem; }
  .hero-content { width: min(100%, 31.5rem); max-width: none; padding: 2.4rem 0 1.35rem; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 4.45rem); letter-spacing: -.052em; }
  .desktop-break { display: none; }
  .hero-description { margin-top: .85rem; }
  .search { margin-top: 1.15rem; }
  .search-results { position: relative; inset: auto; margin-top: .5rem; max-height: min(20rem, 55vh); }
  .accessibility-help { grid-template-columns: minmax(0, 1fr); }
  .quick-grid, .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .directory-layout { grid-template-columns: 1fr; }
  .topic-nav { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .15rem .4rem; }
  .topic-nav h3 { grid-column: 1 / -1; }
}

@media (max-width: 30rem) {
  .section-heading { display: block; }
  .quick-heading a { display: inline-block; margin-top: .42rem; }
  .quick-grid { gap: .55rem; margin-top: 1rem; }
  .quick-card { min-height: 8rem; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: .57rem; padding: .73rem; }
  .quick-icon { width: 2.5rem; height: 2.5rem; }
  .resource-grid, .counselor-list { grid-template-columns: 1fr; gap: 0; }
  .resource-heading { gap: .64rem; }
  .resource-heading > .icon { width: 2.4rem; height: 2.4rem; }
  .footer-grid { gap: 1.4rem 1rem; }
  .footer-contact { grid-column: 1 / -1; }
  .search-form { gap: .35rem; padding-left: .52rem; }
  .search-form > .icon { font-size: 1.2rem; }
  .search-form button { padding-inline: .65rem; }
  .search-form input::placeholder { font-size: .875rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

@media print {
  body { background: #fff; color: #000; }
  .document-header, .skip-link, .screen-only { display: none !important; }
  .document { width: 100%; padding: 0; }
  .declaration { font-size: 11pt; line-height: 1.25; }
  .declaration h1 { font-size: 20pt; }
  .declaration p { margin-block: .35em; }
  .declaration :focus-visible { outline: none; }
  .declaration-fields { break-inside: avoid; margin-block: .5em; padding: .35em .7em .6em; }
  .declaration-fields label { margin-top: .25em; }
  .declaration-fields input, .declaration-fields textarea { min-height: 1.7em; padding: .15em .3em; border-color: #000; color: #000; }
  .declaration-fields textarea { min-height: 2.75em; resize: none; }
  .declaration-fields .signature-line { min-height: 1.45em; }
}
