:root {
  color-scheme: light;
  --navy: #0a1f44;
  --navy-light: #132b51;
  --ink: #1a2f4f;
  --muted: #4c607b;
  --gold: #c9a84c;
  --gold-light: #e2c36a;
  --line: #d4dee9;
  --paper: #eef2f7;
  --white: #fff;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
  --header-height: 4.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 1rem); }
body { margin: 0; color: var(--ink); background: var(--white); font: 1rem/1.65 var(--sans); }
:where(h1, h2, h3, p, ol, ul, figure, blockquote) { margin: 0; }
:where(h1, h2) { color: var(--navy); font: 400 2rem/1.1 var(--serif); }
:where(h1, h2, h3) { overflow-wrap: anywhere; hyphens: auto; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); text-wrap: balance; }
h3 { color: var(--navy); font-size: 1.13rem; line-height: 1.25; }
p + p { margin-top: .9rem; }
img { display: block; max-width: 100%; height: auto; }
a { color: #204985; text-underline-offset: .17em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: .13em; }
:focus-visible { outline: 3px solid #245aa0; outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { width: min(100% - 3rem, 74rem); margin-inline: auto; }
.section { padding-block: clamp(3.25rem, 7.5vw, 6.5rem); }
.copy { max-width: 65ch; color: var(--muted); }
.section-intro { display: grid; gap: 1rem; margin-bottom: 2.2rem; }
.skip-link { position: fixed; z-index: 5; inset: .5rem auto auto .75rem; padding: .6rem 1rem; color: var(--navy); background: var(--white); clip-path: inset(50%); }
.skip-link:focus { clip-path: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-header { position: sticky; z-index: 3; top: 0; color: var(--white); background: var(--navy); border-bottom: 1px solid #405574; }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.brand { flex: none; display: inline-flex; align-items: center; gap: .65rem; color: var(--white); text-decoration: none; line-height: 1.15; }
.brand img { width: 2.44rem; height: 2.44rem; border-radius: .25rem; }
.brand strong { display: block; font: 400 1.43rem/1 var(--serif); }
.brand small { display: block; margin-top: .33rem; color: #e0e7f0; font-size: .75rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: .08rem clamp(.45rem, 1.6vw, 1.3rem); padding: 0; list-style: none; }
.nav-links a { display: block; padding: .5rem .13rem; color: var(--white); font-size: .89rem; text-decoration: none; white-space: nowrap; }
.nav-links a:hover { color: var(--gold-light); text-decoration: underline; }
.nav-toggle { min-height: 2.75rem; padding: .35rem .85rem; border: 1px solid #8396b0; border-radius: .2rem; background: transparent; color: var(--white); font: inherit; cursor: pointer; }
.site-header :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-light); }

.hero { color: #e3ebf7; background: var(--navy); padding-block: clamp(3.75rem, 8vw, 7.4rem); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 4rem); align-items: center; }
.hero-copy { container-type: inline-size; }
.hero h1 { margin: .7rem 0 1.4rem; color: var(--white); font-size: clamp(2.4rem, 7.35cqi, 4.45rem); letter-spacing: -.04em; hyphens: manual; }
.hero h1 span { display: block; }
.hero-method { color: var(--white); font-weight: 700; }
.hero-copy > p { max-width: 59ch; }
.hero-copy > .hero-method { max-width: 67ch; }
.positioning { color: var(--gold-light); font-size: .87rem; font-weight: 700; letter-spacing: .045em; }
.hero-visual { width: 100%; max-width: 30rem; justify-self: end; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }
.button { display: inline-flex; min-height: 2.85rem; align-items: center; justify-content: center; padding: .7rem 1.14rem; border: 1px solid transparent; border-radius: .22rem; background: var(--gold); color: var(--navy); font: 700 .94rem/1.25 var(--sans); text-align: center; text-decoration: none; cursor: pointer; }
.button:hover { background: #e1c469; text-decoration: none; }
.button:disabled { opacity: .7; cursor: progress; }
.button-outline { border-color: #8195b1; background: transparent; color: var(--white); }
.button-outline:hover { background: var(--navy-light); border-color: var(--white); }

.editorial { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); gap: clamp(1.45rem, 5vw, 5rem); align-items: start; }
.editorial .copy { margin-top: .25rem; }
.editorial h2 + .copy { margin-top: 1rem; }
.services, .technology, .contact { background: var(--paper); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.5rem, 4vw, 3rem); row-gap: 2rem; margin-top: 2rem; align-items: start; }
.service { padding-top: 1.14rem; border-top: 2px solid var(--gold); }
.service-icon, .flow-icon { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-icon { display: block; margin-bottom: .6rem; color: #725716; }
.service h3 { margin-bottom: .55rem; }
.service-details { margin-top: .55rem; }
.service-details summary { min-height: 2.75rem; padding-block: .55rem; color: #204985; font-size: .94rem; font-weight: 700; cursor: pointer; }
.service-details summary:hover { text-decoration: underline; }
.service-detail-copy { padding: .18rem 0 .35rem .9rem; border-left: 2px solid #b69a4f; }
.service .service-lead { font-weight: 700; }
.service p + p { margin-top: .5rem; }
.service ul { padding-left: 1.15rem; margin-top: .8rem; color: var(--muted); }
.service li + li { margin-top: .35rem; }


.examples { border-top: 1px solid var(--line); }
.example { padding-block: clamp(1.45rem, 3vw, 2.25rem); border-bottom: 1px solid var(--line); }
.example-copy { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); align-items: start; gap: .55rem 2rem; }
.example-copy h3 { font-size: 1.23rem; hyphens: manual; text-wrap: balance; }
.example-copy p { color: var(--muted); }
.workflow { display: flex; gap: 1.25rem; margin-block: 1.05rem .9rem; padding: .95rem; border: 1px solid var(--line); border-radius: .35rem; list-style: none; background: #f5f8fc; }
.flow-step { position: relative; flex: 1 1 0; min-width: 0; }
.flow-node { --flow-fill: #fff; position: relative; z-index: 1; display: grid; align-content: start; gap: .4rem; min-height: 6.8rem; padding: .55rem .68rem; border: 1px solid #74869e; border-top-width: 3px; border-radius: .3rem; color: var(--navy); background: var(--flow-fill); }
.flow-source { --flow-fill: #edf4fb; border-color: #4e71a0; }
.flow-decision { --flow-fill: #fff7e2; border-color: #8b6a20; }
.flow-target { --flow-fill: #eaf2ed; border-color: #4d7260; }
.flow-role, .flow-branch span { display: block; color: var(--muted); font-size: .78rem; line-height: 1.2; }
.flow-node strong, .flow-branch strong { display: block; font-size: .9rem; line-height: 1.28; overflow-wrap: break-word; }
.flow-node strong { margin-top: .2rem; }
.flow-step:not(:last-child)::after { position: absolute; content: ''; top: 2.75rem; left: 100%; width: 1.25rem; border-top: 1px solid #687d99; }
.flow-step:not(:last-child)::before { position: absolute; content: ''; top: calc(2.75rem - 3px); left: calc(100% + .52rem); width: 6px; height: 6px; transform: rotate(45deg); border-block-start: 1px solid #687d99; border-inline-end: 1px solid #687d99; }
.flow-branch { position: relative; margin-top: .8rem; padding: .5rem .63rem; border: 1px dashed #8b6a20; border-radius: .3rem; background: #fffaf0; color: var(--navy); }
.flow-branch::before { position: absolute; content: ''; bottom: 100%; left: 50%; height: .85rem; border-left: 1px dashed #8b6a20; }
.flow-branch strong { margin-top: .13rem; }
.flow-return, .flow-stop { display: block; margin-top: .35rem; color: var(--ink); font-size: .78rem; line-height: 1.25; overflow-wrap: anywhere; }
.flow-return span { display: inline; color: #725716; font-weight: 700; }
.benefits { display: flex; flex-wrap: wrap; gap: .35rem 1.05rem; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .88rem; }
.benefits li::before { content: ''; display: inline-block; margin-right: .42em; width: .37rem; height: .37rem; border-radius: 50%; background: #8c6d23; vertical-align: .12em; }

.approach { background: var(--navy); color: #e3ebf7; }
.approach h2, .approach h3 { color: var(--white); }
.approach-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .9rem 1.45rem; padding: 0; list-style: none; }
.approach-steps li { padding-top: 1rem; border-top: 2px solid var(--gold); }
.approach-steps p { margin-top: .55rem; font-size: .96rem; }
.approach-note { max-width: 68ch; margin-top: 2.25rem; color: var(--white); }
.technology-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.2rem; padding: 0; list-style: none; border-top: 1px solid #9cafc7; }
.technology-list li { padding-block: .65rem; border-bottom: 1px solid #9cafc7; }

.about-layout { display: grid; grid-template-columns: minmax(0, .68fr) minmax(0, 1fr); gap: clamp(1.5rem, 6vw, 6rem); align-items: start; }
.portrait { max-width: 23rem; }
.portrait img { width: 100%; border-radius: .25rem; }
.portrait figcaption { display: grid; gap: .18rem; margin-top: .72rem; color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.portrait figcaption strong { color: var(--navy); font-size: 1.02rem; }
.about-copy h2, .editorial h2 { hyphens: manual; }
.about-copy > p, .contact-layout h2 + p { margin-top: 1.05rem; }
.about-copy blockquote { margin-top: 1.45rem; padding-left: 1rem; border-left: 3px solid var(--gold); color: var(--navy); font: 400 clamp(1.25rem, 2.5vw, 1.65rem)/1.36 var(--serif); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .83fr); align-items: start; gap: clamp(1.5rem, 5.8vw, 5rem); }
.contact-layout .button { margin-top: 1.1rem; }
address { margin-top: 1.25rem; font-style: normal; }
.form-panel { min-width: 0; padding: clamp(1.2rem, 3vw, 2rem); background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: .25rem; }
.form-note { margin-block: .35rem .9rem; color: var(--muted); font-size: .9rem; }
form > label { display: block; margin-bottom: .23rem; font-weight: 700; }
form > :is(input, textarea) { width: 100%; padding: .53rem .67rem; margin-bottom: .8rem; border: 1px solid #8293aa; border-radius: .2rem; color: var(--ink); background: var(--white); font: inherit; }
textarea { display: block; resize: vertical; }
.contact-privacy { color: var(--muted); font-size: .93rem; }
.form-status:not(:empty) { margin-top: .9rem; font-weight: 700; }
.form-status[data-state="error"] { color: #962c29; }
.site-footer { padding-block: 1.55rem; color: #e3ebf7; background: var(--navy); font-size: .9rem; }
.footer-inner, .footer-inner nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .65rem 1.2rem; }
.site-footer a { color: var(--gold-light); }
.legal { max-width: 49rem; min-height: 62vh; }
.legal h1 { margin-top: .75rem; font-size: clamp(2.4rem, 5.8vw, 3.8rem); }
.legal h2 { margin: 1.4rem 0 .4rem; font: 700 1.18rem/1.3 var(--sans); }
.legal p, .legal ul { margin-block: .55rem; }
.legal ul { padding-left: 1.3rem; }


@media screen and (max-width: 68rem) {
  .header-inner { flex-wrap: wrap; gap: .5rem 1.2rem; padding-block: .65rem; }
  .site-header:not(.nav-ready) { position: static; }
  .site-header:not(.nav-ready) nav { flex-basis: 100%; }
  .nav-ready .nav-links { position: absolute; inset: 100% 0 auto; display: none; max-height: calc(100dvh - var(--header-height)); overflow: auto; padding: .45rem 1.5rem 1rem; border-bottom: 1px solid #405574; background: var(--navy); }
  .nav-ready .nav-toggle:not([hidden]) { display: inline-block; }
  .nav-ready .nav-toggle[aria-expanded="true"] + .nav-links { display: block; }
  .nav-links a { padding-block: .63rem; }
}
@media screen and (max-width: 54rem) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-visual { width: min(100%, 25rem); justify-self: start; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .approach-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .workflow { display: grid; gap: .75rem; padding: .7rem; }
  .flow-node { grid-template-columns: auto minmax(0, 1fr); align-items: center; min-height: 3.55rem; padding: .48rem .63rem; border-top-width: 1px; border-left-width: 3px; }
  .flow-step:not(:last-child)::after { inset: 3.55rem auto -.75rem 1.48rem; width: 0; border: 0; border-left: 1px solid #687d99; }
  .flow-step:not(:last-child)::before { z-index: 1; top: auto; bottom: -.48rem; left: calc(1.48rem - 2.5px); transform: rotate(135deg); }
  .flow-branch { margin-left: 3rem; }
  .flow-branch::before { bottom: 50%; left: -1.55rem; width: 1.55rem; height: 0; border: 0; border-top: 1px dashed #8b6a20; }
}
@media screen and (max-width: 43rem) {
  .shell { width: calc(100% - 2rem); }
  .editorial, .about-layout, .contact-layout, .example-copy { grid-template-columns: 1fr; }
  .hero h1 { text-wrap: balance; }
  .portrait { width: min(88%, 23rem); }
}
@media screen and (max-width: 34rem) {
  .services-grid, .technology-list, .approach-steps { grid-template-columns: 1fr; }
}
@media screen and (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button { transition: background-color .16s ease, border-color .16s ease; }
}

.calculator { background: var(--paper); }
.calculator-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(1.2rem, 3.5vw, 2.8rem); align-items: start; }
.calculator-inputs { min-width: 0; margin: 0; padding: 1rem clamp(.9rem, 2.5vw, 1.5rem) 1.4rem; border: 1px solid #9cafc7; border-radius: .3rem; }
.calculator-inputs legend { padding-inline: .45rem; color: var(--navy); font-weight: 700; }
.calculator-inputs > p { margin-bottom: .9rem; color: var(--muted); font-size: .9rem; }
.calculator-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1rem; }
.calculator-field { display: flex; min-width: 0; flex-direction: column; gap: .23rem; }
.calculator-field label { margin-top: auto; color: var(--navy); font-size: .91rem; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.calculator-field input { width: 100%; min-height: 2.75rem; padding: .45rem .65rem; border: 1px solid #74869e; border-radius: .2rem; color: var(--ink); background: var(--white); font: inherit; font-variant-numeric: tabular-nums; }
.calculator-field input[aria-invalid="true"] { border-color: #962c29; }
.calculator-error { color: #962c29; font-size: .875rem; overflow-wrap: anywhere; }
.calculator-panel { padding: clamp(1rem, 3vw, 1.55rem); border: 1px solid #405574; border-top: 3px solid var(--gold); border-radius: .25rem; color: #e3ebf7; background: var(--navy); }
.calculator-panel h3 { color: var(--white); }
.calculator-chart { display: grid; gap: .75rem; margin-block: 1rem 1.25rem; }
.calculator-bar > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 .5rem; color: var(--white); font-size: .91rem; }
.calculator-bar strong, .calculator-metrics dd { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.calculator-bar meter { display: block; width: 100%; height: .62rem; margin-top: .3rem; appearance: none; border: 0; border-radius: .18rem; background: #405574; }
.calculator-bar meter::-webkit-meter-bar { border: 0; border-radius: .18rem; background: #405574; }
.calculator-bar meter::-webkit-meter-optimum-value { background: #a9c5eb; }
.calculator-bar meter::-moz-meter-bar { border-radius: .18rem; background: #a9c5eb; }
.calculator-bar meter[data-calc-bar="after"]::-webkit-meter-optimum-value { background: var(--gold-light); }
.calculator-bar meter[data-calc-bar="after"]::-moz-meter-bar { background: var(--gold-light); }
.calculator-metrics { margin: 0; border-top: 1px solid #657996; }
.calculator-metrics > div { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: .6rem; align-items: baseline; padding-block: .65rem; border-bottom: 1px solid #657996; }
.calculator-metrics dt { color: #e0e7f0; font-size: .9rem; overflow-wrap: anywhere; }
.calculator-metrics dd { margin: 0; color: var(--white); font-weight: 700; text-align: end; }
.calculator-metrics .calculator-key dd { color: var(--gold-light); font-size: clamp(1.05rem, 2vw, 1.34rem); }
.calculator-inputs > .calculator-field-help { margin: .9rem 0 0; }
.potential h3 { hyphens: manual; text-wrap: balance; }
.potential-results { margin: .75rem 0 1.15rem; padding-inline-start: 1.2rem; }
.potential-results li + li { margin-top: .25rem; }
.calculator-panel .calculator-amortization-note { color: #e0e7f0; }
.calculator-note, .calculator-amortization-note { margin-top: 1rem; max-width: 79ch; color: var(--muted); font-size: .9rem; }
.calculator-status { margin-top: .65rem; color: #ffe0a0; }
.calculator-status.is-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media screen and (max-width: 51rem) {
  .calculator-layout { grid-template-columns: 1fr; }
}
@media screen and (max-width: 29rem) {
  .calculator-fields { grid-template-columns: 1fr; }
}

@page { margin: 14mm; }
@media print {
  :root { color-scheme: light; }
  html { scroll-padding: 0; }
  body { color: #182744; font-size: 10pt; line-height: 1.4; }
  .shell { width: 100%; }
  .section, .hero { padding-block: .75rem; }
  .site-header { position: static; border-bottom: 1pt solid #55677d; }
  .header-inner { min-height: 0; padding-bottom: .5rem; }
  .site-header nav, .skip-link, .hero-visual, .actions, .potential .button, .contact-layout .button, .contact-layout .form-panel { display: none !important; }
  .site-header, .site-footer, .hero, .approach, .services, .technology, .calculator, .contact, .calculator-panel, .workflow, .flow-node, .flow-branch { color: #182744; background: #fff; }
  .brand, .brand small, .hero h1, .hero-method, .approach :is(h2, h3), .positioning, .approach-note, .site-footer a, .calculator-panel :is(h3, strong, dd, dt, span), .calculator-panel .calculator-amortization-note, .calculator-status { color: #0a1f44; }
  .hero-layout, .contact-layout { display: block; }
  .hero-copy { container-type: normal; }
  .hero h1 { font-size: 29pt; margin: .38rem 0 .55rem; }
  .hero-copy > p { max-width: 75ch; }
  h2 { font-size: 20pt; }
  h3, .example-copy h3 { font-size: 12pt; }
  h1, h2, h3 { break-after: avoid-page; }
  .section-intro, .services-grid { margin-block: 0 .75rem; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1.15rem; }
  .service, .example, .calculator-panel, .portrait { break-inside: avoid-page; }
  .service-details > summary { display: none; }
  .service-details::details-content { content-visibility: visible; }
  .service-detail-copy { padding-inline: .5rem 0; }
  .service-icon { width: 20px; height: 20px; }
  .example { padding-block: .65rem; }
  .workflow { gap: .55rem; padding: .4rem; margin-block: .5rem; }
  .flow-node { padding: .25rem; min-height: 4rem; }
  .flow-node strong, .flow-branch strong { font-size: .7rem; }
  .flow-role, .flow-branch span { font-size: .64rem; }
  .flow-icon { width: 16px; height: 16px; }
  .flow-step:not(:last-child)::after { width: .55rem; top: 1.7rem; }
  .flow-step:not(:last-child)::before { left: calc(100% + .12rem); top: calc(1.7rem - 3px); }
  .flow-branch { padding: .25rem; }
  .flow-return, .flow-stop { font-size: .63rem; }
  .calculator-panel .calculator-key dd { color: #0a1f44; font-size: 1.05rem; }
  .calculator-bar meter { print-color-adjust: exact; }
  .calculator-note { margin-block: .55rem 0; }
  .about-layout { align-items: start; gap: 1.2rem; }
  .portrait { max-width: 11rem; }
  .site-footer { border-top: 1pt solid #55677d; }
}
