/* Shared type scale and responsive layout, loaded after the visual theme. */
:root {
  --muted: #4b6578;
  --content: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --body-size: 1rem;
  --small-size: .875rem;
  --heading-size: clamp(2rem, 3.4vw, 3.25rem);
  --card-title: 1.5rem;
}

/* Clear click affordances and a quiet, animated employee picker. */
.role-tabs button {align-items:center}
.click-hand {width:28px;height:28px;flex-shrink:0;color:#568da9;overflow:visible}
.role-tabs button[aria-selected="true"] .click-hand {visibility:hidden}
.click-ring {transform-origin:12px 9px;animation:click-ripple 2.8s ease-out infinite}
@keyframes click-ripple {
  0%,20% {opacity:0;transform:scale(.4)}
  35% {opacity:.6}
  70%,100% {opacity:0;transform:scale(1.6)}
}
.employee-picker {position:relative;display:block}
.add-controls .employee-picker-button {
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  width:100%;min-height:56px;padding:14px 18px;border:1px solid #d6e5ed;
  border-radius:12px;background:#f5fafded;color:#315d76;
  font-size:1rem;font-weight:500;line-height:1.5;text-align:left;
  transition:background .2s,border-color .2s,box-shadow .2s;
}
.employee-picker-button span {min-width:0;overflow-wrap:break-word}
.employee-picker-button:after {
  content:'';width:8px;height:8px;flex-shrink:0;margin:0 2px 4px 0;
  border-right:1.5px solid #6f91a3;border-bottom:1.5px solid #6f91a3;
  transform:rotate(45deg);transition:transform .24s;
}
.employee-picker-button[aria-expanded="true"]:after {transform:rotate(225deg);margin-bottom:0}
.employee-picker-button:hover {background:#fff;border-color:#c4dce8}
.employee-picker-button:focus-visible {outline:2px solid #7baac2;outline-offset:3px}
.employee-options {
  position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:10;
  max-height:280px;overflow-y:auto;overscroll-behavior:contain;
  padding:6px;border:1px solid #e0eaf0;border-radius:14px;background:#fbfdff;
  box-shadow:0 12px 32px #244d661a;
  opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .2s ease,transform .2s ease,visibility .2s;
  scrollbar-width:thin;scrollbar-color:#c7dce7 transparent;
}
.employee-picker.is-open .employee-options {opacity:1;visibility:visible;transform:translateY(0)}
.employee-options:focus {outline:none}
.employee-options [role="option"] {
  padding:12px;border-radius:8px;cursor:pointer;color:#3b5e72;
  font-size:1rem;line-height:1.5;transition:background .15s;
}
.employee-options [role="option"]:hover,.employee-options .highlighted {background:#edf5fa}
.employee-options [aria-selected="true"] {background:#e7f2f8;font-weight:600;color:#265f7d}
.team-extension .extra-card {z-index:4}
@media(prefers-reduced-motion:reduce) {
  .click-ring {animation:none;opacity:.45}
  .employee-options,.employee-picker-button:after {transition:none}
}
body {font-size:var(--body-size);line-height:1.65}
.section {width:100%;max-width:calc(var(--content) + 2 * var(--gutter));padding:80px var(--gutter);margin-inline:auto}
.header,footer {padding-inline:max(var(--gutter), calc((100% - var(--content)) / 2))}
.header {height:auto;min-height:96px;gap:24px;padding-block:18px}
.hero {padding:64px max(var(--gutter), calc((100% - var(--content)) / 2)) 0}
.hero-scene {max-width:var(--content)}
.section-top {gap:40px;align-items:start}
.section-top>div {min-width:0;flex:1}
.section-top>p {flex:0 1 360px;max-width:36ch}
.section p,.hero-copy p,dialog p {font-size:var(--body-size);line-height:1.7}
.section-top p,.hero-copy p {font-size:1.125rem}
.hero-copy p {max-width:65ch;margin-inline:auto}
h1,.hero h1 {font-size:clamp(2rem,5vw,4.5rem);line-height:1.15;letter-spacing:-.045em;text-wrap:balance}
.section h2,.benefit-copy h2,.expert-copy h2,.expertise h2,.contact h2,dialog h2 {font-size:var(--heading-size);line-height:1.2;letter-spacing:-.035em;text-wrap:balance}
.section h3,.industry-card h4,.author-projects h3,.tech-body h3 {font-size:var(--card-title);line-height:1.35;letter-spacing:-.02em;text-wrap:balance}
.section p,.section li {overflow-wrap:break-word}
.section .eyebrow,.hero .eyebrow,.statement .eyebrow,.eyebrow,.panel-label,.role-number {font-size:var(--small-size);line-height:1.6;letter-spacing:.08em;color:#496b80}
.brand {font-size:1rem;letter-spacing:.07em}
.brand small {font-size:.75rem;letter-spacing:.18em}
nav,.nav-contact,footer>span,footer>a:last-child,.text-link {font-size:var(--small-size)}
nav {gap:24px}
nav a {display:inline-flex;align-items:center;min-height:44px}
.button,.contact-path .button,.role-tabs button,.add-controls select {font-size:1rem;line-height:1.5;min-height:48px}
.button {gap:20px;padding:16px 24px}
.scene-caption,.scene-caption>span,.scene-caption a,.glass-tag,.illustration-note,.expert-signature small,.project-foot,.tech-tags span,.expertise-tags span {font-size:var(--small-size);line-height:1.5;letter-spacing:.03em}
.scene-caption {gap:20px;align-items:end;background:linear-gradient(transparent,#072339f2);padding-top:50px}
.glass-tag {background:#092d43c9}
.illustration-note {background:#092d43d9;border-radius:4px;padding:4px 8px;right:22px;width:fit-content;max-width:calc(100% - 44px)}
.team-workspace {grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}
.team-visual {min-height:0;height:clamp(420px,48vw,660px);position:sticky;top:24px}
.team-panel {min-width:0;padding:24px}
.role-card {padding:20px}
.role-card #role-detail {height:auto;min-height:0;overflow:visible}
.role-name,.extra-card .role-name,.team-extension .role-name {font-size:1.25rem;line-height:1.4}
.role-card #role-title,.extra-card .extra-detail h3 {font-size:1.25rem;line-height:1.4}
.role-card #role-description,.extra-card .extra-detail p,.role-materials p,.role-competencies .task-result p,.role-competencies li {font-size:1rem;line-height:1.7}
.role-competencies .task-result {min-height:0}
.team-extension .extra-card {grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:32px;padding:28px}
.team-extension .extra-detail {min-height:0}
.extra-card .add-controls select {font-size:1rem;width:100%;text-overflow:ellipsis}
.tech-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.tech-card {display:flex;flex-direction:column}
.tech-body {padding:28px;display:flex;flex-direction:column;flex:1}
.tech-tags {margin-top:auto;padding-top:16px}
.tech-art {height:220px}
.benefits,.expert-layout {grid-template-columns:repeat(2,minmax(0,1fr));gap:48px}
.benefit-copy {min-height:0}
.benefit-trigger {font-size:1.125rem;line-height:1.5;min-height:48px}
.benefit-panel p {font-size:1rem}
.steps {gap:28px}
.steps h3 {font-size:1.25rem}
.steps article>span,.reality-number {font-size:var(--small-size);color:#28799f}
.expertise {width:calc(100% - 2 * var(--gutter));max-width:var(--content);padding:48px;margin-block:24px}
.expertise-grid {gap:40px;grid-template-columns:repeat(2,minmax(0,1fr))}
.expert-copy p {max-width:60ch}
.expert-copy .expert-lead,.approach .approach-promise {font-size:1.25rem;line-height:1.6}
.author-projects {gap:24px}
.author-projects article {padding:24px}
.expert-vision {gap:24px;padding:32px}
.expert-vision p {font-size:var(--card-title);line-height:1.4}
.expert-vision>div {font-size:1rem;line-height:1.7}
.reality-intro>p {max-width:70ch;font-size:1.125rem}
.reality-row {grid-template-columns:40px minmax(0,1fr) minmax(0,1fr);gap:24px}
.reality-row h3 {font-size:var(--card-title)}
.industry-heading h3 {font-size:var(--heading-size)}
.industry-card {padding:28px}
.reality-foundation {grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
.reality-foundation>span {font-size:1.25rem}
.contact {grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.contact-card {padding:32px;min-width:0}
.contact-path .consultation {font-size:1rem}
.contact-path .consultation strong {font-size:1.5rem}
.contact-path .button,#consult-button {min-height:60px;font-size:1rem}
.contact-path .handshake,#consult-button .handshake {width:28px;height:28px}
dialog {max-width:560px;padding:40px;max-height:calc(100svh - 32px);overflow:auto}
.dialog-close {width:44px;height:44px;top:4px;right:4px}
dialog p strong {white-space:nowrap}
.story-content {max-width:var(--content)}
.story-benefits>div {font-size:var(--heading-size);line-height:1.25;letter-spacing:-.035em}
@media(max-width:1100px) {
  .steps,.author-projects {grid-template-columns:repeat(2,minmax(0,1fr))}
  .section-top {display:block}
  .section-top>p {max-width:60ch}
  .team-workspace,.benefits,.expert-layout,.contact {grid-template-columns:1fr}
  .team-visual {position:relative;top:auto;height:auto;aspect-ratio:16/9}
  .team-visual>img {height:100%}
  .benefit-photo {height:auto;aspect-ratio:16/9}
  .expert-portrait {max-width:520px;width:100%;margin-inline:auto}
  .contact-gallery {grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:0}
  .contact-card {padding:32px}
  .contact h2 br {display:none}
  .contact h2 span {display:block}
  .expertise-grid {grid-template-columns:1fr;gap:16px}
}
@media(max-width:760px) {
  .section {padding-block:56px}
  .header {flex-wrap:wrap;gap:12px;min-height:80px;padding-block:16px}
  nav {margin-left:auto}
  nav>a:not(.nav-contact) {display:none}
  .nav-contact {font-size:var(--small-size);padding:10px 12px}
  .hero {padding-top:40px}
  .hero-copy p,.section-top p {font-size:1rem}
  .hero-copy p br {display:none}
  .scene-caption {position:relative;background:#123e5a;display:block;padding:16px;letter-spacing:0}
  .scene-caption a {display:inline-flex;align-items:center;min-height:44px;margin-top:4px}
  .team-extension .extra-card,.tech-grid,.industry-grid,.author-projects,.expert-vision,.reality-foundation {grid-template-columns:1fr}
  .team-extension .extra-card {padding:20px;gap:24px}
  .team-panel {padding:16px}
  .role-card {padding:16px}
  .team-visual {min-height:280px;aspect-ratio:auto}
  .team-visual-top {gap:8px;left:12px;right:12px}
  .glass-tag {padding:8px;font-size:.875rem}
  .role-tabs button {padding:10px;gap:8px}
  .tech-body,.industry-card,.author-projects article,.expert-vision {padding:24px}
  .expertise {padding:24px;margin-block:16px}
  .reality-row {grid-template-columns:24px minmax(0,1fr);gap:12px}
  .reality-row p {grid-column:2}
  .contact-gallery {grid-template-columns:1fr;gap:16px}
  .contact-card {padding:24px;border-radius:14px}
  .contact h2 br {display:inline}
  .contact .button {padding:14px 16px;gap:12px}
  .expert-signature small {font-size:.875rem;letter-spacing:.08em}
  .project-heading {display:block}
  dialog {padding:40px 24px 24px}
  footer {gap:20px}
  footer>span {font-size:.875rem}
}
@media(max-width:480px) {
  .steps {grid-template-columns:1fr;gap:24px}
  .steps h3 {margin-top:16px}
  .header .brand {font-size:.875rem}
  .brand small {font-size:.75rem;letter-spacing:.12em}
  .header nav {margin-left:0}
  .contact h2 br {display:none}
  .section h2 br {display:none}
}

/* Compact, outcome-focused specialist cards. */
@media(min-width:901px){
  .team-workspace{align-items:stretch}
  .team-visual{position:relative;top:auto;height:auto;min-height:360px}
}

.role-assignments{margin:12px 0 0;padding-left:20px;font-size:1rem;line-height:1.6}
.role-assignments li{padding-left:3px;margin:8px 0;color:var(--muted)}
.role-assignments li::marker{color:var(--blue)}

/* Keep the approved portrait's full scalp visible in the card crop. */
.expert-portrait img {object-position:center top}


/* Company data and integrations. */
.integration-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.integration-card{padding:28px;border:1px solid #d4e5ef;border-radius:16px;background:linear-gradient(145deg,#fff,#edf7fc)}
.integration-index{font-size:.75rem;font-weight:700;letter-spacing:.12em;color:#517287}
.integration-card h3{font-size:1.4rem;line-height:1.35;margin:18px 0 12px}
.integration-card p{font-size:1rem;line-height:1.7;color:var(--muted);margin:0}
.integration-example{display:grid;grid-template-columns:1fr 1.35fr;gap:18px 40px;margin-top:24px;padding:32px;border-radius:16px;background:#e4f2fa;border:1px solid #c9e1ee}
.integration-example h3{font-size:1.5rem;margin:10px 0 0}
.integration-example p{margin:0;color:var(--muted);font-size:1rem}
.integration-inputs{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px}
.integration-inputs span{padding:8px 14px;border:1px solid #c7dfe9;border-radius:24px;background:#f8fcff;color:#315d76;font-size:.875rem}
.integration-footer{display:flex;align-items:center;justify-content:space-between;gap:32px;margin-top:24px}
.integration-footer p{max-width:800px;margin:0;color:var(--muted);font-size:.875rem}
.integration-footer a{flex-shrink:0;font-size:.875rem}
@media(max-width:1000px){.integration-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.integration-footer{align-items:flex-start;flex-direction:column;gap:16px}}
@media(max-width:600px){.integration-grid,.integration-example{grid-template-columns:1fr}.integration-card,.integration-example{padding:24px}.integration-example{gap:18px}.integration-inputs{grid-column:auto}}

/* Explain role-specific outcomes and the safeguards agreed for each project. */
.integration-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.integration-card{display:flex;flex-direction:column}
.integration-card h4,.integration-security h4{font-size:1rem;margin:22px 0 10px;font-weight:700}
.integration-card strong{display:block;font-size:.875rem;color:var(--ink);margin-bottom:6px}
.integration-card .integration-sources{font-size:.875rem;line-height:1.65}
.integration-card ul{padding-left:20px;margin:0 0 24px;color:var(--muted);font-size:1rem;line-height:1.7}
.integration-card li+li{margin-top:12px}
.integration-card li::marker{color:var(--blue)}
.integration-card .integration-value{margin-top:auto;padding-top:18px;border-top:1px solid #cddfe9;font-size:.9375rem}
.integration-security{margin-top:32px;padding:32px;border:1px solid #c9e1ee;border-radius:16px;background:#fff}
.integration-security h3{font-size:clamp(1.5rem,2.5vw,2rem);margin:12px 0 16px}
.integration-security p{color:var(--muted);font-size:1rem;margin:0;line-height:1.7}
.security-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 36px}
.integration-security .security-note{border-top:1px solid #d4e5ef;padding-top:18px;margin-top:24px;font-size:.875rem}
@media(max-width:700px){.integration-grid,.security-grid{grid-template-columns:1fr}.integration-security{padding:24px}.integration-footer a{flex-shrink:1}}
