/* Clear Japanese typography and bounded photographs for the SI firm site. */
:root{--muted:#3f5366;--brand-muted:#3f5366;--si-heading-font:'Zen Maru Gothic','Hiragino Maru Gothic ProN',sans-serif;--si-body-font:'Zen Kaku Gothic New','Hiragino Kaku Gothic ProN',sans-serif;--si-latin-font:'Manrope',sans-serif}
body,body.reference-home{font-family:var(--si-body-font);font-weight:400;color:#102b43;-webkit-font-smoothing:antialiased}
body.reference-home h1,body.reference-home h2,body.reference-home h3,.detail-page h1,.detail-page h2,.detail-page h3{font-family:var(--si-heading-font);font-weight:500;font-feature-settings:'palt';letter-spacing:.015em;line-height:1.55;text-wrap:initial;word-break:normal;overflow-wrap:normal}
body p{line-break:strict;overflow-wrap:break-word}
.heading-phrase{display:block;white-space:nowrap}
.text-unit{display:inline-block;white-space:nowrap}
body.reference-home .section-label{font:600 12px/1.6 var(--si-latin-font);letter-spacing:.14em}
body.reference-home .reference-intro h2,body.reference-home #services .reference-intro h2,body.reference-home #solutions .reference-intro h2,body.reference-home #process .reference-intro h2{font-family:var(--si-heading-font);font-weight:500;font-size:clamp(30px,3.1vw,44px);line-height:1.6;letter-spacing:.015em}
body.reference-home .reference-intro>p:not(.section-label){font-size:16px;line-height:2;color:#334a5f;max-width:32em}
body.reference-home .service-content h3,body.reference-home .solution-detail h3{font:500 clamp(22px,1.9vw,27px)/1.65 var(--si-heading-font);letter-spacing:.015em}
body.reference-home .service-content>p,body.reference-home .solution-detail p{font:400 16px/1.95 var(--si-body-font);color:#334a5f;max-width:none}
body.reference-home .reference-text-link,body.reference-home .arrow-link,body.reference-home .row-detail-link{font:500 14px/1.8 var(--si-body-font);min-height:48px}
body.reference-home #security h3{font-size:20px;font-weight:500;line-height:1.8}
body.reference-home #security .reference-grid>div:last-child>p{font-size:16px;line-height:2;color:#334a5f}
body.reference-home #security .reference-grid>div:last-child>p:last-of-type{font-size:13px}
/* Keep entry motion on images and headlines; type stays on a flat, stable plane. */
body.reference-home .service-card:hover,body.reference-home .solution-row:hover{transform:none;box-shadow:none}
body.reference-home .service-photo img,body.reference-home .solution-img img{filter:none;image-rendering:auto}
body.reference-home.si-enhanced .service-card:hover .service-photo img{transform:scale(1.035)}
body.reference-home.si-enhanced .hero-title{font:700 clamp(40px,4.6vw,72px)/1.5 var(--si-heading-font);letter-spacing:.015em;margin-bottom:28px}
body.reference-home.si-enhanced .hero-copy{max-width:760px}
body.reference-home.si-enhanced .hero-description{font:400 clamp(16px,1.25vw,19px)/2 var(--si-body-font);letter-spacing:.015em;max-width:42em;text-shadow:0 1px 10px #00111c44}
body.reference-home .hero-shade{background:linear-gradient(90deg,#02101cb8 0%,#02101c70 35%,transparent 70%),linear-gradient(0deg,#00101c30,transparent 30%)}
.header .nav-desktop a{font-family:var(--si-latin-font);font-size:11px;font-weight:600;letter-spacing:.06em}
.header .nav-desktop a small{font:500 10px/1.6 var(--si-body-font);letter-spacing:0}
/* A contained editorial photo beside real text: no background portrait or circular sizing. */
body.reference-home .reference-about{display:block;position:relative;height:auto;min-height:0;max-height:none;grid-template-columns:none;padding-block:88px;background:#06172b;color:#fff;overflow:visible}
body.reference-home .reference-about>.about-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);align-items:center;gap:clamp(40px,5.5vw,80px);width:min(1200px,calc(100% - var(--si-page-gutter)*2));height:auto;margin-inline:auto}
body.reference-home .reference-about .about-photo{position:static;margin:0;min-width:0;width:100%;height:auto;overflow:hidden;background:#132d44;aspect-ratio:1.5}
body.reference-home .reference-about .about-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;filter:none;transform:none;transition:none}
body.reference-home .reference-about .vision-content{display:block;position:static;width:100%;max-width:none;height:auto;margin:0;padding:0;background:none;min-width:0}
body.reference-home .reference-about .section-label{color:#b6cadc;margin-bottom:24px}
body.reference-home .reference-about h2{color:#fff;font:500 clamp(28px,2.65vw,40px)/1.65 var(--si-heading-font);letter-spacing:.01em;margin:0 0 28px}
body.reference-home .reference-about .vision-content>p:not(.section-label){font:400 16px/2 var(--si-body-font);color:#e2ebf3;margin:0 0 16px;max-width:38em}
body.reference-home .reference-about .reference-text-link{color:#fff;margin-top:12px}
body.reference-home .step h3{font-family:var(--si-heading-font);font-size:18px;font-weight:500}
body.reference-home .step p{font-size:15px;color:#334a5f}
body.reference-home .reference-contact h2{font-family:var(--si-heading-font);font-weight:500;font-size:clamp(28px,2.7vw,42px);line-height:1.65}
body.reference-home .news-home h2{font:500 32px/1.6 var(--si-heading-font)}
body.reference-home .news-row{font-size:14px}
body.reference-home .news-row strong{font-weight:500}
body.reference-home .news-banner strong{font:500 clamp(23px,2.1vw,30px)/1.65 var(--si-heading-font)}
.index-page-main>h1{font-family:var(--si-heading-font);font-weight:500;line-height:1.6}
.index-page-main .price-option h2,.pricing-notes h2,.process-index h2{font-family:var(--si-heading-font);font-weight:700}
.index-page-main .price-option>p:not(.eyebrow):not(.price-number),.pricing-notes p,.index-page-lead,.process-index p,.faq-index details p{font-size:16px;line-height:2;color:#334a5f}
.detail-page .detail-hero{align-items:center;grid-template-columns:1.1fr minmax(0,1fr)}
.detail-page .detail-hero h1{font:500 clamp(30px,3vw,48px)/1.7 var(--si-heading-font);letter-spacing:.01em}
.detail-page .detail-hero-photo{height:auto;min-width:0;align-self:center;overflow:hidden}
.detail-page .detail-hero-photo img{width:100%;height:auto;aspect-ratio:1.5;object-fit:cover;transform:none;animation:none}
.detail-page .detail-lead,.detail-page .detail-topic>p,.detail-page .detail-topic li,.detail-page .detail-topic.faq p{font-size:16px;line-height:2;color:#334a5f}
.detail-page .detail-topic h2{font-weight:500;line-height:1.7;letter-spacing:.01em}
.detail-page .detail-consult h2,.detail-page .related-pages h2{font-family:var(--si-heading-font);font-weight:500}
.contact-page .contact-intro h1{font-family:var(--si-heading-font);font-weight:500;line-height:1.6}
.contact-page .contact-intro>p{font-size:16px}
@media(max-width:1100px){
 body.reference-home .reference-about>.about-layout{gap:40px;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
 body.reference-home .reference-about h2{font-size:28px}
 .detail-page .detail-hero h1{font-size:32px}
}
@media(max-width:960px){
 body.reference-home .reference-about>.about-layout{grid-template-columns:1fr;gap:40px}
 body.reference-home .reference-about .vision-content{order:0}
 body.reference-home .reference-about .about-photo{order:1;width:min(100%,640px);justify-self:start;max-height:360px}
 body.reference-home .reference-about h2{font-size:36px}
 .detail-page .detail-hero{grid-template-columns:1fr}
 .detail-page .detail-hero-photo{width:min(100%,800px);justify-self:center}
}
@media(max-width:760px){
 body.reference-home .reference-intro h2,body.reference-home #services .reference-intro h2,body.reference-home #solutions .reference-intro h2,body.reference-home #process .reference-intro h2{font-size:30px;line-height:1.65}
 body.reference-home.si-enhanced .hero-title{font-size:clamp(28px,7.4vw,46px);line-height:1.65;letter-spacing:.005em}
 body.reference-home.si-enhanced .hero-description{font-size:16px;line-height:1.95}
 body.reference-home.si-enhanced .hero{min-height:700px}
 body.reference-home .reference-about{padding-block:64px}
 body.reference-home .reference-about h2{font-size:clamp(24px,7.2vw,34px);line-height:1.75}
 body.reference-home .reference-about .about-photo{max-height:260px}
 body.reference-home .reference-about .text-unit{white-space:normal;display:inline}
 body.reference-home .service-content h3,body.reference-home .solution-detail h3{font-size:24px}
 body.reference-home .reference-contact h2{font-size:28px}
 .detail-page .detail-hero h1{font-size:30px;line-height:1.75}
 .detail-page .detail-hero-photo{height:auto}
}
@media(prefers-reduced-motion:reduce){body.reference-home .service-photo img,body.reference-home .solution-img img{animation:none!important;transition:none!important}}
body.reference-home .hero-photo{background-image:url('photos/hero-1870.webp')}
.detail-page .detail-hero{width:min(1400px,calc(100% - var(--si-page-gutter)*2));margin-inline:auto;gap:64px}
.detail-page .detail-hero-copy{padding:48px 0 64px}
@media(max-width:960px){.detail-page .detail-hero{gap:24px}.detail-page .detail-hero-copy{padding:40px 0 16px}}
@media(max-width:760px){body.reference-home.si-enhanced .hero-title{font-size:clamp(32px,8.8vw,48px)}.detail-page .detail-hero h1{font-size:clamp(24px,6.5vw,30px)}}

/* A warm, precise voice: rounded titles, calm copy, humanist English. */
.reference-logo>span,.hero-signature>span,.footer-brand,.detail-page .logo{font-family:var(--si-latin-font);font-weight:700;letter-spacing:-.045em}
.reference-logo>small,.hero-signature>small,.footer-tagline{font-family:var(--si-latin-font);font-weight:500;letter-spacing:.16em}
.section-label,.eyebrow,.service-index,.price-number,.step-num{font-family:var(--si-latin-font)}
.price-number{font-weight:600;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
button,input,select,textarea{font-family:var(--si-body-font)}
.floating-consult,.reference-outline,.detail-primary,.detail-header-cta,.submit-button,.hero-consult-actions a{border-radius:10px;font-family:var(--si-body-font);font-weight:500}
body.reference-home .about-photo,body.reference-home .service-photo,.detail-page .detail-hero-photo{border-radius:12px}

/* Cover legacy page-specific type rules without changing the demo brands. */
body :is(h1,h2,h3,h4){font-family:var(--si-heading-font);font-weight:500}
body.reference-home #security .reference-grid>div:last-child>p,body.reference-home .step p,body.reference-home .reference-contact p:not(.section-label),.news-row,.news-article>p,.works-heading>p,.works-disclosure,.work-description>p,.work-description dl,.work-pending p,.portfolio-disclosure,.portfolio-lead,.portfolio-copy dl,.work-sections a,.footer-contact,.corporate-credit,.price-number span{font-family:var(--si-body-font)}
body.reference-home #security h3{font-family:var(--si-heading-font)}
.header .logo,.works-kicker,.work-category,.work-kind,.portfolio-section-count,.portfolio-section-count small,.reference-home .step h3 span,.reference-home .hero-bottom a{font-family:var(--si-latin-font)}
.header .logo{font-weight:700;letter-spacing:-.045em}

/* Current location is distinct from hover; Japanese labels remain readable. */
.header .nav-desktop a{gap:4px;font-size:11px}
.header .nav-desktop a small{font-size:12px;font-weight:700;line-height:1.5}
.header .nav-desktop a:not([aria-current]):not(:hover):after{transform:scaleX(0)}
.header .nav-desktop a[aria-current]:after{transform:scaleX(1);width:100%;height:2px}
.header>.mobile-nav{top:100%;max-height:calc(100dvh - 124px);overflow-y:auto;overscroll-behavior:contain}
.header .mobile-nav a{font-size:15px;line-height:1.8;font-weight:500;min-height:48px;letter-spacing:.03em}
.header .mobile-nav a[aria-current]{font-weight:700;text-decoration:underline;text-underline-offset:6px}
@media print{.portfolio-spec:not([open])>dl{display:block}}

body:has(.menu-button[aria-expanded="true"]) .consultation-dock{visibility:hidden}

/* Each service/solution card has one destination, including its photograph. */
.reference-home .service-card,.reference-home .solution-row{position:relative}
.reference-home .service-card .card-detail-link:after,.reference-home .solution-row .row-detail-link:after{content:'';position:absolute;inset:0;z-index:2}
.reference-home .service-card:focus-within,.reference-home .solution-row:focus-within{outline:3px solid #365c7a;outline-offset:8px}
.reference-home .service-card .card-detail-link:focus-visible,.reference-home .solution-row .row-detail-link:focus-visible{outline:none}
