:root {
  --blue: #123e5c;
  --blue-deep: #082b40;
  --terracotta: #a54732;
  --terracotta-dark: #823523;
  --brass: #b38a46;
  --ice: #eaf2f4;
  --sand: #f3eee5;
  --white: #ffffff;
  --ink: #17313e;
  --muted: #586a72;
  --line: #cbd5d8;
  --shadow: 0 1rem 2.6rem rgba(8, 43, 64, 0.14);
  --shell: 76rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.62; }
img { max-width: 100%; display: block; }
a { color: inherit; overflow-wrap: anywhere; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--blue-deep); font-weight: 900; line-height: 1.04; overflow-wrap: anywhere; }
h1 { max-width: 12ch; margin-bottom: 1.1rem; font-size: clamp(2.35rem, 10.5vw, 5rem); letter-spacing: -0.045em; }
h2 { margin-bottom: 1.15rem; font-size: clamp(2rem, 8vw, 3.65rem); letter-spacing: -0.035em; }
h3 { margin-bottom: 0.5rem; font-size: 1.08rem; line-height: 1.2; }
p { margin-bottom: 1rem; }
.shell { width: min(calc(100% - 2rem), var(--shell)); margin-inline: auto; }
.section { padding: 4.5rem 0; }
.skip-link { position: fixed; left: 1rem; top: -6rem; z-index: 100; padding: 0.8rem 1rem; color: var(--white); background: var(--blue-deep); }
.skip-link:focus { top: 1rem; }
.kicker { margin-bottom: 0.7rem; color: var(--terracotta-dark); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.kicker--light { color: #f2d9b0; }

.site-header { position: relative; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.header-grid { min-height: 4.8rem; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 0.8rem; }
.brand { min-width: 0; display: flex; align-items: center; gap: 0.65rem; color: var(--blue-deep); text-decoration: none; }
.brand img { width: 3.15rem; height: 2.2rem; object-fit: contain; }
.brand > span { min-width: 0; display: grid; line-height: 1.16; }
.brand strong { font-size: 0.85rem; }
.brand small { color: var(--terracotta-dark); font-size: 0.68rem; font-weight: 800; }
.menu-toggle { min-height: 2.9rem; display: flex; align-items: center; gap: 0.55rem; padding: 0.6rem 0.8rem; color: var(--blue-deep); background: var(--sand); border: 1px solid var(--line); border-radius: 0.22rem; font-size: 0.88rem; font-weight: 900; cursor: pointer; }
.menu-toggle > span { width: 1.15rem; display: grid; gap: 0.2rem; }
.menu-toggle i { height: 2px; display: block; background: currentColor; }
.site-nav { grid-column: 1 / -1; display: none; padding-bottom: 0.8rem; }
.site-nav.is-open { display: grid; }
.site-nav a { min-height: 2.8rem; display: flex; align-items: center; color: var(--blue-deep); font-weight: 850; text-decoration: none; }
.header-phone { display: none; }

.hero { position: relative; padding: 2.2rem 0 3rem; background: linear-gradient(145deg, var(--ice) 0 62%, var(--white) 62%); overflow: hidden; }
.hero::before { content: ""; width: 17rem; height: 17rem; position: absolute; left: -11rem; top: 4rem; border: 2.6rem solid rgba(179,138,70,0.16); border-radius: 50%; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 1.35rem; }
.hero-copy { padding-top: 0.8rem; }
.hero-lead { max-width: 42rem; margin-bottom: 1.35rem; font-size: 1.02rem; }
.hero-actions { display: grid; gap: 0.65rem; }
.button { min-height: 3.1rem; display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1rem; border: 2px solid transparent; border-radius: 0.18rem; font-size: 0.9rem; font-weight: 900; line-height: 1.2; text-align: center; text-decoration: none; }
.button--primary { color: var(--white); background: var(--terracotta-dark); }
.button--secondary { color: var(--blue-deep); background: var(--white); border-color: var(--blue); }
.photo { position: relative; margin: 0; overflow: hidden; background: var(--sand); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; right: 0.55rem; bottom: 0.55rem; padding: 0.3rem 0.5rem; color: var(--white); background: rgba(8,43,64,0.92); font-size: 0.68rem; font-weight: 850; }
.photo--hero { aspect-ratio: 3 / 2; border: 0.42rem solid var(--white); box-shadow: var(--shadow); }
.hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 0.3rem solid var(--brass); }
.hero-facts span { min-height: 3.8rem; display: flex; align-items: center; gap: 0.55rem; padding: 0.65rem; color: var(--white); background: var(--blue-deep); border-right: 1px solid rgba(255,255,255,0.15); font-size: 0.77rem; font-weight: 850; }
.hero-facts b { color: #f2d9b0; font-size: 0.62rem; }

.intro { background: var(--white); }
.intro-grid { display: grid; gap: 1.5rem; }
.intro-heading { padding: 0 0 1.3rem 1.2rem; border-left: 0.28rem solid var(--terracotta); border-bottom: 1px solid var(--line); }
.index { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; margin-bottom: 1.1rem; color: var(--white); background: var(--blue); border-radius: 50%; font-size: 0.68rem; font-weight: 900; }
.intro-copy { padding: 1.2rem; background: var(--sand); border-top: 0.25rem solid var(--brass); }
.intro-copy p:last-child { margin-bottom: 0; }

.situations { color: var(--white); background: var(--blue-deep); }
.situations h2, .situations h3 { color: var(--white); }
.situations .kicker { color: #f2d9b0; }
.situations-grid { display: grid; gap: 2rem; }

.intro { background: var(--white); }
.intro-grid { display: grid; gap: 1.6rem; }
.intro-heading { padding-left: 1.2rem; border-left: 0.3rem solid var(--brass); }
.intro-heading h2 { max-width: 13ch; }
.index { width: 2.55rem; height: 2.55rem; display: grid; place-items: center; margin-bottom: 1rem; color: var(--white); background: var(--blue); border-radius: 50%; font-size: 0.7rem; font-weight: 900; }
.intro-copy { padding: 1.2rem; background: var(--sand); border-top: 0.28rem solid var(--terracotta); }
.intro-copy p:last-child { margin-bottom: 0; }

.situations { background: var(--blue-deep); }
.situations h2, .situations h3, .situations p { color: var(--white); }
.situations .kicker { color: #f2d9b0; }
.situations-grid { display: grid; gap: 2rem; }
.situation-list { display: grid; gap: 0.65rem; }
.situation-list article { display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.85rem; padding: 1rem; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); }
.situation-list article > span { width: 2.25rem; height: 2.25rem; display: grid; place-items: center; color: var(--blue-deep); background: #f2d9b0; border-radius: 50%; font-size: 0.65rem; font-weight: 900; }
.situation-list p { margin-bottom: 0; color: #dae6ea; }

.pathway { position: relative; overflow: hidden; }
.pathway--sell { background: var(--sand); }
.pathway--buy { background: var(--ice); }
.pathway-grid { display: grid; gap: 2rem; align-items: center; }
.pathway-copy h2 { max-width: 15ch; }
.photo--pathway { aspect-ratio: 3 / 2; border: 0.42rem solid var(--white); box-shadow: var(--shadow); }
.pathway--sell .photo--pathway { border-radius: 0 2.2rem 0 0; }
.pathway--buy .photo--pathway { border-radius: 2.2rem 0 0 0; }
.fact-list { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1.25rem 0; padding: 0; list-style: none; }
.fact-list li { padding: 0.38rem 0.7rem; color: var(--blue-deep); background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: 0.76rem; font-weight: 850; }
.text-link { display: inline-flex; align-items: center; padding-bottom: 0.15rem; color: var(--terracotta-dark); border-bottom: 2px solid var(--brass); font-weight: 900; text-decoration: none; }
.text-link::after { content: "→"; margin-left: 0.55rem; }

.profile { background: var(--white); }
.section-heading { max-width: 43rem; }
.section-heading--center { margin-inline: auto; text-align: center; }
.profile-grid { display: grid; gap: 0.75rem; margin-top: 2rem; }
.profile-grid article { min-height: 10rem; padding: 1.1rem; background: var(--white); border: 1px solid var(--line); border-top: 0.3rem solid var(--brass); box-shadow: 0 0.7rem 1.8rem rgba(8,43,64,0.07); }
.profile-grid article:nth-child(2) { border-top-color: var(--terracotta); }
.profile-grid article:nth-child(3) { border-top-color: var(--blue); }
.profile-grid article:nth-child(4) { border-top-color: var(--terracotta-dark); }
.profile-grid article > span { display: block; margin-bottom: 1rem; color: var(--terracotta-dark); font-size: 0.68rem; font-weight: 900; }
.profile-grid p { margin-bottom: 0; }

.scope { background: var(--sand); }
.scope-grid { display: grid; gap: 2rem; }
.scope-map { display: grid; background: var(--white); border: 1px solid var(--line); }
.scope-map article { display: grid; grid-template-columns: 2.8rem 1fr; gap: 0.8rem; padding: 1rem; border-bottom: 1px solid var(--line); }
.scope-map article:last-child { border-bottom: 0; }
.scope-map article > span { width: 2.3rem; height: 2.3rem; display: grid; place-items: center; color: var(--white); background: var(--terracotta-dark); font-size: 0.65rem; font-weight: 900; }
.scope-map p { margin-bottom: 0; }

.process { background: var(--white); }
.process-grid { display: grid; gap: 0.8rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.process-grid li { position: relative; min-height: 9.5rem; padding: 1.15rem 1rem 1rem 4.1rem; background: var(--ice); border-top: 0.28rem solid var(--blue); }
.process-grid li:nth-child(2) { background: var(--sand); border-top-color: var(--brass); }
.process-grid li:nth-child(3) { background: #f4e6e1; border-top-color: var(--terracotta); }
.process-grid li > span { width: 2.25rem; height: 2.25rem; position: absolute; left: 1rem; top: 1rem; display: grid; place-items: center; color: var(--white); background: var(--blue-deep); border-radius: 50%; font-weight: 900; }
.process-grid p { margin-bottom: 0; }

.inquiry { background: linear-gradient(180deg, var(--ice), var(--white)); outline: none; }
.inquiry:focus h2 { text-decoration: underline; text-decoration-color: var(--terracotta); text-underline-offset: 0.25rem; }
.inquiry-grid { display: grid; gap: 2rem; }
.inquiry-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.3rem; }
.inquiry-tags span { padding: 0.4rem 0.7rem; color: var(--blue-deep); background: var(--white); border-left: 0.22rem solid var(--terracotta); font-size: 0.76rem; font-weight: 850; }
.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(--blue-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.15rem; display: flex; align-items: center; padding: 0.72rem 0.85rem; color: var(--blue-deep); background: var(--sand); border: 2px solid transparent; font-weight: 850; }
.intent-grid input:checked + span { background: var(--ice); border-color: var(--blue); }
.intent-grid input:focus-visible + span { outline: 3px solid var(--terracotta); 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 #9eafb5; border-radius: 0.18rem; font-size: 1rem; }
.contact-form > textarea { min-height: 9rem; resize: vertical; }
.personal-details { margin: 0.6rem 0; background: var(--sand); border: 1px solid var(--line); }
.personal-details summary { min-height: 3.2rem; display: flex; align-items: center; padding: 0.8rem 1rem; color: var(--blue-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(--terracotta-dark); }
.consent a { color: var(--terracotta-dark); font-weight: 900; }
.button--submit { color: var(--white); background: var(--terracotta-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(--blue-deep); font-weight: 850; }
.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-grid a:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }
.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(120deg, var(--terracotta-dark), var(--blue-deep)); overflow: hidden; }
.contact-card::after { content: ""; width: 13rem; height: 13rem; position: absolute; right: -6rem; bottom: -7rem; border: 2.4rem solid rgba(242,217,176,0.15); 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.9rem, 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: #f2d9b0; font-size: 0.7rem; 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: #dae6ea; background: var(--blue-deep); }
.footer-grid { min-height: 4.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem 1.5rem; padding-block: 1rem; }
.footer-grid nav { display: flex; gap: 1rem; }
.footer-grid a { color: var(--white); font-weight: 850; }

@media (min-width: 32rem) {
  .hero-actions, .intent-grid, .personal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 48rem) {
  .shell { width: min(calc(100% - 4rem), var(--shell)); }
  .section { padding: 6rem 0; }
  .hero { padding: 3.5rem 0 4.2rem; }
  .hero-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 2.8rem; align-items: center; }
  .hero-copy { grid-column: 1; grid-row: 1; }
  .photo--hero { grid-column: 2; grid-row: 1; }
  .hero-facts { grid-column: 1 / -1; }
  .intro-grid { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: 3.5rem; align-items: start; }
  .situations-grid { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: 3rem; }
  .situation-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pathway-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem; }
  .profile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .scope-grid { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: 3.5rem; align-items: start; }
  .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .inquiry-grid { grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr); gap: 3rem; align-items: start; }
  .contact-card { grid-template-columns: minmax(0, 1fr) auto; align-items: end; padding: 2.8rem; }
}

@media (min-width: 64rem) {
  .header-grid { grid-template-columns: auto 1fr auto; gap: 2rem; }
  .menu-toggle { display: none; }
  .site-nav { grid-column: auto; display: flex; justify-content: center; gap: 1.45rem; padding: 0; }
  .site-nav a { min-height: 4.8rem; }
  .header-phone { min-height: 2.75rem; display: inline-flex; align-items: center; padding: 0 1rem; color: var(--white); background: var(--terracotta-dark); border-radius: 0.18rem; font-weight: 900; text-decoration: none; }
  .hero-grid { gap: 4rem; }
  .pathway-grid { gap: 5rem; }
}

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