:root {
  --navy-950: #00264c;
  --navy-900: #003666;
  --navy-800: #004985;
  --blue-700: #006bb5;
  --cyan-500: #00aee8;
  --ink: #15283c;
  --ink-soft: #4a5f73;
  --muted: #718194;
  --line: #dce6ee;
  --line-strong: #c7d6e2;
  --surface: #ffffff;
  --surface-soft: #f5f8fb;
  --surface-blue: #edf7fc;
  --shadow-sm: 0 12px 34px rgba(0, 54, 102, .07);
  --shadow-md: 0 24px 64px rgba(0, 54, 102, .12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --container: 1120px;
  --header-height: 68px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin-top: 0; }
ul, ol { padding-left: 0; list-style: none; }
svg { display: block; }
[hidden] { display: none !important; }
::selection { color: #fff; background: var(--blue-700); }
.container { width: min(calc(100% - 56px), var(--container)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 9999;
  top: 8px;
  left: 8px;
  padding: 9px 14px;
  color: #fff;
  background: var(--navy-950);
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: var(--header-height);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(0,54,102,.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { background: rgba(255,255,255,.985); box-shadow: 0 8px 28px rgba(0,54,102,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { position: relative; z-index: 1002; width: 190px; }
.global-nav { display: flex; align-items: center; gap: 27px; font-size: 13px; font-weight: 700; letter-spacing: .035em; }
.global-nav a { position: relative; padding: 8px 0; color: #324b61; }
.global-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--cyan-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s var(--ease);
}
.global-nav a:hover::after,
.global-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-button { display: none; width: 46px; height: 46px; padding: 0; background: transparent; border: 0; cursor: pointer; }
.menu-button span { display: block; width: 24px; height: 2px; margin: 6px auto; background: var(--navy-900); transition: transform .3s var(--ease), opacity .2s ease; }
.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Common */
.section { position: relative; padding: 76px 0; overflow: hidden; }
.section-label,
.eyebrow {
  margin-bottom: 12px;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .14em;
}
.section-heading { margin-bottom: 0; }
.section-heading h2,
.company-story > h2,
.company-info > h2,
.contact-panel h2 {
  margin-bottom: 16px;
  color: var(--navy-950);
  font-size: clamp(31px, 3.6vw, 45px);
  font-weight: 760;
  line-height: 1.36;
  letter-spacing: -.03em;
}
.section-heading > p:last-child { margin-bottom: 0; color: var(--ink-soft); font-size: 15px; }
.compact-heading { margin-bottom: 26px; }
.compact-heading h2 { margin-bottom: 10px; font-size: clamp(28px, 2.8vw, 36px); }

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-height) + 48px) 0 48px;
  background:
    linear-gradient(120deg, rgba(237,247,252,.82), rgba(255,255,255,0) 48%),
    #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 92px;
  right: -120px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(0,110,181,.10);
  border-radius: 50%;
}
.hero::after {
  content: "";
  position: absolute;
  top: 165px;
  right: -24px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(0,174,232,.13);
  border-radius: 50%;
}
.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, .65fr);
  gap: 76px;
  align-items: center;
}
.hero-copy h1 {
  margin-bottom: 4px;
  color: var(--navy-950);
  font-size: clamp(47px, 5.8vw, 72px);
  font-weight: 790;
  line-height: 1.12;
  letter-spacing: -.05em;
}
.hero-role { margin-bottom: 25px; color: var(--muted); font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.hero-statement { margin-bottom: 16px; color: var(--ink); font-size: clamp(27px, 3vw, 39px); font-weight: 620; line-height: 1.45; letter-spacing: -.025em; }
.hero-statement strong { color: var(--blue-700); font-weight: 790; }
.hero-description { max-width: 680px; margin-bottom: 22px; color: var(--ink-soft); font-size: 16px; line-height: 1.9; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 0; }
.hero-tags li { padding: 6px 11px; color: #39536a; background: rgba(255,255,255,.86); border: 1px solid var(--line); border-radius: 999px; font-size: 11px; font-weight: 700; }
.hero-photo-area { position: relative; }
.hero-photo-frame {
  position: relative;
  z-index: 2;
  width: min(100%, 350px);
  aspect-ratio: 1 / 1.14;
  margin-left: auto;
  overflow: hidden;
  background: #dfe9f0;
  border-radius: 47% 47% 22px 22px;
  box-shadow: var(--shadow-md);
}
.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
  pointer-events: none;
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-caption {
  position: relative;
  z-index: 3;
  width: 76%;
  margin: -36px 0 0 auto;
  padding: 15px 18px;
  color: #fff;
  background: linear-gradient(120deg, rgba(0,38,76,.97), rgba(0,92,157,.95));
  border-radius: 12px;
  box-shadow: 0 15px 38px rgba(0,54,102,.21);
}
.hero-photo-caption span { display: block; margin-bottom: 2px; color: rgba(255,255,255,.68); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.hero-photo-caption strong { font-size: 15px; letter-spacing: .035em; }
.hero-watermark { position: absolute; z-index: 1; right: -72px; bottom: -38px; width: 250px; opacity: .07; }
.proof-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.proof-strip article { padding: 21px 28px; border-right: 1px solid var(--line); }
.proof-strip article:last-child { border-right: 0; }
.proof-strip strong { display: block; margin-bottom: 3px; color: var(--navy-950); font-size: 24px; line-height: 1.3; letter-spacing: -.025em; }
.proof-strip p { margin-bottom: 0; color: var(--ink-soft); font-size: 12px; font-weight: 650; line-height: 1.55; }

/* Expertise */
.section-expertise { background: var(--surface-soft); }
.intro-layout { display: grid; grid-template-columns: minmax(290px, .78fr) minmax(0, 1.22fr); gap: 72px; align-items: start; }
.intro-copy > p { margin-bottom: 14px; color: var(--ink-soft); font-size: 16px; line-height: 1.9; }
.work-principles { margin: 24px 0 0; border-top: 1px solid var(--line-strong); }
.work-principles li { display: grid; grid-template-columns: 180px 1fr; gap: 22px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.work-principles strong { color: var(--navy-950); font-size: 14px; }
.work-principles span { color: var(--ink-soft); font-size: 13px; }
.expertise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 42px; }
.expertise-grid article {
  position: relative;
  min-height: 200px;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform .26s var(--ease), border-color .26s ease, box-shadow .26s ease;
}
.expertise-grid article:hover { transform: translateY(-3px); border-color: rgba(0,110,181,.25); box-shadow: var(--shadow-sm); }
.card-number { display: block; margin-bottom: 26px; color: var(--cyan-500); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.expertise-grid h3 { margin-bottom: 10px; color: var(--navy-950); font-size: 19px; line-height: 1.5; }
.expertise-grid p { margin-bottom: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.75; }

/* Qualifications and public work */
.section-credentials { background: #fff; }
.credentials-media-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); gap: 54px; align-items: start; }
.qualification-list { margin-bottom: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.qualification-list > div { display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 19px 22px; border-top: 1px solid var(--line); }
.qualification-list > div:first-child { border-top: 0; }
.qualification-list dt { color: var(--navy-950); font-size: 13px; font-weight: 800; line-height: 1.6; }
.qualification-list dd { display: flex; flex-wrap: wrap; gap: 7px 14px; margin-bottom: 0; color: var(--ink); font-size: 13px; font-weight: 650; line-height: 1.65; }
.qualification-list dd span { position: relative; padding-left: 11px; }
.qualification-list dd span::before { content: ""; position: absolute; top: .72em; left: 0; width: 4px; height: 4px; background: var(--cyan-500); border-radius: 50%; }
.media-list { display: grid; gap: 13px; }
.media-card {
  display: grid;
  grid-template-columns: 165px 1fr;
  min-height: 136px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform .26s var(--ease), border-color .26s ease, box-shadow .26s ease;
}
.media-card:hover,
.media-card:focus-visible { transform: translateY(-3px); border-color: rgba(0,110,181,.28); box-shadow: var(--shadow-sm); }
.media-image { overflow: hidden; background: #eaf3f8; }
.media-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.media-card:hover .media-image img { transform: scale(1.025); }
.media-body { display: flex; flex-direction: column; justify-content: center; padding: 17px 18px; }
.media-body > p { margin-bottom: 5px; color: var(--blue-700); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.media-body h3 { margin-bottom: 8px; color: var(--navy-950); font-size: 15px; line-height: 1.55; }
.media-body span { color: var(--ink-soft); font-size: 11px; font-weight: 800; }

/* Company */
.section-company { padding-bottom: 62px; background: var(--surface-soft); }
.company-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); gap: 58px; align-items: start; }
.company-logo { width: 260px; margin: 0 0 24px; }
.company-story > h2 { max-width: 620px; font-size: clamp(29px, 3vw, 39px); }
.company-story > p { max-width: 650px; margin-bottom: 24px; color: var(--ink-soft); font-size: 15px; }
.logo-story { display: grid; grid-template-columns: 86px 1fr; gap: 20px; align-items: center; max-width: 680px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.logo-story > img { width: 82px; }
.logo-story h3 { margin-bottom: 5px; color: var(--navy-950); font-size: 15px; }
.logo-story p { margin-bottom: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.7; }
.logo-story strong { color: var(--blue-700); font-family: Georgia, "Times New Roman", serif; font-size: 1.07em; }
.company-info { padding: 28px 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.company-info > h2 { margin-bottom: 18px; font-size: 27px; }
.company-info dl { margin-bottom: 0; }
.company-info dl > div { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); }
.company-info dl > div:first-child { padding-top: 0; border-top: 0; }
.company-info dt { color: var(--muted); font-size: 11px; font-weight: 700; }
.company-info dd { margin-bottom: 0; color: var(--ink); font-size: 12px; line-height: 1.7; }
.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-top: 46px;
  padding: 30px 36px;
  color: #fff;
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
  border-radius: var(--radius-md);
  overflow: hidden;
}
.contact-panel .section-label { margin-bottom: 6px; color: #8cdcff; }
.contact-panel h2 { margin-bottom: 4px; color: #fff; font-size: 26px; }
.contact-panel p:last-child { margin-bottom: 0; color: rgba(255,255,255,.68); font-size: 12px; }
.contact-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 10px 22px;
  color: var(--navy-950);
  background: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0,0,0,.14);
}
.contact-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Footer */
.site-footer { padding: 30px 0 26px; background: #fff; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; gap: 34px; align-items: center; }
.footer-brand img { width: 170px; }
.footer-links { display: flex; gap: 20px; color: var(--ink-soft); font-size: 11px; }
.footer-links a:hover { color: var(--blue-700); }
.footer-inner > p { margin-bottom: 0; color: var(--muted); font-size: 10px; }

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .64s ease, transform .64s var(--ease); }
  .reveal-ready [data-reveal="delay"] { transition-delay: .10s; }
  .reveal-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
}

/* Tablet */
@media (max-width: 1020px) {
  .container { width: min(calc(100% - 42px), var(--container)); }
  .global-nav { gap: 19px; font-size: 12px; }
  .hero-layout { grid-template-columns: 1fr .58fr; gap: 44px; }
  .intro-layout { grid-template-columns: .72fr 1.28fr; gap: 48px; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .credentials-media-layout { grid-template-columns: 1fr; gap: 48px; }
  .media-list { grid-template-columns: repeat(2, 1fr); }
  .media-card { grid-template-columns: 145px 1fr; }
  .company-layout { gap: 42px; }
}

/* Mobile */
@media (max-width: 820px) {
  :root { --header-height: 64px; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .brand { width: 174px; }
  .menu-button { position: relative; z-index: 1002; display: block; }
  .global-nav {
    position: fixed;
    z-index: 1001;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 88px 32px 42px;
    color: var(--navy-950);
    background: rgba(255,255,255,.988);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .24s ease, visibility .24s ease, transform .24s ease;
  }
  .global-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .global-nav a { width: 100%; padding: 11px 0; font-size: 17px; }
  .global-nav a::after { display: none; }
  .section { padding: 58px 0; }
  .section-heading h2,
  .company-story > h2 { font-size: 31px; }

  .hero { padding: 98px 0 38px; }
  .hero::before { top: 480px; right: -210px; width: 440px; height: 440px; }
  .hero::after { display: none; }
  .hero-layout { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy h1 { font-size: 48px; }
  .hero-role { margin-bottom: 21px; }
  .hero-statement { font-size: 27px; }
  .hero-description { font-size: 14px; line-height: 1.85; }
  .hero-photo-area { width: min(80%, 330px); margin-inline: auto; }
  .hero-photo-frame { width: 100%; margin: 0; }
  .hero-photo-caption { width: 78%; }
  .proof-strip { grid-template-columns: 1fr; margin-top: 36px; }
  .proof-strip article { padding: 15px 21px; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-strip article:last-child { border-bottom: 0; }
  .proof-strip strong { font-size: 21px; }

  .intro-layout,
  .company-layout { grid-template-columns: 1fr; gap: 28px; }
  .intro-copy > p { font-size: 14px; }
  .work-principles li { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
  .expertise-grid { grid-template-columns: 1fr; margin-top: 30px; }
  .expertise-grid article { min-height: auto; padding: 22px 20px; }
  .card-number { margin-bottom: 17px; }

  .credentials-media-layout { grid-template-columns: 1fr; gap: 44px; }
  .qualification-list > div { grid-template-columns: 1fr; gap: 5px; padding: 16px 18px; }
  .media-list { grid-template-columns: 1fr; }
  .media-card { grid-template-columns: 135px 1fr; min-height: 120px; }
  .media-body { padding: 14px 15px; }
  .media-body h3 { font-size: 14px; }

  .company-logo { width: 238px; }
  .logo-story { grid-template-columns: 72px 1fr; gap: 16px; padding: 18px; }
  .logo-story > img { width: 68px; }
  .company-info { padding: 24px 22px; }
  .contact-panel { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 36px; padding: 26px 24px; }
  .contact-button { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 18px; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 450px) {
  .container { width: min(calc(100% - 26px), var(--container)); }
  .hero-copy h1 { font-size: 43px; }
  .hero-statement { font-size: 24px; }
  .hero-tags li { font-size: 10px; }
  .hero-photo-area { width: 88%; }
  .section-heading h2,
  .company-story > h2 { font-size: 28px; }
  .media-card { grid-template-columns: 112px 1fr; }
  .media-body h3 { font-size: 13px; }
  .company-info dl > div { grid-template-columns: 1fr; gap: 2px; }
  .logo-story { grid-template-columns: 1fr; }
  .logo-story > img { width: 78px; }
}
