/* Lower homepage: quiet surfaces, generous spacing, useful detail.
   Shared typography, shell, buttons and tokens live in home.css. */
.trust-strip { display: grid; grid-template-columns: 1fr 1fr 1.15fr; padding-block: 65px 70px; border-bottom: 1px solid var(--line); }
.trust-strip > div { min-width: 0; padding-left: 16%; }
.trust-strip > div:first-child { padding-left: 0; }
.trust-strip strong { display: block; font: 600 clamp(38px, 4vw, 56px)/1.1 system-ui, sans-serif; letter-spacing: -.055em; }
.trust-strip strong span { margin-left: 4px; font-size: .6em; vertical-align: top; color: var(--accent); }
.trust-strip p { margin-top: 15px; font-size: 15px; line-height: 1.7; }
.trust-strip .trust-regions strong { font-family: inherit; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.6; letter-spacing: -.035em; }
.trust-regions strong span { font-size: inherit; vertical-align: baseline; color: var(--muted); }

.source-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 7vw, 100px); align-items: start; }
.source-copy > p:not(.eyebrow) { max-width: 430px; margin-top: 28px; font-size: 18px; }
.source-copy .text-link { margin-top: 22px; }
.source-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 36px; padding-top: 8px; }
.source-grid article { min-width: 0; padding: 0 0 30px; border-bottom: 1px solid var(--line); }
.topic-label { display: block; margin-bottom: 20px; font-size: 14px; font-weight: 600; color: var(--accent); }
.source-grid h3 { max-width: 310px; font-size: 23px; line-height: 1.55; letter-spacing: -.035em; font-weight: 600; }
.source-grid p { margin-top: 15px; font-size: 16px; line-height: 1.8; }

.manifesto { padding-block: clamp(106px, 12vw, 180px); background: radial-gradient(ellipse at 50% 75%, #113059, #061326 70%); color: #edf4ff; text-align: center; }
.manifesto-kicker { margin-bottom: 38px; font-size: 17px; font-weight: 500; color: #96b5de; }
.manifesto-lines { display: grid; justify-content: center; font-size: clamp(48px, 6.8vw, 100px); line-height: 1.38; letter-spacing: -.055em; font-weight: 600; }
.manifesto-lines span { display: block; }
.manifesto-lines span:last-child { color: #9ec6ff; }
.manifesto-note { margin-top: 36px; font-size: 17px; line-height: 1.85; color: #96abc7; }

.section-intro { max-width: 720px; margin-bottom: 48px; }
.section-intro > p:last-child { margin-top: 28px; font-size: 18px; }
.service-experience { background: var(--surface); border-radius: 28px; overflow: clip; }
.service-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-inline: 48px; border-bottom: 1px solid var(--line); }
.service-tabs button { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 10px; min-width: 0; padding: 30px 0 26px; border: 0; background: none; font-size: 17px; color: var(--muted); transition: color .25s ease; }
.service-tabs button::after { content: ""; position: absolute; bottom: -1px; inset-inline: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.service-tabs button:hover, .service-tabs button.is-active { color: var(--ink); }
.service-tabs button.is-active::after { transform: scaleX(1); }
.service-tabs button > span:last-child { color: var(--accent); opacity: .4; transition: opacity .25s ease, transform .3s var(--ease); }
.service-tabs button.is-active > span:last-child { opacity: 1; transform: rotate(45deg); }
.service-tabs button:focus-visible { outline-offset: 3px; }
.service-panel { padding: 60px 58px 64px; }
.service-panel[hidden] { display: none !important; }
.service-panel-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 58px; align-items: center; min-height: 366px; }
.service-description, .service-visual { min-width: 0; }
.service-description h3 { font-size: clamp(28px, 2.9vw, 40px); line-height: 1.35; letter-spacing: -.045em; font-weight: 600; }
.service-description > p { max-width: 530px; margin-top: 26px; font-size: 17px; }
.service-brief { display: grid; gap: 7px; padding: 0; margin: 22px 0; list-style: none; }
.service-brief li { color: var(--muted); font-size: 15px; line-height: 1.8; }
.service-brief li::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 9px; margin-bottom: 3px; border-radius: 50%; background: #91a9c1; }
.service-visual { position: relative; padding: 28px 16px 32px 8px; perspective: 1200px; }
.evidence-layer { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 89%; min-height: 108px; padding: 27px 27px; border: 1px solid #e3e9ef; border-radius: 15px; background: linear-gradient(125deg, #fff 28%, #edf3f9); box-shadow: 0 17px 30px -18px rgb(52 77 108 / .28), inset 0 1px 0 #fff; transform: rotateY(-12deg) rotateX(12deg) rotateZ(-5deg); transition: transform .65s var(--ease); }
.evidence-layer + .evidence-layer { margin-top: -9px; }
.evidence-layer:nth-child(2) { margin-left: 5%; background: linear-gradient(125deg, #f4f9ff, #dceafa); border-color: #d6e3f2; }
.evidence-layer:nth-child(3) { margin-left: 10%; background: linear-gradient(125deg, #e8f2ff, #c8def7); border-color: #c7daef; }
.evidence-layer span { font-size: 12px; color: #516981; }
.evidence-layer b { font-size: 27px; font-weight: 600; letter-spacing: -.035em; color: #295581; }
.visual-management .evidence-layer:nth-child(2) { background: linear-gradient(125deg, #f0f7fa, #e0edf3); }
.visual-special .evidence-layer:nth-child(2) { background: linear-gradient(125deg, #f3f4ff, #e3e8f6); }
@media (hover: hover) and (pointer: fine) {
  .service-visual:hover .evidence-layer { transform: rotateY(-6deg) rotateX(6deg) rotateZ(-2deg) translateY(-3px); }
}

.collaboration-section { background: var(--surface); }
.collaboration-stage { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(52px, 8vw, 112px); }
.collaboration-intro > p:not(.eyebrow) { max-width: 430px; margin-top: 28px; font-size: 18px; }
.collaboration-note { max-width: 390px; margin-top: 27px; }
.collaboration-note summary { display: flex; align-items: center; gap: 20px; width: fit-content; padding-block: 8px; list-style: none; cursor: pointer; color: var(--accent); font-size: 12px; }
.collaboration-note summary::-webkit-details-marker { display: none; }
.collaboration-note summary span { transition: transform .25s ease; }
.collaboration-note[open] summary span { transform: rotate(45deg); }
.collaboration-note p { padding-top: 12px; font-size: 12px; line-height: 1.9; }
.collaboration-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 31px 36px; padding-top: 5px; }
.collaboration-services > div { min-width: 0; padding: 4px 0 25px; border-bottom: 1px solid var(--line); }
.collaboration-services strong { display: block; font-size: 22px; font-weight: 600; line-height: 1.55; letter-spacing: -.025em; }
.collaboration-services span { display: block; max-width: 290px; margin-top: 15px; font-size: 16px; color: var(--muted); line-height: 1.8; }

.team-method-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.team-method-heading p { max-width: 510px; font-size: 18px; padding-bottom: 4px; }
.team-method-roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 38px; margin-top: 64px; }
.team-method-roles > div { min-width: 0; }
.role-line { display: block; width: 32px; height: 3px; margin-bottom: 24px; background: #8bafd5; border-radius: 2px; }
.team-method-roles strong { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.025em; }
.team-method-roles p { margin-top: 17px; font-size: 16px; line-height: 1.8; }

.about { border-top: 1px solid var(--line); }
.about-heading { margin-bottom: 46px; }
.about-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about-copy { min-width: 0; }
.about-copy > p { font-size: 18px; }
.address-block { margin-top: 27px; padding-top: 25px; border-top: 1px solid var(--line); }
.address-block > span { display: block; margin-bottom: 15px; color: var(--muted); font-size: 14px; }
.mini-program-trigger { display: inline-flex; align-items: center; gap: 16px; padding: 3px 0; border: 0; background: none; color: var(--accent); text-align: left; font-size: clamp(16px, 1.55vw, 21px); font-weight: 500; }
.mini-program-trigger > span { display: grid; flex: 0 0 29px; place-items: center; height: 29px; border: 1px solid #c6d8ec; border-radius: 50%; font-size: 14px; transition: transform .3s var(--ease), background .3s ease; }
.mini-program-trigger:hover > span { transform: translate(2px, -2px); background: #e5effa; }
.entry-hint { margin-top: 8px; font-size: 11px; }
.address-block address { font-style: normal; color: var(--ink); font-size: 16px; line-height: 1.9; }
.address-block .text-link { margin-top: 16px; font-size: 12px; }

.process { padding-top: 12px; }
.process ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; padding: 0; margin: 48px 0 0; list-style: none; counter-reset: service-step; }
.process li { min-width: 0; padding-top: 24px; border-top: 1px solid #cbd0d8; counter-increment: service-step; }
.process li::before { content: "0" counter(service-step); display: block; margin-bottom: 20px; color: #8a939e; font: 500 14px/1.2 system-ui, sans-serif; letter-spacing: -.02em; }
.process strong { display: block; font-size: 17px; font-weight: 600; }
.process span { display: block; margin-top: 15px; color: var(--muted); font-size: 15px; line-height: 1.8; }

.contact-section { background: #07172d; color: #edf4ff; padding-block: clamp(96px, 10vw, 144px); }
.contact-section .eyebrow { color: #8fbaff; }
.contact-section .text-link { color: #afc9eb; }
.contact-inner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 50px; }
.contact-inner h2 { font-size: clamp(32px, 3.4vw, 48px); }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 23px; padding-bottom: 3px; }
.contact-phone { display: inline-flex; align-items: center; gap: 20px; color: #edf4ff; font: 500 clamp(27px, 3.3vw, 48px)/1.35 system-ui, sans-serif; letter-spacing: -.05em; white-space: nowrap; }
.contact-phone span { font-size: .7em; color: var(--accent); transition: transform .3s var(--ease); }
.contact-phone:hover span { transform: translate(3px, -3px); }
.footer { display: flex; justify-content: space-between; align-items: end; gap: 35px; padding-block: 38px; }
.footer-brand strong { font-size: 19px; font-weight: 600; letter-spacing: -.03em; }
.footer-brand strong span { color: var(--muted); font-weight: 400; }
.footer-brand p { margin-top: 11px; font-size: 10px; }
.footer-meta { display: grid; gap: 7px; color: var(--muted); text-align: right; font-size: 10px; line-height: 1.7; overflow-wrap: anywhere; }

.mini-program-dialog { width: min(700px, calc(100% - 40px)); max-height: calc(100dvh - 40px); padding: 0; border: 1px solid #e2e4e8; border-radius: 26px; background: #fff; color: var(--ink); overflow: auto; box-shadow: 0 24px 90px rgb(0 0 0 / .17); }
.mini-program-dialog::backdrop { background: rgb(30 36 45 / .36); backdrop-filter: blur(8px); }
.mini-program-dialog-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 28px; align-items: center; padding: 58px 38px 40px; }
.mini-program-dialog-copy h2 { font-size: 27px; line-height: 1.4; }
.mini-program-dialog-copy .eyebrow { margin-bottom: 18px; font-size: 11px; }
.mini-program-dialog-copy p:last-child { margin-top: 18px; font-size: 12px; }
.mini-program-dialog figure { width: 100%; max-width: 240px; margin-inline: auto; }
.mini-program-dialog figure img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.mini-program-dialog figcaption { padding-top: 12px; color: var(--muted); text-align: center; font-size: 11px; }
.mini-program-dialog-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0 0 2px; border: 0; border-radius: 50%; background: #f0f0f2; color: #67676c; font: 300 25px/1 system-ui, sans-serif; transition: background .2s ease; }
.mini-program-dialog-close:hover { background: #e3e3e7; }

@media (max-width: 1024px) {
  .trust-strip > div { padding-left: 10%; }
  .source-section { gap: 40px; }
  .source-grid { gap: 30px 24px; }
  .source-grid h3 { font-size: 17px; }
  .service-tabs { margin-inline: 32px; gap: 24px; }
  .service-tabs button { font-size: 13px; }
  .service-panel { padding: 44px 34px 48px; }
  .service-panel-inner { gap: 30px; }
  .evidence-layer { padding-inline: 19px; min-height: 100px; }
  .evidence-layer b { font-size: 23px; }
  .evidence-layer span { font-size: 11px; }
  .collaboration-stage { gap: 44px; }
  .collaboration-services { gap: 28px 24px; }
  .team-method-heading { gap: 48px; }
  .team-method-roles { gap: 28px; }
  .team-method-roles strong { font-size: 18px; }
  .about-layout { gap: 36px; }
  .contact-inner { gap: 32px; }
  .contact-phone { gap: 14px; font-size: 30px; }
}
@media (max-width: 768px) {
  .source-section, .collaboration-stage { grid-template-columns: 1fr; gap: 48px; }
  .source-copy > p:not(.eyebrow), .collaboration-intro > p:not(.eyebrow), .collaboration-note { max-width: 500px; }
  .source-grid h3 { max-width: none; }
  .service-tabs { margin-inline: 24px; gap: 18px; }
  .service-tabs button { font-size: 12px; }
  .service-panel-inner { grid-template-columns: 1.1fr .9fr; gap: 18px; }
  .service-panel { padding-inline: 28px; }
  .service-visual { padding-inline: 0; }
  .evidence-layer { flex-direction: column; align-items: flex-start; gap: 10px; padding: 19px; }
  .team-method-heading { grid-template-columns: 1fr; gap: 24px; }
  .team-method-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; margin-top: 44px; }
  .about-layout { grid-template-columns: 1fr; }
  .about-copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .about-copy > p { grid-column: 1 / -1; }
  .address-block { margin-top: 0; }
  .process ol { gap: 22px; }
  .process strong { font-size: 15px; }
  .contact-inner { grid-template-columns: 1fr; gap: 35px; }
  .contact-phone { font-size: 36px; }
  .footer { align-items: start; flex-direction: column; gap: 24px; }
  .footer-meta { text-align: left; }
}
@media (max-width: 600px) {
  .trust-strip { grid-template-columns: 1fr 1fr; gap: 30px 16px; padding-block: 34px; }
  .trust-strip > div { padding-left: 0; }
  .trust-strip strong { font-size: 40px; }
  .trust-strip p { font-size: 11px; margin-top: 10px; }
  .trust-strip .trust-regions { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); }
  .trust-strip .trust-regions strong { font-size: 23px; }
  .source-grid { gap: 28px 22px; }
  .source-grid h3 { font-size: 16px; }
  .source-grid p { font-size: 12px; }
  .source-grid article { padding-bottom: 23px; }
  .topic-label { margin-bottom: 14px; }
  .manifesto-lines { font-size: clamp(38px, 10vw, 52px); }
  .manifesto-kicker, .manifesto-note { font-size: 12px; }
  .section-intro { margin-bottom: 34px; }
  .section-intro > p:last-child { font-size: 13px; }
  .service-experience { border-radius: 20px; }
  .service-tabs { margin-inline: 18px; gap: 10px; }
  .service-tabs button { justify-content: center; padding-block: 22px 18px; font-size: 11px; line-height: 1.7; text-align: center; }
  .service-tabs button > span:last-child { display: none; }
  .service-panel { padding: 32px 24px; }
  .service-panel-inner { grid-template-columns: 1fr; gap: 16px; min-height: 0; }
  .service-description h3 { font-size: 28px; }
  .service-description > p { font-size: 13px; margin-top: 20px; }
  .service-visual { width: 100%; max-width: 280px; margin: 6px auto 0; padding: 20px 6px; }
  .evidence-layer { flex-direction: row; align-items: center; min-height: 86px; padding: 23px 20px; }
  .collaboration-services { gap: 27px 24px; }
  .collaboration-services strong { font-size: 16px; }
  .collaboration-services span { font-size: 12px; }
  .team-method-roles { gap: 36px 24px; }
  .team-method-roles strong { font-size: 17px; }
  .team-method-roles p { font-size: 12px; }
  .about-heading { margin-bottom: 32px; }
  .about-copy { grid-template-columns: 1fr; }
  .process ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; margin-top: 36px; }
  .process li::before { margin-bottom: 16px; }
  .contact-phone { font-size: clamp(26px, 7.5vw, 34px); gap: 13px; }
  .mini-program-dialog { width: calc(100% - 32px); max-height: calc(100dvh - 32px); border-radius: 22px; }
  .mini-program-dialog-inner { grid-template-columns: 1fr; gap: 24px; padding: 52px 24px 28px; }
  .mini-program-dialog-copy h2 { font-size: 25px; }
  .mini-program-dialog-copy p:last-child { margin-top: 12px; }
  .mini-program-dialog figure { max-width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .evidence-layer, .service-visual:hover .evidence-layer { transform: none; transition: none; }
  .service-tabs button::after, .service-tabs button > span:last-child, .collaboration-note summary span, .mini-program-trigger > span, .contact-phone span { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .mini-program-dialog::backdrop { background: rgb(45 48 53 / .85); backdrop-filter: none; }
}
