:root {
  --ink: #283238;
  --navy: #15354d;
  --navy-deep: #0b2639;
  --brick: #a64e3f;
  --brick-dark: #843a30;
  --brick-soft: #f5e7e3;
  --gold: #b48a45;
  --gold-soft: #f4ecdc;
  --paper: #f7f5f1;
  --white: #ffffff;
  --muted: #667177;
  --line: #ddd8d0;
  --shadow: 0 22px 64px rgba(32, 39, 43, 0.15);
  --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.64; 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.08; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
h1 { max-width: 11ch; margin-bottom: 1rem; font-size: clamp(2.35rem, 9.3vw, 4.75rem); letter-spacing: -0.045em; }
h2 { margin-bottom: 1rem; font-size: clamp(1.9rem, 7.1vw, 3.35rem); letter-spacing: -0.035em; }
h3 { margin-bottom: 0.45rem; font-size: 1.08rem; }
.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.7rem 1rem; color: var(--white); background: var(--navy-deep); border-radius: 0.3rem; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.98); border-bottom: 1px solid var(--line); }
.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.08; }
.brand-copy strong { font-size: 0.78rem; letter-spacing: 0.02em; }
.brand-copy span { color: var(--brick-dark); font-size: 0.7rem; }
.menu-toggle { min-height: 2.7rem; display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.55rem 0.7rem; color: var(--navy-deep); background: var(--paper); border: 1px solid var(--line); border-radius: 0.25rem; font-size: 0.82rem; font-weight: 800; cursor: pointer; }
.menu-icon { width: 1.15rem; display: grid; gap: 0.2rem; }
.menu-icon i { height: 2px; display: block; background: currentColor; }
.site-nav { grid-column: 1 / -1; display: none; padding: 0.25rem 0 0.9rem; }
.site-nav.is-open { display: grid; }
.site-nav a { min-height: 2.7rem; display: flex; align-items: center; padding: 0.45rem 0; color: var(--navy-deep); font-weight: 800; text-decoration: none; }
.header-phone { display: none; }

.eyebrow { margin-bottom: 0.8rem; color: var(--brick-dark); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.11em; text-transform: uppercase; }
.eyebrow--light { color: #efd8b2; }
.hero { position: relative; padding: 2rem 0 3rem; background: linear-gradient(125deg, var(--paper) 0 66%, var(--gold-soft) 66%); overflow: hidden; }
.hero::before { content: ""; width: 0.38rem; position: absolute; inset: 0 auto 0 0; background: var(--brick); }
.hero-layout { display: grid; gap: 1.4rem; }
.hero-copy { position: relative; z-index: 2; }
.hero-lead { max-width: 41rem; margin-bottom: 1.35rem; font-size: 1.02rem; }
.hero-actions { display: grid; gap: 0.65rem; }
.button { min-height: 3rem; display: inline-flex; align-items: center; justify-content: center; padding: 0.72rem 1rem; border: 2px solid transparent; border-radius: 0.2rem; font-size: 0.9rem; font-weight: 900; line-height: 1.2; text-align: center; text-decoration: none; }
.button--primary { color: var(--white); background: var(--brick-dark); }
.button--secondary { color: var(--navy-deep); background: var(--white); border-color: var(--navy); }
.image-frame { position: relative; margin: 0; overflow: hidden; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; }
.image-frame figcaption { position: absolute; right: 0.55rem; bottom: 0.55rem; z-index: 3; padding: 0.28rem 0.5rem; color: var(--white); background: rgba(11, 38, 57, 0.92); border-radius: 0.15rem; font-size: 0.68rem; font-weight: 800; }
.image-frame--hero { aspect-ratio: 3 / 2; border: 0.45rem solid var(--white); border-radius: 0.2rem 2.8rem 0.2rem 0.2rem; box-shadow: var(--shadow); }
.image-frame--hero::after { content: ""; position: absolute; inset: 0; border-left: 0.4rem solid rgba(166, 78, 63, 0.75); pointer-events: none; }
.hero-facts { display: grid; grid-template-columns: repeat(2, 1fr); background: var(--white); border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(32, 39, 43, 0.08); }
.hero-facts span { min-height: 4.7rem; display: grid; align-content: center; gap: 0.1rem; padding: 0.7rem; border: 1px solid var(--line); font-size: 0.73rem; line-height: 1.3; }
.hero-facts b { color: var(--brick-dark); font-size: 0.78rem; }

.section { padding: 4.5rem 0; }
.section-heading { max-width: 40rem; }
.section-heading--wide { max-width: 48rem; }
.section-heading--center { margin-inline: auto; text-align: center; }

.overview { background: var(--white); }
.overview-grid { display: grid; gap: 1.5rem; }
.overview-copy { position: relative; padding: 1.1rem 0 0 1.3rem; border-left: 0.28rem solid var(--gold); }
.overview-copy::before { content: "01"; position: absolute; top: -0.7rem; left: 1.3rem; color: var(--brick); font-size: 0.68rem; font-weight: 900; letter-spacing: 0.12em; }
.overview-copy p:last-child { margin-bottom: 0; }

.situations { background: var(--paper); }
.scenario-list { margin-top: 2rem; border-top: 1px solid var(--line); }
.scenario-list article { display: grid; grid-template-columns: 2.7rem minmax(0, 1fr); gap: 0.85rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.scenario-list article > span { width: 2.15rem; height: 2.15rem; display: grid; place-items: center; color: var(--white); background: var(--navy); border-radius: 50%; font-size: 0.68rem; font-weight: 900; }
.scenario-list article:nth-child(even) > span { background: var(--brick-dark); }
.scenario-list h3 { color: var(--navy-deep); }
.scenario-list p { margin-bottom: 0; }

.pathway { padding: 4.8rem 0; }
.pathway--sell { background: var(--brick-soft); }
.pathway--buy { color: var(--white); background: var(--navy-deep); }
.pathway-grid { display: grid; gap: 2rem; align-items: center; }
.pathway-copy h2 { max-width: 15ch; }
.pathway-copy--light h2 { color: var(--white); }
.pathway-copy--light > p:not(.eyebrow) { color: #dbe5ea; }
.image-frame--section { aspect-ratio: 3 / 2; border: 0.45rem solid var(--white); box-shadow: var(--shadow); }
.image-frame--sell { border-radius: 2.8rem 0.2rem 0.2rem 0.2rem; }
.image-frame--buy { border-radius: 0.2rem 0.2rem 2.8rem 0.2rem; }
.topic-line { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1.3rem 0; }
.topic-line span { padding: 0.38rem 0.7rem; color: var(--navy-deep); background: rgba(255, 255, 255, 0.74); border: 1px solid rgba(21, 53, 77, 0.16); border-radius: 999px; font-size: 0.77rem; font-weight: 800; }
.topic-line--dark span { color: var(--white); background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); }
.text-link { display: inline-flex; align-items: center; padding-bottom: 0.14rem; color: var(--brick-dark); border-bottom: 2px solid var(--gold); font-weight: 900; text-decoration: none; }
.text-link::after { content: "→"; margin-left: 0.55rem; }
.text-link--light { color: var(--white); border-color: #efd8b2; }

.succession { background: var(--white); }
.succession-grid { display: grid; gap: 2rem; align-items: center; }
.succession-marker { min-height: 13rem; display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 0.5rem; padding: 1.4rem; color: var(--navy-deep); background: var(--gold-soft); border: 1px solid #e6d8bc; }
.succession-marker span { width: 4.1rem; height: 4.1rem; display: grid; place-items: center; padding: 0.35rem; background: var(--white); border: 2px solid var(--brick); border-radius: 50%; font-size: 0.72rem; font-weight: 900; text-align: center; }
.succession-marker i { height: 2px; display: block; background: var(--gold); }

.distinction { background: var(--paper); }
.distinction-grid { display: grid; gap: 2rem; }
.distinction-list { background: var(--white); border: 1px solid var(--line); }
.distinction-list article { display: grid; grid-template-columns: 2.7rem 1fr; gap: 0.85rem; padding: 1rem; border-bottom: 1px solid var(--line); }
.distinction-list article:last-child { border-bottom: 0; }
.distinction-list article > span { color: var(--brick-dark); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.08em; }
.distinction-list p { margin-bottom: 0; }

.process { background: var(--white); }
.process-list { max-width: 60rem; margin: 2rem auto 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { position: relative; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.process-list li > span { width: 2.7rem; height: 2.7rem; display: grid; place-items: center; color: var(--white); background: var(--brick-dark); font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; font-weight: 700; }
.process-list li:nth-child(2) > span { background: var(--gold); }
.process-list li:nth-child(3) > span { background: var(--navy); }
.process-list p { margin-bottom: 0; }

.inquiry { background: linear-gradient(180deg, var(--gold-soft), var(--white)); outline: none; }
.inquiry:focus .inquiry-intro h2 { text-decoration: underline; text-decoration-color: var(--brick); text-underline-offset: 0.25rem; }
.inquiry-grid { display: grid; gap: 2rem; }
.inquiry-note { max-width: 18rem; display: grid; gap: 0.2rem; margin-top: 1.5rem; padding: 0.9rem 1rem; background: var(--white); border-left: 0.28rem solid var(--brick); }
.inquiry-note b { color: var(--brick-dark); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
.inquiry-note span { font-size: 0.88rem; line-height: 1.4; }
.contact-form { display: grid; gap: 0.75rem; padding: 1.25rem; background: var(--white); border: 1px solid var(--line); 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: 900; }
.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(--paper); border: 2px solid transparent; font-weight: 800; }
.intent-grid input:checked + span { background: var(--brick-soft); border-color: var(--brick-dark); }
.intent-grid input:focus-visible + span { outline: 3px solid var(--gold); 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 #a9adae; border-radius: 0.2rem; font-size: 1rem; }
.contact-form > textarea { min-height: 9rem; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .button:focus-visible, .text-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(--gold); outline-offset: 3px; }
.personal-details { margin: 0.6rem 0; background: var(--paper); border: 1px solid var(--line); }
.personal-details summary { min-height: 3.2rem; display: flex; align-items: center; padding: 0.8rem 1rem; color: var(--navy-deep); cursor: pointer; font-weight: 900; }
.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(--brick-dark); }
.consent a { color: var(--brick-dark); font-weight: 900; }
.button--submit { color: var(--white); background: var(--brick-dark); 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: 800; }

.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: var(--navy-deep); overflow: hidden; }
.contact-card::before { content: ""; width: 12rem; height: 0.45rem; position: absolute; top: 0; left: 0; background: linear-gradient(90deg, var(--brick), var(--gold)); }
.contact-card::after { content: ""; width: 9rem; height: 9rem; position: absolute; right: -4rem; bottom: -4rem; border: 1.8rem solid rgba(180, 138, 69, 0.18); border-radius: 50%; }
.contact-card > * { position: relative; z-index: 1; }
.contact-card h2 { max-width: 18ch; margin-bottom: 0.55rem; color: var(--white); 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: #efd8b2; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-card address a { font-size: 1.05rem; font-weight: 900; text-decoration: none; }
.site-footer { color: #dbe5ea; background: #071d2c; }
.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); }
  .hero-facts { grid-template-columns: repeat(4, 1fr); }
  .intent-grid { grid-template-columns: repeat(2, 1fr); }
  .intent-grid label:last-child { grid-column: 1 / -1; }
  .personal-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 48rem) {
  .wrap { width: min(calc(100% - 3rem), var(--wrap)); }
  .section, .pathway { padding-block: 6rem; }
  .hero { padding: 3.7rem 0 5rem; }
  .hero-layout { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); column-gap: 3.2rem; align-items: center; }
  .hero-copy { grid-column: 1; grid-row: 1; }
  .image-frame--hero { grid-column: 2; grid-row: 1; }
  .hero-facts { grid-column: 1 / -1; }
  .overview-grid { grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); gap: 4rem; }
  .scenario-list { display: grid; grid-template-columns: repeat(2, 1fr); border: 0; gap: 0.8rem; }
  .scenario-list article { min-height: 10.5rem; padding: 1.15rem; background: var(--white); border: 1px solid var(--line); }
  .pathway-grid { grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr); gap: 3.7rem; }
  .pathway-grid--reverse .pathway-copy { grid-column: 2; }
  .pathway-grid--reverse .image-frame { grid-column: 1; grid-row: 1; }
  .succession-grid { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: 4rem; }
  .distinction-grid { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: 4rem; }
  .process-list { display: grid; grid-template-columns: repeat(3, 1fr); border: 0; }
  .process-list li { min-height: 12rem; display: block; padding: 4.6rem 1.15rem 1.2rem; border: 1px solid var(--line); }
  .process-list li > span { position: absolute; top: 1.2rem; left: 1.15rem; }
  .inquiry-grid { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: 4rem; }
  .inquiry-intro { position: sticky; top: 7rem; align-self: start; }
  .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: 1rem; padding: 0; }
  .site-nav a { min-height: 0; padding: 0.45rem 0; border-bottom: 2px solid transparent; font-size: 0.83rem; }
  .site-nav a:hover { border-bottom-color: var(--brick); }
  .header-phone { min-height: 2.6rem; display: inline-flex; align-items: center; padding: 0.55rem 0.8rem; color: var(--white); background: var(--navy); border-radius: 0.2rem; font-size: 0.82rem; font-weight: 900; text-decoration: none; }
  .hero-layout { grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr); column-gap: 4.4rem; }
  .scenario-list { grid-template-columns: repeat(3, 1fr); }
}

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