:root {
  --ink: #202522;
  --ink-soft: #4c554f;
  --stone-50: #f8f6f1;
  --stone-100: #efeae0;
  --stone-200: #dfd6c7;
  --stone-300: #c8b9a3;
  --rust: #a74f31;
  --rust-dark: #813921;
  --moss: #526351;
  --white: #fff;
  --shadow: 0 24px 70px rgba(28, 33, 29, .12);
  --radius: 20px;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--stone-50); color: var(--ink); font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif; line-height: 1.65; }
body.menu-open, body.consent-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { color: inherit; }
h1, h2, h3 { margin: 0; font-family: "Iowan Old Style", "Baskerville", "Times New Roman", serif; font-weight: 600; line-height: 1.04; letter-spacing: -.035em; }
h1 { font-size: clamp(2.75rem, 7vw, 6.2rem); }
h2 { font-size: clamp(2.15rem, 4vw, 4rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 2.1rem); }
p { margin: 0 0 1.2rem; }
.container { width: var(--container); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; top: 10px; left: 10px; padding: 12px 18px; background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { margin: 0 0 1rem; color: var(--rust); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(32, 37, 34, .1); background: rgba(248, 246, 241, .94); backdrop-filter: blur(16px); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark { width: 46px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--stone-300); background: var(--ink); color: var(--white); transform: rotate(45deg); }
.brand-mark span { font-family: "Iowan Old Style", serif; font-weight: 700; transform: rotate(-45deg); }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-family: "Iowan Old Style", serif; font-size: 1.16rem; letter-spacing: -.02em; }
.brand-copy small { margin-top: 4px; color: var(--ink-soft); font-size: .7rem; letter-spacing: .04em; }
.primary-nav { display: flex; align-items: center; gap: 3px; }
.nav-link { padding: 12px 13px; border-radius: 999px; color: var(--ink-soft); font-size: .88rem; font-weight: 700; text-decoration: none; }
.nav-link:hover, .nav-link.is-active { background: var(--stone-100); color: var(--ink); }
.menu-toggle { width: 48px; height: 48px; display: none; place-content: center; gap: 5px; border: 1px solid var(--stone-200); background: transparent; }
.menu-toggle span:not(.sr-only) { width: 22px; height: 2px; display: block; background: currentColor; }

.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 24px; border: 1px solid var(--rust); border-radius: 999px; background: var(--rust); color: var(--white); font-weight: 800; text-decoration: none; cursor: pointer; transition: background .25s ease, border-color .25s ease, transform .25s ease; }
.button:hover { border-color: var(--rust-dark); background: var(--rust-dark); transform: translateY(-2px); }
.button-small { min-height: 44px; padding: 9px 19px; margin-left: 8px; }
.button-ghost { border-color: var(--stone-300); background: transparent; color: var(--ink); }
.button-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.button-light { border-color: var(--white); background: var(--white); color: var(--ink); }
.button-outline-light { border-color: rgba(255,255,255,.45); background: transparent; color: var(--white); }
.button-block { width: 100%; }
.text-button { padding: 0; border: 0; background: transparent; text-decoration: underline; cursor: pointer; }
.arrow-link { display: inline-flex; align-items: center; gap: 9px; color: var(--rust-dark); font-weight: 800; text-underline-offset: 5px; }
.arrow-link span { font-size: 1.25rem; transition: transform .2s ease; }
.arrow-link:hover span { transform: translateX(5px); }

.hero { position: relative; overflow: hidden; padding: clamp(60px, 8vw, 110px) 0 72px; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 650px; height: 650px; right: -260px; top: -240px; border: 1px solid var(--stone-200); border-radius: 50%; box-shadow: 0 0 0 90px rgba(223,214,199,.3), 0 0 0 180px rgba(223,214,199,.17); }
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(42px, 7vw, 96px); }
.hero-copy h1 { max-width: 760px; }
.hero-lead { max-width: 650px; margin: 28px 0 0; color: var(--ink-soft); font-size: clamp(1.05rem, 2vw, 1.34rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 32px 0 0; list-style: none; color: var(--ink-soft); font-size: .88rem; }
.hero-points li::before { content: "✓"; margin-right: 8px; color: var(--rust); font-weight: 900; }
.hero-media { position: relative; margin: 0; padding: 15px; background: var(--white); box-shadow: var(--shadow); transform: rotate(1.5deg); }
.hero-image { width: 100%; height: auto; }
.hero-media figcaption { position: absolute; right: -18px; bottom: -20px; min-width: 230px; display: grid; padding: 18px 22px; background: var(--ink); color: var(--white); box-shadow: var(--shadow); transform: rotate(-1.5deg); }
.hero-media figcaption span { color: rgba(255,255,255,.68); font-size: .8rem; }

.facts { border-block: 1px solid var(--stone-200); background: var(--white); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid div { display: grid; gap: 3px; padding: 28px 24px; border-left: 1px solid var(--stone-200); text-align: center; }
.facts-grid div:last-child { border-right: 1px solid var(--stone-200); }
.facts-grid strong { font-family: "Iowan Old Style", serif; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.facts-grid span { color: var(--ink-soft); font-size: .8rem; }

.section { padding: clamp(76px, 10vw, 140px) 0; }
.section-stone { background: var(--stone-100); }
.section-dark { background: var(--ink); color: var(--white); }
.split-intro { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(50px, 10vw, 150px); align-items: start; }
.split-intro h2 { max-width: 760px; }
.split-intro > div:last-child { color: var(--ink-soft); font-size: 1.08rem; }
.section-heading { max-width: 780px; margin-bottom: 48px; }
.section-heading > p:last-child { margin-top: 20px; color: var(--ink-soft); font-size: 1.06rem; }
.section-heading-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 30px; }

.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.property-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--stone-300); background: var(--stone-50); }
.property-image { display: block; padding: 10px; background: var(--white); }
.property-image img { width: 100%; height: auto; }
.property-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 28px; }
.property-label { color: var(--rust); font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.property-body h3 { margin: 10px 0 16px; }
.property-body p { color: var(--ink-soft); }
.property-body > strong { margin: auto 0 24px; padding-top: 12px; font-family: "Iowan Old Style", serif; font-size: 1.5rem; }

.feature-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(48px, 9vw, 125px); align-items: center; }
.feature-media { margin: 0; padding: 13px; background: var(--white); box-shadow: var(--shadow); }
.feature-media img { width: 100%; height: auto; }
.feature-copy > p:not(.eyebrow) { margin: 24px 0; color: var(--ink-soft); font-size: 1.04rem; }
.check-list { display: grid; gap: 12px; padding: 0; margin: 26px 0 32px; list-style: none; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; top: .55em; left: 0; width: 13px; height: 7px; border-left: 2px solid var(--rust); border-bottom: 2px solid var(--rust); transform: rotate(-45deg); }
.potential-grid { display: grid; grid-template-columns: 1fr .95fr; gap: clamp(50px, 10vw, 140px); }
.potential-list { padding: 0; margin: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.potential-list li { display: flex; align-items: center; gap: 22px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.18); font-size: 1.05rem; }
.potential-list span { color: #c99b7e; font-size: .75rem; font-weight: 800; }

.gallery-grid { columns: 3 310px; column-gap: 18px; }
.gallery-item { width: 100%; display: inline-block; position: relative; margin: 0 0 18px; padding: 9px; border: 1px solid var(--stone-300); background: var(--white); text-align: left; cursor: zoom-in; break-inside: avoid; }
.gallery-item img { width: 100%; height: auto; }
.gallery-item span { display: block; padding: 10px 6px 4px; color: var(--ink-soft); font-size: .76rem; }
.gallery-item:hover { border-color: var(--rust); }
.gallery-preview .gallery-item:nth-child(n+5) { display: none; }
.lightbox { width: min(1200px, calc(100% - 30px)); max-height: calc(100vh - 30px); padding: 18px; border: 0; background: var(--stone-50); box-shadow: var(--shadow); }
.lightbox::backdrop { background: rgba(16, 19, 17, .86); }
.lightbox img { max-height: calc(100vh - 110px); margin: auto; object-fit: contain; }
.lightbox p { margin: 10px 45px 0 0; color: var(--ink-soft); }
.lightbox-close { position: absolute; z-index: 2; top: 10px; right: 10px; width: 42px; height: 42px; border: 1px solid var(--stone-300); border-radius: 50%; background: var(--white); font-size: 1.7rem; cursor: pointer; }

.contact-band { background: var(--rust); color: var(--white); }
.contact-band-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 60px; }
.contact-band .eyebrow { color: #f0c8b7; }
.contact-band p:last-child { max-width: 700px; margin-top: 18px; color: rgba(255,255,255,.76); }
.contact-band-actions { display: flex; flex-direction: column; gap: 12px; }

.site-footer { padding: 72px 0 20px; background: #171b18; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .6fr .8fr; gap: 60px; }
.brand-footer { margin-bottom: 24px; }
.brand-footer .brand-mark { border-color: #6e756f; background: var(--stone-100); color: var(--ink); }
.brand-footer .brand-copy small, .footer-grid p { color: rgba(255,255,255,.58); }
.footer-grid p { max-width: 430px; }
.footer-grid h2 { margin-bottom: 18px; color: #ccbda8; font-family: inherit; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-grid a { text-underline-offset: 5px; }
.footer-grid address { color: rgba(255,255,255,.65); font-style: normal; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 28px; margin-top: 55px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.5); font-size: .78rem; }
.footer-bottom .text-button { color: inherit; }

.detail-hero { padding: clamp(70px, 9vw, 125px) 0 70px; background: var(--stone-100); }
.detail-hero-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(45px, 8vw, 100px); }
.detail-hero h1 { margin-bottom: 22px; }
.detail-lead { color: var(--ink-soft); font-size: clamp(1.06rem, 2vw, 1.3rem); }
.detail-stat { display: grid; margin: 32px 0; }
.detail-stat strong { font-family: "Iowan Old Style", serif; font-size: 2.4rem; }
.detail-stat span { color: var(--ink-soft); font-size: .8rem; }
.detail-hero figure { margin: 0; padding: 12px; background: var(--white); box-shadow: var(--shadow); }
.detail-hero figure img { width: 100%; height: auto; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(50px, 9vw, 120px); align-items: start; }
.prose { max-width: 760px; }
.prose > p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.04rem; }
.prose h2 { margin-bottom: 28px; }
.prose h3 { margin: 42px 0 18px; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border: 1px solid var(--stone-200); background: var(--stone-200); }
.spec-grid span { display: flex; justify-content: space-between; gap: 20px; padding: 14px 16px; background: var(--white); color: var(--ink-soft); }
.spec-grid strong { color: var(--ink); white-space: nowrap; }
.detail-aside { position: sticky; top: 120px; padding: 28px; border-top: 5px solid var(--rust); background: var(--white); box-shadow: var(--shadow); }
.detail-aside h2 { font-size: 1.7rem; }
.detail-aside dl { margin: 24px 0 28px; }
.detail-aside dl div { display: grid; gap: 3px; padding: 13px 0; border-bottom: 1px solid var(--stone-200); }
.detail-aside dt { color: var(--ink-soft); font-size: .75rem; }
.detail-aside dd { margin: 0; font-weight: 700; }
.next-property { border-top: 1px solid var(--stone-200); }
.next-property-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.next-property-inner > div:last-child { display: flex; gap: 10px; }
.next-property-inner > div:last-child a { width: 62px; height: 62px; display: grid; place-items: center; border: 1px solid var(--stone-300); border-radius: 50%; font-family: "Iowan Old Style", serif; font-size: 1.5rem; text-decoration: none; }
.next-property-inner > div:last-child a:hover { background: var(--ink); color: var(--white); }

.page-intro { padding: clamp(80px, 11vw, 150px) 0 70px; background: var(--stone-100); text-align: center; }
.page-intro .container { max-width: 930px; }
.page-intro p:last-child { max-width: 720px; margin: 26px auto 0; color: var(--ink-soft); font-size: 1.12rem; }
.error-page { min-height: 65vh; display: grid; place-items: center; }
.error-page .button { margin-top: 24px; }
.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(50px, 9vw, 120px); }
.contact-details h2 { margin-bottom: 34px; }
.contact-line { display: grid; gap: 5px; padding: 20px 0; border-top: 1px solid var(--stone-200); text-decoration: none; }
.contact-line span { color: var(--ink-soft); font-size: .78rem; }
.contact-line strong { font-family: "Iowan Old Style", serif; font-size: 1.35rem; }
.contact-note { padding: 22px; margin-top: 30px; border-left: 4px solid var(--rust); background: var(--stone-100); }
.contact-note p { margin: 8px 0 0; color: var(--ink-soft); }
.contact-form-wrap { padding: clamp(28px, 5vw, 52px); background: var(--white); box-shadow: var(--shadow); }
.contact-form { display: grid; gap: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 7px; font-weight: 700; }
.contact-form label > span { font-size: .83rem; }
.contact-form small { color: var(--ink-soft); font-weight: 400; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px 15px; border: 1px solid var(--stone-300); border-radius: 0; background: var(--stone-50); color: var(--ink); }
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid rgba(167,79,49,.18); border-color: var(--rust); }
.form-consent { grid-template-columns: 20px 1fr; align-items: start; font-weight: 400 !important; }
.form-consent input { width: 18px; margin-top: 4px; }
.form-status { min-height: 1.5em; margin: 0; font-weight: 700; }
.form-status.is-success { color: #2c6b3d; }
.form-status.is-error { color: #a52d25; }

.map-section { position: relative; min-height: 520px; background: var(--stone-200); }
.map-section iframe { width: 100%; height: 520px; display: block; border: 0; }
.map-placeholder { min-height: 520px; display: grid; place-items: center; padding: 30px; text-align: center; }
.map-placeholder > div { max-width: 560px; }
.map-placeholder h2 { margin: 12px 0; }
.map-placeholder p { color: var(--ink-soft); }
.map-placeholder a { display: block; margin-top: 14px; color: var(--rust-dark); }
.map-pin { font-size: 2.8rem; color: var(--rust); }

.consent-overlay { position: fixed; z-index: 990; inset: 0; background: rgba(20, 23, 21, .36); opacity: 0; transition: opacity 1.2s ease; }
.consent-overlay.is-visible { opacity: 1; }
.consent { position: fixed; z-index: 1000; left: 50%; bottom: 22px; width: min(1220px, calc(100% - 30px)); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 22px 26px; border: 1px solid var(--stone-300); background: rgba(248,246,241,.98); box-shadow: 0 26px 90px rgba(18,22,19,.28); transform: translate(-50%, calc(100% + 70px)); opacity: 0; transition: transform 2.4s cubic-bezier(.22,.75,.2,1), opacity 1.2s ease; }
.consent.is-visible { transform: translate(-50%, 0); opacity: 1; }
.consent-icon { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid var(--stone-300); border-radius: 50%; background: var(--white); }
.consent-icon svg { width: 30px; fill: none; stroke: var(--rust); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.consent-copy strong { font-family: "Iowan Old Style", serif; font-size: 1.35rem; }
.consent-copy p { margin: 4px 0 0; color: var(--ink-soft); font-size: .88rem; }
.consent-actions { display: flex; gap: 10px; }

@media (max-width: 1020px) {
  .menu-toggle { display: grid; }
  .primary-nav { position: fixed; inset: 88px 0 auto; display: none; padding: 24px 20px 30px; border-bottom: 1px solid var(--stone-200); background: var(--stone-50); box-shadow: var(--shadow); }
  .primary-nav.is-open { display: grid; }
  .nav-link { border-radius: 0; border-bottom: 1px solid var(--stone-200); }
  .button-small { margin: 12px 0 0; }
  .hero-grid, .feature-grid, .detail-hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 800px; }
  .hero-media { max-width: 780px; }
  .property-grid { grid-template-columns: 1fr 1fr; }
  .property-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .potential-grid, .contact-layout { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
  .consent { grid-template-columns: auto 1fr; }
  .consent-actions { grid-column: 1 / -1; justify-content: flex-end; }
}

@media (max-width: 740px) {
  :root { --container: min(100% - 28px, 1180px); --radius: 14px; }
  .header-inner { min-height: 76px; }
  .brand-copy small { display: none; }
  .primary-nav { top: 76px; }
  .hero { padding-top: 48px; }
  .hero-actions .button { width: 100%; }
  .hero-media figcaption { position: static; min-width: 0; transform: none; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid div:nth-child(2) { border-right: 1px solid var(--stone-200); }
  .facts-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--stone-200); }
  .split-intro { grid-template-columns: 1fr; gap: 34px; }
  .property-grid { grid-template-columns: 1fr; }
  .property-card:last-child { grid-column: auto; display: flex; }
  .section-heading-row, .contact-band-inner, .next-property-inner { align-items: flex-start; flex-direction: column; display: flex; }
  .contact-band-actions { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-bottom { flex-direction: column; }
  .spec-grid, .form-grid { grid-template-columns: 1fr; }
  .spec-grid span { flex-direction: column; gap: 2px; }
  .consent { bottom: 10px; grid-template-columns: 1fr; gap: 14px; padding: 19px; }
  .consent-icon { display: none; }
  .consent-actions { grid-column: auto; display: grid; }
  .consent-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.language-switcher { display:flex; flex-wrap:wrap; justify-content:center; gap:4px 12px; padding:8px max(14px,calc((100% - 1180px)/2)); border-top:1px solid var(--stone-200); background:var(--stone-50); font-size:.76rem; }
.language-switcher a { color:var(--ink-soft); text-decoration:none; }
.language-switcher a:hover,.language-switcher a[aria-current="page"] { color:var(--rust-dark); text-decoration:underline; text-underline-offset:3px; }
.footer-bottom .language-switcher { padding:0; border:0; background:transparent; justify-content:flex-end; }
