:root {
  --font-family-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --font-family-heading: var(--font-family-base);
  --text-primary: #152638;
  --text-secondary: #405266;
  --text-muted: #647487;
  --brand-orange: #e57615;
  --brand-orange-dark: #bd5607;
  --brand-navy: #10263a;
  --brand-blue: #315675;
  --surface: #fff;
  --surface-soft: #f3f6f7;
  --surface-dark: #112638;
  --border: #dce4e8;
  --container-wide: 1160px;
  --container-content: 800px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 72px;
  --space-2xl: 104px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --shadow-subtle: 0 16px 40px rgb(18 44 63 / 8%);
  --transition: 180ms ease;
}

html { scroll-behavior: smooth; }
body.sb-corp { margin: 0; background: var(--surface); color: var(--text-primary); font: 400 16px/1.82 var(--font-family-base); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
.sb-corp *, .sb-corp *::before, .sb-corp *::after { box-sizing: border-box; }
.sb-corp img { max-width: 100%; }
.sb-corp a { color: inherit; text-decoration: none; transition: color var(--transition), border-color var(--transition), background-color var(--transition), transform var(--transition); }
.sb-corp a:hover { color: var(--brand-orange-dark); }
.sb-corp a:focus-visible, .sb-corp button:focus-visible, .sb-corp input:focus-visible, .sb-corp textarea:focus-visible { outline: 3px solid #ec9b4b; outline-offset: 3px; }
.sb-corp p { margin: 0 0 1.4em; line-height: 1.82; color: var(--text-secondary); }
.sb-corp h1, .sb-corp h2, .sb-corp h3 { font-family: var(--font-family-heading); color: var(--text-primary); letter-spacing: -.035em; }
.sb-corp h1 { margin: 0; font-size: clamp(38px, 3.4vw, 46px); font-weight: 700; line-height: 1.37; }
.sb-corp h2 { margin: 0; font-size: clamp(27px, 2.5vw, 32px); font-weight: 700; line-height: 1.42; }
.sb-corp h3 { margin: 0; font-size: 21px; font-weight: 600; line-height: 1.5; }
.sb-wrap { width: min(var(--container-wide), calc(100% - 64px)); margin-inline: auto; }
.sb-section { padding-block: var(--space-2xl); }
.sb-soft-section { background: var(--surface-soft); }
.sb-eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 20px !important; color: var(--brand-orange-dark) !important; font: 700 12px/1.4 var(--font-family-base) !important; letter-spacing: .13em; }
.sb-orange-line { width: 24px; height: 2px; background: var(--brand-orange); }
.sb-lead { color: var(--text-primary) !important; font-size: 19px; font-weight: 600; line-height: 1.78; }
.sb-section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 420px); gap: 64px; align-items: end; margin-bottom: 38px; }
.sb-section-head p:last-child { margin-bottom: 0; }
.sb-index { color: var(--brand-orange-dark); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.sb-text-link { display: inline-flex; gap: 18px; align-items: center; padding-bottom: 5px; border-bottom: 1px solid var(--brand-orange); color: var(--text-primary) !important; font-weight: 700; }
.sb-text-link:hover { color: var(--brand-orange-dark) !important; }
.sb-text-link span { color: var(--brand-orange); }
.sb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 52px; padding: 13px 22px; border: 1px solid transparent; border-radius: var(--radius-sm); font: 700 14px/1.5 var(--font-family-base); white-space: normal; cursor: pointer; }
.sb-btn span { font-size: 18px; font-weight: 400; }
.sb-btn-primary { background: var(--brand-orange); color: #151d24 !important; }
.sb-btn-primary:hover { background: #f19a44; color: #151d24 !important; transform: translateY(-1px); }
.sb-btn-secondary { border-color: #a7b7c4; background: transparent; color: var(--text-primary) !important; }
.sb-btn-secondary:hover { border-color: var(--brand-orange); color: var(--brand-orange-dark) !important; }
.sb-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* A single site shell replaces the theme topbar, slider, blog wrapper and widget footer. */
.sb-skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 14px; background: #fff; color: var(--text-primary); }
.sb-skip:focus { top: 10px; }
.sb-header { position: relative; z-index: 30; background: #fff; border-bottom: 1px solid var(--border); }
.sb-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 104px; gap: 28px; }
.sb-brand { display: inline-flex; flex: 0 0 auto; align-items: center; width: 145px; }
.sb-brand-image { display: block; width: 145px; height: auto; }
.sb-brand-text { color: var(--brand-orange); font-size: 24px; font-weight: 700; }
.sb-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); }
.sb-nav a { position: relative; padding-block: 9px; color: #263a4c; font-size: 14px; font-weight: 600; white-space: nowrap; }
.sb-nav a[aria-current="page"]::after { position: absolute; right: 0; bottom: 1px; left: 0; height: 2px; background: var(--brand-orange); content: ""; }
.sb-nav a.sb-nav-contact { padding: 12px 18px; border: 1px solid var(--brand-orange); border-radius: var(--radius-sm); color: var(--brand-orange-dark); }
.sb-nav a.sb-nav-contact::after { display: none; }
.sb-nav a.sb-nav-contact:hover, .sb-nav a.sb-nav-contact[aria-current="page"] { background: var(--brand-orange); color: #151d24; }
.sb-menu-toggle { display: none; }

/* Home hero */
.sb-home-hero { background: #f7f9fa; overflow: hidden; }
.sb-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); align-items: center; gap: clamp(36px, 5vw, 78px); min-height: 560px; padding-block: 66px; }
.sb-hero-copy { max-width: 650px; }
.sb-hero-copy h1 { margin-bottom: 26px; }
.sb-hero-lead { max-width: 610px; margin-bottom: 30px !important; font-size: 18px; line-height: 1.85; }
.sb-hero-visual { display: flex; flex-direction: column; justify-content: space-between; min-height: 420px; padding: 28px 32px 25px; border-radius: var(--radius-md); background: var(--surface-dark); color: #fff; box-shadow: var(--shadow-subtle); }
.sb-visual-top, .sb-visual-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #a8b9c7; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.sb-visual-top { justify-content: flex-start; }
.sb-visual-top > span:last-child { margin-left: auto; }
.sb-visual-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-orange); }
.sb-visual-stack { display: grid; gap: 8px; margin-block: 22px; }
.sb-visual-stack > div { display: grid; grid-template-columns: 60px 1fr; gap: 2px 12px; padding: 14px 18px; border: 1px solid #385064; border-radius: var(--radius-sm); }
.sb-visual-stack small { grid-row: span 2; color: #d5a57c; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.sb-visual-stack strong { color: #fff; font-size: 15px; font-weight: 600; line-height: 1.45; }
.sb-visual-stack div span { color: #a6b9c9; font-size: 11px; }
.sb-visual-stack i { width: 1px; height: 12px; margin-left: 30px; background: #6d8496; }
.sb-visual-stack .sb-visual-accent { border-color: var(--brand-orange); background: #1e3545; }
.sb-visual-bottom { border-top: 1px solid #42586a; padding-top: 17px; }
.sb-capability-strip { border-block: 1px solid var(--border); background: #fff; }
.sb-capability-strip .sb-wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sb-capability-strip span { padding: 20px 16px; border-right: 1px solid var(--border); color: var(--text-muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-align: center; }
.sb-capability-strip span:first-child { border-left: 1px solid var(--border); }

/* Home sections */
.sb-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sb-service-grid a { position: relative; display: block; min-height: 215px; padding: 30px 34px 28px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; }
.sb-service-grid a:hover { border-color: var(--brand-orange); box-shadow: var(--shadow-subtle); transform: translateY(-2px); }
.sb-service-grid h3 { margin: 18px 0 9px; }
.sb-service-grid p { max-width: 410px; margin-bottom: 0; font-size: 14px; }
.sb-card-arrow { position: absolute; right: 28px; bottom: 26px; color: var(--brand-orange-dark); font-size: 20px; }
.sb-tech-section { background: var(--brand-navy); color: #fff; }
.sb-tech-layout { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 95px; align-items: start; }
.sb-tech-section h2 { color: #fff; }
.sb-tech-section p { color: #b9c9d4; }
.sb-tech-intro { position: sticky; top: 36px; }
.sb-tech-intro p:not(.sb-eyebrow) { margin: 20px 0 27px; }
.sb-tech-section .sb-text-link { color: #fff !important; }
.sb-tech-list { border-top: 1px solid #41596b; }
.sb-tech-list > div { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 14px; min-height: 80px; border-bottom: 1px solid #41596b; }
.sb-tech-list span { color: #e69a5c; font-size: 12px; font-weight: 700; }
.sb-tech-list strong { font-size: 17px; font-weight: 600; }
.sb-tech-list small { color: #a8bac7; font-size: 12px; }
.sb-tech-list > div { min-width: 0; }
.sb-tech-list strong, .sb-tech-list small { min-width: 0; }
.sb-tech-list small { text-align: right; }
.sb-technology-catalog { background: var(--surface-soft); }
.sb-technology-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 34px; border-top: 1px solid var(--border); }
.sb-technology-grid > section { min-width: 0; padding: 25px 0 28px; border-bottom: 1px solid var(--border); }
.sb-technology-grid h3 { margin: 11px 0 15px; font-size: 18px; }
.sb-tech-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.sb-tech-tags span { padding: 5px 9px; border: 1px solid #d1dce1; border-radius: 3px; background: #fff; color: var(--text-secondary); font-size: 11px; line-height: 1.5; }
.sb-technology-note { margin: 20px 0 0 !important; color: var(--text-muted) !important; font-size: 12px; }
.sb-feature-project { display: grid; grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.sb-feature-visual { display: flex; flex-direction: column; justify-content: space-between; min-height: 355px; padding: 32px; background: #18334a; color: #fff; }
.sb-feature-visual > span { color: #becbd5; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.sb-feature-visual strong { font-size: clamp(55px, 7vw, 86px); font-weight: 700; line-height: 1.05; letter-spacing: -.065em; }
.sb-orange-period { color: var(--brand-orange); }
.sb-feature-visual small { color: #a9bece; font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.sb-feature-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 38px 44px; }
.sb-pill { display: inline-block; padding: 4px 9px; border: 1px solid #c7d6dd; border-radius: 4px; color: var(--text-secondary); font-size: 11px; font-weight: 600; }
.sb-feature-copy h3 { margin: 20px 0 14px; font-size: 25px; }
.sb-feature-copy p { margin-bottom: 19px; }
.sb-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 23px; }
.sb-tags em, .sb-project-tech span { display: inline-block; padding: 5px 10px; border-radius: 3px; background: var(--surface-soft); color: var(--text-secondary); font-size: 11px; font-style: normal; }
.sb-feature-copy .sb-text-link { margin-top: auto; }
.sb-approach { background: var(--surface-soft); }
.sb-approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; }
.sb-approach-grid > div:first-child p:last-child { margin-top: 20px; }
.sb-approach-steps { border-top: 1px solid #ced8df; }
.sb-approach-steps > div { display: grid; grid-template-columns: 38px 1fr; gap: 2px 14px; padding: 18px 0; border-bottom: 1px solid #ced8df; }
.sb-approach-steps span { grid-row: span 2; color: var(--brand-orange-dark); font-size: 12px; font-weight: 700; }
.sb-approach-steps strong { font-size: 17px; font-weight: 600; }
.sb-approach-steps p { margin: 3px 0 0; font-size: 13px; }
.sb-company-preview-grid { display: grid; grid-template-columns: 1fr minmax(320px, .7fr); gap: 120px; }
.sb-company-preview-grid p:not(.sb-eyebrow) { margin: 18px 0 24px; }
.sb-company-routes { border-top: 1px solid var(--border); }
.sb-company-routes > span { display: block; margin: 18px 0 4px; color: var(--text-muted); font-size: 12px; font-weight: 700; }
.sb-company-routes a { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 13px; font-weight: 600; }
.sb-company-routes a span { color: var(--brand-orange-dark); }
.sb-home-contact { padding-block: var(--space-2xl); background: var(--surface-soft); }
.sb-home-contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 95px; align-items: start; }
.sb-home-contact-grid > div:first-child p:not(.sb-eyebrow) { margin-top: 23px; }
.sb-contact-note { padding-left: 16px; border-left: 2px solid var(--brand-orange); font-size: 13px; }

/* Shared internal-page layouts */
.sb-page-hero { padding: 70px 0 74px; border-bottom: 1px solid var(--border); background: #f6f8f9; }
.sb-page-hero h1 { margin-bottom: 18px; }
.sb-page-lead { max-width: 730px; margin-bottom: 0 !important; font-size: 18px; line-height: 1.8; }
.sb-about-intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.sb-about-intro > div:last-child { max-width: 650px; }
.sb-about-intro > div:last-child p:last-child { margin-bottom: 0; }
.sb-three-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.sb-three-cols > div { padding-top: 18px; border-top: 2px solid #cfdbe2; }
.sb-three-cols span, .sb-experience-grid article > span { color: var(--brand-orange-dark); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.sb-three-cols h3 { margin: 13px 0 9px; }
.sb-three-cols p { margin-bottom: 0; font-size: 14px; }
.sb-profile-layout { display: grid; grid-template-columns: minmax(210px, .65fr) minmax(0, 1.35fr); gap: 80px; }
.sb-profile-layout > div:first-child p:not(.sb-eyebrow) { margin-top: 15px; }
.sb-profile { margin: 0; border-top: 2px solid var(--brand-navy); }
.sb-profile > div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 20px 5px; border-bottom: 1px solid var(--border); }
.sb-profile dt { color: var(--text-muted); font-size: 13px; font-weight: 600; }
.sb-profile dd { margin: 0; font-size: 15px; }
.sb-profile dd a { text-decoration: underline; text-decoration-color: #9db2c0; text-underline-offset: 3px; }
.sb-service-intro { max-width: var(--container-content); margin-inline: auto; text-align: center; }
.sb-service-intro p:last-child { margin: 18px auto 0; }
.sb-service-detail { border-top: 1px solid var(--border); }
.sb-service-detail:nth-of-type(even) { background: var(--surface-soft); }
.sb-service-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; padding-block: 58px; }
.sb-service-row h2 { margin-top: 15px; }
.sb-service-row p:last-of-type { margin-bottom: 22px; }
.sb-inline-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.sb-inline-list li { padding: 6px 12px; border: 1px solid #cbd8df; border-radius: 3px; color: var(--text-secondary); font-size: 12px; }
.sb-service-ai { background: var(--brand-navy); }
.sb-ai-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 95px; }
.sb-service-ai h2 { color: #fff; }
.sb-service-ai p { color: #bccbd5; }
.sb-ai-layout > div:first-child > p:not(.sb-eyebrow) { margin: 20px 0 27px; }
.sb-ai-points { border-top: 1px solid #425b6d; }
.sb-ai-points > div { padding: 18px 0; border-bottom: 1px solid #425b6d; }
.sb-ai-points span { display: inline-block; width: 38px; color: #e99b5c; font-size: 12px; font-weight: 700; }
.sb-ai-points strong { color: #fff; font-size: 17px; font-weight: 600; }
.sb-ai-points p { margin: 6px 0 0 38px; font-size: 13px; }
.sb-conversion { padding: 72px 0; border-top: 1px solid var(--border); }
.sb-conversion-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.sb-conversion-inner p:last-child { margin: 13px 0 0; }
.sb-project-feature-top { display: flex; align-items: start; justify-content: space-between; gap: 35px; }
.sb-project-feature-top > div { max-width: 780px; }
.sb-project-feature-top h2 { margin-bottom: 16px; }
.sb-project-feature-top p:last-child { margin-bottom: 0; }
.sb-anonymous { flex: 0 0 auto; padding: 6px 10px; border: 1px solid #b9c9d3; border-radius: 3px; color: var(--text-secondary); font-size: 12px; }
.sb-project-flow { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 42px 0 34px; padding: 24px 25px; background: var(--brand-navy); color: #fff; }
.sb-project-flow span { font-size: 14px; font-weight: 600; text-align: center; }
.sb-project-flow i { color: #e7934e; font-style: normal; }
.sb-project-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sb-project-facts > div { padding-top: 17px; border-top: 2px solid #cbd8df; }
.sb-project-facts span { color: var(--brand-orange-dark); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.sb-project-facts h3 { margin: 10px 0 7px; }
.sb-project-facts p { margin: 0; font-size: 14px; }
.sb-project-tech { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 33px; }
.sb-project-tech strong { margin-right: 11px; font-size: 13px; }
.sb-project-tech span { max-width: 100%; overflow-wrap: anywhere; }
.sb-project-note { margin: 18px 0 0 !important; color: var(--text-muted) !important; font-size: 12px; }
.sb-experience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sb-experience-grid article { padding: 25px; border: 1px solid var(--border); background: #fff; }
.sb-experience-grid h3 { margin: 14px 0 8px; }
.sb-experience-grid p { margin: 0; font-size: 14px; }

/* Shared inquiry interface */
.sb-contact-page { background: var(--surface-soft); }
.sb-contact-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 85px; align-items: start; }
.sb-contact-layout > div:first-child > p:not(.sb-eyebrow) { margin-top: 20px; }
.sb-contact-topics { margin-top: 42px; padding-top: 22px; border-top: 1px solid #c9d5dd; }
.sb-contact-topics span { color: var(--text-muted); font-size: 12px; font-weight: 700; }
.sb-contact-topics ul { padding: 0; margin: 12px 0 0; list-style: none; }
.sb-contact-topics li { padding: 8px 0; font-size: 14px; }
.sb-contact-topics li::before { margin-right: 10px; color: var(--brand-orange-dark); content: "—"; }
.sb-form-panel { padding: 38px 42px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow-subtle); }
.sb-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 18px; }
.sb-field { display: flex; flex-direction: column; gap: 8px; }
.sb-field-full { grid-column: 1 / -1; }
.sb-field label { display: flex; align-items: baseline; gap: 9px; color: var(--text-primary); font-size: 13px; font-weight: 700; }
.sb-required, .sb-optional { color: var(--brand-orange-dark); font-size: 11px; font-weight: 600; }
.sb-optional { color: var(--text-muted); }
.sb-field input, .sb-field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #bdcbd3; border-radius: 4px; background: #fbfcfc; color: var(--text-primary); font: 400 15px/1.5 var(--font-family-base); transition: border-color var(--transition), box-shadow var(--transition); }
.sb-field textarea { min-height: 138px; resize: vertical; }
.sb-field input:focus, .sb-field textarea:focus { border-color: var(--brand-orange); background: #fff; box-shadow: 0 0 0 3px rgb(229 118 21 / 14%); outline: none; }
.sb-form-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 25px; }
.sb-form-bottom p { max-width: 270px; margin: 0; color: var(--text-muted); font-size: 11px; }
.sb-form-bottom a { color: var(--text-secondary); text-decoration: underline; text-underline-offset: 2px; }
.sb-form-state { margin: 0 0 20px !important; padding: 12px 15px; border-left: 3px solid; font-size: 13px; }
.sb-form-ok { border-color: #2c8a58; background: #edf8f1; }
.sb-form-error { border-color: #bd4e36; background: #fff4f1; }
.sb-honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.sb-legal .sb-reading { max-width: var(--container-content); margin-inline: auto; }
.sb-reading > p:first-child { color: var(--text-primary); font-size: 17px; }
.sb-reading h2 { margin-top: 48px; margin-bottom: 12px; font-size: 23px; }
.sb-reading a { color: var(--brand-orange-dark); text-decoration: underline; }

/* Footer */
.sb-footer { padding-top: 78px; background: #0e2335; color: #fff; }
.sb-footer-main { display: grid; grid-template-columns: minmax(210px, .9fr) minmax(0, 1.5fr); gap: 100px; padding-bottom: 74px; }
.sb-footer-brand strong { color: #fff; font-size: 25px; font-weight: 700; letter-spacing: -.04em; }
.sb-footer-brand strong span { color: var(--brand-orange); }
.sb-footer-brand p { max-width: 280px; margin: 18px 0; color: #b8c8d4; font-size: 13px; }
.sb-footer-brand > a { padding-bottom: 5px; border-bottom: 1px solid var(--brand-orange); color: #fff; font-size: 13px; font-weight: 700; }
.sb-footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.sb-footer-links h2 { margin: 0 0 20px; color: #fff; font-size: 13px; font-weight: 700; }
.sb-footer-links a { display: block; padding-block: 5px; color: #b8c8d4; font-size: 12px; line-height: 1.65; }
.sb-footer-links a:hover { color: #f1a66a; }
.sb-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0 27px; border-top: 1px solid #365062; color: #9cb0bf; font-size: 11px; }

@media (max-width: 1050px) {
  .sb-wrap { width: min(var(--container-wide), calc(100% - 48px)); }
  .sb-nav { gap: 16px; }
  .sb-nav a { font-size: 12px; }
  .sb-hero-grid { grid-template-columns: 1fr .84fr; gap: 36px; }
  .sb-tech-layout, .sb-ai-layout { gap: 55px; }
  .sb-company-preview-grid, .sb-approach-grid { gap: 65px; }
  .sb-home-contact-grid, .sb-contact-layout { gap: 45px; }
  .sb-technology-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 25px; }
}
@media (max-width: 820px) {
  .sb-header-inner { min-height: 82px; }
  .sb-brand, .sb-brand-image { width: 115px; }
  .sb-menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 9px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; cursor: pointer; }
  .sb-menu-toggle span { display: block; width: 100%; height: 2px; background: var(--brand-navy); }
  .sb-nav { display: none; position: absolute; top: 100%; right: 0; left: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; border-top: 1px solid var(--border); background: #fff; box-shadow: 0 16px 28px rgb(20 40 55 / 10%); }
  .sb-nav.is-open { display: flex; }
  .sb-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
  .sb-nav a.sb-nav-contact { width: fit-content; margin-top: 12px; padding: 11px 18px; border: 1px solid var(--brand-orange); }
  .sb-nav a[aria-current="page"]::after { display: none; }
  .sb-nav a[aria-current="page"]:not(.sb-nav-contact) { color: var(--brand-orange-dark); }
  .sb-hero-grid { grid-template-columns: 1fr; min-height: 0; padding-block: 58px; }
  .sb-hero-copy { max-width: 700px; }
  .sb-hero-visual { max-width: 650px; min-height: 380px; }
  .sb-tech-layout, .sb-about-intro, .sb-profile-layout, .sb-service-row, .sb-ai-layout, .sb-contact-layout, .sb-home-contact-grid { grid-template-columns: 1fr; gap: 35px; }
  .sb-tech-intro { position: static; }
  .sb-section { padding-block: 78px; }
  .sb-company-preview-grid, .sb-approach-grid { gap: 40px; }
  .sb-footer-main { grid-template-columns: 1fr; gap: 50px; }
  .sb-service-row { padding-block: 48px; }
}
@media (max-width: 600px) {
  .sb-wrap { width: min(100% - 36px, 480px); }
  .sb-corp h1 { font-size: clamp(30px, 8vw, 34px); line-height: 1.43; }
  .sb-corp h2 { font-size: clamp(24px, 6.5vw, 27px); }
  .sb-corp h3 { font-size: 20px; }
  .sb-corp p { font-size: 15px; }
  .sb-header-inner { min-height: 76px; }
  .sb-brand, .sb-brand-image { width: 101px; }
  .sb-home-hero .sb-hero-grid { padding-block: 44px 46px; gap: 34px; }
  .sb-hero-copy h1 { margin-bottom: 18px; }
  .sb-hero-lead { font-size: 16px; }
  .sb-actions { flex-direction: column; align-items: stretch; }
  .sb-actions .sb-btn { width: 100%; justify-content: space-between; }
  .sb-hero-visual { min-height: 0; padding: 20px; }
  .sb-visual-stack { margin-block: 24px; }
  .sb-visual-stack > div { padding: 11px; grid-template-columns: 48px 1fr; }
  .sb-visual-stack strong { font-size: 13px; }
  .sb-visual-bottom { font-size: 8px; }
  .sb-capability-strip .sb-wrap { width: 100%; grid-template-columns: repeat(2, 1fr); }
  .sb-capability-strip span { padding: 13px 8px; font-size: 9px; }
  .sb-capability-strip span:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .sb-section { padding-block: 65px; }
  .sb-section-head { display: block; margin-bottom: 27px; }
  .sb-section-head > p { margin-top: 14px; }
  .sb-service-grid, .sb-three-cols, .sb-project-facts, .sb-experience-grid, .sb-approach-grid, .sb-company-preview-grid { grid-template-columns: 1fr; }
  .sb-service-grid { gap: 12px; }
  .sb-service-grid a { min-height: 0; padding: 22px 24px 46px; }
  .sb-service-grid h3 { margin-top: 12px; }
  .sb-card-arrow { right: 22px; bottom: 15px; }
  .sb-tech-layout { gap: 34px; }
  .sb-tech-list > div { grid-template-columns: 30px 1fr; gap: 3px 7px; padding: 13px 0; }
  .sb-tech-list small { grid-column: 2; }
  .sb-tech-list small { text-align: left; }
  .sb-technology-grid { grid-template-columns: 1fr; }
  .sb-technology-grid > section { padding-block: 21px 23px; }
  .sb-technology-grid h3 { font-size: 17px; }
  .sb-tech-tags { gap: 6px; }
  .sb-tech-tags span { font-size: 11px; }
  .sb-feature-project { grid-template-columns: 1fr; }
  .sb-feature-visual { min-height: 210px; padding: 24px; }
  .sb-feature-visual strong { font-size: 52px; }
  .sb-feature-copy { padding: 28px 24px; }
  .sb-feature-copy h3 { font-size: 22px; }
  .sb-page-hero { padding-block: 45px 49px; }
  .sb-page-lead { font-size: 16px; }
  .sb-three-cols { gap: 20px; }
  .sb-profile > div { grid-template-columns: 86px 1fr; gap: 12px; padding: 15px 0; }
  .sb-profile dt, .sb-profile dd { font-size: 13px; }
  .sb-service-row { gap: 18px; padding-block: 38px; }
  .sb-project-feature-top { display: block; }
  .sb-anonymous { display: inline-block; margin-top: 16px; }
  .sb-project-flow { display: grid; grid-template-columns: 1fr; gap: 5px; padding: 18px; margin: 26px 0; }
  .sb-project-flow span { font-size: 13px; }
  .sb-project-flow i { text-align: center; transform: rotate(90deg); }
  .sb-project-facts { gap: 20px; }
  .sb-conversion-inner { display: block; }
  .sb-conversion-inner .sb-btn { margin-top: 24px; }
  .sb-form-panel { padding: 25px 20px; }
  .sb-form-grid { grid-template-columns: 1fr; gap: 17px; }
  .sb-field-full { grid-column: auto; }
  .sb-form-bottom { align-items: stretch; flex-direction: column; }
  .sb-form-bottom .sb-btn { justify-content: space-between; }
  .sb-form-bottom p { max-width: none; }
  .sb-footer { padding-top: 60px; }
  .sb-footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 27px 18px; }
  .sb-footer-bottom { flex-direction: column; gap: 5px; }
  .sb-reading h2 { font-size: 21px; margin-top: 38px; }
}
/* Phase E: entity, evidence and conversion components. */
.sb-authority-strip { padding: 28px 0; background: #fff; border-bottom: 1px solid var(--border); }
.sb-authority-strip .sb-wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.sb-authority-strip div div { display: flex; flex-direction: column; gap: 5px; padding-left: 18px; border-left: 2px solid var(--brand-orange); }
.sb-authority-strip strong { font-size: 17px; }
.sb-authority-strip span { color: var(--text-muted); font-size: 12px; line-height: 1.65; }
.sb-experience-authority { background: var(--brand-navy); }
.sb-experience-authority h2, .sb-experience-authority strong { color: #fff; }
.sb-experience-authority .sb-section-head > p { color: #b9c9d4; }
.sb-experience-authority-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sb-experience-authority-grid article { padding: 25px; border: 1px solid #3d5669; }
.sb-experience-authority-grid article > span { display: block; margin-bottom: 12px; color: #ee9a58; font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.sb-experience-authority-grid strong { display: block; margin-bottom: 10px; font-size: 18px; line-height: 1.5; }
.sb-experience-authority-grid p { margin: 0; color: #b9c9d4; font-size: 13px; }
.sb-service-model { border-block: 1px solid var(--border); background: var(--surface-soft); }
.sb-service-model .sb-wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sb-service-model div div { display: flex; flex-direction: column; padding: 20px; border-right: 1px solid var(--border); }
.sb-service-model div div:first-child { border-left: 1px solid var(--border); }
.sb-service-model strong { color: var(--brand-orange-dark); font-size: 12px; letter-spacing: .08em; }
.sb-service-model span { color: var(--text-secondary); font-size: 12px; }
.sb-service-evidence { margin: 20px 0 0 !important; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; }
.sb-service-evidence a { color: var(--brand-orange-dark); text-decoration: underline; text-underline-offset: 3px; }
.sb-case-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.sb-case-list article { scroll-margin-top: 20px; padding: 28px; border: 1px solid var(--border); background: #fff; }
.sb-case-list h3 { margin: 13px 0 19px; }
.sb-case-list dl { margin: 0; }
.sb-case-list dl div { padding: 12px 0; border-top: 1px solid var(--border); }
.sb-case-list dt { color: var(--text-muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sb-case-list dd { margin: 4px 0 0; color: var(--text-secondary); font-size: 13px; line-height: 1.75; }
.sb-case-list article > a { display: inline-block; margin-top: 17px; color: var(--brand-orange-dark); font-size: 13px; font-weight: 700; }
.sb-contact-wechat { margin-top: 30px; padding: 22px; border: 1px solid var(--border); background: #fff; }
.sb-contact-wechat > span { color: var(--text-primary); font-size: 13px; font-weight: 700; }
.sb-contact-wechat p { margin: 7px 0 14px !important; font-size: 13px !important; }
.sb-wechat-open { font-family: var(--font-family-base); }
.sb-wechat-float { position: fixed; right: 18px; bottom: 18px; z-index: 45; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 10px 15px; border: 1px solid #d3dee4; border-radius: 7px; background: #fff; color: var(--text-primary); box-shadow: 0 8px 24px rgb(16 38 58 / 16%); cursor: pointer; }
.sb-wechat-float span { color: var(--brand-orange-dark); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sb-wechat-float strong { font-size: 12px; }
.sb-wechat-modal[hidden] { display: none; }
.sb-wechat-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.sb-wechat-backdrop { position: absolute; inset: 0; background: rgb(7 20 31 / 72%); }
.sb-wechat-dialog { position: relative; z-index: 1; width: min(430px, 100%); padding: 34px; border-radius: var(--radius-md); background: #fff; box-shadow: 0 24px 70px rgb(0 0 0 / 30%); text-align: center; }
.sb-wechat-dialog .sb-eyebrow { justify-content: center; margin-bottom: 9px !important; }
.sb-wechat-dialog h2 { font-size: 25px; }
.sb-wechat-dialog > p:not(.sb-eyebrow) { margin: 12px 0 18px; font-size: 14px; }
.sb-wechat-dialog small { display: block; margin-top: 15px; color: var(--text-muted); font-size: 10px; line-height: 1.6; }
.sb-wechat-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 50%; background: #fff; color: var(--text-primary); font-size: 25px; line-height: 1; cursor: pointer; }
.sb-wechat-qr { width: 250px; max-width: 100%; padding: 5px; margin-inline: auto; border: 1px solid var(--border); background: #fff; }
.sb-wechat-qr img { display: block; width: 100%; height: auto; }
body.sb-modal-open { overflow: hidden; }
@media (max-width: 600px) {
  .sb-authority-strip .sb-wrap, .sb-experience-authority-grid, .sb-case-list { grid-template-columns: 1fr; }
  .sb-authority-strip .sb-wrap { gap: 15px; }
  .sb-service-model .sb-wrap { width: 100%; grid-template-columns: repeat(2, 1fr); }
  .sb-service-model div div { padding: 14px; border-bottom: 1px solid var(--border); }
  .sb-wechat-float { right: 10px; bottom: 10px; padding: 8px 11px; }
  .sb-wechat-dialog { padding: 30px 20px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sb-corp a, .sb-corp button { transition: none; }
}
