:root {
  --navy: #191841;
  --burgundy: #6b2737;
  --beige: #f4f1ec;
  --paper: #fdfcfa;
  --ink: #1a1a1a;
  --muted: #555;
  --blue: #1c3d5a;
  --line: rgba(0, 0, 0, .1);
  --serif: "Shippori Mincho", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; overflow-x: hidden; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
img { display: block; max-width: 100%; }
.serif { font-family: var(--serif); }

.review-bar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 10px; padding: 9px 20px; background: #eef1f2; border-bottom: 1px solid #d8dddf; color: #4d565a; font-size: 11px; line-height: 1.4; }
.review-bar strong { color: var(--navy); letter-spacing: .04em; margin-right: 8px; }
.review-key { padding: 3px 7px; border: 1px solid currentColor; border-radius: 999px; font-size: 10px; font-weight: 700; }
.review-key.confirmed { color: #23694e; }.review-key.temporary { color: #7a5a12; }.review-key.placeholder { color: #875018; }.review-key.undecided { color: #6c6675; }.review-key.needs-review { color: #8a2f45; }
.review-compare { display: inline-flex; overflow: hidden; margin-left: 8px; border: 1px solid #aeb7bb; border-radius: 999px; background: #fff; }
.review-compare a { padding: 4px 9px; color: #465156; font-size: 10px; font-weight: 700; text-decoration: none; }
.review-compare a + a { border-left: 1px solid #d8dddf; }
.review-compare a[aria-current="page"] { background: var(--navy); color: #fff; }

.site-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; min-height: 94px; padding: 6px 28px; border-bottom: 1px solid rgba(0,0,0,.08); background: rgba(253,252,250,.94); backdrop-filter: blur(6px); }
.brand img { width: auto; height: 60px; }
.desktop-nav { display: flex; align-items: center; gap: 34px; font-size: 13.5px; color: #333; }
.desktop-nav a { color: #333; text-decoration: none; white-space: nowrap; }
.nav-group { position: relative; padding-block: 12px; }
.nav-panel { position: absolute; top: 100%; left: 50%; z-index: 50; display: none; min-width: 260px; transform: translateX(-50%); flex-direction: column; padding: 10px 0; border: 1px solid var(--line); background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.08); }
.nav-group:hover .nav-panel, .nav-group:focus-within .nav-panel { display: flex; }
.nav-panel a { padding: 11px 24px; font-size: 13px; }.nav-panel a:hover, .nav-panel a:focus-visible { background: var(--beige); color: var(--blue); }
.header-actions, .button-row { display: flex; align-items: center; gap: 10px; }
.header-actions { padding-block: 16px; }
.mobile-menu { display: none; position: relative; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.mobile-menu summary { padding: 12px 14px; border: 1px solid var(--ink); cursor: pointer; list-style: none; }.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu .menu-close-label { display: none; }.mobile-menu[open] .menu-open-label { display: none; }.mobile-menu[open] .menu-close-label { display: inline; }
.mobile-menu nav { position: absolute; top: calc(100% + 8px); right: 0; display: flex; width: min(360px, calc(100vw - 36px)); max-height: calc(100vh - 96px); overflow-y: auto; flex-direction: column; padding: 10px; border: 1px solid var(--line); background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.mobile-menu nav a { padding: 11px 10px; border-bottom: 1px solid var(--line); color: #222; text-decoration: none; letter-spacing: 0; }.mobile-menu nav a:last-child { border-bottom: 0; }
.mobile-nav-heading { padding: 14px 10px 5px; color: var(--burgundy); font-size: 10px; letter-spacing: .12em; }.mobile-menu nav .mobile-nav-child { padding-left: 22px; color: #555; font-weight: 500; }

.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 11px 20px; border: 1.5px solid var(--ink); color: var(--ink); font-size: 13px; line-height: 1.35; text-decoration: none; white-space: nowrap; }
.button-fill { border-color: var(--navy); background: var(--navy); color: #fff; }
.button-on-dark { border-color: #fff; color: #fff; }
.align-start { align-self: flex-start; }

.hero { display: flex; position: relative; }
.hero-rail { display: flex; flex: 0 0 34px; align-items: center; justify-content: center; padding: 24px 0; background: var(--burgundy); color: #fff; font-size: 11px; letter-spacing: 3px; line-height: 1.2; writing-mode: vertical-rl; }
.hero-main { display: flex; flex: 1; min-width: 0; min-height: 640px; }
.hero-copy { position: relative; z-index: 2; display: flex; box-sizing: content-box; width: 44%; flex-direction: column; justify-content: center; gap: 22px; margin-right: -72px; padding: 80px 56px; background: var(--paper); box-shadow: 8px 0 32px rgba(0,0,0,.06); }
.hero-copy h1 { margin: 0; font-size: 38px; line-height: 1.55; }
.hero-copy p { margin: 0; color: #444; font-size: 14px; line-height: 1.85; }
.hero-copy .hero-lead { color: #222; font-size: 16px; font-weight: 600; line-height: 1.7; }
.hero-statement { padding-left: 12px; border-left: 2px solid var(--blue); color: var(--blue) !important; font-weight: 700; }
.hero-visual { position: relative; flex: 1; min-width: 0; margin: 0; overflow: hidden; background: #e8e5e0; clip-path: polygon(9% 0,100% 0,100% 100%,0 100%); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-visual figcaption { position: absolute; right: 16px; bottom: 16px; padding: 6px 9px; background: rgba(25,24,65,.88); color: #fff; font-size: 10px; letter-spacing: .03em; }

.dark-section { background: var(--navy); color: #fff; }
.track-record { padding: 32px 40px; text-align: center; }
.track-record h2 { margin: 0 0 12px; font-size: 23px; }
.track-record > p { margin: 0 auto; max-width: 560px; color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.7; }
.track-record > .track-record-copy { max-width: 1100px; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.65; text-wrap: balance; }
.track-record-mobile-break { display: none; }
.stats { display: flex; max-width: 640px; margin: 0 auto 16px; }
.stats > div { flex: 1; padding: 0 24px; }
.stats > div + div { border-left: 1px solid rgba(255,255,255,.2); }
.stats strong { display: block; font-size: 36px; line-height: 1.3; }
.stats span { color: rgba(255,255,255,.75); font-size: 13px; letter-spacing: .08em; }

@media (min-width: 960px) {
  .track-record > .track-record-copy { white-space: nowrap; }
}

.section { padding: 96px 64px; }
.container { width: min(100%, 1280px); margin: 0 auto; }
.section-label { margin: 0 0 16px; color: var(--burgundy); font-size: 12px; font-weight: 700; letter-spacing: 2px; }
.centered { text-align: center; }
.section-title { margin: 0 0 12px; font-size: 36px; line-height: 1.5; }
.medium-title { margin: 0 0 20px; font-size: 28px; line-height: 1.5; }
.section-copy { max-width: 680px; margin: 0 0 48px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.service-lead { margin: 0 auto 16px; color: #333; font-size: 15px; font-weight: 700; line-height: 1.8; text-align: center; }
.section-intro { max-width: 680px; margin: 0 auto 56px; color: var(--muted); font-size: 14px; line-height: 1.85; }

.service-list { border-top: 1px solid transparent; }
.service-row { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 420px; border-bottom: 1px solid var(--line); }
.service-row.reverse { grid-template-columns: 1fr 1.1fr; }
.service-row.reverse .service-copy { order: 2; padding: 48px 0 48px 56px; }
.service-row.reverse .image-placeholder { order: 1; }
.service-copy { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 48px 56px 48px 0; }
.service-copy h3 { margin: 0; font-size: 26px; line-height: 1.5; }
.service-copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.service-copy .service-index { color: var(--burgundy); font-size: 15px; font-weight: 700; }
.service-copy .service-subhead { color: #222; font-size: 14px; font-weight: 700; }
.service-copy .meta { color: #999; font-size: 11px; line-height: 1.7; }

.image-placeholder { display: flex; min-height: 280px; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; background: repeating-linear-gradient(45deg,#d8d3ca,#d8d3ca 8px,#c9c3b8 8px,#c9c3b8 16px); color: #5c574f; text-align: center; }
.image-placeholder span { padding: 4px 8px; border: 1px solid currentColor; border-radius: 999px; background: rgba(255,255,255,.42); font: 700 10px var(--sans); text-transform: uppercase; }
.image-placeholder strong { font: 700 15px var(--sans); }
.image-placeholder small { font: 11px var(--sans); }
.image-placeholder.tall { min-height: 420px; }

.case-section, .about-section { background: var(--beige); }
.case-grid, .why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case-grid { gap: 1px; border: 1px solid rgba(0,0,0,.12); background: rgba(0,0,0,.12); }
.case-card { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; padding: 40px 32px; background: var(--paper); }
.case-card h3, .why-card h3 { position: relative; margin: 0 0 14px; font-size: 19px; line-height: 1.6; }
.case-card > p:not(.section-label), .why-card p, .about-section p, .support-section p { position: relative; margin: 0 0 20px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.case-number { position: absolute; right: 14px; bottom: 10px; color: rgba(28,61,90,.07); font-size: 56px; font-weight: 700; line-height: 1; }
.case-result { position: relative; flex: 1; margin-top: auto; padding-top: 12px; padding-right: 42px; border-top: 1.5px solid var(--blue); color: var(--blue); font-size: 15px; line-height: 1.6; }
.section-action { margin-top: 40px; text-align: center; }

.why-grid { gap: 32px; }
.why-section .section-title { margin-bottom: 48px; font-size: 38px; }
.why-card { display: flex; flex-direction: column; gap: 12px; padding: 40px 32px; border: 1px solid rgba(0,0,0,.08); background: var(--beige); }
.why-card .service-index { margin: 0; color: var(--burgundy); font-size: 14px; font-weight: 700; }
.why-card h3 { margin-bottom: 0; font-size: 21px; }
.why-card p { margin: 0; }

.about-grid, .support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 64px; }
.simplicity { display: flex; flex-direction: column; gap: 6px; margin: 24px 0; padding-left: 20px; border-left: 2px solid var(--blue); }
.simplicity strong { color: var(--blue); font-size: 16px; }.simplicity b { font-size: 13px; }.simplicity span { color: var(--muted); font-size: 13px; line-height: 1.8; }

.support-diagram { display: flex; flex-direction: column; align-items: center; }
.diagram-client { padding: 14px 40px; border: 1.5px solid var(--ink); font-size: 16px; font-weight: 700; }
.diagram-line { width: 2px; height: 40px; background: var(--blue); }
.diagram-core { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 44px; background: var(--navy); color: #fff; text-align: center; }
.diagram-core strong { font-size: 20px; }.diagram-core span { font-size: 11px; opacity: .75; letter-spacing: 1px; }
.support-diagram > p { margin: 0 0 20px; color: #999; font-size: 12px; letter-spacing: 1px; text-align: center; }
.partner-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.partner-list span { padding-bottom: 4px; border-bottom: 1.5px solid var(--blue); color: var(--blue); font: 700 14px var(--serif); }

.callout { padding: 80px 64px; text-align: center; }
.callout h2 { margin: 0 0 16px; font-size: 26px; line-height: 1.5; }
.callout p { max-width: 600px; margin: 0 auto 32px; font-size: 14px; line-height: 1.85; }
.download-section p { color: rgba(255,255,255,.75); }
.contact-section { padding-top: 96px; padding-bottom: 96px; }
.contact-section h2 { font-size: 28px; }.contact-section p { margin-bottom: 12px; color: var(--muted); }.contact-section small { display: block; margin-bottom: 28px; color: #999; }

.site-footer { padding: 64px 64px 0; background: var(--navy); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; width: min(100%, 1240px); margin: 0 auto; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-grid > div { display: flex; flex-direction: column; gap: 12px; }
.footer-grid b { margin-bottom: 4px; color: #a9c3dc; font-size: 11px; letter-spacing: 1.5px; }
.footer-grid span, .footer-grid a { color: rgba(255,255,255,.75); font-size: 12.5px; line-height: 1.5; text-decoration: none; }
.footer-brand strong { margin-bottom: 4px; font-size: 19px; }.footer-brand p { max-width: 280px; margin: 0 0 12px; color: rgba(255,255,255,.55); font-size: 12.5px; line-height: 1.8; }
.footer-button { display: inline-flex; align-items: center; justify-content: center; padding: 11px 22px; border: 1px solid rgba(255,255,255,.4); color: #fff !important; }.footer-button.light { border-color: #fff; background: #fff; color: #12283b !important; }
.footer-legal { display: flex; justify-content: center; gap: 20px; max-width: 1240px; margin: 16px auto 0; font-size: 11.5px; color: rgba(255,255,255,.6); }.footer-legal a { color: inherit; text-decoration: none; }
.copyright { margin: 0 auto; padding: 24px 0; color: rgba(255,255,255,.4); font-size: 11px; text-align: center; }

/* Shared footer follows the approved four-part page rhythm. */
.site-footer { padding: 44px max(28px, calc((100vw - 1240px) / 2)); border-top: 1px solid rgba(255,255,255,.18); background: #12112f; font-family: "Zen Kaku Gothic New", sans-serif; }
.site-footer .footer-grid { width: 100%; max-width: none; margin: 0; padding: 0; border: 0; grid-template-columns: 1.1fr 1.5fr 1.1fr 1fr; gap: 28px; }
.site-footer .footer-grid > div { gap: 10px; }
.site-footer .footer-grid strong { margin: 0; font: 700 17px "Shippori Mincho", serif; }
.site-footer .footer-grid b { margin: 0; color: #a9c3dc; font-size: 11px; letter-spacing: .1em; }
.site-footer .footer-grid a { color: rgba(255,255,255,.78); font-size: 12px; line-height: 1.5; }

@media (max-width: 1180px) {
  .desktop-nav { gap: 18px; font-size: 12.5px; }
  .header-actions .button { padding-inline: 18px; }
  .hero-copy { width: 49%; padding-inline: 40px; }
}

@media (max-width: 959px) {
  .desktop-nav, .header-actions { display: none; }
  .mobile-menu { display: block; }
  .site-header { padding-inline: 24px; }
  .hero-main { min-height: 570px; }
  .hero-copy { width: 52%; margin-right: -38px; padding: 64px 34px; }
  .hero-copy h1 { font-size: 32px; }
  .section { padding: 72px 32px; }
  .case-grid, .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; border: 0; background: transparent; }
  .case-card:last-child, .why-card:last-child { grid-column: 1 / -1; }
  .about-grid, .support-grid { gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 599px) {
  .review-bar { justify-content: flex-start; padding: 10px 16px; }.review-bar strong { width: 100%; }
  .review-compare { margin-left: 0; }
  .site-header { min-height: 62px; padding: 7px 18px; }.brand img { height: 46px; }
  .hero { display: block; }.hero-rail { width: 100%; height: auto; padding: 8px 20px; font-size: 9px; letter-spacing: 2px; writing-mode: horizontal-tb; }
  .hero-main { display: flex; min-height: 0; flex-direction: column; }
  .hero-copy { box-sizing: border-box; width: 100%; margin: 0; padding: 52px 20px 40px; box-shadow: none; }
  .hero-copy h1 { font-size: clamp(28px, 8vw, 31px); line-height: 1.5; }.hero-copy p { font-size: 15px; }.hero-copy .hero-lead { font-size: 16px; }
  .hero-copy .button-row { align-items: stretch; flex-direction: column; }.hero-copy .button { width: 100%; }
  .hero-visual { width: 100%; aspect-ratio: 16 / 10; clip-path: none; }.hero-visual figcaption { right: 10px; bottom: 10px; }
  .pc-only { display: none; }
  .track-record { padding: 32px 16px; }.stats > div { padding: 0 7px; }.stats strong { font-size: clamp(22px, 7vw, 28px); }.stats span { font-size: 10px; letter-spacing: .04em; }
  .section { padding: 58px 20px; }.section-title, .why-section .section-title { font-size: 27px; }.medium-title { font-size: 24px; }.section-copy, .section-intro { font-size: 15px; }
  .service-lead, .section-intro { text-align: left; }.section-label.centered, .section-title.centered { text-align: left; }
  .service-row, .service-row.reverse { display: flex; min-height: 0; flex-direction: column; padding: 0 0 48px; border-bottom: 1px solid var(--line); }
  .service-row + .service-row { padding-top: 48px; }.service-row.reverse .service-copy, .service-copy { order: 1; padding: 0; }.service-row.reverse .image-placeholder, .service-row .image-placeholder { order: 2; margin-top: 28px; aspect-ratio: 16 / 10; min-height: 0; }
  .service-copy h3 { font-size: 24px; }.service-copy p { font-size: 15px; }.service-copy .meta { font-size: 12px; }
  .case-grid, .why-grid { grid-template-columns: 1fr; gap: 16px; }.case-card:last-child, .why-card:last-child { grid-column: auto; }.case-card, .why-card { padding: 30px 24px; }.case-card > p:not(.section-label), .why-card p, .about-section p, .support-section p { font-size: 15px; }
  .section-action .button { width: 100%; white-space: normal; }
  .about-grid, .support-grid { grid-template-columns: 1fr; gap: 38px; }.image-placeholder.tall { min-height: 0; aspect-ratio: 4 / 3; }
  .diagram-core { width: 100%; padding-inline: 18px; }.partner-list { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0,1fr)); }.partner-list span { text-align: center; }
  .callout { padding: 56px 20px; text-align: left; }.callout h2 { font-size: 24px; }.callout p { font-size: 15px; }.callout .button { width: 100%; white-space: normal; }.contact-section small { font-size: 12px; }
  .site-footer { padding: 48px 20px 0; }.footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }.footer-brand { grid-column: auto; }.footer-brand .button-row { align-items: stretch; flex-direction: column; }.footer-button { width: 100%; }.footer-legal { flex-direction: column; align-items: center; gap: 10px; }.copyright { line-height: 1.7; }
  .site-footer { padding: 36px 20px; }.site-footer .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
