:root {
  --ink: #08111f;
  --navy: #0e1a2b;
  --navy-2: #14253a;
  --paper: #f5f1e8;
  --paper-2: #ebe5d8;
  --white: #fff;
  --blue: #356dff;
  --blue-dark: #1f4fd1;
  --teal: #138f84;
  --amber: #c8752e;
  --text: #253246;
  --muted: #5a6676;
  --line: #d5d0c5;
  --display: "Arial Narrow", "Avenir Next Condensed", "Helvetica Neue", sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --max: 1200px;
  --radius: 18px;
  --shadow: 0 24px 80px rgb(8 17 31 / .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--text); background: var(--paper); font-family: var(--body); font-size: 16px; line-height: 1.65; }
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--display); font-weight: 780; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 7vw, 6.8rem); }
h2 { font-size: clamp(2.15rem, 4.8vw, 4.5rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); letter-spacing: -.025em; }
p { margin: 0 0 1.15rem; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 800px); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 12px 18px; color: var(--white); background: var(--blue); border-radius: 8px; }
.skip-link:focus { top: 16px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--blue-dark); font: 700 .76rem/1.3 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.eyebrow::before { width: 28px; height: 2px; background: currentColor; content: ""; }
.dark .eyebrow, .site-footer .eyebrow { color: #89aaa7; }
.lede { max-width: 780px; margin-top: 26px; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.55; }
.dark { color: #dce6f2; background: var(--ink); }
.dark h1, .dark h2, .dark h3 { color: var(--white); }
.dark .lede { color: #bdc9d8; }
.section { padding: clamp(74px, 10vw, 132px) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .65fr); align-items: end; gap: 48px; margin-bottom: 54px; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.06rem; }
.dark .section-head p { color: #aab8ca; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 12px; padding: 12px 20px; border: 1px solid var(--ink); border-radius: 999px; color: var(--white); background: var(--ink); font-weight: 760; text-decoration: none; transition: transform .2s, background .2s, color .2s; }
.button::after { content: "\2197"; font-size: .9em; }
.button:hover { transform: translateY(-2px); background: var(--blue); border-color: var(--blue); }
.button.secondary { color: var(--ink); background: transparent; }
.button.secondary:hover { color: var(--white); background: var(--ink); }
.dark .button { color: var(--ink); background: var(--white); border-color: var(--white); }
.dark .button:hover { color: var(--white); background: var(--blue); border-color: var(--blue); }
.dark .button.secondary { color: var(--white); background: transparent; border-color: #5a687b; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-dark); font-weight: 750; text-decoration: none; }
.text-link::after { content: "\2192"; transition: transform .2s; }
.text-link:hover::after { transform: translateX(4px); }

.site-header { position: sticky; z-index: 100; top: 0; color: var(--white); background: rgb(8 17 31 / .94); border-bottom: 1px solid rgb(255 255 255 / .1); backdrop-filter: blur(16px); }
.nav-shell { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); font-size: .98rem; font-weight: 800; letter-spacing: -.01em; text-decoration: none; }
.brand-mark { display: grid; width: 36px; height: 36px; place-items: center; color: var(--ink); background: var(--paper); border-radius: 50%; font: 800 .72rem var(--mono); }
.desktop-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.desktop-nav a { position: relative; color: #c9d3df; font-size: .88rem; font-weight: 680; text-decoration: none; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--white); }
.desktop-nav .nav-cta { padding: 10px 16px; color: var(--ink); background: var(--paper); border-radius: 999px; }
.lang-link { color: #91c7c0 !important; font: 700 .74rem var(--mono) !important; text-transform: uppercase; }
.menu-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; color: var(--white); background: transparent; border: 1px solid #39475b; border-radius: 50%; }
.mobile-nav { display: none; position: fixed; inset: 76px 0 0; z-index: 90; padding: 34px 20px; color: var(--white); background: var(--ink); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 4px; border-bottom: 1px solid #263349; font: 750 clamp(1.3rem, 6vw, 2rem) var(--display); text-decoration: none; }

.home-hero { min-height: calc(100svh - 76px); padding: clamp(48px, 7vw, 92px) 0 54px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .65fr); align-items: center; gap: clamp(35px, 7vw, 90px); }
.home-hero h1 { max-width: 880px; font-size: clamp(3.4rem, 7.4vw, 7.5rem); }
.home-hero .lede { color: #c2cedd; }
.portrait-stage { position: relative; align-self: stretch; min-height: 530px; }
.portrait-stage::before { position: absolute; inset: 7% -18% 2% 9%; border: 1px solid rgb(255 255 255 / .17); border-radius: 48% 48% 18px 18px; background: radial-gradient(circle at 45% 40%, rgb(53 109 255 / .34), transparent 58%), linear-gradient(145deg, rgb(34 184 167 / .13), transparent); content: ""; }
.portrait-stage::after { position: absolute; right: -2%; bottom: 2%; width: 78%; height: 32%; background: linear-gradient(transparent, var(--ink) 85%); content: ""; }
.portrait { position: absolute; z-index: 1; inset: 0 0 0 auto; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 30px 40px rgb(0 0 0 / .25)); }
.portrait-label { position: absolute; z-index: 2; right: 0; bottom: 5%; padding: 11px 14px; border: 1px solid rgb(255 255 255 / .2); color: #dbe7f5; background: rgb(8 17 31 / .78); backdrop-filter: blur(8px); font: 700 .68rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.choice-prompt { margin: 46px 0 18px; color: #8ea0b5; font: 700 .72rem var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice { position: relative; overflow: hidden; min-height: 154px; padding: 24px; border: 1px solid #344359; color: var(--white); background: #101e31; border-radius: var(--radius); text-decoration: none; transition: border-color .2s, transform .2s, background .2s; }
.choice:hover, .choice:focus-visible { transform: translateY(-4px); border-color: #6991ff; background: #172943; }
.choice small { display: block; margin-bottom: 22px; color: #8ea0b5; font: 700 .67rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.choice strong { display: block; max-width: 270px; font: 780 clamp(1.35rem, 2.2vw, 2rem)/1.08 var(--display); letter-spacing: -.025em; }
.choice span { position: absolute; top: 22px; right: 22px; color: #81aba7; font-size: 1.4rem; }
.choice.consulting { background: #17221f; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; color: #92a2b5; font-size: .86rem; }
.hero-trust span::before { margin-right: 8px; color: var(--teal); content: "\2713"; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value { padding: 32px clamp(18px, 3vw, 40px); border-right: 1px solid var(--line); }
.value:first-child { padding-left: 0; }
.value:last-child { border-right: 0; }
.value b { display: block; margin-bottom: 10px; color: var(--ink); font-size: 1rem; }
.value p { margin: 0; color: var(--muted); font-size: .94rem; }
.pillar-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.pillar { position: relative; overflow: hidden; min-height: 410px; padding: clamp(30px, 5vw, 58px); border-radius: 28px; }
.pillar:first-child { color: var(--white); background: var(--blue-dark); }
.pillar:last-child { background: #dce8dd; }
.pillar h3 { max-width: 530px; margin: 12px 0 20px; font-size: clamp(2.2rem, 4vw, 4.6rem); }
.pillar:first-child h3 { color: var(--white); }
.pillar p { max-width: 550px; }
.pillar .number { color: var(--ink); font: 700 .74rem var(--mono); }
.pillar:first-child .number { color: var(--white); }
.pillar .text-link { position: absolute; bottom: 45px; }
.pillar:first-child .text-link { color: var(--white); }
.situation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #29374a; border: 1px solid #29374a; }
.situation { padding: 28px; color: #d8e2ef; background: var(--navy); }
.situation span { color: #7aa4ff; font: 700 .72rem var(--mono); }
.situation p { margin: 12px 0 0; font-size: 1.08rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { display: flex; min-height: 290px; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgb(255 255 255 / .46); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-5px); border-color: #9babbf; box-shadow: 0 20px 50px rgb(8 17 31 / .1); }
.card .tag { margin-bottom: 42px; color: var(--blue-dark); font: 700 .69rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.card h3 { margin-bottom: 14px; }
.card p { color: var(--muted); }
.card .arrow { margin-top: auto; color: var(--blue-dark); font-size: 1.25rem; }
.work-card { min-height: 360px; color: var(--white); background: var(--navy); border-color: #25354c; }
.work-card h3 { color: var(--white); }
.work-card p { color: #b3c0d0; }
.work-card .tag { color: #79d8ce; }
.work-card:nth-child(2n) { background: #12352f; }
.work-card .mini-diagram { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 10px 0 30px; }
.work-card .mini-diagram i { display: block; height: 30px; border: 1px solid rgb(255 255 255 / .22); border-radius: 5px; background: rgb(255 255 255 / .05); }
.system-map { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 50px; }
.system-node { position: relative; min-height: 170px; padding: 20px; border: 1px solid #344359; background: var(--navy); }
.system-node:not(:last-child)::after { position: absolute; z-index: 2; top: 50%; right: -11px; width: 12px; height: 2px; background: var(--teal); content: ""; }
.system-node b { display: block; margin-bottom: 12px; color: var(--white); }
.system-node p { color: #a9b8ca; font-size: .88rem; }
.system-node em { color: #6f91ed; font: normal 700 .65rem var(--mono); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: step; }
.step { min-height: 240px; padding: 26px 20px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); counter-increment: step; }
.step:first-child { border-left: 1px solid var(--line); }
.step::before { display: block; margin-bottom: 50px; color: var(--blue-dark); font: 700 .72rem var(--mono); content: "0" counter(step); }
.step p { color: var(--muted); font-size: .9rem; }
.location-strip { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 60px; }
.location-links { display: flex; flex-wrap: wrap; gap: 10px; }
.location-links a { padding: 12px 16px; border: 1px solid #35455a; border-radius: 999px; color: #dce7f3; text-decoration: none; }
.location-links a:hover { background: var(--blue); border-color: var(--blue); }

.page-hero { padding: clamp(82px, 11vw, 150px) 0 clamp(70px, 9vw, 120px); }
.page-hero h1 { max-width: 1050px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: end; gap: 70px; }
.page-code { padding: 28px; border: 1px solid #304057; background: #101e31; font: .76rem/1.8 var(--mono); }
.page-code span { display: block; color: #85a2c5; }
.page-code strong { color: #83d1c7; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; color: #8fa1b7; font-size: .82rem; }
.breadcrumb a { color: #bed0e3; }
.breadcrumb span::before { margin-right: 7px; content: "/"; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(45px, 8vw, 100px); align-items: start; }
.prose { max-width: 780px; }
.prose h2 { margin: 2.4em 0 .6em; font-size: clamp(2rem, 4vw, 3.3rem); }
.prose h3 { margin: 2em 0 .65em; }
.prose p, .prose li { color: #3e4b5c; font-size: 1.04rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .7rem; }
.prose blockquote { margin: 36px 0; padding: 28px 0 28px 30px; border-left: 4px solid var(--blue); color: var(--ink); font-size: 1.32rem; font-weight: 650; }
.side-panel { position: sticky; top: 108px; padding: 26px; border: 1px solid var(--line); background: #fffaf1; }
.side-panel h3 { margin-bottom: 14px; font-size: 1.25rem; }
.side-panel a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--blue-dark); font-size: .88rem; text-decoration: none; }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 40px 0; background: var(--line); border: 1px solid var(--line); }
.fact { padding: 24px; background: var(--white); }
.fact small { display: block; color: var(--muted); font: 700 .67rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.fact b { display: block; margin-top: 10px; color: var(--ink); }
.diagram { position: relative; overflow: hidden; margin: 44px 0; padding: 36px; border-radius: 22px; color: #dce7f3; background: var(--navy); }
.diagram::before { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 32px 32px; content: ""; }
.diagram-row { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.diagram-node { padding: 12px 15px; border: 1px solid #456078; border-radius: 7px; background: #12253a; font: 700 .72rem var(--mono); }
.diagram-arrow { color: #72c8bd; }
.diagram figcaption { position: relative; margin-top: 20px; color: #9eafc1; font-size: .82rem; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 22px 36px 22px 0; color: var(--ink); font-weight: 760; cursor: pointer; }
.faq summary::marker { color: var(--blue); }
.faq details p { max-width: 780px; padding-bottom: 22px; color: var(--muted); }
.meta-line { margin-top: 20px; color: #95a6ba; font: .75rem var(--mono); }

.contact-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(45px, 8vw, 100px); }
.contact-note { padding: 30px; border: 1px solid var(--line); background: #ece7dc; }
.contact-note ul { padding-left: 18px; }
.inquiry-form { padding: clamp(24px, 5vw, 52px); background: var(--white); border-radius: 24px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { color: var(--ink); font-size: .88rem; font-weight: 750; }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 14px; color: var(--ink); background: #faf8f3; border: 1px solid #bdc3ca; border-radius: 8px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid rgb(53 109 255 / .25); border-color: var(--blue); }
.checkbox { display: flex; align-items: flex-start; gap: 11px; }
.checkbox input { width: 20px; height: 20px; margin-top: 3px; }
.form-status { margin: 20px 0 0; padding: 14px; border-radius: 7px; background: #e6f2ee; }
.form-status[hidden] { display: none; }
.hp-field { position: absolute !important; left: -10000px !important; }

.final-cta { padding: clamp(70px, 10vw, 120px) 0; color: var(--white); background: var(--blue-dark); }
.final-cta h2 { max-width: 950px; color: var(--white); }
.final-cta .button.secondary { color: var(--white); border-color: var(--white); }
.final-cta .button.secondary:hover { color: var(--ink); background: var(--white); }
.site-footer { padding: 70px 0 32px; color: #afbdcd; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, .7fr); gap: 50px; }
.footer-grid h3 { margin-bottom: 18px; color: var(--white); font-size: 1rem; font-family: var(--body); letter-spacing: 0; }
.footer-grid a { display: block; padding: 4px 0; color: #afbdcd; font-size: .88rem; text-decoration: none; }
.footer-grid a:hover { color: var(--white); }
.footer-brand { max-width: 320px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 55px; padding-top: 24px; border-top: 1px solid #27364a; font-size: .78rem; }

:focus-visible { outline: 3px solid #7ca0ff; outline-offset: 4px; }
@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-grid, .page-hero-grid, .contact-layout, .article-layout, .location-strip { grid-template-columns: 1fr; }
  .portrait-stage { min-height: 480px; }
  .portrait-stage::before { inset: 4% 3% 0; }
  .portrait { inset-inline: 0; margin: auto; width: min(530px, 100%); }
  .portrait-label { right: 5%; }
  .cards { grid-template-columns: 1fr 1fr; }
  .system-map { grid-template-columns: repeat(2, 1fr); }
  .system-node:not(:last-child)::after { display: none; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .side-panel { position: static; }
}
@media (max-width: 680px) {
  .wrap, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .section-head, .pillar-grid, .value-grid, .cards, .situation-grid, .form-grid, .fact-grid { grid-template-columns: 1fr; }
  .home-hero { padding-top: 32px; }
  .home-hero h1 { font-size: clamp(2.65rem, 11.5vw, 4rem); }
  .home-hero .lede { font-size: 1rem; line-height: 1.5; }
  .portrait-stage { min-height: 380px; }
  .portrait-label { bottom: 2%; }
  .choice { min-height: 158px; padding: 18px; }
  .choice small { margin-bottom: 15px; }
  .choice strong { font-size: 1.08rem; }
  .choice span { top: 16px; right: 16px; }
  .value { padding: 25px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .value:last-child { border-bottom: 0; }
  .pillar { min-height: 390px; }
  .system-map, .steps { grid-template-columns: 1fr; }
  .step { min-height: 170px; border-left: 1px solid var(--line); }
  .step::before { margin-bottom: 25px; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Market-forward visual direction: warm, confident and buyer-focused. */
:root {
  --ink: #10213a;
  --navy: #10213a;
  --navy-2: #18304f;
  --paper: #f7f9fc;
  --paper-2: #eef3f8;
  --blue: #2f63ff;
  --blue-dark: #2349bd;
  --teal: #0f8073;
  --amber: #e76f45;
  --text: #34445b;
  --muted: #637087;
  --line: #dce3ec;
  --display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 24px 70px rgb(16 33 58 / .12);
}

html { background: var(--white); }
body { background: var(--white); }
h1, h2, h3 { letter-spacing: -.055em; font-weight: 760; }
h1 { font-size: clamp(3rem, 6vw, 5.75rem); }
h2 { font-size: clamp(2.15rem, 4.2vw, 4rem); }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.eyebrow { display: inline-flex; width: fit-content; padding: 7px 12px; color: #2349bd; background: #e9efff; border-radius: 999px; font-family: var(--body); font-size: .72rem; font-weight: 800; letter-spacing: .055em; }
.eyebrow::before { display: none; }
.dark { color: var(--text); background: #f4f7fb; }
.dark h1, .dark h2, .dark h3 { color: var(--ink); }
.dark .lede, .dark .section-head p { color: var(--muted); }
.dark .eyebrow { color: #2349bd; background: #e9efff; }

.site-header { color: var(--ink); background: rgb(255 255 255 / .92); border-bottom: 1px solid rgb(16 33 58 / .08); box-shadow: 0 8px 30px rgb(16 33 58 / .05); }
.brand { color: var(--ink); }
.brand-mark { color: var(--white); background: linear-gradient(145deg, var(--blue), #6a8cff); box-shadow: 0 6px 18px rgb(47 99 255 / .28); }
.desktop-nav a { color: #536177; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--ink); }
.desktop-nav .nav-cta { color: var(--white); background: var(--blue); box-shadow: 0 8px 20px rgb(47 99 255 / .22); }
.lang-link { color: var(--blue-dark) !important; }
.menu-toggle { color: var(--ink); border-color: #ccd5e2; }
.mobile-nav { color: var(--ink); background: var(--white); }
.mobile-nav a { border-color: var(--line); }

.button { min-height: 52px; padding-inline: 23px; color: var(--white); background: var(--blue); border-color: var(--blue); box-shadow: 0 10px 24px rgb(47 99 255 / .2); }
.button:hover { background: #1f50e6; border-color: #1f50e6; }
.button.secondary { color: var(--ink); background: var(--white); border-color: #c9d3e0; box-shadow: none; }
.button.secondary:hover { color: var(--ink); background: #eff4fa; border-color: #abb8c9; }
.dark .button.secondary { color: var(--white); background: transparent; border-color: #8190a4; }
.dark .button.secondary:hover { color: var(--ink); background: var(--white); border-color: var(--white); }
.text-link { color: var(--blue-dark); }

.home-hero { min-height: auto; padding: clamp(60px, 8vw, 104px) 0 clamp(68px, 8vw, 104px); color: var(--text); background: radial-gradient(circle at 78% 18%, rgb(123 166 255 / .23), transparent 27%), radial-gradient(circle at 92% 75%, rgb(52 190 166 / .17), transparent 27%), linear-gradient(135deg, #fbfdff 0%, #f2f6ff 52%, #f8fbfa 100%); }
.home-hero h1 { max-width: 760px; color: var(--ink); font-size: clamp(3.3rem, 6.2vw, 6.15rem); line-height: .98; }
.home-hero .lede { max-width: 690px; color: #53647c; font-size: clamp(1.08rem, 1.7vw, 1.26rem); }
.hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(390px, .72fr); grid-template-areas: "copy portrait" "actions portrait"; align-content: center; gap: 28px clamp(45px, 7vw, 94px); }
.hero-copy { grid-area: copy; align-self: end; }
.hero-actions { grid-area: actions; align-self: start; }
.choice-prompt { margin-top: 38px; color: #516079; font-family: var(--body); font-size: .78rem; letter-spacing: .06em; }
.choice-grid { gap: 14px; }
.choice { min-height: 132px; padding: 22px 24px; color: var(--ink); background: rgb(255 255 255 / .92); border: 1px solid #d8e0eb; border-radius: 16px; box-shadow: 0 14px 35px rgb(16 33 58 / .08); }
.choice::before { position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--blue); content: ""; }
.choice.consulting { background: rgb(255 255 255 / .92); }
.choice.consulting::before { background: var(--teal); }
.choice:hover, .choice:focus-visible { transform: translateY(-4px); color: var(--ink); background: var(--white); border-color: #9cb2d1; box-shadow: 0 20px 44px rgb(16 33 58 / .14); }
.choice small { margin-bottom: 16px; color: var(--blue-dark); font-family: var(--body); font-size: .7rem; letter-spacing: .08em; }
.choice.consulting small { color: #0b6a60; }
.choice strong { max-width: 260px; font-size: clamp(1.22rem, 1.7vw, 1.55rem); line-height: 1.12; }
.choice span { color: var(--blue); }
.choice.consulting span { color: var(--teal); }
.hero-trust { color: #617188; font-size: .82rem; }
.hero-trust span::before { color: var(--teal); }

.portrait-stage { grid-area: portrait; min-height: 630px; align-self: center; overflow: hidden; border: 1px solid rgb(255 255 255 / .9); border-radius: 34px; background: linear-gradient(160deg, #dce8ff 0%, #b8cdfb 48%, #92cfc5 100%); box-shadow: 0 35px 80px rgb(36 65 112 / .2); }
.portrait-stage::before { inset: auto auto -90px -65px; width: 280px; height: 280px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .32); }
.portrait-stage::after { right: -65px; bottom: auto; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: rgb(255 255 255 / .28); }
.portrait { inset: auto -7% 0 auto; width: 112%; height: 96%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 24px 32px rgb(18 43 76 / .22)); }
.portrait-label { right: auto; left: 24px; bottom: 24px; display: grid; gap: 2px; padding: 14px 17px; color: var(--ink); background: rgb(255 255 255 / .88); border: 1px solid rgb(255 255 255 / .95); border-radius: 13px; box-shadow: 0 12px 30px rgb(16 33 58 / .15); backdrop-filter: blur(12px); font-family: var(--body); letter-spacing: 0; text-transform: none; }
.portrait-label strong { font-size: .92rem; }
.portrait-label span { color: #59677b; font-size: .72rem; }

.value-grid { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 20px 55px rgb(16 33 58 / .07); }
.value { border-color: var(--line); }
.value:first-child { padding-left: clamp(18px, 3vw, 40px); }
.pillar-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
.pillar { min-height: 390px; color: var(--text); border: 1px solid #d8e2ef; border-radius: 24px; background: linear-gradient(145deg, #f4f7ff, #eaf1ff); box-shadow: 0 18px 50px rgb(16 33 58 / .08); }
.pillar:first-child { color: var(--text); background: linear-gradient(145deg, #edf3ff, #dfe9ff); }
.pillar:last-child { background: linear-gradient(145deg, #eef9f6, #dff2eb); }
.pillar:first-child h3, .pillar h3 { color: var(--ink); }
.pillar .number, .pillar:first-child .number { color: var(--blue-dark); font-family: var(--body); }
.pillar:last-child .number { color: #0b6a60; }
.pillar:first-child .text-link { color: var(--blue-dark); }

.situation-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; background: transparent; border: 0; }
.situation { min-height: 170px; padding: 26px; color: var(--text); background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 35px rgb(16 33 58 / .06); }
.situation span { color: var(--blue-dark); font-family: var(--body); }
.situation p { color: var(--ink); font-weight: 650; }

.cards { gap: 20px; }
.card { min-height: 300px; padding: 30px; background: var(--white); border-color: #dce3ec; border-radius: 20px; box-shadow: 0 14px 38px rgb(16 33 58 / .07); }
.card:hover { border-color: #a9b9ce; box-shadow: 0 24px 56px rgb(16 33 58 / .13); }
.card .tag { margin-bottom: 34px; font-family: var(--body); }
.work-card, .work-card:nth-child(2n) { min-height: 350px; color: var(--text); background: var(--white); border-color: #dce3ec; }
.work-card h3 { color: var(--ink); }
.work-card p { color: var(--muted); }
.work-card .tag { color: var(--blue-dark); }
.work-card:nth-child(2n) .tag { color: #0b6a60; }
.work-card .mini-diagram { height: 7px; display: block; margin: 0 0 34px; overflow: hidden; background: #e8eef7; border-radius: 999px; }
.work-card .mini-diagram i { display: none; }
.work-card:nth-child(3n+1) .mini-diagram { background: linear-gradient(90deg, var(--blue) 35%, #e8eef7 35%); }
.work-card:nth-child(3n+2) .mini-diagram { background: linear-gradient(90deg, var(--teal) 58%, #e8eef7 58%); }
.work-card:nth-child(3n) .mini-diagram { background: linear-gradient(90deg, var(--amber) 72%, #e8eef7 72%); }

.system-map { gap: 14px; }
.system-node { min-height: 180px; background: var(--white); border-color: #d8e2ee; border-radius: 16px; box-shadow: 0 14px 30px rgb(16 33 58 / .06); }
.system-node b { color: var(--ink); }
.system-node p { color: var(--muted); }
.system-node em { color: var(--blue-dark); font-family: var(--body); }
.system-node:not(:last-child)::after { background: #8ca7d8; }
.steps { gap: 12px; }
.step, .step:first-child { min-height: 210px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.step::before { margin-bottom: 36px; font-family: var(--body); }
.location-links a { color: var(--ink); background: var(--white); border-color: #cdd7e4; box-shadow: 0 8px 20px rgb(16 33 58 / .05); }

.page-hero { padding: clamp(78px, 10vw, 128px) 0 clamp(70px, 8vw, 100px); background: radial-gradient(circle at 84% 22%, rgb(47 99 255 / .13), transparent 26%), linear-gradient(135deg, #f9fbff, #eff4fb); }
.page-hero h1 { max-width: 940px; color: var(--ink); font-size: clamp(3rem, 5.6vw, 5.6rem); }
.page-code { padding: 30px; color: var(--text); background: rgb(255 255 255 / .88); border: 1px solid #d9e2ed; border-radius: 18px; box-shadow: 0 20px 50px rgb(16 33 58 / .09); font-family: var(--body); line-height: 2; }
.page-code span { color: #637087; }
.page-code strong { color: var(--teal); }
.breadcrumb { color: #758298; }
.breadcrumb a { color: var(--blue-dark); }
.diagram { color: var(--text); background: linear-gradient(145deg, #f0f4fb, #e5ecf7); border: 1px solid #d6e0ed; }
.diagram::before { opacity: .3; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); }
.diagram-node { color: var(--ink); background: var(--white); border-color: #cbd7e5; font-family: var(--body); box-shadow: 0 6px 16px rgb(16 33 58 / .06); }
.diagram-arrow { color: var(--teal); }
.diagram figcaption { color: var(--muted); }
.side-panel { border-radius: 18px; background: #f6f8fc; box-shadow: 0 16px 38px rgb(16 33 58 / .07); }
.fact-grid { overflow: hidden; border-radius: 18px; }

.contact-note { background: #f1f5fa; border-color: #dce3ec; border-radius: 16px; }
.inquiry-form { border: 1px solid #e0e6ee; box-shadow: 0 25px 65px rgb(16 33 58 / .12); }
.field input, .field textarea, .field select { background: #fbfcfe; border-color: #cbd5e2; }
.consulting-fields { grid-column: 1 / -1; margin: 4px 0; padding: 22px; border: 1px solid #cad8e9; border-radius: 16px; background: #f3f7ff; }
.consulting-fields legend { padding: 0 8px; color: var(--blue-dark); font-weight: 750; }
.consulting-fields[hidden], [data-area-field][hidden] { display: none; }
.consulting-fields .form-grid { gap: 18px; }
.consulting-steps { grid-template-columns: repeat(3, 1fr); }

.final-cta { color: var(--white); background: linear-gradient(120deg, #214ed2, #386cff 58%, #198a7c); }
.final-cta .eyebrow { color: #163b9d; background: #eef3ff; }
.final-cta .button { color: var(--blue-dark); background: var(--white); border-color: var(--white); box-shadow: 0 12px 30px rgb(5 22 59 / .22); }
.final-cta .button.secondary { color: var(--white); background: transparent; border-color: rgb(255 255 255 / .72); }
.final-cta .button.secondary:hover { color: var(--ink); background: var(--white); }
.site-footer { background: #10213a; }
.site-footer .brand { color: var(--white); }
.site-footer .brand-mark { color: var(--blue-dark); background: var(--white); }
.site-footer .eyebrow { color: #d8e5f3; background: #1c385e; }

/* Unified identity and high-contrast secondary actions. */
.brand-mark,
.site-footer .brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  overflow: hidden;
  color: inherit;
  background: transparent;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgb(47 99 255 / .24);
}
.brand-mark svg { display: block; width: 100%; height: 100%; }
.site-footer .brand-mark { box-shadow: 0 8px 22px rgb(0 0 0 / .2); }
.page-hero .button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: #9dacbf;
  box-shadow: 0 10px 26px rgb(16 33 58 / .12);
}
.page-hero .button.secondary:hover {
  color: var(--white);
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "portrait" "actions"; gap: 30px; }
  .portrait-stage { min-height: 560px; width: min(560px, 100%); margin-inline: auto; }
  .page-hero-grid { gap: 44px; }
  .situation-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  h1, .home-hero h1, .page-hero h1 { font-size: clamp(2.35rem, 10.5vw, 3.15rem); line-height: 1.02; }
  h2 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .home-hero { padding-top: 36px; }
  .home-hero .lede { margin-top: 20px; font-size: .96rem; }
  .choice-prompt { margin-top: 24px; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .choice { min-height: 138px; padding: 17px; }
  .choice small { margin-bottom: 13px; }
  .choice strong { font-size: 1rem; }
  .portrait-stage { min-height: 420px; border-radius: 26px; }
  .portrait { right: -5%; width: 108%; height: 95%; }
  .portrait-label { right: 18px; left: 18px; bottom: 18px; }
  .pillar-grid, .situation-grid { grid-template-columns: 1fr; }
  .pillar { min-height: 360px; }
  .value:first-child { padding-left: 0; }
  .value { padding-inline: 0; margin-inline: 24px; }
  .system-map, .steps { gap: 10px; }
}
