:root {
  color-scheme: light;
  --navy: #17314f;
  --navy-2: #244968;
  --ink: #203040;
  --muted: #64717d;
  --paper: #fbfaf5;
  --surface: #ffffff;
  --sage: #c9d8cc;
  --sage-dark: #5e786d;
  --gold: #c9994d;
  --cream: #f1eadc;
  --line: #dde5df;
  --shadow: 0 22px 56px rgba(23, 49, 79, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(251, 250, 245, 0.93);
  border-bottom: 1px solid rgba(221, 229, 223, 0.85);
  backdrop-filter: blur(16px);
}

.brand,
nav,
.hero-actions,
footer {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 0;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
}

.brand span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  place-items: center;
  color: white;
  background: var(--navy);
  border-radius: 50%;
  font-size: 0.82rem;
}

nav {
  flex: 0 0 auto;
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
}

nav a {
  padding-block: 8px;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--navy);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 68px));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(251, 250, 245, 0.98) 0%,
    rgba(251, 250, 245, 0.88) 43%,
    rgba(251, 250, 245, 0.28) 72%
  );
}

.hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  width: min(700px, 100%);
  padding-bottom: 6vh;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
}

h1 {
  max-width: 13ch;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.97;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.hero-copy p:not(.eyebrow),
.page-hero p,
.intro > p,
.about-layout p,
.contact-card p,
.access-copy p {
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.22rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button,
button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy);
  border-radius: 8px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.primary,
button {
  color: white;
  background: var(--navy);
}

.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
}

.band {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.intro,
.access-panel,
.service-format,
.contact-page,
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(290px, 1.1fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: start;
}

.intro {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.access-panel {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.access-copy {
  display: grid;
  gap: 18px;
}

.inline-link,
.card-link {
  width: fit-content;
  color: var(--navy);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: rgba(201, 153, 77, 0.75);
  text-underline-offset: 5px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 32px;
}

.split-feature {
  background: #eef4ee;
}

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

.pill-grid span {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(94, 120, 109, 0.22);
  border-radius: 8px;
  font-weight: 760;
}

.services-preview,
.service-list {
  background: var(--paper);
}

.service-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 14px;
}

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

article,
.credential-panel,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(23, 49, 79, 0.07);
}

article {
  padding: 24px;
}

article p,
.best-for {
  color: var(--muted);
}

.service-number {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
}

.statement {
  background: var(--navy);
}

.statement p {
  width: min(980px, 100%);
  margin: 0 auto;
  color: white;
  font-size: clamp(1.65rem, 4vw, 3rem);
  line-height: 1.14;
  text-align: center;
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(42px, 6vw, 72px) clamp(18px, 5vw, 72px);
  background: var(--cream);
}

.contact-strip h2 {
  margin-bottom: 0;
}

.home-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.45fr);
  gap: clamp(22px, 5vw, 56px);
  align-items: end;
  padding: clamp(48px, 7vw, 86px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(251, 250, 245, 0.98), rgba(251, 250, 245, 0.9)),
    url("assets/advising-workspace.png") center / cover;
  border-bottom: 1px solid var(--line);
}

.home-intro {
  max-width: 880px;
}

.home-intro h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: 3.45rem;
  line-height: 1.02;
}

.home-intro p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.15rem;
}

.home-note {
  display: grid;
  gap: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(221, 229, 223, 0.9);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(23, 49, 79, 0.07);
}

.home-note span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-note strong {
  color: var(--navy);
  font-size: 1.18rem;
}

.home-note p {
  margin: 0;
  color: var(--muted);
}

.option-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(34px, 6vw, 70px) clamp(18px, 5vw, 72px);
  background: var(--paper);
}

.option-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(23, 49, 79, 0.07);
}

.option-card:hover {
  border-color: rgba(23, 49, 79, 0.35);
  transform: translateY(-2px);
}

.option-card h2 {
  margin-bottom: 0;
  font-size: 1.45rem;
  line-height: 1.12;
}

.option-card p {
  color: var(--muted);
}

.primary-option {
  background: var(--navy);
  border-color: var(--navy);
}

.primary-option h2,
.primary-option p,
.primary-option .service-number,
.primary-option .option-action {
  color: white;
}

.option-action {
  margin-top: auto;
  color: var(--navy);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: rgba(201, 153, 77, 0.75);
  text-underline-offset: 5px;
}

.home-context {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(300px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(42px, 6vw, 72px) clamp(18px, 5vw, 72px);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.home-context h2 {
  margin-bottom: 0;
  font-size: 2.2rem;
}

.context-list {
  display: grid;
  gap: 12px;
}

.context-list p {
  margin: 0;
  padding: 14px 16px;
  color: var(--muted);
  background: #f6f8f4;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
}

.context-list strong {
  display: block;
  color: var(--navy);
}

.page-hero {
  padding: clamp(64px, 10vw, 132px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(251, 250, 245, 0.93), rgba(251, 250, 245, 0.72)),
    url("assets/advising-workspace.png") center / cover;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  width: min(930px, 100%);
  max-width: none;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
}

.page-hero p:not(.eyebrow) {
  width: min(720px, 100%);
}

.about-layout {
  background: var(--surface);
}

.credential-panel,
.contact-card {
  padding: clamp(22px, 4vw, 34px);
}

.credential-panel h2,
.contact-card h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.credential-panel ul,
.service-format ul {
  display: grid;
  gap: 12px;
}

.credential-panel li,
.service-format li {
  padding: 14px 16px;
  background: #f6f8f4;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 720;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  background: #eef4ee;
}

.service-list,
.resource-list,
.major-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-list article,
.resource-list article,
.major-grid article {
  min-height: 260px;
}

.service-list article:last-child {
  grid-column: 1 / -1;
}

.major-tools {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.major-filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) minmax(220px, 0.8fr) auto auto;
  align-items: end;
  gap: 14px;
}

.major-filter-panel button {
  grid-column: auto;
}

.major-library {
  background: var(--paper);
}

.major-list {
  display: grid;
  gap: 16px;
}

.major-card {
  display: grid;
  gap: 16px;
  padding: 28px;
}

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

.major-card h2 {
  margin-bottom: 0;
  font-size: 1.75rem;
}

.major-fit {
  max-width: 980px;
  color: var(--ink);
  font-size: 1.04rem;
}

.major-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.major-details p {
  margin: 0;
  padding: 14px 16px;
  color: var(--muted);
  background: #f6f8f4;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
}

.major-details strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
}

.major-details span {
  display: block;
}

.best-for {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-weight: 760;
}

.service-format {
  background: var(--cream);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  color: var(--navy);
  background: #f6f8f4;
  border: 1px solid rgba(94, 120, 109, 0.22);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 760;
}

.news-teaser {
  background: #eef4ee;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.news-grid.full {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--paper);
}

.news-grid article {
  min-height: 250px;
}

.news-feed {
  background: var(--paper);
}

.news-list {
  display: grid;
  gap: 16px;
}

.news-item {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.news-item-header {
  max-width: 920px;
}

.news-item p {
  max-width: 980px;
}

.news-why {
  margin: 0;
  padding: 14px 16px;
  color: var(--muted);
  background: #f6f8f4;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
}

.news-why strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
}

.source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.source-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  color: var(--navy);
  background: #fbfcfa;
  border: 1px solid rgba(94, 120, 109, 0.28);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 820;
}

.source-link:hover {
  border-color: var(--navy);
}

.update-meta {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.major-grid h2,
.resource-list h2,
.news-grid h2,
.competition-card h2 {
  font-size: 1.75rem;
}

.competitions-hero h1 {
  width: min(1050px, 100%);
}

.competition-tools {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(190px, 1fr));
  gap: 16px;
  align-items: start;
}

.filter-menu {
  position: relative;
  min-width: 0;
}

.filter-trigger {
  min-height: 48px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 13px;
  color: var(--navy);
  background: #fbfcfa;
  border: 1px solid #cdd8d0;
  border-radius: 8px;
  font-weight: 760;
  cursor: pointer;
}

.filter-trigger::after {
  content: "v";
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
}

.filter-trigger[aria-expanded="true"] {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(23, 49, 79, 0.08);
}

.filter-trigger[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.filter-count {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 760;
}

.filter-popover {
  position: absolute;
  inset: calc(100% + 8px) 0 auto 0;
  z-index: 10;
}

.checkbox-group {
  max-height: 310px;
  display: grid;
  gap: 8px;
  overflow: auto;
  padding: 12px;
  background: var(--surface);
  border: 1px solid #cdd8d0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.checkbox-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 650;
}

.checkbox-option input {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  accent-color: var(--navy);
}

.filter-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.result-summary {
  margin-top: 16px;
  color: var(--muted);
  font-weight: 760;
}

.competition-list-section {
  background: var(--paper);
}

.competition-list {
  display: grid;
  gap: 16px;
}

.competition-card {
  min-height: 0;
  padding: 28px;
}

.competition-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.competition-card h2 {
  margin-bottom: 0;
}

.competition-summary-line {
  max-width: 980px;
  color: var(--ink);
  font-size: 1.04rem;
}

.competition-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.competition-meta p {
  margin: 0;
  padding: 14px 16px;
  color: var(--muted);
  background: #f6f8f4;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
}

.competition-meta strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
}

.competition-meta span {
  display: block;
}

.empty-state {
  border-style: dashed;
  box-shadow: none;
}

.empty-state h2 {
  margin-bottom: 8px;
}

.compact-actions {
  margin-top: 24px;
}

.calendar-tools {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.calendar-filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1.15fr) minmax(190px, 0.75fr) minmax(170px, 0.55fr) auto auto;
  gap: 14px;
  align-items: end;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.calendar-filter-panel button {
  grid-column: auto;
  min-height: 48px;
  white-space: nowrap;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 16px;
  color: var(--muted);
  font-weight: 780;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.calendar-legend i {
  width: 12px;
  height: 12px;
  display: inline-block;
  border-radius: 999px;
}

.legend-open {
  background: #2f8f6b;
}

.legend-due {
  background: #b85151;
}

.legend-event {
  background: #4f6fa8;
}

.calendar-section {
  background: var(--paper);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.calendar-header h2 {
  margin: 0;
  font-size: 2rem;
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar-day-name {
  padding: 8px;
  color: var(--navy);
  font-weight: 860;
  text-align: center;
}

.calendar-day {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.muted-day {
  background: rgba(255, 255, 255, 0.45);
}

.day-number {
  color: var(--navy);
  font-weight: 860;
}

.calendar-marker {
  display: block;
  overflow: hidden;
  padding: 5px 7px;
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 820;
  line-height: 1.2;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-marker.open {
  background: #2f8f6b;
}

.calendar-marker.due {
  background: #b85151;
}

.calendar-marker.event {
  background: #4f6fa8;
}

.calendar-marker:hover {
  filter: brightness(0.94);
}

.event-list-section {
  background: #eef4ee;
}

.calendar-event-list,
.variable-date-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.calendar-event-card,
.variable-date-card {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.calendar-event-card h2,
.variable-date-card h2 {
  margin-bottom: 0;
  font-size: 1.45rem;
}

.variable-date-section {
  background: var(--paper);
}

.contact-page {
  background: #eef4ee;
}

form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 760;
}

label:has(textarea),
form button {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cdd8d0;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfcfa;
  font: inherit;
}

textarea {
  resize: vertical;
}

.contact-card a {
  color: var(--navy);
  font-weight: 820;
  text-decoration: underline;
  text-decoration-color: rgba(201, 153, 77, 0.7);
  text-underline-offset: 4px;
}

.contact-card strong {
  display: block;
  color: var(--navy);
}

footer {
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer span:first-child {
  color: var(--navy);
  font-weight: 820;
}

@media (max-width: 1120px) {
  .service-grid,
  .feature-grid,
  .option-board,
  .news-grid,
  .news-grid.full {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 18px;
  }

  .hero {
    min-height: 700px;
    align-items: end;
  }

  .hero::before {
    background: linear-gradient(
      0deg,
      rgba(251, 250, 245, 0.99) 0%,
      rgba(251, 250, 245, 0.9) 52%,
      rgba(251, 250, 245, 0.22) 100%
    );
  }

  .hero img {
    object-position: 62% center;
  }

  .intro,
  .access-panel,
  .service-format,
  .contact-page,
  .about-layout,
  .home-dashboard,
  .home-context,
  .values,
  .service-list,
  .resource-list,
  .major-grid,
  .feature-grid,
  .news-grid,
  .news-grid.full,
  .pill-grid,
  .major-filter-panel,
  .major-details,
  .calendar-filter-panel,
  .calendar-event-list,
  .variable-date-list,
  .filter-panel,
  .competition-meta {
    grid-template-columns: 1fr;
  }

  .home-intro h1 {
    font-size: 2.65rem;
  }

  .competition-card-header {
    flex-direction: column;
  }

  .calendar-header {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-popover {
    position: static;
    margin-top: 8px;
  }

  .service-list article:last-child {
    grid-column: auto;
  }

  .contact-strip,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    max-width: calc(100vw - 92px);
  }

  .service-grid,
  .feature-grid,
  .option-board,
  form {
    grid-template-columns: 1fr;
  }

  .button,
  button,
  .hero-actions {
    width: 100%;
  }

  .calendar-grid {
    display: block;
  }

  .calendar-day-name,
  .muted-day {
    display: none;
  }

  .calendar-day {
    min-height: auto;
    margin-bottom: 8px;
  }

  .calendar-marker {
    white-space: normal;
  }

  h1 {
    font-size: clamp(2.65rem, 15vw, 4.2rem);
  }
}
