@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Montserrat:wght@400;500;700&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  /* ---- colors ---- */
  /* Brand navy — sampled from the logo field (#003D76) */
  --navy-950: #00152B;
  --navy-900: #001C38;
  --navy-800: #002A52;
  --navy-700: #003D76;
  --navy-600: #0F5490;
  --navy-500: #2E6DA6;
  --navy-300: #8FAECB;
  --navy-200: #B9CBDE;
  --navy-100: #E3EBF3;
  --navy-50: #F1F5F9;
  /* Sage — secondary accent, used sparingly for status and quiet emphasis */
  --sage-800: #33472F;
  --sage-700: #44603F;
  --sage-600: #55725A;
  --sage-500: #6F8B72;
  --sage-200: #C6D3C4;
  --sage-100: #E4EBE3;
  /* Sandstone — warm neutral for section grounds */
  --sand-500: #C9BFA9;
  --sand-300: #E0D8C7;
  --sand-200: #E9E3D7;
  --sand-100: #F3EFE7;
  /* Neutrals */
  --white: #FFFFFF;
  --paper: #F7F6F3;
  --grey-100: #EFEEEA;
  --grey-200: #DEDAD2;
  --grey-300: #C6C2BA;
  --grey-400: #9A968E;
  --grey-500: #5D646D;
  --grey-700: #333A42;
  --ink: #14181D;
  /* Status */
  --status-available: #55725A;
  --status-under-offer: #A9752A;
  --status-leased: #7C3B32;
  /* Semantic aliases */
  --brand: var(--navy-700);
  --brand-strong: var(--navy-800);
  --brand-soft: var(--navy-100);
  --accent: var(--sage-600);
  --accent-soft: var(--sage-100);
  --text-heading: var(--navy-800);
  --text-body: var(--grey-700);
  --text-muted: var(--grey-500);
  --text-inverse: var(--white);
  --text-link: var(--navy-700);
  --text-link-hover: var(--navy-600);
  --surface-page: var(--paper);
  --surface-card: var(--white);
  --surface-sunken: var(--grey-100);
  --surface-warm: var(--sand-200);
  --surface-inverse: var(--navy-700);
  --surface-inverse-deep: var(--navy-900);
  --border-hairline: var(--grey-200);
  --border-strong: var(--grey-300);
  --border-inverse: rgba(255, 255, 255, .38);
  --border-focus: var(--navy-600);
  --keyline: 1px solid var(--border-hairline);
  --keyline-inverse: 1px solid var(--border-inverse);

  /* ---- typography ---- */
  --font-sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-wordmark: "Montserrat", "Instrument Sans", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  --font-display: var(--font-sans);
  --font-body: var(--font-sans);

  --fs-display-1: 64px;
  --fs-display-2: 48px;
  --fs-h1: 38px;
  --fs-h2: 29px;
  --fs-h3: 22px;
  --fs-h4: 18px;
  --fs-body-lg: 18px;
  --fs-body: 16px;
  --fs-body-sm: 14px;
  --fs-caption: 13px;
  --fs-micro: 11px;

  --lh-display: 1.04;
  --lh-heading: 1.16;
  --lh-body: 1.6;
  --lh-tight: 1.3;

  --ls-display: -0.022em;
  --ls-heading: -0.014em;
  --ls-body: 0em;
  --ls-eyebrow: 0.16em;
  --ls-wordmark: -0.01em;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --eyebrow: var(--fw-semibold) var(--fs-micro)/1.2 var(--font-sans);
  --text-display-1: var(--fw-medium) var(--fs-display-1)/var(--lh-display) var(--font-display);
  --text-h1: var(--fw-medium) var(--fs-h1)/var(--lh-heading) var(--font-display);
  --text-h2: var(--fw-medium) var(--fs-h2)/var(--lh-heading) var(--font-display);
  --text-h3: var(--fw-semibold) var(--fs-h3)/var(--lh-tight) var(--font-display);
  --text-body: var(--fw-regular) var(--fs-body)/var(--lh-body) var(--font-body);

  /* ---- spacing ---- */
  --space-0: 0px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;
  --gutter: 30px;
  --container-max: 1240px;
  --container-narrow: 760px;
  --section-y: 96px;
  --section-y-tight: 64px;
  --radius-0: 0px;
  --radius-sm: 2px;
  --radius-md: 3px;
  --radius-pill: 999px;
  --radius-card: var(--radius-sm);
  --radius-control: var(--radius-sm);
  --border-w: 1px;
  --border-w-keyline: 2px;
  --field-h: 44px;
  --control-h-sm: 34px;
  --control-h-md: 44px;
  --control-h-lg: 52px;

  /* ---- elevation ---- */
  --shadow-0: none;
  --shadow-1: 0 1px 2px rgba(0, 28, 56, .06);
  --shadow-2: 0 2px 8px rgba(0, 28, 56, .08);
  --shadow-3: 0 8px 24px rgba(0, 28, 56, .10);
  --shadow-overlay: 0 18px 48px rgba(0, 21, 43, .22);
  --shadow-focus: 0 0 0 3px rgba(15, 84, 144, .28);
  --scrim-image: linear-gradient(180deg, rgba(0, 28, 56, 0) 30%, rgba(0, 28, 56, .72) 100%);
  --scrim-hero: linear-gradient(90deg, rgba(0, 28, 56, .78) 0%, rgba(0, 28, 56, .35) 55%, rgba(0, 28, 56, .12) 100%);
  --blur-panel: saturate(140%) blur(10px);

  /* ---- motion ---- */
  --ease-standard: cubic-bezier(.2, 0, .2, 1);
  --ease-out: cubic-bezier(0, 0, .2, 1);
  --ease-in-out: cubic-bezier(.4, 0, .2, 1);
  --dur-fast: 120ms;
  --dur-base: 180ms;
  --dur-slow: 320ms;
  --dur-image: 600ms;
  --transition-control: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}

/* ============================ base ============================ */
* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--surface-page);
  font-family: var(--font-body);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--text-link)
}

a:hover {
  color: var(--text-link-hover)
}

img {
  max-width: 100%
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter)
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--white);
  color: var(--navy-700);
  padding: var(--space-3) var(--space-5);
  font: var(--fw-semibold) var(--fs-body-sm)/1 var(--font-sans);
}

.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4)
}

:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px
}

/* ============================ Logo ============================ */
.logo {
  display: block;
  width: auto;
  height: 38px
}

.logo--sm {
  height: 30px
}

/* ============================ Wordmark (header) ============================ */
.wordmark{
  font:var(--fw-semibold) var(--fs-micro)/1 var(--font-sans);
  letter-spacing:var(--ls-eyebrow);text-transform:uppercase;
  color:rgba(255,255,255,.76);text-decoration:none;white-space:nowrap;
}
.wordmark:hover{color:var(--white)}

/* ============================ Eyebrow ============================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--navy-700);
  font: var(--eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: .55;
  flex: 0 0 auto
}

.eyebrow--inverse {
  color: rgba(255, 255, 255, .72)
}

.eyebrow--muted {
  color: var(--text-muted)
}

/* ============================ Button ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: var(--control-h-md);
  padding: 0 20px;
  font: var(--fw-semibold) var(--fs-body-sm)/1 var(--font-sans);
  letter-spacing: .01em;
  border-radius: var(--radius-control);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-control);
  box-shadow: var(--shadow-1);
  background: var(--navy-700);
  color: var(--white);
  border: 1px solid var(--navy-700);
}

.btn:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--white)
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: .45;
  cursor: not-allowed
}

.btn--sm {
  height: var(--control-h-sm);
  padding: 0 14px;
  font-size: var(--fs-caption)
}

.btn--lg {
  height: var(--control-h-lg);
  padding: 0 28px;
  font-size: var(--fs-body)
}

.btn--secondary {
  background: var(--white);
  color: var(--navy-700);
  border-color: var(--navy-700)
}

.btn--secondary:hover {
  background: var(--navy-50);
  border-color: var(--navy-700);
  color: var(--navy-700)
}

.btn--inverse {
  background: var(--white);
  color: var(--navy-700);
  border-color: var(--white)
}

.btn--inverse:hover {
  background: var(--navy-100);
  border-color: var(--navy-100);
  color: var(--navy-700)
}

.btn--inverse-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--border-inverse)
}

.btn--inverse-outline:hover {
  background: rgba(255, 255, 255, .12);
  border-color: var(--white);
  color: var(--white)
}

/* ============================ PhotoPlaceholder ============================ */
.photo {
  position: relative;
  background: var(--navy-800);
  overflow: hidden;
  aspect-ratio: 3 / 2
}

.photo::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, .22)
}

.photo--fill {
  position: absolute;
  inset: 0;
  aspect-ratio: auto
}

.photo__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-6);
  font: var(--fw-semibold) var(--fs-micro)/1.5 var(--font-sans);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}

.photo__label--corner {
  inset: auto auto var(--space-5) var(--space-6);
  display: block;
  max-width: 38%;
  padding: 0;
  text-align: left;
}

/* ============================ Stat ============================ */
.stat {
  border-top: 2px solid var(--border-hairline);
  padding-top: var(--space-4)
}

.stat__value {
  font: var(--fw-medium) var(--fs-h1)/1.05 var(--font-display);
  letter-spacing: var(--ls-heading);
  color: var(--navy-800);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  margin-top: var(--space-2);
  font: var(--fw-medium) var(--fs-caption)/1.3 var(--font-sans);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================ Field / Input / Select / Textarea ============================ */
.field {
  display: block
}

.field__label {
  display: block;
  margin-bottom: var(--space-2);
  font: var(--fw-semibold) var(--fs-caption)/1.2 var(--font-sans);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field__label .req {
  color: var(--status-leased)
}

.field__hint {
  display: block;
  margin-top: var(--space-2);
  font: var(--fw-regular) var(--fs-caption)/1.4 var(--font-sans);
  color: var(--text-muted);
}

.field__hint--error {
  color: var(--status-leased)
}

.input,
.select,
.textarea {
  width: 100%;
  height: var(--field-h);
  padding: 0 var(--space-3);
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-control);
  font: var(--fw-regular) var(--fs-body-sm)/1 var(--font-sans);
  color: var(--ink);
  outline: none;
  transition: var(--transition-control);
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-focus)
}

.input:disabled,
.select:disabled,
.textarea:disabled {
  background: var(--grey-100)
}

.input[aria-invalid="true"],
.select[aria-invalid="true"],
.textarea[aria-invalid="true"] {
  border-color: var(--status-leased)
}

.select-wrap {
  position: relative;
  display: block
}

.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  cursor: pointer
}

.select:invalid {
  color: var(--text-muted)
}

.select-wrap::after {
  content: "\25BE";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--navy-700);
  font: 10px/1 var(--font-sans);
}

.textarea {
  height: auto;
  padding: var(--space-3);
  line-height: var(--lh-body);
  resize: vertical
}

/* ============================ header ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy-700);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.site-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.nav {
  display: flex;
  gap: 30px;
  flex: 0 0 auto;
  align-items: end;
  bottom: 5px;
  position: relative;
}

.nav__link {
  font-weight: var(--fw-semibold);
  font-size: 12px;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: rgba(255, 255, 255, .76);
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: var(--transition-control);
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--white);
  border-bottom-color: var(--white)
}

.nav__rule {
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, .24);
  flex: 0 0 auto
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: var(--radius-control);
  color: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor
}

.nav-toggle span::before {
  top: -6px
}

.nav-toggle span::after {
  top: 6px
}

/* ============================ hero ============================ */
.hero {
  position: relative;
  background: var(--navy-800);
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 28, 56, .86) 0%, rgba(0, 28, 56, .48) 58%, rgba(0, 28, 56, .14) 100%)
}

.hero__inner {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--section-y-tight) var(--gutter);
  width: 100%
}

.hero__title {
  margin: 22px 0 0;
  max-width: 900px;
  color: var(--white);
  font-weight: var(--fw-medium);
  font-size: 76px;
  line-height: 1.02;
  letter-spacing: -.024em;
}

.hero__lede {
  margin: 28px 0 0;
  max-width: 550px;
  color: rgba(255, 255, 255, .84);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body)
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: 36px
}
.hero__title--logo {
  margin: 0;
  font-size: 0;
  line-height: 0
}

.hero__logo {
  display: block;
  width: auto;
  height: 120px
}

/* ============================ sections ============================ */
.section {
  padding: var(--section-y-tight) 0;
  background: var(--surface-page);
  scroll-margin-top: 78px
}

.section--stats {
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--border-hairline)
}

.section--warm {
  background: var(--surface-warm)
}

.section--sales {
  padding: var(--section-y-tight) 0 var(--space-20);
  border-top: 1px solid var(--border-hairline)
}

.section__title {
  margin: 16px 0 24px;
  font-weight: var(--fw-medium);
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: -.018em;
  color: var(--navy-800);
}

.section__lede {
  margin: 0 0 56px;
  max-width: 64ch;
  font-size: 17px;
  line-height: 1.65
}

.section__lede--stack {
  margin-bottom: var(--space-5)
}

.stats-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-12)
}

/* about */
.about-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter)
}

.about__body {
  margin: 0 0 var(--space-5);
  font-size: 17px;
  line-height: 1.65;
  max-width: 66ch
}

.about__body:last-child {
  margin-bottom: 0
}

/* numbered service lists */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-12) var(--space-16)
}

.service-grid--five {
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-6)
}

.service {
  border-top: 2px solid var(--navy-800);
  padding-top: var(--space-5)
}

.service__n {
  font: var(--fw-semibold) 12px/1 var(--font-mono);
  letter-spacing: .1em;
  color: #8A7F68
}

.service-grid--five .service__n {
  color: #8B939B
}

.service__title {
  margin: 14px 0 var(--space-3);
  font-weight: var(--fw-medium);
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -.014em;
  color: var(--navy-800)
}

.service__body {
  margin: 0;
  max-width: 52ch;
  font-size: var(--fs-body);
  line-height: var(--lh-body)
}

.service-grid--five .service__title {
  margin: var(--space-3) 0 10px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -.01em
}

.service-grid--five .service__body {
  font-size: 15px
}

/* property intro */
.property-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-20);
  align-items: end;
  margin-bottom: 56px
}

.property-head__lede {
  margin: 0;
  font-size: 17px;
  line-height: 1.65
}

/* sales cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6)
}

.sale-card {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-1);
  padding: var(--space-8);
  transition: box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}

.sale-card:hover {
  border-color: #B9B2A5;
  box-shadow: 0 4px 14px rgba(0, 28, 56, .10)
}

.sale-card__title {
  margin: 0 0 14px;
  font-weight: var(--fw-medium);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.012em;
  color: var(--navy-800)
}

.sale-card__body {
  margin: 0;
  font-size: 15px;
  line-height: var(--lh-body)
}

/* ============================ contact ============================ */
.contact {
  background: var(--navy-700);
  padding: var(--section-y-tight) 0;
  scroll-margin-top: 78px
}

.contact__grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--space-20);
  align-items: start
}

.contact__title {
  margin: 0 0 36px;
  font-weight: var(--fw-medium);
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--white)
}

.contact__kicker {
  font-weight: var(--fw-semibold);
  font-size: 15px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .62)
}

.contact__people {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-10)
}

.contact__links {
  margin-top: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: flex-start
}

.contact__link {
  font: var(--fw-regular) var(--fs-body)/1.4 var(--font-mono);
  color: var(--white);
  text-decoration: none;
  word-break: break-word
}

.contact__link:hover {
  color: rgba(255, 255, 255, .72)
}

.form-panel {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: var(--space-10)
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6)
}

.form-row {
  margin-top: var(--space-6)
}

.form-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap
}

.form-status {
  display: none;
  margin-top: var(--space-5);
  padding: var(--space-3) var(--space-4);
  border-left: 2px solid var(--sage-600);
  background: var(--sage-100);
  font: var(--fw-medium) var(--fs-body-sm)/1.5 var(--font-sans);
  color: var(--sage-800);
}

.form-status[data-state="error"] {
  border-left-color: var(--status-leased);
  background: #F6E9E7;
  color: var(--status-leased)
}

.form-status[data-state] {
  display: block
}

.recaptcha-notice {
  margin-top: var(--space-3);
  font: var(--fs-caption)/1.5 var(--font-sans);
  color: var(--navy-300);
}

.recaptcha-notice a {
  color: inherit;
  text-decoration: underline;
}

.grecaptcha-badge {
  visibility: hidden;
}

/* honeypot — kept out of view for humans and assistive tech */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden
}

/* ============================ footer ============================ */
.site-footer {
  background: var(--navy-800);
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding: var(--space-8) 0
}

.site-footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  text-decoration: none;
}

.logo--footer {
  height: 40px;
}

.site-footer__tagline {
  font: var(--fw-regular) var(--fs-caption)/1.4 var(--font-sans);
  color: rgba(255, 255, 255, .62);
  text-transform: lowercase;
  letter-spacing: .04em;
}

.site-footer__meta {
  font: var(--fw-regular) var(--fs-caption)/1.5 var(--font-sans);
  color: rgba(255, 255, 255, .62)
}

/* ============================ responsive ============================ */
@media (max-width:1080px) {
  .service-grid--five {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8) var(--space-6)
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .contact__grid {
    gap: var(--space-12)
  }

  .hero__title {
    font-size: 60px
  }

  .hero__logo {
    height: 100px
  }
}

@media (max-width:900px) {
  .nav {
    display: none;
    position: absolute;
    top: 78px;
    right: 0;
    bottom: auto;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-700);
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 18px 32px rgba(0, 21, 43, .32);
    padding: var(--space-4) var(--gutter) var(--space-6);
  }

  .nav[data-open="true"] {
    display: flex
  }

  .nav__link {
    padding: var(--space-4) 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12)
  }

  .nav__link:hover,
  .nav__link:focus-visible {
    border-bottom-color: rgba(255, 255, 255, .12)
  }

  .nav__rule {
    display: none
  }

  .nav .btn {
    margin-top: var(--space-4);
    align-self: flex-start
  }

  .nav-toggle {
    display: inline-flex
  }

  .wordmark {
    font-size: 8px;
    letter-spacing: .08em;
  }

  .property-head,
  .contact__grid {
    grid-template-columns: minmax(0, 1fr)
  }

  .property-head {
    align-items: start;
    gap: var(--space-6)
  }

  .service-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-10)
  }

  .service-grid--five {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-10) var(--space-6)
  }

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

  .stats-grid {
    gap: var(--space-8)
  }

  .hero {
    min-height: 420px
  }

  .hero__inner {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12)
  }

  .hero__title {
    font-size: 48px
  }

  .hero__logo {
    height: 80px
  }

  .hero__scrim {
    background: linear-gradient(180deg, rgba(0, 28, 56, .72) 0%, rgba(0, 28, 56, .88) 100%)
  }

  .section__title {
    font-size: 36px
  }

  .contact__title {
    font-size: 40px
  }

  .contact__links {
    margin-top: var(--space-1);
    gap: var(--space-1)
  }

  .section,
  .contact {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12)
  }

  .section--stats {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8)
  }

  .form-panel {
    padding: var(--space-6)
  }
}

@media (max-width:640px) {
  .stats-grid {
    grid-template-columns: minmax(0, 1fr)
  }

  .service-grid--five {
    grid-template-columns: minmax(0, 1fr)
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr)
  }

  .hero__title {
    font-size: 38px
  }

  .hero__logo {
    height: 60px
  }

  .hero__actions .btn {
    width: 100%
  }

  .section__title {
    font-size: 30px
  }

  .contact__title {
    font-size: 32px
  }
}

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

  * {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important
  }
}

#primary-nav .btn {
  top: 4px;
  position: relative;
}