/* Thunderbird EP Real Estate — palette and type taken from the original site */
:root {
  --navy: #1c252c;
  --navy-2: #223c4b;
  --teal: #2b4c5e;
  --teal-hover: #223c4b;
  --slate: #556f7e;
  --cream: #f9f6f0;
  --sand: #e7e5e0;
  --mist: #c5c9c8;
  --white: #ffffff;
  --rust: #b4532a;
  --font-serif: "Hedvig Letters Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1224px;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(28, 37, 44, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
.grid > *, .split > *, .hero .wrap > *, .listing > * { min-width: 0; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.5rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--slate); }
.muted { color: var(--slate); }
.eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1rem;
}
.dark .eyebrow, .teal .eyebrow { color: var(--mist); }

.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.tight { padding: clamp(40px, 5vw, 64px) 0; }
.cream { background: var(--cream); }
.dark { background: var(--navy); color: var(--white); }
.teal { background: var(--teal); color: var(--white); }
.dark a, .teal a { color: var(--white); }
.dark h1, .dark h2, .dark h3, .teal h1, .teal h2, .teal h3 { color: var(--white); }
.dark .lead, .teal .lead { color: var(--mist); }
.center { text-align: center; }
.narrow { max-width: 720px; margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: var(--radius);
  background: var(--teal);
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  border: 2px solid var(--teal);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--teal-hover); border-color: var(--teal-hover); text-decoration: none; }
.btn.outline { background: transparent; color: var(--teal); }
.btn.outline:hover { background: var(--teal); color: var(--white); }
.dark .btn.outline, .teal .btn.outline { color: var(--white); border-color: var(--white); }
.dark .btn.outline:hover, .teal .btn.outline:hover { background: var(--white); color: var(--navy); }
.teal .btn { background: var(--white); color: var(--teal); border-color: var(--white); }
.teal .btn:hover { background: var(--cream); border-color: var(--cream); }
.teal .btn.outline, .dark .btn.outline { background: transparent; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(249, 246, 240, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--navy); font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); text-decoration: none; }
.nav a[aria-current="page"] { border-bottom: 2px solid var(--teal); }
.lang { font-size: .85rem; font-weight: 600; padding: 6px 12px; border: 1px solid var(--mist); border-radius: 999px; color: var(--slate) !important; }
.lang:hover { border-color: var(--teal); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--sand); padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--sand); }
  .nav a[aria-current="page"] { border-bottom: 1px solid var(--sand); color: var(--teal); }
  .nav .lang { align-self: flex-start; margin-top: 12px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero */
.hero { background: var(--cream); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: clamp(48px, 7vw, 96px) 0; }
.hero h1 { margin-bottom: .6em; }
.hero img { border-radius: 12px; box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.hero.wide img { aspect-ratio: 4 / 3; }
.hero img.face-left { object-position: 15% center; }
.hero.plain .wrap { grid-template-columns: 1fr; max-width: 820px; text-align: center; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero img { aspect-ratio: 4 / 3; }
}

/* Grids and cards */
.grid { display: grid; gap: 24px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--sand); border-radius: 12px; padding: 28px; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.card .num { font-family: var(--font-serif); font-size: 2.2rem; color: var(--teal); line-height: 1; margin-bottom: .5rem; }
.dark .card .num { color: var(--mist); }
.card img { border-radius: 8px; margin: -28px -28px 20px; width: calc(100% + 56px); max-width: none; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px 12px 0 0; }

.stat { text-align: center; }
.stat h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: .2em; }
.stat p { margin: 0; color: var(--mist); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .8rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: 12px; box-shadow: var(--shadow); width: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.split.wide img { aspect-ratio: 4 / 3; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.flip > :first-child { order: 0; } }

.steps { counter-reset: step; }
.steps .card { position: relative; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: .6rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--teal); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm-1 11.4L3.6 8l1.4-1.4 2 2 4-4L12.4 6 7 11.4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.dark .checklist li::before { background: var(--mist); }

/* Property tabs */
.tabs { display: inline-flex; gap: 6px; background: var(--sand); padding: 6px; border-radius: 999px; margin-bottom: 2rem; }
.tabs button { border: 0; background: transparent; padding: 10px 22px; border-radius: 999px; font: inherit; font-weight: 600; color: var(--slate); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--white); color: var(--navy); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.panel[hidden] { display: none; }
.prop { background: var(--white); border: 1px solid var(--sand); border-radius: 12px; overflow: hidden; }
.prop img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.prop .body { padding: 18px 20px; }
.prop .body h3 { font-size: 1.15rem; margin: 0 0 4px; }
.prop .body p { margin: 0; color: var(--slate); font-size: .95rem; }
.prop .tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); background: var(--cream); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.listing { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; background: var(--white); border: 1px solid var(--sand); border-radius: 12px; overflow: hidden; }
.listing img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.listing .body { padding: 32px; }
@media (max-width: 860px) { .listing { grid-template-columns: 1fr; } }

/* Forms */
.form { display: grid; gap: 16px; }
.form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.form input, .form textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 1rem;
  border: 1px solid var(--mist); border-radius: var(--radius); background: var(--white); color: var(--navy);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.form textarea { min-height: 150px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form-note { font-size: .85rem; color: var(--slate); }
.form-status { padding: 14px 16px; border-radius: var(--radius); background: var(--cream); display: none; }
.form-status.ok { display: block; background: #e6f3ec; color: #1f5a3a; }
.form-status.err { display: block; background: #fbe9e7; color: #8a2a1c; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--sand); display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.contact-list li strong { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--slate); padding-top: 3px; }
.contact-list a { font-weight: 600; }
.map { border: 0; width: 100%; height: 320px; border-radius: 12px; margin-top: 24px; }

/* Footer */
.site-footer { background: var(--navy); color: var(--mist); padding: 64px 0 32px; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer h3 { color: var(--white); font-family: var(--font-sans); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: 1rem; }
.site-footer a { color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer img { height: 56px; width: auto; margin-bottom: 16px; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; font-size: .85rem; }
.site-footer .legal p { margin: 0 0 .4rem; }
.site-footer .legal a { text-decoration: underline; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr; gap: 28px; } }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
