:root {
  --teal: #226b80;
  --deep-teal: #071a20;
  --dark-teal: #1a566a;
  --mid-dark-teal: #164b5c;
  --light-teal: #2e8aa8;
  --pale-teal: #8fd4df;
  --yellow: #faffb8;
  --paper: #f4f7f5;
  --white: #ffffff;
  --ink: #10242b;
  --slate: #2d4650;
  --muted: #5e747c;
  --line: rgba(16, 36, 43, 0.16);
  --dark-line: rgba(255, 255, 255, 0.14);
  --panel: rgba(255, 255, 255, 0.96);
  --panel-soft: rgba(244, 247, 245, 0.78);
  --content: min(1240px, calc(100vw - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(7, 26, 32, 0.97) 0, rgba(22, 75, 92, 0.95) 17rem, rgba(232, 240, 237, 0.96) 17rem, var(--paper) 100%);
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body.menu-open {
  overflow: hidden;
}

body.intake-open {
  overflow: hidden;
}

body.availability-open {
  overflow: hidden;
}

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

button {
  font: inherit;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.app-shell {
  width: var(--content);
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.topbar {
  position: relative;
  z-index: 15;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 1rem;
}

.brandmark {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.brandmark img {
  width: min(315px, calc(100vw - 2rem));
}

.nav-pills {
  display: flex;
  justify-content: flex-end;
  gap: 0.35rem;
  min-width: 0;
  overflow: visible;
  scrollbar-width: none;
}

.nav-pills::-webkit-scrollbar {
  display: none;
}

.nav-pills a,
.nav-pills button,
.button,
.contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  border: 1px solid rgba(143, 212, 223, 0.28);
  border-radius: 8px;
  padding: 0.5rem 0.78rem;
  color: var(--white);
  background: rgba(46, 138, 168, 0.22);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(7, 19, 26, 0.08);
}

.nav-pills button {
  width: 100%;
  font-family: inherit;
  cursor: pointer;
}

.nav-pills a:hover,
.nav-pills a:focus-visible,
.nav-pills a.active,
.nav-pills button:hover,
.nav-pills button:focus-visible,
.nav-drop:focus-within > button,
.nav-pills button.is-active,
.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: rgba(250, 255, 184, 0.42);
  color: var(--yellow);
  background: rgba(46, 138, 168, 0.42);
}

.nav-drop {
  position: relative;
  flex: 0 0 auto;
}

.top-dropdown-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  left: auto;
  z-index: 20;
  width: max-content;
  max-width: calc(100vw - 2rem);
  border: 1px solid rgba(143, 212, 223, 0.24);
  border-radius: 8px;
  padding: 0.42rem;
  color: var(--deep-teal);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(7, 19, 26, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.35rem);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  visibility: hidden;
}

.top-dropdown-panel.is-open,
.nav-drop:focus-within .top-dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.service-list-rows {
  display: grid;
  gap: 0.28rem;
}

.service-list-rows span {
  min-width: 14rem;
  min-height: 2.05rem;
  display: flex;
  align-items: center;
  padding: 0.44rem 0.62rem;
  border: 1px solid rgba(34, 107, 128, 0.12);
  border-radius: 8px;
  color: var(--deep-teal);
  background: rgba(34, 107, 128, 0.08);
  font-size: 0.84rem;
  font-weight: 900;
}

.contact-dropdown-panel {
  display: grid;
  gap: 0.45rem;
  width: 18rem;
}

.contact-dropdown-panel h2 {
  max-width: 18ch;
  margin-bottom: 0;
  color: var(--deep-teal);
  font-size: 1.18rem;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.contact-dropdown-actions {
  display: grid;
  gap: 0.28rem;
}

.contact-dropdown-actions a {
  min-height: 2.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.58rem;
  border: 1px solid rgba(34, 107, 128, 0.12);
  border-radius: 8px;
  color: var(--dark-teal);
  background: rgba(34, 107, 128, 0.08);
  font-size: 0.8rem;
  font-weight: 900;
}

.slide-icon-button,
.slide-close-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #d8e0dd;
  background: transparent;
}

.slide-icon-button:hover,
.slide-icon-button:focus-visible,
.slide-close-button:hover,
.slide-close-button:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.slide-icon-button span:not(.sr-only) {
  width: 1.25rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.slide-icon-button {
  gap: 0.24rem;
}

.site-main {
  display: grid;
  gap: 1rem;
}

.hero-panel,
.hub-panel,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(7, 19, 26, 0.13);
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  align-items: start;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  color: var(--white);
  border-color: var(--dark-line);
  background:
    linear-gradient(135deg, rgba(7, 26, 32, 0.97), rgba(22, 75, 92, 0.88)),
    var(--deep-teal);
}

.hero-copy {
  align-self: end;
  max-width: 760px;
  padding: clamp(0.25rem, 2vw, 1rem);
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--teal);
}

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

h1 {
  max-width: 14ch;
  margin-bottom: 0.9rem;
  font-size: clamp(3.4rem, 7vw, 6.7rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.hero-copy p:not(.eyebrow) {
  max-width: 54ch;
  margin-bottom: 1.1rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.button.primary {
  border-color: transparent;
  color: var(--deep-teal);
  background: var(--yellow);
}

.button.secondary {
  color: var(--white);
}

.command-card {
  align-self: start;
  display: grid;
  gap: 0.65rem;
  min-height: 0;
  padding: 0.75rem;
  border: 1px solid rgba(143, 212, 223, 0.28);
  border-radius: 14px;
  background: rgba(7, 26, 32, 0.52);
}

.command-card-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--yellow);
  font-weight: 900;
}

.status-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 0.35rem rgba(250, 255, 184, 0.12);
}

.command-card dl {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0;
}

.command-card div:not(.command-card-head) {
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(143, 212, 223, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.command-card dt {
  margin-bottom: 0.18rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.command-card dd {
  margin-bottom: 0;
  font-size: 0.92rem;
  font-weight: 900;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.status-strip span {
  min-height: 2.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(34, 107, 128, 0.18);
  border-radius: 8px;
  color: var(--dark-teal);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(7, 19, 26, 0.07);
}

.hub-panel,
.contact-panel {
  padding: 0.85rem;
}

.panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.hub-panel h2,
.contact-panel h2 {
  max-width: 19ch;
  margin-bottom: 0;
  color: var(--deep-teal);
  font-size: clamp(1.55rem, 3.2vw, 2.45rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 0.45rem;
}

.tool-grid article {
  min-height: 0;
  height: 100%;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
}

.tool-grid span {
  display: inline-flex;
  margin-bottom: 0.38rem;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
}

.tool-grid h3 {
  margin-bottom: 0.32rem;
  color: var(--deep-teal);
  font-size: 1rem;
  line-height: 1.05;
}

.tool-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.32;
}

.dual-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.hub-panel.compact {
  display: grid;
  align-content: space-between;
  min-height: 8.5rem;
  padding: 0.85rem;
}

.hub-panel.compact .eyebrow {
  margin-bottom: 0.45rem;
}

.hub-panel.compact h2 {
  max-width: 22ch;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1;
}

.compact-button {
  width: fit-content;
  color: var(--deep-teal);
  background: var(--yellow);
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.contact-actions a {
  border-color: rgba(34, 107, 128, 0.18);
  color: var(--dark-teal);
  background: rgba(34, 107, 128, 0.08);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0;
  color: var(--slate);
  font-size: 0.84rem;
  font-weight: 800;
}

.site-footer img {
  width: 175px;
}

.site-drawer {
  position: fixed;
  z-index: 80;
  top: 1rem;
  right: 0;
  width: min(315px, calc(100vw - 1rem));
  max-height: calc(100vh - 2rem);
  padding: 0.75rem;
  transform: translateX(105%);
  overflow-y: auto;
  transition: transform 220ms ease;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  background: var(--white);
  box-shadow: -20px 0 60px rgba(7, 19, 26, 0.28);
}

.site-drawer.is-open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.drawer-head img {
  width: 155px;
}

.slide-close-button {
  color: var(--deep-teal);
  background: rgba(34, 107, 128, 0.08);
}

.slide-close-button::before,
.slide-close-button::after {
  content: "";
  position: absolute;
  width: 1.2rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.slide-close-button::before {
  transform: rotate(45deg);
}

.slide-close-button::after {
  transform: rotate(-45deg);
}

.site-drawer nav {
  display: grid;
  gap: 0.38rem;
}

.site-drawer nav a,
.drawer-contact {
  min-height: 2.55rem;
  padding: 0.58rem 0.65rem;
  border: 1px solid rgba(34, 107, 128, 0.12);
  border-radius: 8px;
  color: var(--deep-teal);
  background: rgba(34, 107, 128, 0.08);
  font-weight: 900;
}

.drawer-contact {
  display: grid;
  gap: 0.25rem;
  margin-top: 0.55rem;
  color: var(--white);
  border-color: rgba(143, 212, 223, 0.24);
  background: var(--teal);
}

.drawer-contact span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.drawer-backdrop {
  position: fixed;
  z-index: 70;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: rgba(7, 26, 32, 0.38);
  transition: opacity 180ms ease;
}

.drawer-backdrop.is-open {
  pointer-events: auto;
  opacity: 1;
}

.intake-drawer {
  position: fixed;
  z-index: 95;
  top: 0;
  right: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.8rem;
  width: min(620px, calc(100vw - 1rem));
  height: 100vh;
  padding: 1rem;
  transform: translateX(105%);
  transition: transform 220ms ease;
  border-left: 1px solid var(--line);
  background: var(--white);
  box-shadow: -20px 0 60px rgba(7, 19, 26, 0.28);
}

.intake-drawer.is-open {
  transform: translateX(0);
}

.intake-drawer .drawer-head {
  align-items: flex-start;
  margin-bottom: 0;
}

.intake-drawer .drawer-head h2 {
  margin: 0;
  color: var(--deep-teal);
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.intake-drawer .intake-form {
  align-content: start;
  min-height: 0;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.intake-backdrop {
  position: fixed;
  z-index: 90;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: rgba(7, 26, 32, 0.38);
  transition: opacity 180ms ease;
}

.intake-backdrop.is-open {
  pointer-events: auto;
  opacity: 1;
}

.about-drawer,
.documents-drawer {
  position: fixed;
  z-index: 95;
  top: 0;
  right: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.8rem;
  width: min(620px, calc(100vw - 1rem));
  height: 100vh;
  padding: 1rem;
  transform: translateX(105%);
  transition: transform 220ms ease;
  border-left: 1px solid var(--line);
  background: var(--white);
  box-shadow: -20px 0 60px rgba(7, 19, 26, 0.28);
}

.about-drawer.is-open,
.documents-drawer.is-open {
  transform: translateX(0);
}

.about-drawer .drawer-head,
.documents-drawer .drawer-head {
  align-items: flex-start;
  margin-bottom: 0;
}

.about-drawer .drawer-head h2,
.documents-drawer .drawer-head h2 {
  margin: 0;
  color: var(--deep-teal);
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.about-drawer-card {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  min-height: 0;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.about-drawer-card p {
  margin-bottom: 0;
  color: var(--slate);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.55;
}

.about-drawer-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.25rem;
}

.about-drawer-facts div {
  display: grid;
  gap: 0.25rem;
  padding: 0.65rem;
  border: 1px solid rgba(34, 107, 128, 0.14);
  border-radius: 8px;
  color: var(--deep-teal);
  background: rgba(34, 107, 128, 0.08);
}

.about-drawer-facts span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.about-drawer-facts strong {
  font-size: 0.84rem;
  line-height: 1.2;
}

.about-backdrop,
.documents-backdrop {
  position: fixed;
  z-index: 90;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: rgba(7, 26, 32, 0.38);
  transition: opacity 180ms ease;
}

.about-backdrop.is-open,
.documents-backdrop.is-open {
  pointer-events: auto;
  opacity: 1;
}

.documents-drawer-list {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  min-height: 0;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.documents-drawer-list article {
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem;
  border: 1px solid rgba(34, 107, 128, 0.14);
  border-radius: 8px;
  background: rgba(34, 107, 128, 0.07);
}

.documents-drawer-list span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.documents-drawer-list h3 {
  margin-bottom: 0;
  color: var(--deep-teal);
  font-size: 1.2rem;
  line-height: 1;
}

.documents-drawer-list p {
  margin-bottom: 0;
  color: var(--slate);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
}

.documents-drawer-list .button {
  width: fit-content;
  min-height: 2.25rem;
  padding: 0.45rem 0.7rem;
  font-size: 0.78rem;
}

.availability-drawer {
  position: fixed;
  z-index: 95;
  top: 0;
  right: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.8rem;
  width: min(760px, calc(100vw - 1rem));
  height: 100vh;
  padding: 1rem;
  transform: translateX(105%);
  transition: transform 220ms ease;
  border-left: 1px solid var(--line);
  background: var(--white);
  box-shadow: -20px 0 60px rgba(7, 19, 26, 0.28);
}

.availability-drawer.is-open {
  transform: translateX(0);
}

.availability-drawer .drawer-head {
  align-items: flex-start;
  margin-bottom: 0;
}

.availability-drawer .drawer-head h2 {
  margin: 0;
  color: var(--deep-teal);
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.availability-drawer-body {
  min-height: 0;
  overflow-y: auto;
}

.availability-drawer-body.calendar-shell {
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.availability-drawer-body .date-panel {
  position: relative;
  top: auto;
  min-height: 13rem;
}

.availability-backdrop {
  position: fixed;
  z-index: 90;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: rgba(7, 26, 32, 0.38);
  transition: opacity 180ms ease;
}

.availability-backdrop.is-open {
  pointer-events: auto;
  opacity: 1;
}

.page-availability .hero-panel h1 {
  max-width: 13ch;
}

.calendar-note {
  min-height: auto;
}

.calendar-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  gap: 1rem;
}

.calendar-main {
  min-width: 0;
}

.calendar-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.month-controls {
  display: flex;
  gap: 0.45rem;
}

.month-button {
  display: inline-grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid rgba(34, 107, 128, 0.18);
  border-radius: 8px;
  color: var(--dark-teal);
  background: rgba(34, 107, 128, 0.08);
  font-size: 1.15rem;
  font-weight: 900;
}

.month-button:hover,
.month-button:focus-visible {
  color: var(--deep-teal);
  background: var(--yellow);
}

.availability-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.availability-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  min-height: 2rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(34, 107, 128, 0.14);
  border-radius: 8px;
  color: var(--slate);
  background: var(--panel-soft);
  font-size: 0.78rem;
  font-weight: 900;
}

.legend-dot {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: var(--teal);
}

.legend-dot.status-available,
.calendar-day.status-available .day-status,
.date-status-pill.status-available {
  --status-color: #1d7d5a;
  --status-bg: rgba(29, 125, 90, 0.14);
}

.legend-dot.status-tentative,
.calendar-day.status-tentative .day-status,
.date-status-pill.status-tentative {
  --status-color: #8a6a12;
  --status-bg: rgba(250, 255, 184, 0.6);
}

.legend-dot.status-limited,
.calendar-day.status-limited .day-status,
.date-status-pill.status-limited {
  --status-color: #226b80;
  --status-bg: rgba(46, 138, 168, 0.16);
}

.legend-dot.status-booked,
.calendar-day.status-booked .day-status,
.date-status-pill.status-booked {
  --status-color: #8d2f2f;
  --status-bg: rgba(141, 47, 47, 0.14);
}

.legend-dot {
  background: var(--status-color);
}

.weekday-row,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.42rem;
}

.weekday-row {
  margin-bottom: 0.42rem;
}

.weekday-row span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: clamp(5.4rem, 9vw, 7.4rem);
  border: 1px solid rgba(34, 107, 128, 0.15);
  border-radius: 8px;
  padding: 0.55rem;
  color: var(--deep-teal);
  background: rgba(255, 255, 255, 0.92);
  text-align: left;
  box-shadow: 0 8px 18px rgba(7, 19, 26, 0.05);
}

.calendar-day:not(.calendar-day-empty):hover,
.calendar-day:not(.calendar-day-empty):focus-visible {
  border-color: rgba(34, 107, 128, 0.45);
  transform: translateY(-1px);
}

.calendar-day-empty {
  pointer-events: none;
  opacity: 0.3;
  background: rgba(34, 107, 128, 0.05);
  box-shadow: none;
}

.day-number {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 900;
}

.calendar-day.is-today .day-number {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.day-status,
.date-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 1.75rem;
  padding: 0.32rem 0.52rem;
  border-radius: 8px;
  color: var(--status-color);
  background: var(--status-bg);
  font-size: clamp(0.62rem, 1vw, 0.74rem);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.date-panel {
  position: sticky;
  top: 1rem;
  align-self: start;
  min-height: 19rem;
  padding: 1rem;
  border: 1px solid rgba(34, 107, 128, 0.18);
  border-radius: 14px;
  background: var(--panel-soft);
}

.date-panel[hidden] {
  display: none;
}

.date-panel-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
}

.date-panel h3 {
  max-width: calc(100% - 3rem);
  margin-bottom: 0.75rem;
  color: var(--deep-teal);
  font-size: 1.5rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.date-panel p:not(.eyebrow) {
  color: var(--slate);
  line-height: 1.5;
}

.panel-button {
  width: 100%;
}

.document-hero h1 {
  max-width: 12ch;
}

.documents-panel {
  display: grid;
  gap: 1rem;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.document-grid article {
  display: grid;
  align-content: space-between;
  gap: 0.8rem;
  min-height: 14.5rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
}

.document-grid span {
  width: fit-content;
  padding: 0.28rem 0.5rem;
  border-radius: 8px;
  color: var(--dark-teal);
  background: rgba(34, 107, 128, 0.1);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.document-grid h3 {
  margin-bottom: 0;
  color: var(--deep-teal);
  font-size: 1.08rem;
  line-height: 1.05;
}

.document-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.show-info-hero h1 {
  max-width: 13ch;
}

.intake-panel {
  display: grid;
  gap: 1rem;
}

.intake-form {
  display: grid;
  gap: 0.75rem;
}

.spam-check {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.intake-form label {
  display: grid;
  gap: 0.32rem;
}

.intake-form label > span {
  color: var(--dark-teal);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.intake-form input,
.intake-form select,
.intake-form textarea {
  width: 100%;
  border: 1px solid rgba(34, 107, 128, 0.2);
  border-radius: 8px;
  padding: 0.75rem;
  color: var(--deep-teal);
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-weight: 700;
}

.intake-form textarea {
  resize: vertical;
}

.intake-form input:focus,
.intake-form select:focus,
.intake-form textarea:focus {
  border-color: var(--teal);
  outline: 2px solid rgba(34, 107, 128, 0.14);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.intake-privacy-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.form-status {
  min-height: 1.2rem;
  margin-bottom: 0;
  color: var(--slate);
  font-size: 0.88rem;
  font-weight: 800;
}

.submission-confirmation {
  display: grid;
  gap: 0.18rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(34, 107, 128, 0.18);
  border-radius: 8px;
  color: var(--dark-teal);
  background: rgba(34, 107, 128, 0.08);
  font-size: 0.88rem;
  font-weight: 800;
}

.submission-confirmation strong {
  font-size: 1rem;
  font-weight: 900;
}

.submission-confirmation[hidden] {
  display: none;
}

.submission-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.submission-tools[hidden] {
  display: none;
}

.submission-tools .button {
  min-height: 2.35rem;
  padding: 0.5rem 0.72rem;
  color: var(--dark-teal);
  font-size: 0.78rem;
}

.review-status {
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(34, 107, 128, 0.16);
  border-radius: 8px;
  color: var(--dark-teal);
  background: rgba(34, 107, 128, 0.08);
  font-size: 0.9rem;
  font-weight: 850;
}

.offer-review-list {
  display: grid;
  gap: 0.75rem;
}

.offer-review-card {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid rgba(34, 107, 128, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.offer-review-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
}

.offer-review-head h2 {
  margin-bottom: 0;
  color: var(--deep-teal);
  font-size: 1.45rem;
  line-height: 1;
}

.offer-review-head > span,
.offer-review-grid span,
.offer-review-notes span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.offer-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.offer-review-grid div {
  display: grid;
  gap: 0.2rem;
  padding: 0.55rem;
  border: 1px solid rgba(34, 107, 128, 0.12);
  border-radius: 8px;
  background: rgba(34, 107, 128, 0.06);
}

.offer-review-grid strong,
.offer-review-notes p {
  margin-bottom: 0;
  color: var(--dark-teal);
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.35;
}

.offer-review-notes {
  display: grid;
  gap: 0.25rem;
}

@media (max-width: 1020px) {
  .topbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.5rem;
  }

  .nav-pills {
    grid-column: auto;
    grid-row: auto;
    justify-content: flex-end;
  }

  .nav-pills a,
  .nav-pills button {
    flex: 0 0 auto;
    min-height: 2.35rem;
    padding: 0.42rem 0.62rem;
    font-size: 0.72rem;
  }

  .nav-drop {
    flex: 0 0 auto;
  }

  .nav-drop .top-dropdown-panel {
    right: 0;
    left: auto;
  }

  .hero-panel,
  .calendar-shell {
    grid-template-columns: 1fr;
  }

  .command-card {
    min-height: auto;
    order: -1;
  }

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

  .tool-grid,
  .document-grid,
  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    background:
      linear-gradient(180deg, rgba(7, 26, 32, 0.97) 0, rgba(22, 75, 92, 0.95) 15rem, rgba(232, 240, 237, 0.96) 15rem, var(--paper) 100%);
  }

  .app-shell {
    width: min(100% - 1rem, 100%);
    padding-top: 0.75rem;
  }

  .brandmark img {
    width: min(165px, calc(100vw - 12rem));
  }

  .nav-pills {
    display: flex;
    gap: 0.28rem;
  }

  .nav-pills a,
  .nav-pills button {
    min-height: 2.2rem;
    padding: 0.36rem 0.52rem;
    font-size: 0.68rem;
  }

  .top-dropdown-panel {
    position: absolute;
    top: calc(100% + 0.38rem);
    right: 0;
    left: auto;
    width: min(265px, calc(100vw - 1rem));
    padding: 0.45rem;
  }

  .service-list-rows {
    gap: 0.28rem;
  }

  .service-list-rows span,
  .contact-dropdown-actions a {
    min-height: 2.05rem;
    padding: 0.42rem 0.5rem;
    font-size: 0.76rem;
  }

  .contact-dropdown-panel {
    gap: 0.45rem;
  }

  .contact-dropdown-panel h2 {
    max-width: 18ch;
    font-size: 1.15rem;
    line-height: 1;
  }

  .contact-dropdown-actions {
    gap: 0.28rem;
  }

  .topbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.42rem;
    padding-bottom: 0.65rem;
  }

  .slide-icon-button {
    width: 2.35rem;
    height: 2.35rem;
  }

  .hero-panel,
  .hub-panel,
  .contact-panel {
    border-radius: 14px;
  }

  h1 {
    font-size: clamp(2.95rem, 13.5vw, 4.2rem);
  }

  .hero-copy {
    padding: 0;
  }

  .hero-actions,
  .contact-panel,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .status-strip,
  .tool-grid,
  .document-grid,
  .form-row,
  .offer-review-grid {
    grid-template-columns: 1fr;
  }

  .offer-review-head {
    flex-direction: column;
  }

  .command-card {
    gap: 0.5rem;
    padding: 0.6rem;
  }

  .command-card dl {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .command-card div:not(.command-card-head) {
    display: grid;
    grid-template-columns: minmax(5.2rem, auto) minmax(0, 1fr);
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.5rem;
  }

  .command-card dt {
    font-size: 0.58rem;
    margin-bottom: 0;
  }

  .command-card dd {
    min-width: 0;
    font-size: 0.8rem;
    line-height: 1.1;
    text-align: right;
    overflow-wrap: anywhere;
  }

  .hub-panel.compact {
    min-height: 11rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .intake-drawer,
  .about-drawer,
  .documents-drawer {
    width: min(100vw - 0.5rem, 620px);
    padding: 0.75rem;
  }

  .about-drawer-facts {
    grid-template-columns: 1fr;
  }

  .availability-drawer {
    width: min(100vw - 0.5rem, 760px);
    padding: 0.75rem;
  }

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

  .month-controls {
    justify-content: space-between;
  }

  .month-button {
    flex: 1 1 0;
  }

  .weekday-row,
  .calendar-grid {
    gap: 0.28rem;
  }

  .weekday-row span {
    font-size: 0.58rem;
  }

  .calendar-day {
    min-height: 4.85rem;
    padding: 0.42rem;
  }

  .day-number {
    width: 1.45rem;
    height: 1.45rem;
    font-size: 0.78rem;
  }

  .day-status {
    max-width: 100%;
    min-height: 1.35rem;
    padding: 0.22rem 0.28rem;
    font-size: 0.54rem;
  }

  .date-panel {
    position: relative;
    top: auto;
  }
}

@media (max-width: 430px) {
  .dual-panel {
    grid-template-columns: 1fr;
  }

  .availability-legend span {
    flex: 1 1 calc(50% - 0.3rem);
    justify-content: center;
  }

  .day-status {
    color: transparent;
    width: 100%;
    min-width: 0;
    min-height: 0.45rem;
    padding: 0;
    overflow: hidden;
  }
}
