:root {
  --ink: #161921;
  --navy: #132a54;
  --blue: #137aa8;
  --blue-deep: #0f678f;
  --paper: #ffffff;
  --muted: #68707d;
  --line: #dce2e8;
  --header-height: 102px;
  font-family: Inter, Avenir, 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: white;
  background: var(--navy);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.broker-header {
  position: relative;
  z-index: 20;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 20vw, 395px);
  background: rgba(255, 255, 255, 0.98);
}

.site-header nav a,
.broker-header > a:last-child {
  color: #19233b;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.broker-header > a:last-child:hover,
.broker-header > a:last-child:focus-visible {
  color: var(--blue-deep);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.home-hero {
  position: relative;
  min-height: min(66vw, 650px);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: white;
  background: #777c84;
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/biomedical-corridor.jpg') center / cover no-repeat;
  filter: grayscale(1);
}

.home-hero__shade {
  position: absolute;
  inset: 0;
  background: rgba(20, 29, 43, 0.68);
}

.home-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  padding: 72px 24px 100px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 24px;
  color: currentColor;
  font-size: clamp(16px, 1.2vw, 21px);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.home-hero h1 {
  margin: 0 0 34px;
  max-width: 950px;
  font-size: clamp(46px, 5.3vw, 76px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  padding: 0 38px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

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

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--blue-deep);
}

.button--secondary {
  border: 1px solid var(--navy);
  color: var(--navy);
  background: white;
}

.button--secondary:hover,
.button--secondary:focus-visible {
  color: white;
  background: var(--navy);
}

.button--light {
  color: var(--navy);
  background: var(--paper);
  border-radius: 999px;
}

.button--light:hover,
.button--light:focus-visible {
  color: var(--navy);
  background: white;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 24px;
  left: 50%;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: white;
  font-size: 25px;
  text-decoration: none;
  transform: translateX(-50%);
}

.event {
  position: relative;
  overflow: hidden;
  padding: 86px 24px 100px;
  background: var(--blue);
}

.event::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 72px;
  background: var(--paper);
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%);
}

.event__inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1160px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 70px;
  align-items: center;
}

.event__copy {
  padding-top: 30px;
  color: white;
}

.event__copy h2 {
  margin: 0 0 38px;
  color: white;
  font-size: clamp(34px, 3vw, 52px);
  line-height: 1.05;
}

.event__copy blockquote {
  margin: 0 0 30px;
  font-size: 18px;
  font-style: italic;
  line-height: 1.55;
}

.event__copy cite {
  display: block;
  font-style: normal;
}

.event__copy p {
  max-width: 780px;
  font-size: 17px;
  line-height: 1.7;
}

.event__copy .button {
  margin-top: 18px;
}

.event__image {
  margin: 0;
  padding-top: 20px;
}

.event__image img {
  width: 100%;
  box-shadow: 0 24px 65px rgba(13, 57, 80, 0.22);
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 34px;
  padding: 68px 24px;
  color: #606875;
  background: #f2f3f5;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
}

.site-footer .footer-brand {
  color: var(--ink);
  font-family: Inter, Avenir, 'Helvetica Neue', Arial, sans-serif;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-content: center;
  padding: 24px;
  text-align: center;
}

.not-found__logo {
  margin: 0 auto 32px;
}

.not-found h1 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(42px, 7vw, 82px);
}

.not-found p {
  margin: 0 0 30px;
  color: var(--muted);
}

.contact-dialog {
  width: min(560px, calc(100% - 32px));
  border: 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
}

.contact-dialog::backdrop {
  background: rgba(8, 17, 31, 0.72);
  backdrop-filter: blur(4px);
}

.contact-dialog__panel {
  position: relative;
  padding: 58px;
  background: white;
}

.contact-dialog h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 34px;
  line-height: 1.12;
}

.contact-dialog p {
  line-height: 1.65;
}

.contact-dialog .button {
  margin-top: 14px;
}

.contact-dialog__note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.dialog-close {
  position: absolute;
  top: 15px;
  right: 18px;
  border: 0;
  padding: 6px 10px;
  color: var(--muted);
  background: transparent;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.broker-header {
  position: sticky;
  top: 0;
  min-height: 76px;
  padding-inline: clamp(24px, 7vw, 120px);
  border-bottom: 1px solid rgba(19, 42, 84, 0.08);
}

.service {
  position: relative;
  display: grid;
  min-height: 820px;
  overflow: hidden;
  grid-template-columns: minmax(0, 42%) minmax(0, 58%);
  background: white;
}

.service--right {
  grid-template-columns: minmax(0, 58%) minmax(0, 42%);
}

.service--buyers {
  --service-image: url('/assets/broker-buyers.jpg');
}

.service--sellers {
  --service-image: url('/assets/broker-sellers.jpg');
}

.service--commercial {
  --service-image: url('/assets/broker-commercial.jpg');
}

.service--landlords {
  --service-image: url('/assets/broker-landlords.jpg');
}

.service__photo {
  position: relative;
  z-index: 0;
  min-height: 620px;
  background: var(--service-image) center / cover no-repeat;
  filter: grayscale(1);
}

.service--left .service__photo {
  clip-path: polygon(0 0, 84% 0, 100% 100%, 0 100%);
}

.service--right .service__photo {
  grid-column: 2;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}

.service__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 72%,
    rgba(238, 236, 245, 0.75) 72.5% 78%,
    transparent 78.5%
  );
}

.service--right .service__photo::after {
  background: linear-gradient(
    90deg,
    transparent 20%,
    rgba(238, 236, 245, 0.75) 20.5% 26%,
    transparent 26.5%
  );
}

.service__copy {
  align-self: center;
  max-width: 860px;
  padding: 90px clamp(42px, 7vw, 140px) 90px clamp(28px, 4vw, 82px);
  color: var(--muted);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.6;
}

.service--right .service__copy {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  padding-right: clamp(28px, 4vw, 82px);
  padding-left: clamp(42px, 7vw, 140px);
}

.service__audience {
  margin: 0 0 4px;
  color: var(--navy);
  font-family: Inter, Avenir, 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(29px, 3vw, 55px);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.service h1,
.service h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: Inter, Avenir, 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(38px, 4.1vw, 62px);
  line-height: 1.08;
}

.service__lead {
  margin: 0;
  font-family: Inter, Avenir, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.45;
}

.service__rule {
  width: 124px;
  height: 1px;
  margin: 38px 0;
  background: var(--line);
}

.service .button {
  margin-top: 14px;
  font-family: Inter, Avenir, 'Helvetica Neue', Arial, sans-serif;
}

.boston {
  position: relative;
  min-height: 930px;
  overflow: hidden;
  background: url('/assets/broker-boston.jpg') center / cover no-repeat;
}

.boston__shade {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.58);
}

.boston__inner {
  position: relative;
  z-index: 1;
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto;
  padding: 115px 0;
  text-align: center;
}

.boston h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.05;
}

.boston__inner > p {
  display: inline-block;
  margin: 10px 0 70px;
  padding: 8px 14px;
  color: var(--muted);
  background: var(--paper);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
}

.boston__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
}

.boston__cards article {
  display: grid;
  min-height: 390px;
  place-content: center;
  padding: 52px 42px;
  color: var(--navy);
  background: var(--paper);
  box-shadow: 0 25px 60px rgba(28, 35, 51, 0.12);
}

.boston__cards article:nth-child(2) {
  min-height: 430px;
}

.boston__cards h3 {
  margin: 0;
  font-size: 18px;
}

.boston__cards span {
  width: 28px;
  height: 1px;
  margin: 32px auto;
  background: #cfd3da;
}

.boston__cards p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.16em;
  line-height: 1.8;
}

.site-footer--broker {
  background: white;
}

.service-request-page {
  min-height: 100vh;
  background: #f2f3f5;
}

.service-request {
  --request-image: url('/assets/broker-buyers.jpg');
  display: grid;
  min-height: calc(100vh - 76px);
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
}

.service-request--seller {
  --request-image: url('/assets/broker-sellers.jpg');
}

.service-request--business {
  --request-image: url('/assets/broker-commercial.jpg');
}

.service-request--landlord {
  --request-image: url('/assets/broker-landlords.jpg');
}

.service-request__content {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(64px, 9vw, 150px) clamp(30px, 10vw, 180px);
  background: var(--paper);
}

.service-request__back {
  margin-bottom: clamp(56px, 7vw, 100px);
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.service-request__back:hover,
.service-request__back:focus-visible {
  text-decoration: underline;
}

.service-request__eyebrow {
  margin: 0 0 16px;
  color: var(--blue-deep);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-request h1 {
  max-width: 820px;
  margin: 0 0 28px;
  color: var(--navy);
  font-size: clamp(44px, 5vw, 76px);
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.service-request__lead {
  max-width: 720px;
  margin: 0 0 36px;
  color: var(--muted);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.65;
}

.service-request__note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.resident-resources {
  width: min(100%, 720px);
  margin-top: clamp(44px, 5vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.resident-resources > p {
  margin: 0 0 15px;
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.resident-resources > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.resident-resources a {
  display: grid;
  min-height: 104px;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  color: var(--navy);
  background: #f7f8f9;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.resident-resources a:hover,
.resident-resources a:focus-visible {
  border-color: var(--blue);
  background: white;
  transform: translateY(-2px);
}

.resident-resources a > span:first-child {
  grid-column: 1;
  color: var(--muted);
  font-size: 12px;
}

.resident-resources strong {
  grid-column: 1;
  font-size: 16px;
}

.resident-resources a > span:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--blue-deep);
  font-size: 20px;
}

.service-request__aside {
  display: grid;
  align-content: end;
  padding: clamp(48px, 7vw, 110px);
  color: var(--paper);
  background:
    linear-gradient(rgba(19, 42, 84, 0.9), rgba(19, 42, 84, 0.9)),
    var(--request-image) center / cover no-repeat;
}

.service-request__aside p {
  margin: 0 0 24px;
  font-size: clamp(25px, 2.4vw, 38px);
  font-weight: 700;
  line-height: 1.12;
}

.service-request__aside ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.5;
}

.landlord-onboarding {
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.45fr);
}

.landlord-onboarding .service-request__content {
  align-content: start;
  padding: clamp(64px, 7vw, 110px) clamp(30px, 7vw, 120px);
}

.landlord-onboarding .service-request__back {
  margin-bottom: clamp(44px, 5vw, 72px);
}

.landlord-onboarding__aside {
  position: sticky;
  top: 0;
  min-height: 100vh;
  align-self: start;
  align-content: center;
}

.landlord-onboarding__aside-note {
  display: grid;
  gap: 7px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 13px;
  line-height: 1.55;
}

.landlord-onboarding__aside-note strong {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.onboarding-form {
  display: grid;
  width: min(100%, 860px);
  gap: 22px;
}

.onboarding-form__intro,
.onboarding-form__internal {
  display: grid;
  gap: 6px;
  padding: 20px 22px;
  border-left: 4px solid var(--blue);
  color: var(--navy);
  background: #f1f7fa;
  font-size: 14px;
  line-height: 1.55;
}

.onboarding-form__internal {
  border-left-color: var(--navy);
  background: #f4f5f7;
}

.onboarding-form fieldset {
  min-width: 0;
  margin: 0;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  background: white;
}

.onboarding-form legend {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 750;
}

.onboarding-form legend span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--navy);
  font-size: 13px;
}

.onboarding-form__help {
  margin: 0 0 22px;
  color: var(--muted);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  line-height: 1.55;
}

.onboarding-grid {
  display: grid;
  gap: 20px;
}

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

.onboarding-grid__wide {
  grid-column: 1 / -1;
}

.onboarding-form label {
  display: grid;
  align-content: start;
  gap: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.onboarding-form input,
.onboarding-form select,
.onboarding-form textarea,
.onboarding-review textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #bbc5d0;
  border-radius: 0;
  padding: 12px 13px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.onboarding-form textarea,
.onboarding-review textarea {
  resize: vertical;
}

.onboarding-form input:focus-visible,
.onboarding-form select:focus-visible,
.onboarding-form textarea:focus-visible,
.onboarding-review textarea:focus-visible {
  border-color: var(--blue-deep);
  outline: 3px solid rgba(19, 122, 168, 0.18);
  outline-offset: 1px;
}

.onboarding-form input:user-invalid,
.onboarding-form select:user-invalid,
.onboarding-form textarea:user-invalid {
  border-color: #913b2e;
}

.onboarding-form small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
}

.money-input {
  position: relative;
  display: block;
}

.money-input > span {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 13px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  transform: translateY(-50%);
}

.money-input input {
  padding-left: 29px;
}

.onboarding-details {
  margin-top: 22px;
  border: 1px solid var(--line);
  background: #f8f9fa;
}

.onboarding-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.onboarding-details summary span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  text-align: right;
}

.onboarding-details[open] summary {
  border-bottom: 1px solid var(--line);
}

.onboarding-details > .onboarding-grid {
  padding: 22px;
}

.utility-allocation {
  margin-top: 28px;
}

.utility-allocation h2 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 16px;
}

.utility-allocation > p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.utility-allocation__table {
  border: 1px solid var(--line);
}

.utility-allocation__head,
.utility-allocation__row {
  display: grid;
  grid-template-columns: minmax(150px, 1.7fr) repeat(3, minmax(76px, 0.65fr));
  align-items: center;
}

.utility-allocation__head {
  min-height: 42px;
  color: white;
  background: var(--navy);
  font-size: 11px;
  font-weight: 750;
}

.utility-allocation__head span,
.utility-allocation__row > span,
.utility-allocation__row label {
  padding: 10px 12px;
}

.utility-allocation__head span:not(:first-child) {
  text-align: center;
}

.utility-allocation__row {
  min-height: 52px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.utility-allocation__row:nth-child(odd) {
  background: #f8f9fa;
}

.utility-allocation__row > span {
  color: var(--navy);
  font-weight: 700;
}

.utility-allocation__row label {
  display: grid;
  min-height: 52px;
  place-items: center;
  cursor: pointer;
}

.utility-allocation__row label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.utility-allocation__row input {
  width: 20px;
  min-height: 20px;
  margin: 0;
  accent-color: var(--blue-deep);
}

.onboarding-consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  padding: 8px 2px;
}

.onboarding-consent input {
  width: 20px;
  min-height: 20px;
  margin: 1px 0 0;
  accent-color: var(--blue-deep);
}

.onboarding-form__error {
  margin: 0;
  padding: 14px 16px;
  border-left: 4px solid #913b2e;
  color: #742f25;
  background: #fbf1ef;
  font-size: 14px;
}

.onboarding-review {
  width: min(100%, 860px);
  margin-top: 34px;
  padding: clamp(28px, 4vw, 46px);
  border: 2px solid var(--navy);
  background: #f8f9fa;
  scroll-margin-top: 24px;
}

.onboarding-review h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 42px);
}

.onboarding-review > p:not(.service-request__eyebrow, .service-request__note) {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.55;
}

.onboarding-review textarea {
  min-height: 420px;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.onboarding-review__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.guide-page {
  color: var(--navy);
  background: #f7f7f4;
}

.guide-header {
  position: relative;
  z-index: 20;
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 8vw, 136px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
}

.guide-header nav a {
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.guide-header nav a:hover,
.guide-header nav a:focus-visible {
  color: var(--blue-deep);
}

.guide-eyebrow {
  margin: 0 0 16px;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rawson-hero {
  display: grid;
  min-height: 710px;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  background: var(--paper);
}

.rawson-hero__copy {
  align-self: center;
  padding: clamp(72px, 9vw, 150px) clamp(36px, 8vw, 132px);
}

.rawson-hero h1,
.moveout-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(48px, 5.5vw, 82px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.rawson-hero__copy > p:not(.guide-eyebrow):not(.external-note) {
  max-width: 610px;
  margin: 32px 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.external-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.rawson-hero__visual {
  position: relative;
  display: grid;
  min-height: 710px;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(19, 42, 84, 0.96), rgba(15, 103, 143, 0.88)), #132a54;
}

.rawson-hero__visual::before,
.rawson-hero__visual::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  content: '';
}

.rawson-hero__visual::before {
  width: 540px;
  height: 540px;
  top: -210px;
  right: -120px;
}

.rawson-hero__visual::after {
  width: 380px;
  height: 380px;
  bottom: -170px;
  left: -120px;
}

.rawson-plan {
  z-index: 1;
  width: min(52%, 420px);
  margin: -66px 0 0 -132px;
  padding: 16px;
  background: white;
  box-shadow: 0 28px 65px rgba(7, 20, 42, 0.32);
  transform: rotate(-2deg);
}

.rawson-plan img {
  width: 100%;
}

.rawson-entry {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 6vw, 82px);
  bottom: 64px;
  width: min(47%, 360px);
  margin: 0;
  padding: 12px 12px 16px;
  background: white;
  box-shadow: 0 25px 55px rgba(7, 20, 42, 0.36);
}

.rawson-entry img {
  width: 100%;
}

.rawson-entry figcaption {
  padding: 12px 4px 0;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.rawson-details {
  display: grid;
  width: min(100% - 48px, 1280px);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(60px, 10vw, 160px);
  margin: 0 auto;
  padding: 120px 0;
}

.rawson-details__intro h2,
.section-heading h2,
.guide-contact h2 {
  margin: 0;
  font-size: clamp(38px, 4.2vw, 62px);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.rawson-details__intro > p:last-child,
.section-heading > p:last-child {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.rawson-rules {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rawson-rules li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-top: 1px solid #cfd6dd;
}

.rawson-rules li:last-child {
  border-bottom: 1px solid #cfd6dd;
}

.rawson-rules li > span {
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 800;
}

.rawson-rules h3,
.rawson-rules p {
  margin: 0;
}

.rawson-rules h3 {
  font-size: 21px;
}

.rawson-rules p {
  margin-top: 9px;
  color: var(--muted);
  line-height: 1.6;
}

.parking-intake-section {
  display: grid;
  width: min(100% - 48px, 1280px);
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(54px, 8vw, 120px);
  margin: 0 auto;
  padding: 120px 0 140px;
  border-top: 1px solid #cfd6dd;
}

.parking-intake-section__heading {
  align-self: start;
}

.parking-intake-section__heading h2 {
  margin: 0;
  font-size: clamp(38px, 4.2vw, 62px);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.parking-intake-section__heading > p:not(.guide-eyebrow) {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.parking-intake-notice {
  display: grid;
  gap: 8px;
  margin-top: 34px;
  padding: 22px 24px;
  border-left: 4px solid var(--blue);
  color: var(--navy);
  background: #eaf4f8;
  font-size: 14px;
  line-height: 1.55;
}

.parking-intake-section__body,
.parking-intake,
.parking-intake-review {
  width: 100%;
}

.parking-intake {
  scroll-margin-top: 24px;
}

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

.parking-acknowledgments {
  display: grid;
  gap: 14px;
}

.parking-acknowledgments .onboarding-consent {
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #f8f9fa;
  font-weight: 600;
  cursor: pointer;
}

.parking-intake-completed-by-miland {
  padding: 22px 24px;
  border-left: 4px solid var(--navy);
  color: var(--navy);
  background: #eef0f4;
  font-size: 14px;
  line-height: 1.55;
}

.parking-intake-completed-by-miland strong {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.parking-intake-completed-by-miland p,
.parking-intake-review label {
  margin: 0;
}

.parking-intake-review label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 750;
}

.guide-contact {
  display: flex;
  min-height: 270px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px clamp(24px, 8vw, 136px);
  color: white;
  background: var(--navy);
}

.guide-contact .guide-eyebrow {
  color: #7fd4f3;
}

.guide-contact h2 {
  max-width: 880px;
  color: white;
}

.moveout-hero {
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(0, 1.1fr) minmax(370px, 0.9fr);
  align-items: center;
  gap: clamp(50px, 9vw, 150px);
  padding: clamp(80px, 10vw, 150px) clamp(24px, 8vw, 136px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)),
    repeating-linear-gradient(90deg, transparent 0 79px, #dce2e8 80px);
}

.moveout-hero__lead {
  max-width: 680px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.moveout-steps {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--line);
  box-shadow: 0 25px 70px rgba(26, 39, 57, 0.12);
  list-style: none;
}

.moveout-steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 27px 28px;
  color: var(--muted);
  background: white;
  line-height: 1.55;
}

.moveout-steps span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--blue-deep);
  font-weight: 800;
}

.moveout-steps strong {
  display: block;
  color: var(--navy);
}

.moveout-steps p {
  margin: 0;
}

.guide-jump {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  justify-content: center;
  gap: clamp(24px, 7vw, 90px);
  padding: 19px 24px;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.guide-jump a {
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.guide-jump a:hover,
.guide-jump a:focus-visible {
  color: var(--blue-deep);
}

.moveout-section {
  scroll-margin-top: 68px;
  padding: 110px clamp(24px, 8vw, 136px);
}

.section-heading {
  max-width: 520px;
}

.section-heading--wide {
  max-width: 850px;
}

.before-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: clamp(48px, 8vw, 120px);
  margin-top: 64px;
}

.task-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.task-list li {
  position: relative;
  padding: 20px 8px 20px 48px;
  border-top: 1px solid #cfd6dd;
  color: #404957;
  line-height: 1.55;
}

.task-list li:last-child {
  border-bottom: 1px solid #cfd6dd;
}

.task-list li::before {
  position: absolute;
  top: 21px;
  left: 6px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--blue-deep);
  content: '';
}

.lease-note {
  align-self: start;
  padding: 42px;
  color: white;
  background: var(--navy);
}

.lease-note .guide-eyebrow {
  color: #7fd4f3;
}

.lease-note h3 {
  margin: 0;
  font-size: 30px;
}

.lease-note > p:last-child {
  margin: 22px 0 0;
  color: #e4e9ef;
  line-height: 1.7;
}

.cleaning-section {
  background: white;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 64px;
}

.checklist-card {
  min-height: 330px;
  padding: 34px;
  border: 1px solid var(--line);
  background: #fbfbf9;
}

.checklist-card:nth-child(2),
.checklist-card:nth-child(5) {
  background: #f0f6f8;
}

.checklist-card h3 {
  margin: 0 0 25px;
  color: var(--navy);
  font-size: 25px;
}

.checklist-card ul,
.comparison-card ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding-left: 20px;
  color: #4e5865;
  line-height: 1.52;
}

.wear-section {
  background: #eef1f3;
}

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

.comparison-card {
  padding: clamp(34px, 5vw, 64px);
  background: white;
}

.comparison-card--wear {
  border-top: 6px solid var(--blue-deep);
}

.comparison-card--damage {
  border-top: 6px solid #b05444;
}

.comparison-label {
  margin: 0 0 18px;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.comparison-card--damage .comparison-label {
  color: #913b2e;
}

.comparison-card h3 {
  margin: 0 0 30px;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.18;
}

.damage-explainer {
  margin-top: 20px;
  background: var(--navy);
}

.damage-explainer details {
  color: white;
}

.damage-explainer summary {
  padding: 28px clamp(28px, 5vw, 62px);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}

.damage-explainer details > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 50px;
  padding: 0 clamp(28px, 5vw, 62px) 44px;
}

.damage-explainer p {
  margin: 0;
  color: #e4e9ef;
  line-height: 1.65;
}

@media (max-width: 900px) {
  :root {
    --header-height: 78px;
  }

  .site-header,
  .broker-header {
    padding-inline: 24px;
  }

  .home-hero {
    min-height: 650px;
  }

  .event {
    padding-block: 72px;
  }

  .event::before {
    display: none;
  }

  .event__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .event__copy {
    padding-top: 0;
  }

  .event__copy h2 {
    color: white;
  }

  .event__image {
    max-width: 460px;
    padding-top: 0;
  }

  .service,
  .service--right {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .service__photo,
  .service--right .service__photo {
    grid-column: 1;
    grid-row: 1;
    min-height: 430px;
    clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
  }

  .service__photo::after,
  .service--right .service__photo::after {
    background: linear-gradient(
      178deg,
      transparent 76%,
      rgba(238, 236, 245, 0.8) 76.5% 82%,
      transparent 82.5%
    );
  }

  .service__copy,
  .service--right .service__copy {
    grid-column: 1;
    grid-row: 2;
    justify-self: stretch;
    max-width: none;
    padding: 38px 28px 72px;
  }

  .boston {
    min-height: 0;
  }

  .boston__inner {
    padding-block: 80px;
  }

  .boston__cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .boston__cards article,
  .boston__cards article:nth-child(2) {
    min-height: 300px;
  }

  .service-request {
    grid-template-columns: 1fr;
  }

  .service-request__content {
    padding: 64px 28px 72px;
  }

  .service-request__back {
    margin-bottom: 58px;
  }

  .service-request__aside {
    min-height: 420px;
    padding: 52px 28px;
  }

  .landlord-onboarding__aside {
    position: static;
    min-height: 420px;
    align-content: center;
  }

  .resident-resources {
    margin-top: 50px;
  }

  .guide-header {
    padding-inline: 24px;
  }

  .rawson-hero,
  .moveout-hero {
    grid-template-columns: 1fr;
  }

  .rawson-hero__copy {
    padding: 80px 32px;
  }

  .rawson-hero__visual {
    min-height: 620px;
  }

  .rawson-details,
  .parking-intake-section,
  .before-grid {
    grid-template-columns: 1fr;
  }

  .rawson-details {
    padding-block: 90px;
  }

  .parking-intake-section {
    padding-block: 90px 110px;
  }

  .moveout-hero {
    padding-block: 90px;
  }

  .moveout-steps {
    max-width: 650px;
  }

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

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

@media (max-width: 560px) {
  .site-header nav a {
    font-size: 14px;
  }

  .brand img {
    width: 128px;
    height: auto;
  }

  .home-hero__content {
    padding-inline: 18px;
  }

  .home-hero h1 {
    font-size: 48px;
  }

  .event {
    padding-inline: 20px;
  }

  .event__copy h2 {
    font-size: 38px;
  }

  .contact-dialog__panel {
    padding: 46px 26px 34px;
  }

  .contact-dialog h2 {
    font-size: 28px;
  }

  .contact-dialog .button {
    width: 100%;
  }

  .broker-header {
    min-height: 70px;
  }

  .service__photo,
  .service--right .service__photo {
    min-height: 320px;
  }

  .service__audience {
    font-size: 26px;
  }

  .service h1,
  .service h2 {
    font-size: 39px;
  }

  .service__copy,
  .service--right .service__copy {
    font-size: 16px;
  }

  .service .button {
    width: 100%;
    padding-inline: 20px;
  }

  .boston__inner {
    width: min(100% - 32px, 1260px);
  }

  .boston h2 {
    font-size: 40px;
  }

  .service-request h1 {
    font-size: 44px;
  }

  .service-request .button {
    width: 100%;
    padding-inline: 20px;
    text-align: center;
  }

  .resident-resources > div {
    grid-template-columns: 1fr;
  }

  .onboarding-grid--two {
    grid-template-columns: 1fr;
  }

  .onboarding-grid__wide {
    grid-column: auto;
  }

  .onboarding-form fieldset,
  .onboarding-details > .onboarding-grid {
    padding: 20px 16px;
  }

  .onboarding-form legend {
    align-items: flex-start;
    font-size: 16px;
  }

  .onboarding-review__actions,
  .onboarding-review__actions .button {
    width: 100%;
  }

  .onboarding-details summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .onboarding-details summary span {
    text-align: left;
  }

  .utility-allocation__head {
    display: none;
  }

  .utility-allocation__row {
    grid-template-columns: repeat(3, 1fr);
    padding: 12px;
  }

  .utility-allocation__row > span {
    grid-column: 1 / -1;
    padding: 2px 4px 8px;
  }

  .utility-allocation__row label {
    position: relative;
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    padding: 6px 4px;
    font-size: 11px;
    font-weight: 600;
  }

  .utility-allocation__row label span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
  }

  .guide-header nav a {
    font-size: 12px;
  }

  .rawson-hero h1,
  .moveout-hero h1 {
    font-size: 46px;
  }

  .rawson-hero__visual {
    min-height: 500px;
  }

  .rawson-plan {
    width: 64%;
    margin: -70px 0 0 -76px;
  }

  .rawson-entry {
    right: 20px;
    bottom: 36px;
    width: 54%;
  }

  .rawson-details {
    width: min(100% - 40px, 1280px);
  }

  .parking-intake-section {
    width: min(100% - 40px, 1280px);
  }

  .parking-vehicle-grid {
    grid-template-columns: 1fr;
  }

  .guide-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .guide-contact .button {
    width: 100%;
  }

  .guide-jump {
    position: static;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 0 24px;
  }

  .guide-jump a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
  }

  .moveout-section {
    padding: 80px 22px;
  }

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

  .checklist-card {
    min-height: 0;
  }

  .lease-note {
    padding: 32px 26px;
  }

  .damage-explainer details > div {
    grid-template-columns: 1fr;
  }
}

@media print {
  .guide-header,
  .guide-jump,
  .guide-contact {
    display: none;
  }

  .moveout-hero,
  .moveout-section {
    padding: 32px 0;
  }

  .moveout-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .moveout-steps,
  .checklist-card,
  .comparison-card,
  .lease-note {
    break-inside: avoid;
    box-shadow: none;
  }

  .damage-explainer details > div {
    display: grid !important;
  }

  .guide-page {
    background: white;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
