:root {
  --ink: #0e1a33;
  --ink-soft: #314463;
  --blue: #2f6299;
  --blue-soft: #dcebf8;
  --line: #dfe7f0;
  --paper: #ffffff;
  --wash: #f7fbff;
  --shadow: 0 18px 45px rgba(21, 45, 76, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 12%, rgba(108, 161, 214, 0.16), transparent 28rem),
    linear-gradient(180deg, #fff 0%, #f9fcff 52%, #fff 100%);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(circle, rgba(62, 122, 182, 0.24) 1px, transparent 1.4px),
    linear-gradient(115deg, transparent 0 43%, rgba(72, 133, 193, 0.06) 43.2% 43.6%, transparent 43.8% 100%);
  background-size: 34px 34px, 100% 100%;
  mask-image: linear-gradient(90deg, transparent, #000 70%, #000);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 clamp(20px, 5vw, 74px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(16px, 1.6vw, 21px);
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-mark span,
.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(14, 26, 51, 0.78);
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after {
  display: none;
}

.brand-mark span {
  width: 14px;
  height: 28px;
}

.brand-mark::before {
  width: 28px;
  height: 14px;
}

.brand-mark::after {
  width: 2px;
  height: 2px;
  background: var(--ink);
  border: 0;
}

.site-nav {
  display: flex;
  gap: clamp(20px, 4vw, 58px);
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #18243b;
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--blue);
}

.nav-contact {
  padding: 11px 23px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(14, 26, 51, 0.16);
}

.site-nav .nav-contact:hover {
  color: #fff;
  background: #20375d;
}

.nav-toggle {
  display: none;
}

.section-shell {
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
}

#services,
#works,
#strengths,
#company,
#contact {
  scroll-margin-top: 92px;
}

.section-heading h2[id],
#contact-title {
  scroll-margin-top: 110px;
}

#contact-title {
  scroll-margin-top: 220px;
}

.section-shell[id] {
  padding-top: 1px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(430px, 0.92fr) minmax(360px, 1.08fr);
  gap: 34px;
  align-items: center;
  min-height: 520px;
  padding: 52px 0 32px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
.hero-lead,
.section-heading h2,
.concept h2,
.cta h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.08em;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1.18;
  white-space: nowrap;
}

.hero-lead {
  margin-bottom: 28px;
  font-size: clamp(25px, 3.7vw, 40px);
  line-height: 1.45;
}

.keep {
  white-space: nowrap;
}

.mobile-break {
  display: none;
}

.hero-text {
  max-width: 510px;
  margin-bottom: 36px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 55px;
  padding: 0 28px;
  border: 1px solid #c9d4e0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button span {
  margin-left: 18px;
  font-size: 18px;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, #0e1a33 0%, #152e53 100%);
  border-color: #0e1a33;
  box-shadow: 0 14px 28px rgba(14, 26, 51, 0.18);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
}

.hero-visual {
  position: relative;
  min-height: 430px;
}

.hero-visual::before,
.hero-visual::after,
.concept-flow::before,
.cta::before {
  position: absolute;
  content: "";
  pointer-events: none;
  border-radius: 50%;
}

.hero-visual::before {
  inset: 10% -8% auto auto;
  width: 84%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(73, 134, 194, 0.16), transparent 64%);
}

.hero-visual::after {
  right: -24%;
  bottom: 18%;
  width: 90%;
  height: 42%;
  border: 1px solid rgba(78, 139, 199, 0.28);
  transform: rotate(-16deg);
}

.hero-visual img {
  position: absolute;
  top: 50%;
  right: -10px;
  width: min(760px, 118%);
  max-width: none;
  transform: translateY(-50%);
  mix-blend-mode: multiply;
}

.orbit-particles {
  position: absolute;
  top: 50%;
  right: -10px;
  width: min(760px, 118%);
  height: min(570px, 100%);
  pointer-events: none;
  transform: translateY(-50%);
  mix-blend-mode: multiply;
}

.concept {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 4vw, 45px);
  margin-top: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.concept h2 {
  margin-bottom: 18px;
  font-size: clamp(24px, 2.6vw, 31px);
  line-height: 1.65;
  letter-spacing: 0.06em;
}

.concept p {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.concept-flow {
  position: relative;
  display: block;
  min-height: 230px;
}

.concept-flow img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
}

.flow-node,
.flow-center {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
}

.flow-node {
  min-height: 150px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.flow-node::before,
.flow-center::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #d7e2ed;
  border-radius: 50%;
  box-shadow: inset 0 0 34px rgba(92, 144, 195, 0.1);
}

.flow-node > *,
.flow-center > * {
  position: relative;
  z-index: 1;
}

.mini-map {
  width: 70px;
  height: 52px;
  margin-bottom: 10px;
  background: #b9c9da;
  clip-path: polygon(22% 7%, 40% 18%, 50% 8%, 64% 20%, 58% 35%, 76% 46%, 63% 58%, 70% 76%, 50% 68%, 38% 90%, 30% 68%, 13% 62%, 25% 44%, 11% 28%);
}

.mini-map.world {
  width: 92px;
  clip-path: polygon(5% 42%, 14% 28%, 28% 25%, 38% 36%, 50% 28%, 66% 30%, 76% 40%, 95% 35%, 88% 56%, 70% 62%, 61% 78%, 44% 68%, 31% 78%, 20% 58%);
}

.flow-center {
  min-height: 170px;
  color: var(--ink);
}

.flow-center::before {
  background:
    radial-gradient(circle, rgba(63, 125, 187, 0.18) 1px, transparent 2px),
    rgba(255, 255, 255, 0.88);
  background-size: 10px 10px, auto;
  border: 0;
}

.flow-center span {
  font-family: Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.flow-center small {
  display: block;
  color: var(--ink-soft);
  font-weight: 800;
}

.section-heading {
  margin: 0 0 28px;
  padding-top: 68px;
  text-align: center;
}

.section-heading h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 0;
  font-size: clamp(25px, 3vw, 34px);
}

.section-heading h2::after {
  position: absolute;
  left: 50%;
  bottom: -11px;
  width: 32px;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: translateX(-50%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 13px;
}

.service-card,
.work-card,
.strength-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(21, 45, 76, 0.045);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover,
.work-card:hover,
.strength-card:hover {
  border-color: #c7dbef;
  box-shadow: 0 18px 42px rgba(21, 45, 76, 0.08);
  transform: translateY(-3px);
}

.service-card {
  display: grid;
  min-height: 142px;
  place-items: center;
  padding: 16px 12px 18px;
  text-align: center;
}

.service-icon-img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.service-card h3 {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
}

.icon,
.work-icon,
.strength-icon {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 52px;
  color: #315d93;
}

.icon::before,
.icon::after,
.work-icon::before,
.work-icon::after,
.strength-icon::before,
.strength-icon::after {
  position: absolute;
  content: "";
}

.box::before {
  inset: 10px 9px;
  border: 3px solid currentColor;
  transform: rotate(30deg) skew(-8deg, -8deg);
}

.api::before {
  inset: 14px 6px;
  border: 3px solid currentColor;
  border-radius: 20px;
}

.api::after {
  inset: 18px 13px;
  content: "API";
  font-size: 11px;
  font-weight: 900;
}

.chart::before {
  inset: 8px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.chart::after {
  left: 33px;
  top: 33px;
  width: 17px;
  height: 3px;
  background: currentColor;
  transform: rotate(45deg);
}

.image::before {
  inset: 10px 7px;
  border: 3px solid currentColor;
  border-radius: 4px;
}

.image::after {
  left: 15px;
  bottom: 15px;
  width: 24px;
  height: 14px;
  background: currentColor;
  clip-path: polygon(0 100%, 34% 42%, 52% 68%, 70% 32%, 100% 100%);
}

.support::before {
  inset: 12px 9px 10px;
  border: 3px solid currentColor;
  border-radius: 20px;
}

.support::after {
  left: 5px;
  top: 22px;
  width: 6px;
  height: 13px;
  border: 3px solid currentColor;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  box-shadow: 39px 0 0 -1px #fff, 39px 0 0 0 currentColor;
}

.web::before {
  inset: 10px 6px;
  border: 3px solid currentColor;
  border-radius: 4px;
}

.web::after {
  left: 10px;
  top: 20px;
  width: 31px;
  height: 3px;
  background: currentColor;
  box-shadow: 0 10px 0 rgba(49, 93, 147, 0.45);
}

.spider::before {
  inset: 14px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.spider::after {
  inset: 8px 4px;
  border-top: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(24deg);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.work-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 20px;
  min-height: 168px;
  padding: 22px;
}

.work-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #f2f7fc, #e9f1fa);
  border-radius: 7px;
}

.work-icon.media {
  display: grid;
  place-items: center;
  overflow: hidden;
}

.work-icon.media::before,
.work-icon.media::after {
  display: none;
}

.work-icon.media img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.work-icon::before,
.work-icon::after {
  color: #315d93;
}

.work-card h3 {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.5;
}

.work-card p,
.strength-card p,
.company-list {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.database::before {
  left: 16px;
  top: 15px;
  width: 28px;
  height: 34px;
  border: 3px solid currentColor;
  border-radius: 50% / 17%;
}

.database::after {
  right: 12px;
  top: 18px;
  width: 20px;
  height: 28px;
  border-right: 3px solid currentColor;
  border-top: 3px solid currentColor;
}

.chat::before {
  inset: 15px 12px 19px;
  border: 3px solid currentColor;
  border-radius: 20px;
}

.chat::after {
  right: 12px;
  bottom: 15px;
  width: 14px;
  height: 14px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.strength-card {
  min-height: 178px;
  padding: 25px 22px 22px;
  text-align: center;
}

.strength-icon-img {
  width: 78px;
  height: 78px;
  margin-inline: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.strength-card h3 {
  margin: 10px 0 8px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.strength-icon.globe::before {
  inset: 7px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.strength-icon.globe::after {
  left: 24px;
  top: 7px;
  width: 3px;
  height: 38px;
  background: currentColor;
  box-shadow: -13px 18px 0 -1px currentColor, 13px 18px 0 -1px currentColor;
}

.strength-icon.ai::before {
  left: 12px;
  top: 9px;
  width: 28px;
  height: 34px;
  border: 3px solid currentColor;
  border-radius: 45% 45% 36% 36%;
}

.strength-icon.ai::after {
  left: 22px;
  top: 20px;
  width: 9px;
  height: 9px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 16px 0 currentColor, 13px 8px 0 currentColor;
}

.strength-icon.growth::before {
  left: 10px;
  bottom: 10px;
  width: 34px;
  height: 28px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
}

.strength-icon.growth::after {
  left: 18px;
  top: 14px;
  width: 27px;
  height: 20px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: skewY(-28deg);
}

.strength-icon.handshake::before {
  left: 8px;
  top: 17px;
  width: 36px;
  height: 16px;
  border: 3px solid currentColor;
  border-radius: 5px;
  transform: rotate(-18deg);
}

.strength-icon.handshake::after {
  left: 13px;
  top: 17px;
  width: 36px;
  height: 16px;
  border: 3px solid currentColor;
  border-radius: 5px;
  transform: rotate(18deg);
}

.company {
  padding-top: 1px;
}

.company-list {
  max-width: 840px;
  margin: 0 auto;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.company-list div {
  display: grid;
  grid-template-columns: 170px 1fr;
  border-top: 1px solid var(--line);
}

.company-list div:first-child {
  border-top: 0;
}

.company-list dt,
.company-list dd {
  margin: 0;
  padding: 18px 24px;
}

.company-list dt {
  color: var(--ink);
  background: #f4f8fc;
}

.cta {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 300px;
  padding: clamp(76px, 7vw, 92px) clamp(30px, 5vw, 48px) clamp(42px, 5vw, 58px);
  margin-top: 62px;
  margin-bottom: 28px;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.94) 0 52%, rgba(255, 255, 255, 0.44) 100%),
    url("assets/cta-globe-high.png") calc(100% + 10px) calc(100% + 98px) / min(800px, 74vw) auto no-repeat,
    linear-gradient(180deg, #f4f9ff, #fff);
  border: 1px solid #b9d5ee;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta::before {
  right: -8%;
  bottom: -18%;
  width: 72%;
  height: 78%;
  border: 1px solid rgba(76, 139, 201, 0.24);
  transform: rotate(-9deg);
}

.cta-copy {
  position: relative;
  z-index: 2;
  margin-top: 66px;
}

.cta h2 {
  margin-bottom: 9px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.5;
}

.cta p {
  max-width: 620px;
  margin-bottom: 25px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.cta-globe {
  display: none;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 86px;
  padding: 18px clamp(20px, 5vw, 74px);
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}

.site-footer small {
  color: var(--ink-soft);
  font-size: 11px;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .service-card:hover,
  .work-card:hover,
  .strength-card:hover,
  .button:hover {
    transform: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: 66px;
    padding-inline: 16px;
  }

  .brand {
    min-width: 0;
  }

  .nav-toggle {
    position: fixed;
    top: 12px;
    right: 16px;
    z-index: 12;
    flex: 0 0 auto;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .nav-toggle span {
    display: block;
    grid-area: 1 / 1;
    width: 18px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.2s ease;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 66px 14px auto;
    display: grid;
    gap: 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .nav-contact {
    margin-top: 6px;
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 38px;
  }

  h1 {
    white-space: normal;
  }

  .hero-visual {
    min-height: 320px;
    order: -1;
    overflow: hidden;
  }

  .hero-visual img {
    left: 50%;
    right: auto;
    width: min(760px, 145vw);
    transform: translate(-50%, -50%);
  }

  .orbit-particles {
    left: 50%;
    right: auto;
    width: min(760px, 145vw);
    height: min(360px, 100%);
    transform: translate(-50%, -50%);
  }

  .concept,
  .work-grid,
  .strength-grid {
    grid-template-columns: 1fr 1fr;
  }

  .concept-copy {
    grid-column: 1 / -1;
  }

  .concept-flow {
    grid-column: 1 / -1;
  }

  .concept-flow img {
    height: 220px;
  }

  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .work-grid {
    gap: 14px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer .brand {
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .section-shell {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    gap: 8px;
  }

  .hero-visual {
    min-height: 255px;
  }

  .hero-copy {
    padding-bottom: 14px;
    min-width: 0;
    max-width: 100%;
  }

  h1 {
    font-size: clamp(38px, 10vw, 48px);
    line-height: 1.28;
    letter-spacing: 0.03em;
  }

  .hero-title-tail {
    display: block;
  }

  .mobile-break {
    display: block;
  }

  .hero-text {
    font-size: 14px;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .concept-copy,
  .cta-copy {
    min-width: 0;
    max-width: 100%;
  }

  .concept p {
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero-actions {
    gap: 12px;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .concept {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  .concept-flow {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .concept-flow::before {
    display: none;
  }

  .flow-node,
  .flow-center {
    min-height: 142px;
  }

  .concept-flow img {
    height: 165px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-grid,
  .strength-grid {
    grid-template-columns: 1fr;
  }

  .work-card {
    grid-template-columns: 70px 1fr;
    gap: 15px;
    padding: 18px;
  }

  .work-icon {
    width: 62px;
    height: 62px;
  }

  .company-list div {
    grid-template-columns: 1fr;
  }

  .company-list dt,
  .company-list dd {
    padding: 13px 16px;
  }

  .company-list dd {
    padding-top: 0;
  }

  .cta {
    display: block;
    padding-bottom: 170px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.58)),
      url("assets/cta-globe-high.png") 58% bottom / 720px auto no-repeat,
      linear-gradient(180deg, #f4f9ff, #fff);
  }

  .cta-globe {
    right: 50%;
    width: 300px;
    max-width: 80vw;
    transform: translateX(50%);
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 14px;
    letter-spacing: 0.05em;
  }

  .brand-mark {
    width: 27px;
    height: 27px;
  }

  .service-grid {
    gap: 10px;
  }

  .service-card {
    min-height: 130px;
  }

  .service-card h3 {
    font-size: 13px;
  }
}

@media (max-width: 700px) {
  body .nav-toggle {
    position: fixed;
    top: 12px;
    right: 14px;
    z-index: 999;
    display: grid !important;
    background: rgba(255, 255, 255, 0.96);
    border-color: #c5d3e3;
    box-shadow: 0 8px 20px rgba(14, 26, 51, 0.08);
  }

  .hero-text,
  .concept p,
  .work-card p,
  .strength-card p {
    width: 100%;
    max-width: calc(100vw - 32px);
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero-text {
    font-size: 13px;
    line-height: 1.9;
  }
}

/* Legal / policy pages */
.legal-page {
  max-width: 920px;
  padding-top: 150px;
  padding-bottom: 86px;
}

.legal-page h1 {
  white-space: normal;
  font-size: clamp(34px, 5vw, 58px);
}

.legal-lead {
  margin-bottom: 34px;
  color: var(--ink-soft);
  line-height: 1.9;
}

.legal-section {
  margin-top: 34px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(181, 204, 232, 0.8);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(33, 64, 111, 0.08);
}

.legal-section h2 {
  margin-bottom: 13px;
  font-size: 21px;
}

.legal-section p,
.legal-section li {
  color: var(--ink-soft);
  line-height: 1.9;
}

.legal-section ul {
  margin: 0;
  padding-left: 1.2em;
}

.legal-table {
  display: grid;
  gap: 12px;
}

.legal-table div {
  display: grid;
  grid-template-columns: minmax(170px, 0.35fr) 1fr;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(181, 204, 232, 0.8);
  border-radius: 18px;
}

.legal-table dt,
.legal-table dd {
  margin: 0;
  padding: 18px 20px;
  line-height: 1.8;
}

.legal-table dt {
  color: var(--blue-dark);
  font-weight: 800;
  background: rgba(229, 242, 255, 0.72);
}

.legal-table dd {
  color: var(--ink-soft);
}

.legal-page a:not(.button),
.legal-table a {
  color: var(--blue-dark);
  font-weight: 700;
}

.legal-updated {
  margin-top: 32px;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.not-found-page {
  min-height: 70vh;
}

@media (max-width: 700px) {
  .legal-page {
    padding-top: 112px;
  }

  .legal-section {
    padding: 20px;
  }

  .legal-table div {
    grid-template-columns: 1fr;
  }

  .legal-table dd {
    padding-top: 0;
  }
}
