:root {
  --ink: #203846;
  --navy: #113d5d;
  --navy-deep: #0a2b43;
  --blue: #287494;
  --blue-soft: #e6f1f4;
  --green: #4e7c6b;
  --green-soft: #e9f1ed;
  --ochre: #bd8235;
  --ochre-soft: #faf0df;
  --paper: #fbfcfa;
  --mist: #f2f5f3;
  --white: #ffffff;
  --muted: #5d6c73;
  --line: #d5dfdd;
  --shadow: 0 24px 70px rgba(10, 43, 67, 0.14);
  --radius: 1rem;
  --wrap: 76rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.65; overflow-x: hidden; }
body, button, input, textarea { font-family: Arial, Helvetica, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, li, a, span, label { overflow-wrap: anywhere; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.1; }
h1 { max-width: 12.5ch; margin-bottom: 1.1rem; font-size: clamp(2.3rem, 10vw, 4.7rem); letter-spacing: -0.045em; }
h2 { margin-bottom: 1rem; font-size: clamp(1.95rem, 8vw, 3.45rem); letter-spacing: -0.035em; }
h3 { margin-bottom: 0.45rem; font-size: 1.13rem; }
.wrap { width: min(calc(100% - 2rem), var(--wrap)); margin-inline: auto; }

.skip-link { position: fixed; top: 0.5rem; left: 0.5rem; z-index: 100; padding: 0.75rem 1rem; color: var(--white); background: var(--navy-deep); border-radius: 0.45rem; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid rgba(40, 116, 148, 0.2); }
.header-inner { min-height: 4.75rem; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.75rem; }
.brand { min-width: 0; display: inline-flex; align-items: center; gap: 0.65rem; color: var(--navy-deep); text-decoration: none; }
.brand img { width: 3.15rem; height: 2.1rem; object-fit: contain; }
.brand-copy { min-width: 0; display: grid; line-height: 1.14; }
.brand-copy strong { font-size: 0.84rem; letter-spacing: 0.04em; text-transform: uppercase; }
.brand-copy span { color: var(--blue); font-size: 0.75rem; }
.menu-toggle { min-height: 2.85rem; display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.55rem 0.8rem; color: var(--navy-deep); background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-weight: 800; }
.menu-icon { width: 1.2rem; display: grid; gap: 0.22rem; }
.menu-icon i { height: 2px; display: block; background: currentColor; }
.site-nav { grid-column: 1 / -1; display: none; padding: 0.55rem 0 1rem; }
.site-nav.is-open { display: grid; }
.site-nav a { padding: 0.7rem 0.25rem; color: var(--navy-deep); border-bottom: 1px solid var(--line); font-weight: 700; text-decoration: none; }
.header-phone { display: none; }

.hero { position: relative; padding: 2rem 0 3.8rem; overflow: hidden; background: linear-gradient(135deg, var(--paper), var(--blue-soft) 58%, var(--ochre-soft)); }
.budget-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); pointer-events: none; opacity: 0.4; }
.budget-grid span { border-left: 1px solid rgba(40, 116, 148, 0.17); }
.budget-grid span:nth-child(2) { background: linear-gradient(transparent 55%, rgba(78, 124, 107, 0.12)); }
.budget-grid span:nth-child(4) { background: linear-gradient(transparent 35%, rgba(189, 130, 53, 0.1)); }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 1.45rem; }
.hero-copy { align-self: center; }
.eyebrow { margin-bottom: 0.65rem; color: var(--blue); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.eyebrow--light { color: #9ed7e1; }
.hero-lead { max-width: 41rem; margin-bottom: 1.35rem; color: #465c66; font-size: 1.05rem; }
.hero-actions { display: grid; gap: 0.65rem; }
.button { min-height: 3.1rem; display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.15rem; border: 2px solid transparent; border-radius: 999px; font-weight: 800; text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button--sale { color: var(--white); background: var(--navy); box-shadow: 0 12px 30px rgba(17, 61, 93, 0.21); }
.button--buy { color: var(--navy-deep); background: var(--white); border-color: var(--green); }

.image-frame { position: relative; margin: 0; overflow: hidden; background: var(--mist); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; }
.image-frame figcaption { position: absolute; right: 0.65rem; bottom: 0.65rem; z-index: 2; padding: 0.35rem 0.55rem; color: var(--white); background: rgba(10, 43, 67, 0.88); border-radius: 999px; font-size: 0.68rem; font-weight: 700; line-height: 1.2; }
.image-frame--hero { aspect-ratio: 3 / 2; border: 0.45rem solid var(--white); border-radius: 0 4.5rem 0 4.5rem; box-shadow: var(--shadow); }
.economic-band { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.55rem; }
.economic-band span { min-height: 3.25rem; display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 0.8rem; background: rgba(255, 255, 255, 0.92); border-bottom: 3px solid var(--blue); font-size: 0.8rem; font-weight: 700; }
.economic-band span:nth-child(2) { border-bottom-color: var(--green); }
.economic-band span:nth-child(3) { border-bottom-color: var(--ochre); }
.economic-band span:nth-child(4) { border-bottom-color: var(--navy); }
.economic-band small { color: var(--ochre); font-weight: 800; }

.section { padding: 4.5rem 0; }
.section-heading { max-width: 43rem; }
.section-heading--center { margin-inline: auto; text-align: center; }
.overview-grid { display: grid; gap: 1.5rem; }
.overview-copy { font-size: 1.04rem; }
.overview-copy p:last-child, .frame-note p, .ledger-list p, .fact-line p, .situation-list p, .route-copy p, .boundary-copy p, .process-list p, .inquiry-intro > p:last-child { color: var(--muted); }
.frame-note { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; padding: 1.25rem; background: var(--green-soft); border: 1px solid rgba(78, 124, 107, 0.28); }
.frame-note > span { width: 3.2rem; height: 2.2rem; position: relative; border-top: 4px solid var(--green); border-bottom: 4px solid var(--ochre); }
.frame-note > span::after { content: ""; width: 1px; height: 100%; position: absolute; left: 50%; background: var(--navy); }
.frame-note strong { display: block; margin-bottom: 0.2rem; }
.frame-note p { margin-bottom: 0; }

.objects { background: var(--mist); }
.ledger-list { display: grid; gap: 0.75rem; margin-top: 2.2rem; }
.ledger-list article { padding: 1.25rem; background: var(--white); border-top: 3px solid var(--blue); box-shadow: 0 10px 28px rgba(10, 43, 67, 0.06); }
.ledger-list article:nth-child(2) { border-top-color: var(--green); }
.ledger-list article:nth-child(3) { border-top-color: var(--ochre); }
.ledger-list article:nth-child(4) { border-top-color: var(--navy); }
.ledger-list article > span { display: block; margin-bottom: 0.75rem; color: var(--blue); font-size: 0.74rem; font-weight: 800; }
.ledger-list p { margin-bottom: 0; }
.fact-line { max-width: 57rem; display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; align-items: center; margin: 1.5rem auto 0; padding: 1rem 1.2rem; background: var(--ochre-soft); border-left: 4px solid var(--ochre); }
.fact-line > span { width: 1.25rem; height: 1.25rem; border: 3px solid var(--blue); border-radius: 50%; }
.fact-line strong { display: block; }
.fact-line p { margin-bottom: 0; font-size: 0.9rem; }

.situations { color: var(--white); background: linear-gradient(140deg, var(--navy-deep), var(--navy) 65%, #174e64); }
.situations-grid { display: grid; gap: 2rem; }
.section-heading--light h2 { color: var(--white); }
.situation-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.situation-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.situation-list > li > span { color: #e5b876; font-size: 0.75rem; font-weight: 800; }
.situation-list h3, .situation-list p { margin-bottom: 0; }
.situation-list p { color: #d2dfe5; }

.route { padding: 4.8rem 0; }
.route--sale { background: var(--ochre-soft); }
.route--buy { background: var(--green-soft); }
.route-grid { display: grid; gap: 2rem; align-items: center; }
.image-frame--section { aspect-ratio: 3 / 2; border: 0.45rem solid var(--white); box-shadow: var(--shadow); }
.image-frame--sale { border-radius: 3.5rem 0.7rem 0.7rem 0.7rem; }
.image-frame--buy { border-radius: 0.7rem 0.7rem 3.5rem 0.7rem; }
.route-copy h2 { max-width: 16ch; }
.route-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1.3rem 0; }
.route-tags span { padding: 0.38rem 0.7rem; background: rgba(255, 255, 255, 0.76); border: 1px solid rgba(32, 56, 70, 0.16); border-radius: 999px; font-size: 0.78rem; font-weight: 700; }
.route-link { display: inline-flex; align-items: center; padding-bottom: 0.15rem; color: var(--navy-deep); border-bottom: 2px solid var(--blue); font-weight: 800; text-decoration: none; }
.route-link::after { content: "→"; margin-left: 0.55rem; }

.boundary { color: var(--white); background: var(--navy-deep); }
.boundary-grid { display: grid; gap: 1.5rem; }
.balance-mark { width: 9rem; height: 6.5rem; position: relative; display: flex; align-items: end; justify-content: space-between; padding-bottom: 0.8rem; border-bottom: 2px solid rgba(255, 255, 255, 0.62); }
.balance-mark span, .balance-mark b { width: 3rem; height: 2.4rem; display: block; background: var(--blue); }
.balance-mark b { background: var(--green); }
.balance-mark i { width: 2px; height: 5.7rem; position: absolute; left: 50%; bottom: 0; background: var(--ochre); }
.boundary h2 { color: var(--white); }
.boundary-copy p { color: #d5e1e5; }

.process { background: var(--white); }
.process-list { display: grid; gap: 0.8rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.process-list li { padding: 1.3rem; background: var(--paper); border-bottom: 3px solid var(--blue); }
.process-list li:nth-child(2) { border-bottom-color: var(--ochre); }
.process-list li:nth-child(3) { border-bottom-color: var(--green); }
.process-list li > span { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; margin-bottom: 0.75rem; color: var(--white); background: var(--navy); border-radius: 50%; font-weight: 800; }
.process-list p { margin-bottom: 0; }

.inquiry { background: linear-gradient(180deg, var(--blue-soft), var(--white)); outline: none; }
.inquiry:focus .inquiry-intro h2 { text-decoration: underline; text-decoration-color: var(--ochre); text-underline-offset: 0.25rem; }
.inquiry-grid { display: grid; gap: 2rem; }
.inquiry-intro { align-self: start; }
.contact-form { display: grid; gap: 0.75rem; padding: 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form fieldset { min-width: 0; margin: 0 0 0.35rem; padding: 0; border: 0; }
.contact-form legend, .contact-form > label, .personal-grid label { color: var(--navy-deep); font-size: 0.88rem; font-weight: 800; }
.contact-form legend { margin-bottom: 0.65rem; }
.intent-grid { display: grid; gap: 0.55rem; }
.intent-grid label { position: relative; cursor: pointer; }
.intent-grid input { position: absolute; opacity: 0; }
.intent-grid span { min-height: 3.1rem; display: flex; align-items: center; padding: 0.7rem 0.85rem; color: var(--navy-deep); background: var(--mist); border: 2px solid transparent; border-radius: 999px; font-weight: 700; }
.intent-grid input:checked + span { background: var(--green-soft); border-color: var(--green); }
.intent-grid input:focus-visible + span { outline: 3px solid var(--ochre); outline-offset: 2px; }
.contact-form > input, .contact-form > textarea, .personal-grid input { width: 100%; min-height: 3rem; padding: 0.7rem 0.8rem; color: var(--ink); background: var(--white); border: 1px solid #a8b7ba; border-radius: 0.55rem; font-size: 1rem; }
.contact-form > textarea { min-height: 9rem; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .button:focus-visible, .route-link:focus-visible, .site-nav a:focus-visible, .header-phone:focus-visible, .brand:focus-visible, .menu-toggle:focus-visible, .contact-card a:focus-visible, .footer-inner a:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }
.personal-details { margin: 0.6rem 0; background: var(--green-soft); border: 1px solid rgba(78, 124, 107, 0.34); border-radius: 0.65rem; }
.personal-details summary { min-height: 3.2rem; display: flex; align-items: center; padding: 0.8rem 1rem; color: var(--navy-deep); cursor: pointer; font-weight: 800; }
.personal-grid { display: grid; gap: 0.8rem; padding: 0 1rem 1rem; }
.personal-grid label { display: grid; gap: 0.35rem; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.65rem; align-items: start; margin: 0.35rem 0; font-weight: 400 !important; line-height: 1.45; }
.consent input { width: 1.25rem; height: 1.25rem; margin: 0.1rem 0 0; accent-color: var(--green); }
.consent a { color: var(--blue); font-weight: 800; }
.button--submit { color: var(--white); background: var(--navy); border: 0; cursor: pointer; }
.form-hint, .form-status { margin-bottom: 0; color: var(--muted); font-size: 0.78rem; }
.form-status { min-height: 1.35rem; color: var(--navy-deep); font-weight: 700; }

.contact-section { padding: 0 0 4.5rem; background: var(--white); }
.contact-card { position: relative; display: grid; gap: 1.5rem; padding: 2rem 1.25rem; color: var(--white); background: linear-gradient(115deg, var(--blue), var(--navy-deep)); border-radius: 1rem; overflow: hidden; }
.contact-card::after { content: ""; width: 38%; height: 100%; position: absolute; right: 0; top: 0; background: rgba(78, 124, 107, 0.45); border-left: 1px solid rgba(255, 255, 255, 0.18); }
.contact-card > * { position: relative; z-index: 1; }
.contact-card h2 { max-width: 18ch; margin-bottom: 0.55rem; font-size: clamp(1.8rem, 7vw, 3rem); }
.contact-card p { margin-bottom: 0; }
.contact-card address { display: grid; gap: 0.25rem; font-style: normal; }
.contact-card address span { margin-top: 0.45rem; color: #d0e2e8; font-size: 0.73rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-card address a { font-size: 1.05rem; font-weight: 800; text-decoration: none; }
.site-footer { color: #d9e6ea; background: #071f31; }
.footer-inner { min-height: 4.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.footer-inner nav { display: flex; gap: 1.2rem; }
.footer-inner a { font-size: 0.82rem; font-weight: 700; text-decoration: none; }

@media (min-width: 32rem) {
  .hero-actions { grid-template-columns: repeat(2, max-content); }
  .economic-band { grid-template-columns: repeat(4, 1fr); }
  .intent-grid, .personal-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 48rem) {
  .wrap { width: min(calc(100% - 3rem), var(--wrap)); }
  .section, .route { padding-block: 6rem; }
  .hero { padding: 3.5rem 0 5rem; }
  .hero-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); column-gap: 3rem; align-items: center; }
  .hero-copy { grid-column: 1; grid-row: 1; }
  .image-frame--hero { grid-column: 2; grid-row: 1; }
  .economic-band { grid-column: 1 / -1; }
  .overview-grid { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); column-gap: 3rem; }
  .frame-note { grid-column: 2; }
  .ledger-list { grid-template-columns: repeat(2, 1fr); }
  .situations-grid { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: 3rem; }
  .route-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: 3.5rem; }
  .route-grid--reverse .image-frame { grid-column: 2; }
  .route-grid--reverse .route-copy { grid-column: 1; grid-row: 1; }
  .boundary-grid { grid-template-columns: auto minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; gap: 2.5rem; }
  .process-list { grid-template-columns: repeat(3, 1fr); }
  .inquiry-grid { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: 4rem; }
  .inquiry-intro { position: sticky; top: 7rem; }
  .contact-form { padding: 2rem; }
  .contact-card { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 3rem; }
}

@media (min-width: 64rem) {
  .header-inner { min-height: 5rem; grid-template-columns: auto 1fr auto; }
  .menu-toggle { display: none; }
  .site-nav, .site-nav.is-open { grid-column: auto; display: flex; justify-content: center; gap: 1.1rem; padding: 0; }
  .site-nav a { padding: 0.45rem 0; border-bottom: 2px solid transparent; font-size: 0.85rem; }
  .site-nav a:hover { border-bottom-color: var(--ochre); }
  .header-phone { min-height: 2.6rem; display: inline-flex; align-items: center; padding: 0.55rem 0.8rem; color: var(--white); background: var(--blue); border-radius: 999px; font-size: 0.82rem; font-weight: 800; text-decoration: none; }
  .hero-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: 4rem; }
  .image-frame--hero { transform: translateY(1rem); }
  .ledger-list { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .ledger-list article { min-height: 14.5rem; }
  .ledger-list article:nth-child(2) { transform: translateY(0.6rem); }
  .ledger-list article:nth-child(3) { transform: translateY(1.2rem); }
  .ledger-list article:nth-child(4) { transform: translateY(1.8rem); }
  .fact-line { margin-top: 3.5rem; }
  .situations-grid { grid-template-columns: 0.68fr 1.32fr; gap: 5rem; }
  .situation-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2rem; }
}

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