/* Kaman Properties — design tokens */
:root {
  --color-background: #f5f5f4;
  --color-surface: #ffffff;
  --color-ink: #1e2227;
  --color-muted: #5a6168;
  --color-line: #e2e3e5;
  --color-primary: #2b3035;
  --color-primary-ink: #ffffff;
  --color-accent: #c41d17;
  --color-accent-soft: #fbe9e7;
  --color-destructive: #a3291f;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-control: 9999px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow-card: 0 1px 2px rgba(30, 34, 39, 0.06), 0 8px 24px rgba(30, 34, 39, 0.07);
  --gutter: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
}
p { margin: 0; }
.skip {
  position: absolute; left: -9999px;
}
.skip:focus { left: 16px; top: 16px; background: var(--color-surface); padding: 8px 14px; z-index: 50; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--gutter);
  background: rgba(245, 245, 244, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--color-line);
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--color-muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--color-ink); }
.nav a.btn, .nav a.btn:hover, .nav a.btn[aria-current="page"] { color: var(--color-primary-ink); }
.nav-portal { display: inline-flex; align-items: center; gap: 4px; }
.nav-portal .ext { font-size: 13px; color: var(--color-accent); }
.short { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 24px;
  border: 1px solid transparent; border-radius: var(--radius-control);
  background: var(--color-primary); color: var(--color-primary-ink);
  font: 600 15px/1 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: #16191c; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.6; cursor: progress; }
.btn-ghost {
  background: transparent; color: var(--color-ink); border-color: var(--color-line);
}
.btn-ghost:hover { background: var(--color-surface); }
.btn-light { background: var(--color-background); color: var(--color-primary); }
.btn-light:hover { background: #fff; }
.text-link {
  font-weight: 600; font-size: 15px; color: var(--color-primary);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-accent);
}

/* Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(48px, 8vw, 112px) var(--gutter) clamp(56px, 8vw, 104px);
}
.hero h1 { font-size: clamp(40px, 6vw, 76px); margin: 18px 0 22px; }
.hero h1 em { font-style: italic; color: var(--color-accent); }
.hero-lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--color-muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.stats {
  display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px);
  margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--color-line);
}
.stat strong {
  display: block; font-family: var(--font-display); font-size: clamp(32px, 3.4vw, 44px); font-weight: 500; line-height: 1;
}
.stat span { font-size: 14px; color: var(--color-muted); }
.mosaic {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px;
  aspect-ratio: 1 / 1.02;
}
.mosaic a {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--color-line);
}
.mosaic a:first-child { grid-row: 1 / 3; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.mosaic a:hover img { transform: scale(1.04); }
.mosaic span {
  position: absolute; left: 12px; bottom: 12px;
  padding: 6px 12px; border-radius: var(--radius-control);
  background: rgba(255, 253, 249, 0.92); font-size: 13px; font-weight: 600;
}

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) var(--gutter); }
.section-alt { background: var(--color-surface); border-block: 1px solid var(--color-line); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px;
  margin-bottom: 36px;
}
.section-head h2 { font-size: clamp(30px, 3.6vw, 46px); margin-top: 10px; }

/* Cards */
.grid {
  display: grid; gap: clamp(18px, 2vw, 28px);
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.card {
  display: flex; flex-direction: column;
  background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg);
  overflow: hidden; text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--color-line); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 11px; border-radius: var(--radius-control);
  background: rgba(255, 253, 249, 0.94); color: var(--color-primary);
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
}
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; flex: 1; }
.card-body h3 { font-size: 23px; }
.card-address { font-size: 14px; color: var(--color-muted); }
.facts {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--color-line);
  font-size: 14px; font-weight: 500;
}
.facts span { white-space: nowrap; }
.placeholder-img {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 40px; color: var(--color-muted);
  background: linear-gradient(135deg, var(--color-accent-soft), var(--color-line));
}
.skeleton { background: linear-gradient(90deg, var(--color-line), #ececed, var(--color-line)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius-lg); min-height: 360px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.is-fetching { opacity: 0.5; transition: opacity 0.2s; }
.state { padding: 48px 0; color: var(--color-muted); }

/* Type tiles */
.tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: 180px; padding: 26px;
  border-radius: var(--radius-lg); border: 1px solid var(--color-line); background: var(--color-background);
  text-decoration: none; transition: background 0.2s, border-color 0.2s;
}
.tile:hover { background: var(--color-accent-soft); border-color: var(--color-accent); }
.tile h3 { font-size: 28px; }
.tile p { font-size: 14px; color: var(--color-muted); }
.tile .arrow { font-size: 22px; color: var(--color-accent); }

/* Partner band */
.partner {
  display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: center;
  margin: 0 var(--gutter) 24px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg); border: 1px solid var(--color-line);
  background: var(--color-surface);
}
.partner h2 { font-size: clamp(26px, 3vw, 36px); margin-top: 10px; }
.partner p:not(.eyebrow) { margin-top: 10px; color: var(--color-muted); max-width: 40em; }
.partner p a { color: var(--color-ink); font-weight: 600; }
.insure-note { margin-top: 18px; font-size: 14px; color: var(--color-muted); }
.insure-note a { color: var(--color-ink); font-weight: 600; }

/* CTA band */
.cta {
  display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center;
  margin: 0 var(--gutter) clamp(56px, 8vw, 104px);
  padding: clamp(36px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background: var(--color-primary); color: var(--color-primary-ink);
}
.cta h2 { font-size: clamp(28px, 3.4vw, 42px); }
.cta p { margin-top: 12px; opacity: 0.82; max-width: 36em; }

/* Listing page */
.page-head { padding: clamp(40px, 6vw, 80px) var(--gutter) 28px; }
.page-head h1 { font-size: clamp(38px, 5vw, 64px); margin-top: 12px; }
.page-head p { margin-top: 14px; color: var(--color-muted); max-width: 38em; }
.toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter) 28px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 40px; padding: 0 18px;
  border: 1px solid var(--color-line); border-radius: var(--radius-control);
  background: var(--color-surface); color: var(--color-ink);
  font: 500 14px/1 var(--font-body); cursor: pointer;
}
.chip:hover { border-color: var(--color-ink); }
.chip[aria-pressed="true"] { background: var(--color-ink); color: var(--color-background); border-color: var(--color-ink); }
.select {
  min-height: 40px; padding: 0 36px 0 16px;
  border: 1px solid var(--color-line); border-radius: var(--radius-control);
  background: var(--color-surface); color: var(--color-ink);
  font: 500 14px/1 var(--font-body);
}
.count { font-size: 14px; color: var(--color-muted); }
.listing { padding: 0 var(--gutter) clamp(56px, 8vw, 104px); }
.more { display: flex; justify-content: center; margin-top: 40px; }

/* Property page */
.crumbs { padding: 24px var(--gutter) 0; font-size: 14px; color: var(--color-muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.prop-hero {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px);
  padding: 24px var(--gutter) clamp(48px, 6vw, 80px);
}
.prop-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--color-line); }
.prop-photo img { width: 100%; height: 100%; object-fit: cover; }
.prop-info h1 { font-size: clamp(36px, 4.4vw, 58px); margin: 12px 0 10px; }
.prop-address { color: var(--color-muted); }
.spec {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  margin: 28px 0; border: 1px solid var(--color-line); border-radius: var(--radius-md); overflow: hidden;
  background: var(--color-line);
}
.spec div { padding: 16px 18px; background: var(--color-surface); }
.spec dt { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-muted); }
.spec dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 24px; }
.prop-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.prop-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(28px, 4vw, 64px); }
.prop-about p:not(.eyebrow) { font-size: 19px; line-height: 1.7; }

/* Contact */
.contact-wrap {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px);
  padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(56px, 8vw, 104px);
}
.contact-wrap h1 { font-size: clamp(38px, 5vw, 64px); margin: 12px 0 18px; }
.contact-wrap .lede { color: var(--color-muted); max-width: 30em; }
.steps-list { margin: 36px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.steps-list li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; }
.steps-list b { font-family: var(--font-display); font-size: 22px; color: var(--color-accent); font-weight: 500; }
.form-card {
  padding: clamp(24px, 3vw, 40px);
  background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; grid-column: span 2; }
.field.half { grid-column: span 1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--color-line); border-radius: var(--radius-sm);
  background: var(--color-background); color: var(--color-ink);
  font: 400 16px/1.4 var(--font-body);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(43, 48, 53, 0.15); }
.field [aria-invalid="true"] { border-color: var(--color-destructive); }
.field-help { font-size: 13px; color: var(--color-muted); }
.field-error, .form-error { font-size: 13px; color: var(--color-destructive); }
.form-error { grid-column: span 2; }
.form-actions { grid-column: span 2; margin-top: 6px; }
.thanks h2 { font-size: 32px; margin-bottom: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Footer */
.site-footer {
  padding: clamp(48px, 6vw, 72px) var(--gutter) 32px;
  background: var(--color-primary); color: #c9cdd1;
  font-size: 15px;
}
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 0.9fr); gap: 36px; }
.footer-grid > div { min-width: 0; }
.footer-list a, .site-footer address { overflow-wrap: anywhere; }
.footer-brand img { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-brand p { margin-top: 16px; max-width: 26em; }
.footer-h {
  font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff; margin-bottom: 14px;
}
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-list span { color: #8f969d; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.compliance { display: flex; align-items: center; gap: 12px; margin-top: 40px; }
.compliance img { height: 48px; width: auto; padding: 4px; background: #fff; border-radius: 8px; box-sizing: content-box; }
.compliance + .copyright { margin-top: 24px; }
.copyright { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 13px; color: #8f969d; }
.office-card { margin-top: 40px; padding: 24px; border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid var(--color-line); display: grid; gap: 6px; }
.office-card .footer-h { color: var(--color-accent); margin-bottom: 6px; }
.office-card a { font-weight: 600; color: var(--color-ink); }

@media (max-width: 1180px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero, .prop-hero, .prop-about, .contact-wrap, .cta, .partner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mosaic { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .nav { gap: 14px; }
  .nav a:not(.btn):not(.nav-portal) { display: none; }
  .nav-portal .long, .nav .btn .long { display: none; }
  .nav .btn .short { display: inline; }
  .nav .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .field, .field.half, .form-error, .form-actions { grid-column: span 1; }
  .brand img { height: 36px; }
}
@media (max-width: 380px) {
  .brand img { height: 28px; }
  .nav .btn { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}