/* Shared reading scale. Keep source and theme asset in sync via the exporter.
   Illustration/brand artwork typography is intentionally not resized. */
:root{--fd-body:17px;--fd-note:14px;--fd-ui:15px;--fd-heading:32px;--fd-page-title:40px;--fd-reading-line:1.9;--max:1120px;--fd-reading-width:720px}
:root body{font-size:var(--fd-body);line-height:var(--fd-reading-line)}
/* Body copy: do not shrink it to fit a narrow column. */
:root body :is(.hero-description,.service-body p,.small-service p,.service-detail p:not(.sample-note),.page-intro p,.detail-story p,.detail-summary p,.entry-content,.work-entry-content,.policy-content,.contact p,.company-data>div,.profile-table dd,.fd-form-unavailable,.form-unavailable){font-size:var(--fd-body);line-height:var(--fd-reading-line)}
:root body :is(.hero-description,.service-body p,.small-service p,.service-detail p:not(.sample-note),.detail-story p,.detail-summary p){color:#40566e}
:root body .about p{font-size:20px;line-height:1.9}
/* Secondary information remains comfortably readable. */
:root body :is(.eyebrow,.section-index,.hero-kicker,.hero-side-note,.scroll-cue,.service-number,.service-english,.small-service>div>span,.sample-note,.sample-badge,.work-meta,.breadcrumb,.detail-facts dt,.detail-gallery figcaption,.profile-table dt,.profile-address-note,.inquiry-required-note,.required-tag,.optional-tag,.field-note,.preview-form-note,.form-result,.inquiry-purpose,.footer-label,.footer-bottom,.site-footer small,.footer-company address span,.post-list time,.fd-form-admin-note,.wpcf7-not-valid-tip,.wpcf7-response-output,.business-partners h2,.partner-brand span,.fd-client__caption,.flow-label,.contact-flow li span){font-size:var(--fd-note);line-height:1.7}
:root body :is(.eyebrow,.service-english,.section-index,.hero-kicker,.hero-side-note,.scroll-cue,.footer-label){letter-spacing:.1em}
:root body :is(.eyebrow,.service-english,.section-index,.hero-kicker,.footer-label,.work-meta){color:#506b82}
/* Controls and navigation share the same scale across every page. */
:root body :is(.desktop-nav,.mobile-nav,.button,.text-link,.site-footer nav,.site-footer nav button,.filter-bar a,.filter-bar button,.pagination .page-numbers){font-size:var(--fd-ui);line-height:1.6}
:root body :is(.button,.text-link,.filter-bar a,.filter-bar button){min-height:44px}
:root body .desktop-nav{gap:26px}
:root body .site-header{gap:28px}
:root body .header-contact{min-width:196px}
:root body .breadcrumb{line-height:1.7;gap:12px}
:root body .section-head{gap:24px;flex-wrap:wrap}
:root body .section-head h2{font-size:var(--fd-heading);line-height:1.5}
:root body .page-intro h1{font-size:var(--fd-page-title);line-height:1.5}
:root body .page-intro .policy-title{font-size:var(--fd-page-title);overflow-wrap:anywhere}
:root body .page-intro p{max-width:42em}
:root body :is(.service-detail h2,.detail-story h2,.entry-content h2,.policy-content h2){font-size:28px;line-height:1.6}
:root body :is(.service-body h3,.entry-content h3){font-size:24px;line-height:1.6}
:root body :is(.small-service h3,.work-card h3,.post-list h2){font-size:20px;line-height:1.7;white-space:normal}
:root body :is(.small-service,.service-detail>div,.work-card,.footer-main>*,.inquiry-row>*){min-width:0}
:root body .small-service>div:nth-child(2){align-items:baseline}
:root body .small-service>div:nth-child(2)>svg{align-self:center}
:root body .small-service p{margin-left:0;margin-top:12px}
:root body .service-body p{padding-top:18px}
:root body .service-detail{gap:clamp(32px,5vw,70px);padding-block:60px}
:root body .service-detail .sample-note{font-size:var(--fd-note);line-height:1.8}
:root body .service-detail .text-link{gap:16px;line-height:1.7;max-width:100%}
:root body .detail-facts{font-size:var(--fd-body);line-height:1.9}
:root body :is(.entry-content,.policy-content){max-width:var(--fd-reading-width)}
:root body .contact h2{font-size:var(--fd-heading);line-height:1.65}
:root body .contact-inner{grid-template-columns:minmax(0,1.2fr) minmax(250px,1fr);gap:40px}
:root body .footer-company address{font-size:var(--fd-note);line-height:1.9}
:root body .footer-main{grid-template-columns:1.3fr .7fr 1fr;gap:5%}
:root body .footer-bottom{flex-wrap:wrap;row-gap:12px}
/* Forms keep readable labels, native input sizes and room for validation. */
:root body .inquiry-label{font-size:var(--fd-body);gap:12px;flex-wrap:wrap}
:root body .inquiry-control{font-size:16px;line-height:1.8;min-height:52px}
:root body .inquiry-control::placeholder{font-size:16px}
:root body .inquiry-privacy{font-size:16px;line-height:1.9}
:root body .inquiry-privacy label{align-items:flex-start}
:root body .inquiry-privacy input[type=checkbox]{width:20px;height:20px;flex:none;margin-top:5px}
:root body :is(.form-result,.wpcf7-not-valid-tip,.wpcf7-response-output){line-height:1.9}
/* Company copy overrides older per-section small type without redesigning it. */
:root body .fd-company-page .fdc-copy p{font-size:var(--fd-body);line-height:var(--fd-reading-line)}
:root body .fd-company-page :is(.fdc-label,.fdc-purpose-label,.fdc-mark-board figcaption,.fdc-signature span,.profile-table dt,.profile-address-note){font-size:var(--fd-note);line-height:1.8}
:root body .fd-company-page .fdc-jump a{font-size:var(--fd-ui);line-height:1.7;min-height:52px}
:root body .fd-company-page .fdc-section-title{font-size:var(--fd-heading);line-height:1.6}
:root body .fd-company-page .fdc-purpose h2{font-size:42px;line-height:1.65}
:root body .fd-company-page .fdc-message-copy h3{font-size:32px;line-height:1.65}
:root body .fd-company-page .fdc-origin-copy{padding:44px 40px}
:root body .fd-company-page .fdc-origin-copy .fdc-section-title{font-size:28px}
:root body .fd-company-page .fdc-message-grid{align-items:center}
:root body .fd-company-page .fdc-details .profile-table>div{grid-template-columns:82px minmax(0,1fr);gap:20px}
:root body .fd-company-page .fdc-details .profile-table dd{font-size:var(--fd-body);line-height:1.9}
@media(max-width:1100px){
 :root body .desktop-nav{gap:18px}
 :root body .site-header{gap:20px}
 :root body .secondary-services{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
 :root body .hero-description{max-width:27em}
 :root body .fd-company-page .fdc-purpose-grid{grid-template-columns:1fr;gap:28px}
 :root body .fd-company-page .fdc-purpose h2 span{display:inline}
 :root body .fd-company-page .fdc-purpose .fdc-copy{max-width:40em}
}
@media(min-width:601px) and (max-width:900px){
 :root body .hero,:root body.concept-b .hero{min-height:760px}
 :root body .service-detail{grid-template-columns:1fr;gap:28px}
 :root body .service-detail>div:first-child{max-width:42em}
 :root body .contact-inner{grid-template-columns:1fr;width:calc(100% - var(--gutter)*2);padding-block:100px 68px;gap:26px}
 :root body .contact-button{justify-self:start;margin-top:0}
 :root body .fd-company-page .fdc-origin,:root body .fd-company-page .fdc-message-grid,:root body .fd-company-page .fdc-details-grid{grid-template-columns:1fr}
 :root body .fd-company-page .fdc-mark-board{min-height:280px;border-right:0;border-bottom:1px solid var(--line)}
 :root body .fd-company-page .fdc-portrait{max-width:480px;margin-inline:auto}
 :root body .fd-company-page .fdc-message-copy{padding-left:0}
}
@media(max-width:700px){
 :root body .fd-company-page .fdc-purpose h2{font-size:32px}
 :root body .fd-company-page .fdc-purpose h2 span{display:block}
 :root body .fd-company-page .fdc-origin-copy{padding:28px 24px 32px}
 :root body .fd-company-page .fdc-origin-copy .fdc-section-title{font-size:24px;text-wrap:balance}
 :root body .fd-company-page .fdc-message-copy h3{font-size:28px}
 :root body .fd-company-page .fdc-details .profile-table>div{grid-template-columns:1fr;gap:8px}
 :root body .fd-company-page .fdc-jump a{padding-inline:10px;font-size:14px;gap:8px}
}
@media(max-width:600px){
 :root{--fd-body:16px;--fd-heading:28px;--fd-page-title:32px}
 :root body .site-header{gap:12px}
 :root body .header-contact{min-width:0;min-height:40px;width:40px;height:40px;flex:none}
 :root body .menu-toggle{min-width:36px;height:44px;flex:none}
 :root body .site-header .brand{width:clamp(145px,44vw,185px)}
 :root body .mobile-nav a{padding-block:8px}
 :root body .hero,:root body.concept-b .hero{height:auto;min-height:0;display:flex;flex-direction:column;padding-top:28px}
 :root body .hero-copy,:root body.concept-b .hero-copy{position:relative;top:auto;left:auto;width:calc(100% - 48px);margin-inline:auto;padding-bottom:28px;order:1}
 :root body .hero-kicker{font-size:14px;letter-spacing:.08em;margin-bottom:24px}
 :root body .hero-description{max-width:none;margin-top:20px}
 :root body .hero-description br{display:none}
 :root body .hero-visual{position:relative;inset:auto;width:100%;height:394px;flex:none;order:2}
 :root body .hero-japanese,:root body.concept-b .hero-japanese{font-size:24px;line-height:1.65}
 :root body .about p{font-size:18px;line-height:1.9}
 :root body .about h2{font-size:16px}
 :root body .about .text-link{font-size:var(--fd-ui)}
 :root body .section-head{align-items:flex-start;gap:16px}
 :root body :is(.service-detail h2,.detail-story h2,.entry-content h2,.policy-content h2){font-size:25px}
 :root body .service-detail{padding-block:40px;gap:24px}
 :root body .service-body h3{font-size:24px}
 :root body .secondary-services{gap:28px 20px}
 :root body :is(.small-service h3,.work-card h3){font-size:18px}
 :root body .small-service>div:nth-child(2){flex-wrap:wrap;gap:8px}
 :root body .small-service>div:nth-child(2)>span{display:none}
 :root body .small-service h3{flex:1;min-width:0}
 :root body .contact-inner{width:calc(100% - 48px);padding-block:76px 48px}
 :root body .contact-copy{padding-left:0}
 :root body .contact-button{width:100%;min-width:0;margin-top:26px}
 :root body .footer-main{grid-template-columns:1fr;gap:32px}
 :root body .footer-company{grid-column:auto}
 :root body .site-footer nav{gap:12px}
 :root body .footer-bottom{align-items:flex-start;flex-direction:column;gap:10px}
 :root body .inquiry-label{font-size:16px}
 :root body .inquiry-row{padding-block:25px}
 :root body .fd-company-page .fdc-purpose{padding-inline:24px}
 :root body .fd-company-page .fdc-purpose-sign{font-size:16px;flex-wrap:wrap;gap:12px}
}
@media(max-width:380px){
 :root body .secondary-services{grid-template-columns:1fr}
 :root body .fd-company-page .fdc-purpose h2{font-size:28px}
 :root body .fd-company-page .fdc-origin-copy .fdc-section-title{font-size:24px}
 :root body .fd-company-page .fdc-jump{grid-template-columns:1fr}
 :root body .fd-company-page .fdc-jump a+a{border-left:0;border-top:1px solid var(--line)}
}
/* Give long service names a full line instead of squeezing them beside an arrow. */
:root body .about p{text-wrap:balance}
:root body.concept-b .service-body h3,:root body.concept-b .service-body p{grid-column:2/4}
:root body.concept-b .service-body .round-arrow{grid-row:1;justify-self:end;margin-top:0}
@media(max-width:600px){:root body.concept-b .service-body h3 br{display:initial}}
@media(min-width:601px) and (max-width:1100px){
 :root body .hero-description{max-width:14em}
 :root body .hero-description br{display:none}
}

/* Article titles need a separate scale for long client/project names. */
:root body .page-intro .detail-title{font-size:clamp(26px,2.8vw,36px);line-height:1.6;text-wrap:balance}

/* Reading hierarchy: explicit component selectors also beat the older B rules. */
:root body .page-intro h1{font-weight:700;letter-spacing:.04em}
:root body :is(.section-head h2,.service-detail h2,.detail-story h2,.entry-content h2,.entry-content h3,.policy-content h2,.contact h2){font-weight:700;letter-spacing:.035em}
:root body :is(.service-body h3,.small-service h3,.work-card h3,.post-list h2){font-weight:700;letter-spacing:.015em}
:root body.concept-b .works-section .work-card h3{font-size:20px;font-weight:700;line-height:1.7}
:root body .about h2{font-size:18px;font-weight:700;color:var(--ink)}
:root body :is(.button,.text-link,.desktop-nav,.mobile-nav,.inquiry-label){font-weight:600}
:root body :is(.entry-content,.policy-content,.detail-story) :is(strong,b){font-weight:700}
:root body :is(.detail-facts dt,.profile-table dt){font-size:15px;font-weight:600;color:var(--ink)}
:root body .fd-company-page :is(.fdc-section-title,.fdc-purpose h2,.fdc-message-copy h3,.company-story-heading h2,.company-story-points h3){font-weight:700;letter-spacing:.035em}
:root body .fd-company-page .fdc-signature strong{font-weight:700}
:root body .fd-company-page .fdc-jump a{font-weight:600}
:root body .fd-company-page .fdc-details .profile-table dt{font-size:15px;font-weight:600}
:root body .fd-clients__head h2{font-weight:600}
/* Match reading columns while allowing photos and waves to remain full bleed. */
:root body .site-header{width:100%;max-width:none;padding-inline:var(--gutter)}
:root body .hero{width:100%;max-width:none}
:root body :is(.detail-story,.detail-summary p,.fdc-copy){max-width:42em}
:root body .detail-content{grid-template-columns:minmax(220px,1fr) minmax(0,2fr);gap:48px}
:root body .contact-inner{max-width:960px;width:calc(100% - var(--gutter)*2)}
:root body .contact-copy{padding-left:0}
:root body .inquiry-container{max-width:880px}
:root body .fd-company-page .fdc-details-grid{grid-template-columns:minmax(200px,.65fr) minmax(0,1.35fr);gap:48px}
:root body .fd-company-page .company-story-heading p{max-width:42em;margin-inline:auto}
@media(min-width:1101px){
 :root body .hero-copy{left:var(--gutter)}
 :root body .scroll-cue{left:var(--gutter)}
 :root body .hero-description{max-width:24em}
 :root body .fd-company-page .fdc-purpose-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:48px}
}
@media(max-width:900px){
 :root body .detail-content,:root body .fd-company-page .fdc-details-grid{grid-template-columns:1fr;gap:28px}
 :root body .footer-main{grid-template-columns:1fr 1fr;gap:32px}
 :root body .footer-company{grid-column:1/-1}
}
@media(max-width:600px){
 :root body .about h2{font-size:16px}
 :root body.concept-b .works-section .work-card h3{font-size:18px}
 :root body .footer-main{grid-template-columns:1fr}
 :root body .footer-company{grid-column:auto}
}

/* CMS attribution and captions must not inherit the browser small (83%) scale. */
:root body .entry-content :is(small,figcaption,.wp-element-caption){font-size:var(--fd-note);line-height:1.8}

/* Page headings align with the narrower reading/form column below them. */
:root body main:has(.inquiry-section)>.page-intro{max-width:880px}
:root body .page-intro:has(.policy-title){max-width:var(--fd-reading-width)}

/* Home: centered About message and the approved larger section typography. */
:root body.concept-b .about{padding-block:56px 96px;text-align:center}
:root body.concept-b .about-content{width:100%;max-width:900px;margin-inline:auto}
:root body.concept-b .about .about-label{margin:0 0 22px;font-size:14px;font-weight:700;line-height:1.6;letter-spacing:.12em;color:var(--ink)}
:root body.concept-b .about h2{display:block;margin:0;font-size:44px;line-height:1.65;letter-spacing:.035em;font-weight:700}
:root body.concept-b .about h2::before{content:none}
:root body.concept-b .about .about-description{margin:24px auto 0;font-size:17px;line-height:1.9;max-width:32em}
:root body.concept-b .about .text-link{display:inline-flex;justify-content:center;margin-top:24px}
:root body.concept-b :is(.services,.works-section,.fd-editorial-section) .section-head .eyebrow{display:block;margin-bottom:10px;font-size:clamp(62px,7.1vw,90px);font-weight:700;line-height:1.06;letter-spacing:-.045em;color:var(--ink)}
:root body.concept-b :is(.services,.works-section,.fd-editorial-section) .section-head h2{font-size:20px;line-height:1.6}
:root body.concept-b .contact .eyebrow{font-size:68px;font-weight:700;line-height:1.06;letter-spacing:-.045em;color:var(--ink)}
@media(max-width:600px){
 :root body.concept-b .about{padding-block:40px 64px}
 :root body.concept-b .about .about-label{margin-bottom:18px}
 :root body.concept-b .about h2{font-size:clamp(24px,7vw,28px);line-height:1.7;letter-spacing:.015em}
 :root body.concept-b .about .about-description{margin-top:20px;font-size:16px;max-width:22em}
 :root body.concept-b :is(.services,.works-section,.fd-editorial-section) .section-head .eyebrow{font-size:60px}
 :root body.concept-b :is(.services,.works-section,.fd-editorial-section) .section-head h2{font-size:18px}
 :root body.concept-b .contact .eyebrow{font-size:54px}
}

/* Home sections follow the header gutter; long copy keeps its reading width. */
:root body.concept-b :is(.about.wrap,.services.wrap,.works-section>.wrap,.fd-clients__head.wrap){max-width:none}
/* Keep the vertical scroll cue in the left gutter, clear of the hero copy. */
:root body.concept-b .hero .scroll-cue{left:calc(var(--gutter)/2 - 12px);bottom:28px;width:24px;flex-direction:column;gap:12px;line-height:1}
:root body.concept-b .hero .scroll-cue>span:first-child{writing-mode:vertical-rl}
:root body.concept-b .hero .scroll-line{width:1px;height:56px}
:root body.concept-b .hero .scroll-line::after{top:0;left:0;width:1px;height:15px}
:root.fd-motion-enabled body.concept-b .hero .scroll-line::after{animation-name:fd-scroll-down}
@keyframes fd-scroll-down{
 0%,12%{transform:translate3d(0,-16px,0)}
 65%,100%{transform:translate3d(0,57px,0)}
}

/* Home wave rule: a wave marks every change of background colour; neighbours
   that share a colour have no divider. White → tint (Works) → white → tint (Blog) → photo. */
:root body.concept-b .home-flow-art{display:none}
:root body.concept-b .works-section{padding-bottom:164px}
:root body.concept-b .works-wave--end{top:auto;bottom:-1px;fill:#fff}
:root body.concept-b .fd-blog-section{position:relative;isolation:isolate;padding-top:196px}
:root body.concept-b .works-wave--start{top:-1px;fill:#fff;transform-origin:50% 50%;scale:1 -1}
:root body.concept-b .contact-wave{fill:#f0f6fa}
@supports not (d:path("M0 0H1V1Z")){:root body.concept-b .works-wave--start{animation:none}}
@media(max-width:600px){
 :root body.concept-b .works-section{padding-bottom:118px}
 :root body.concept-b .fd-blog-section{padding-top:128px}
}
