:root {
  --ink: #10243c; --ink-deep: #09182a; --paper: #f6f3ed; --paper-warm: #ebe5da;
  --white: #fffdf9; --blue: #2a6680; --blue-light: #9ccbd2; --sand: #d7a66b;
  --line: rgba(16,36,60,.14); --shadow: 0 24px 70px rgba(9,24,42,.14);
  --radius: 22px; --shell: min(1180px, calc(100vw - 48px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin: 0 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; left: 16px; top: -80px; z-index: 1000; padding: 10px 16px; background: var(--white); border-radius: 6px; transition: top .2s; }
.skip-link:focus { top: 16px; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3 { text-wrap: balance; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(246,243,237,.88); border-bottom: 1px solid transparent; backdrop-filter: blur(14px); transition: border-color .2s, background .2s; }
.site-header.scrolled { border-color: var(--line); background: rgba(246,243,237,.97); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; aspect-ratio: 1; display: grid; place-items: center; color: var(--white); background: var(--ink); border-radius: 50%; font-family: Georgia, serif; font-size: 14px; letter-spacing: .06em; }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 500; }
.brand-copy small { margin-top: 5px; color: #627080; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 25px; }
.site-nav > a { position: relative; text-decoration: none; font-size: 14px; font-weight: 650; }
.site-nav > a::after { content: ""; position: absolute; inset: auto 0 -7px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.site-nav > a:hover::after, .site-nav > a:focus-visible::after { transform: scaleX(1); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 1px; margin: 6px; background: var(--ink); transition: transform .2s; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; padding: 15px 22px; border-radius: 999px; cursor: pointer; text-decoration: none; font-weight: 750; font-size: 14px; transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid rgba(42,102,128,.35); outline-offset: 3px; }
.button-small { padding: 11px 18px; font-size: 13px; }
.button-dark, .button-primary { background: var(--ink); color: var(--white); }
.button-dark:hover, .button-primary:hover { background: var(--blue); }
.button-primary { box-shadow: 0 12px 28px rgba(9,24,42,.18); }
.button-outline { color: var(--ink); border-color: var(--line); background: transparent; }
.button-light { color: var(--ink); background: var(--white); }

.hero { position: relative; min-height: 810px; display: grid; align-items: center; overflow: hidden; padding: 140px 0 80px; background: radial-gradient(circle at 74% 28%, rgba(139,187,195,.22), transparent 31%), linear-gradient(145deg,#faf8f3 0%,#f2eee7 65%,#e9e1d5 100%); }
.hero::before { content: ""; position: absolute; width: 540px; height: 540px; border: 1px solid rgba(42,102,128,.11); border-radius: 50%; right: -230px; top: 150px; box-shadow: 0 0 0 90px rgba(42,102,128,.03),0 0 0 180px rgba(42,102,128,.025); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(350px,.68fr); gap: 80px; align-items: center; }
.hero h1 { max-width: 790px; margin: 0; color: var(--ink-deep); font-family: Georgia,"Times New Roman",serif; font-size: clamp(55px,6vw,86px); font-weight: 400; line-height: .98; letter-spacing: -.055em; }
.hero h1 em { color: var(--blue); font-weight: 400; }
.hero-lede { max-width: 690px; margin: 30px 0 0; color: #46586a; font-size: 19px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 34px; }
.text-link { font-size: 14px; font-weight: 750; text-decoration: none; }
.trust-row { display: flex; flex-wrap: wrap; margin: 42px 0 0; padding: 0; list-style: none; color: #64717f; font-size: 11px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.trust-row li { display: flex; align-items: center; }
.trust-row li + li::before { content: ""; width: 4px; height: 4px; margin: 0 13px; border-radius: 50%; background: var(--sand); }
.portrait-card { position: relative; width: min(100%,440px); margin: 0; justify-self: end; overflow: hidden; background: var(--ink); border-radius: 200px 200px 26px 26px; box-shadow: var(--shadow); }
.portrait-card img { width: 100%; height: 560px; object-fit: cover; object-position: 52% 30%; }
.portrait-card figcaption { position: absolute; inset: auto 18px 18px; display: grid; padding: 18px 20px; color: var(--white); background: rgba(9,24,42,.82); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; backdrop-filter: blur(9px); }
.portrait-card figcaption strong { font-family: Georgia,serif; font-size: 23px; font-weight: 400; }
.portrait-card figcaption span { color: #d8e4e6; font-size: 12px; }

.signal-strip { padding: 24px 0; color: var(--white); background: var(--ink-deep); }
.signal-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.signal-grid span { padding: 0 20px; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.signal-grid span + span { border-left: 1px solid rgba(255,255,255,.16); }

.path-section { padding: 112px 0 122px; color: var(--white); background: var(--ink); }
.section-heading { display: grid; grid-template-columns: 1fr .65fr; gap: 80px; align-items: end; margin-bottom: 54px; }
.section-heading .eyebrow { color: var(--blue-light); }
.section-heading h2, .local-section h2, .expertise-section h2, .cta-section h2, .proof-card h2 { margin: 0; font-family: Georgia,serif; font-size: clamp(40px,4vw,58px); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; }
.section-heading > p { max-width: 460px; margin: 0 0 7px; color: #c0c9d2; font-size: 17px; }
.path-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.path-card { min-height: 490px; display: flex; flex-direction: column; padding: 28px; color: var(--white); text-decoration: none; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.035); transition: transform .25s, background .25s, border-color .25s; }
.path-card:hover { transform: translateY(-7px); background: rgba(255,255,255,.065); border-color: rgba(255,255,255,.26); }
.path-card-featured { color: var(--ink); background: #f0eade; border-color: transparent; }
.path-card-featured:hover { background: #f7f3eb; }
.card-number { align-self: flex-end; color: var(--blue-light); font-family: Georgia,serif; font-size: 16px; }
.path-card-featured .card-number { color: var(--blue); }
.card-kicker { margin: 75px 0 16px; color: var(--sand); font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.path-card-featured .card-kicker { color: var(--blue); }
.path-card h3 { margin: 0 0 22px; font-family: Georgia,serif; font-size: clamp(29px,2.5vw,38px); font-weight: 400; line-height: 1.14; letter-spacing: -.025em; }
.path-card > p:not(.card-kicker) { margin: 0; color: #c0c9d2; font-size: 15px; }
.path-card-featured > p:not(.card-kicker) { color: #586574; }
.path-card strong { display: flex; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); font-size: 13px; }
.path-card-featured strong { border-color: var(--line); }

.local-section { padding: 120px 0; background: var(--paper); }
.local-grid { display: grid; grid-template-columns: 1fr .78fr; gap: 90px; align-items: start; }
.local-copy .large-copy { max-width: 680px; margin: 30px 0 20px; color: #314559; font-family: Georgia,serif; font-size: 25px; line-height: 1.5; }
.local-copy > p:not(.eyebrow):not(.large-copy) { max-width: 650px; color: #5f6d7a; }
.inline-links { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 28px; }
.inline-links a, .company-link { color: var(--blue); font-weight: 750; text-decoration: none; border-bottom: 1px solid rgba(42,102,128,.3); }
.proof-card { padding: 38px; color: var(--white); background: var(--blue); border-radius: var(--radius); box-shadow: var(--shadow); }
.proof-card .eyebrow { color: #d6e9ec; }
.proof-card h2 { font-size: 42px; }
.proof-card > p:not(.eyebrow) { color: #d8e6e9; }
.proof-links { display: grid; margin-top: 28px; border-top: 1px solid rgba(255,255,255,.2); }
.proof-links a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.2); font-weight: 700; font-size: 14px; }

.expertise-section { padding: 90px 0; color: var(--white); background: var(--ink-deep); }
.expertise-grid { display: grid; grid-template-columns: 1fr .7fr; gap: 90px; align-items: center; }
.expertise-section .eyebrow { color: var(--blue-light); }
.expertise-grid > div:last-child > p { color: #c3ccd5; font-size: 17px; }
.expertise-section .company-link { display: inline-flex; gap: 10px; margin-top: 18px; color: var(--blue-light); border-color: rgba(156,203,210,.4); }
.cta-section { padding: 100px 0; }
.cta-card { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; padding: 52px; color: var(--white); background: var(--blue); border-radius: var(--radius); box-shadow: var(--shadow); }
.cta-card .eyebrow { color: #d8e9eb; }
.cta-card h2 { max-width: 700px; }
.cta-card p:not(.eyebrow) { max-width: 650px; color: #d7e5e8; }
.cta-actions { display: grid; justify-items: stretch; gap: 12px; min-width: 230px; }
.cta-actions > a:not(.button) { color: var(--white); text-align: center; font-size: 14px; font-weight: 700; }

.site-footer { padding: 34px 0; color: #a5b0ba; background: var(--ink-deep); font-size: 12px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; gap: 40px; align-items: center; }
.footer-inner > div { display: grid; }
.footer-inner strong { color: var(--white); font-family: Georgia,serif; font-size: 18px; font-weight: 400; }
.footer-inner address { font-style: normal; }

.contact-dialog { width: min(610px,calc(100vw - 32px)); padding: 48px; color: var(--ink); background: var(--paper); border: 0; border-radius: 24px; box-shadow: 0 32px 100px rgba(0,0,0,.35); }
.contact-dialog::backdrop { background: rgba(5,17,31,.72); backdrop-filter: blur(5px); }
.contact-dialog[open] { animation: dialog-in .24s ease-out; }
.dialog-close { position: absolute; top: 18px; right: 20px; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); background: rgba(16,36,60,.06); border: 0; cursor: pointer; font-size: 25px; }
.contact-dialog h2 { margin: 0; font-family: Georgia,serif; font-size: 42px; font-weight: 400; line-height: 1.1; letter-spacing: -.03em; }
.dialog-intro, .dialog-result > p:not(.result-label) { color: #5b6977; }
.dialog-options { display: grid; gap: 10px; margin-top: 28px; }
.dialog-options button { display: grid; gap: 3px; padding: 18px 20px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; text-align: left; transition: border-color .2s, transform .2s; }
.dialog-options button:hover { border-color: var(--blue); transform: translateX(4px); }
.dialog-options button strong { font-size: 15px; }
.dialog-options button span { color: #687582; font-size: 13px; }
.dialog-result { margin-top: 28px; }
.back-button { padding: 0; color: var(--blue); background: none; border: 0; cursor: pointer; font-size: 12px; font-weight: 700; }
.result-label { margin: 28px 0 8px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.dialog-result h3 { margin: 0; font-family: Georgia,serif; font-size: 34px; font-weight: 400; line-height: 1.1; }
.result-actions { display: flex; gap: 10px; margin: 28px 0 15px; }
.dialog-result small { color: #6c7884; }

/* Inner pages */
.page-hero { padding: 160px 0 88px; color: var(--white); background: radial-gradient(circle at 80% 20%,rgba(139,187,195,.17),transparent 27%),var(--ink); }
.breadcrumb { margin-bottom: 26px; color: var(--blue-light); font-size: 13px; }
.breadcrumb a { text-decoration: none; }
.page-hero h1 { max-width: 900px; margin: 0; font-family: Georgia,serif; font-size: clamp(50px,6vw,78px); font-weight: 400; line-height: 1.02; letter-spacing: -.045em; }
.page-hero p { max-width: 760px; margin: 26px 0 0; color: #cad3dc; font-size: 19px; }
.content-section { padding: 96px 0; }
.content-section.alt { background: var(--paper-warm); }
.content-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: start; }
.content-grid h2 { margin: 0; font-family: Georgia,serif; font-size: clamp(36px,4vw,52px); font-weight: 400; line-height: 1.1; letter-spacing: -.035em; }
.content-body { color: #4f5e6d; font-size: 17px; }
.content-body > :first-child { margin-top: 0; }
.step-list, .area-list, .faq-list { display: grid; gap: 16px; margin-top: 34px; }
.step, .area-item, .faq-item { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.step strong, .area-item h3, .faq-item h3 { display: block; margin: 0 0 7px; color: var(--ink); font-family: Georgia,serif; font-size: 23px; font-weight: 400; }
.step p, .area-item p, .faq-item p { margin: 0; }
.profile-layout { display: grid; grid-template-columns: minmax(300px,.7fr) 1fr; gap: 80px; align-items: start; }
.profile-layout img { width: 100%; max-height: 680px; object-fit: cover; object-position: 52% 28%; border-radius: 180px 180px 22px 22px; box-shadow: var(--shadow); }
.profile-copy h1 { margin: 0; font-family: Georgia,serif; font-size: clamp(48px,6vw,74px); font-weight: 400; line-height: 1.02; letter-spacing: -.045em; }
.profile-copy .large-copy { color: #314559; font-family: Georgia,serif; font-size: 24px; line-height: 1.5; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .12s; }
.reveal-delay-two { transition-delay: .22s; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation-duration: .01ms!important; animation-iteration-count: 1!important; transition-duration: .01ms!important; } .reveal { opacity: 1; transform: none; } }
@media (max-width: 1040px) { .site-nav { gap: 17px; } .hero-grid { grid-template-columns: 1fr .62fr; gap: 48px; } .portrait-card img { height: 510px; } }
@media (max-width: 860px) {
  :root { --shell: min(100% - 36px,760px); }
  .hero { min-height: auto; padding-top: 130px; }
  .hero-grid, .section-heading, .local-grid, .expertise-grid, .cta-card, .content-grid, .profile-layout { grid-template-columns: 1fr; gap: 42px; }
  .portrait-card { justify-self: center; }
  .path-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 380px; }
  .card-kicker { margin-top: 42px; }
  .signal-grid { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .signal-grid span:nth-child(3) { border-left: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 13px; }
  .cta-actions { min-width: 0; }
  .profile-layout img { max-width: 520px; justify-self: center; }
}
@media (max-width: 720px) {
  :root { --shell: calc(100% - 30px); }
  .header-inner { min-height: 70px; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:nth-last-child(2) { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: absolute; inset: 70px 15px auto; display: none; padding: 18px; align-items: stretch; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); }
  .site-nav.open { display: grid; }
  .site-nav > a { padding: 12px 5px; }
  .site-nav .button { margin-top: 8px; }
  .hero { padding: 118px 0 64px; }
  .hero h1 { font-size: clamp(48px,14vw,65px); }
  .hero-lede { font-size: 17px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button, .text-link { width: 100%; text-align: center; }
  .trust-row { row-gap: 10px; }
  .trust-row li + li::before { margin: 0 9px; }
  .portrait-card { border-radius: 150px 150px 22px 22px; }
  .portrait-card img { height: 500px; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-grid span + span { border-left: 0; }
  .path-section, .local-section, .content-section { padding: 78px 0; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2, .local-section h2, .expertise-section h2, .cta-section h2 { font-size: 39px; }
  .path-card { min-height: 410px; padding: 24px; }
  .proof-card { padding: 30px 23px; }
  .proof-card h2 { font-size: 38px; }
  .cta-card { padding: 36px 24px; }
  .contact-dialog { padding: 42px 22px 28px; }
  .contact-dialog h2 { font-size: 36px; }
  .result-actions { display: grid; }
  .page-hero { padding: 130px 0 72px; }
  .page-hero h1 { font-size: 48px; }
}
