:root {
  --ink: #10233d;
  --ink-soft: #29405f;
  --accent: #f57c00;
  --accent-dark: #d76600;
  --paper: #fbfaf7;
  --white: #ffffff;
  --stone: #e8e2d8;
  --mist: #eef4f3;
  --sage: #6f7d68;
  --text: #24272b;
  --muted: #687282;
  --line: rgba(16, 35, 61, 0.16);
  --shadow: 0 18px 48px rgba(16, 35, 61, 0.12);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(245, 124, 0, 0.5);
  outline-offset: 3px;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
}

.topbar .container {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  padding: 8px 0;
}

.topbar a {
  text-decoration: none;
}

.topbar a:hover {
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 190px;
  text-decoration: none;
}

.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.brand-name small {
  margin-top: 5px;
  color: var(--accent);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 10px;
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 0.91rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(245, 124, 0, 0.1);
  color: var(--ink);
}

.nav-cta {
  margin-left: 8px;
  background: var(--accent);
  color: var(--white) !important;
}

.nav-cta:hover {
  background: var(--accent-dark) !important;
}

.site-nav .nav-cta[aria-current="page"] {
  background: var(--accent);
  color: var(--white) !important;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.12;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
}

h2 {
  font-size: clamp(1.85rem, 3vw, 2.85rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0;
}

.lead {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  line-height: 1.7;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  background: #07192f;
}

.button-accent {
  background: var(--accent);
}

.button-accent:hover {
  background: var(--accent-dark);
}

.button-light {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.button-light:hover {
  background: var(--mist);
}

.text-link {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.45;
  text-decoration-color: rgba(245, 124, 0, 0.45);
  text-underline-offset: 4px;
}

.home-hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: min(34vw, 430px);
  background: var(--mist);
}

.home-hero .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: center;
  min-height: 640px;
  gap: 60px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 76px 0;
}

.hero-copy .lead {
  margin-top: 24px;
  max-width: 640px;
}

.home-hero h1 {
  max-width: 650px;
  font-size: clamp(2.25rem, 4vw, 4.15rem);
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.trust-line span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  padding: 7px 12px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-portrait {
  align-self: center;
  display: flex;
  align-items: center;
  min-height: 0;
}

.portrait-card {
  width: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
}

.portrait-card strong {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  font-weight: 900;
}

.portrait-card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.section {
  padding: 92px 0;
}

.section-compact {
  padding: 68px 0;
}

.section-white {
  background: var(--white);
}

.section-mist {
  background: var(--mist);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.55fr);
  gap: 54px;
  align-items: end;
  margin-bottom: 44px;
}

.section-heading p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.74fr);
  gap: 58px;
  align-items: start;
}

.split-reverse {
  grid-template-columns: minmax(300px, 0.74fr) minmax(0, 1fr);
}

.prose {
  color: var(--ink-soft);
}

.prose p + p {
  margin-top: 18px;
}

.prose h2 + p,
.prose h3 + p {
  margin-top: 18px;
}

.prose ul,
.check-list {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.prose li,
.check-list li {
  position: relative;
  margin: 12px 0;
  padding-left: 28px;
}

.prose li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

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

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

.card {
  min-width: 0;
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.card h3 {
  margin-bottom: 14px;
}

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

.card h3,
.card p {
  hyphens: auto;
  overflow-wrap: anywhere;
}

.card .text-link {
  margin-top: 22px;
}

.property-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.property-toolbar p {
  color: var(--muted);
}

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

.property-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.property-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.property-card-link:hover h3,
.property-card-link:hover .property-more {
  color: var(--accent-dark);
}

.property-image {
  position: relative;
  min-height: 218px;
  background: linear-gradient(135deg, #eef4f3, #fbfaf7);
}

.property-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.property-image span {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(16, 35, 61, 0.88);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
}

.property-placeholder {
  display: grid;
  min-height: 218px;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
}

.property-content {
  padding: 24px;
}

.property-content h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.property-location {
  color: var(--muted);
  font-weight: 700;
}

.property-price {
  margin-top: 18px;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
}

.property-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--line);
}

.property-fact {
  padding: 12px 10px;
  background: var(--paper);
}

.property-fact strong,
.property-fact span {
  display: block;
}

.property-fact strong {
  color: var(--ink);
}

.property-fact span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.property-more {
  margin-top: 20px;
}

.property-detail-hero {
  padding: 62px 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.property-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 48px;
  align-items: start;
}

.property-detail-copy h1 {
  max-width: 860px;
}

.property-back {
  margin-bottom: 26px;
}

.property-detail-price {
  margin-top: 28px;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 900;
}

.contact-card,
.fact-panel,
.property-media-block {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.property-contact-card {
  position: sticky;
  top: 104px;
  box-shadow: var(--shadow);
}

.contact-card h2,
.fact-panel h2,
.property-media-block h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.contact-card p,
.fact-panel p {
  color: var(--ink-soft);
}

.contact-lines {
  display: grid;
  gap: 8px;
  margin: 22px 0;
}

.contact-lines a {
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.contact-lines a:hover {
  color: var(--accent-dark);
}

.property-gallery {
  position: relative;
  margin-bottom: 46px;
}

.gallery-stage {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.gallery-slide {
  display: none;
  margin: 0;
}

.gallery-slide.is-active {
  display: block;
}

.gallery-slide img,
.gallery-placeholder {
  width: 100%;
  min-height: 320px;
  max-height: 660px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.gallery-placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 900;
}

.gallery-control {
  position: absolute;
  top: min(42vw, 310px);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
  background: rgba(16, 35, 61, 0.82);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-prev {
  left: 14px;
}

.gallery-next {
  right: 14px;
}

.gallery-control:hover {
  background: var(--accent-dark);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.gallery-thumbs button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.gallery-thumbs button.is-active {
  border-color: var(--accent);
}

.gallery-thumbs img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.property-description {
  padding-top: 6px;
}

.property-description h2 {
  margin-bottom: 18px;
}

.property-detail-sidebar {
  display: grid;
  gap: 18px;
}

.detail-facts {
  grid-template-columns: 1fr;
  margin: 18px 0 0;
}

.property-media-block {
  margin-top: 42px;
}

.property-media-block video,
.property-media-block iframe {
  display: block;
  width: 100%;
  min-height: 360px;
  margin-top: 18px;
  border: 0;
  border-radius: 6px;
  background: #000;
}

.empty-state {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.property-empty {
  grid-column: 1 / -1;
  max-width: 560px;
}

.empty-state h3 {
  margin-bottom: 10px;
}

.empty-state p {
  color: var(--muted);
}

.meta-label {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.stat {
  min-width: 0;
  padding: 26px;
  background: var(--white);
}

.stat strong {
  display: block;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2.15rem;
  font-weight: 900;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-weight: 700;
  hyphens: auto;
  overflow-wrap: anywhere;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.process-step {
  padding: 28px;
  background: var(--paper);
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.process-step h3 {
  margin-bottom: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  line-height: 1.35;
}

.process-step p {
  color: var(--muted);
}

.note-panel {
  padding: 32px;
  border-left: 4px solid var(--accent);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(16, 35, 61, 0.08);
}

.note-panel strong {
  color: var(--ink);
}

.quote-panel {
  padding: 38px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.quote-panel p {
  color: rgba(255, 255, 255, 0.86);
}

.quote-panel strong {
  display: block;
  margin-bottom: 18px;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.2;
}

.page-hero {
  padding: 76px 0 64px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.page-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.45fr);
  gap: 52px;
  align-items: end;
}

.page-hero h1 {
  font-size: clamp(2.15rem, 3.8vw, 4rem);
}

.page-hero .lead {
  margin-top: 22px;
}

.hero-aside {
  padding: 26px;
  border-top: 4px solid var(--accent);
  background: var(--paper);
}

.hero-aside p {
  color: var(--ink-soft);
}

.hero-aside strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

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

.service-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.service-item span {
  color: var(--accent);
  font-weight: 900;
}

.service-item h3 {
  margin-bottom: 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.06rem;
}

.service-item p {
  color: var(--muted);
}

.cta-band {
  background: var(--ink);
  color: var(--white);
}

.cta-band .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 42px 0;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.cta-band p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.portrait-block {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.portrait-frame {
  max-width: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist);
  box-shadow: var(--shadow);
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.timeline {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.timeline-item strong {
  color: var(--accent-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.44fr) minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 14px;
}

.contact-method {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.contact-method span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-method a {
  color: var(--ink);
  font-size: 1.16rem;
  font-weight: 900;
  text-decoration: none;
}

.contact-method a:hover {
  color: var(--accent-dark);
}

.contact-form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

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

.field {
  display: grid;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  color: var(--ink);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  padding: 12px 13px;
  color: var(--text);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.form-alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
}

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

.consent-field label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
  font-weight: 700;
}

.consent-field input {
  width: auto;
  margin-top: 0.35em;
}

.legal {
  max-width: 860px;
}

.legal h2 {
  margin-top: 42px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p,
.legal li {
  color: var(--ink-soft);
}

.legal p + p {
  margin-top: 14px;
}

.legal ul {
  margin: 14px 0 0;
}

.site-footer {
  background: #0b1f38;
  color: rgba(255, 255, 255, 0.78);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) repeat(2, minmax(180px, 0.45fr));
  gap: 42px;
  padding: 52px 0;
}

.footer-main img {
  width: 86px;
  margin-bottom: 18px;
  background: var(--white);
}

.footer-main h2,
.footer-main h3 {
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
}

.footer-main p,
.footer-main a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-main a {
  display: block;
  margin-top: 8px;
  text-decoration: none;
}

.footer-main a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

@media (max-width: 1120px) {
  .topbar .container {
    justify-content: center;
  }

  .site-header .container {
    flex-wrap: wrap;
    gap: 12px 18px;
    padding: 8px 0;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: static;
    flex-basis: 100%;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 12px;
    border-top: 1px solid var(--line);
    background: transparent;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .nav-cta {
    margin: 8px 0 0;
  }

  .home-hero,
  .home-hero .container {
    min-height: auto;
  }

  .home-hero::before {
    width: 100%;
    height: 34%;
    top: auto;
  }

  .home-hero .container,
  .page-hero .container,
  .property-detail-layout,
  .section-heading,
  .split,
  .split-reverse,
  .portrait-block,
  .contact-grid,
  .cta-band .container {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 56px 0 18px;
  }

  .hero-portrait {
    min-height: 0;
    max-width: 340px;
    margin-bottom: 44px;
  }

  .portrait-card {
    padding: 14px;
  }

  .property-contact-card {
    position: static;
  }

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

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .topbar .container {
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }

  .site-header .container {
    min-height: 74px;
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .brand-name small {
    font-size: 0.58rem;
  }

  h1 {
    font-size: 2.2rem;
  }

  h1,
  h2,
  h3,
  .lead {
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  .section {
    padding: 64px 0;
  }

  .section-compact {
    padding: 52px 0;
  }

  .page-hero {
    padding: 54px 0 48px;
  }

  .card-grid,
  .property-grid,
  .process,
  .stat-grid,
  .form-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .card,
  .note-panel,
  .quote-panel,
  .contact-form {
    padding: 24px;
  }

  .button-row .button {
    width: 100%;
  }

  .property-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .property-detail-hero {
    padding: 48px 0;
  }

  .contact-card,
  .fact-panel,
  .property-media-block {
    padding: 22px;
  }

  .gallery-slide img,
  .gallery-placeholder {
    min-height: 250px;
    aspect-ratio: 4 / 3;
  }

  .gallery-control {
    top: 126px;
    width: 40px;
    height: 40px;
  }

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

  .property-media-block video,
  .property-media-block iframe {
    min-height: 220px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .cta-band .container {
    padding: 34px 0;
  }
}
