:root {
  --ink: #182022;
  --muted: #5f6b6f;
  --line: #dfe5e3;
  --paper: #fbfaf7;
  --white: #ffffff;
  --teal: #0f6f6d;
  --teal-dark: #0a4d4c;
  --ochre: #b8792f;
  --soft-teal: #e8f2ef;
  --shadow: 0 18px 45px rgba(24, 32, 34, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic",
    "Noto Sans JP", "Segoe UI", sans-serif;
  line-height: 1.8;
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid rgba(223, 229, 227, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 700;
}

.brand span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--teal-dark);
}

.nav a:last-child {
  padding: 8px 12px;
  color: var(--teal-dark);
  background: var(--white);
  border: 1px solid rgba(15, 111, 109, 0.18);
  border-radius: 8px;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 128px clamp(20px, 5vw, 72px) 64px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.98) 0%, rgba(251, 250, 247, 0.82) 42%, rgba(251, 250, 247, 0.12) 100%),
    linear-gradient(0deg, rgba(251, 250, 247, 0.86), rgba(251, 250, 247, 0.08) 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--ochre);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.14;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.32;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.45;
}

.lead {
  width: min(620px, 100%);
  margin-bottom: 32px;
  color: #384447;
  font-size: clamp(16px, 1.7vw, 20px);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(720px, 100%);
  margin: 34px 0 0;
}

.hero-proof div {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 111, 109, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.hero-proof dt,
.hero-proof dd {
  margin: 0;
}

.hero-proof dt {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
}

.hero-proof dd {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.hero-actions,
.contact {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 12px 28px rgba(15, 111, 109, 0.24);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 111, 109, 0.2);
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.intro p:last-child,
.section-heading p,
.service-card p,
.metric p,
.timeline p,
.contact p {
  color: var(--muted);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 18px;
}

.metric,
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.metric {
  padding: 24px;
  box-shadow: none;
}

.metric span,
.timeline span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--ochre);
  font-size: 13px;
  font-weight: 800;
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.45;
}

.section-heading {
  width: min(680px, 100%);
  margin-bottom: 34px;
}

.service-grid,
.consulting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 230px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.service-card::before,
.capability-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--teal);
}

.process {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 10px 14px;
  color: var(--teal-dark);
  background: var(--white);
  border: 1px solid rgba(15, 111, 109, 0.2);
  border-radius: 8px;
  font-weight: 800;
}

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

.capability-item {
  position: relative;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.capability-item span {
  display: block;
  margin-bottom: 12px;
  color: var(--ochre);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.capability-item p {
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: item;
}

.timeline li {
  position: relative;
  padding-left: 24px;
  border-left: 3px solid var(--teal);
}

.timeline strong {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
}

.company {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(28px, 6vw, 70px);
}

.company-list {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.company-list div {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
}

.company-list div:last-child {
  border-bottom: 0;
}

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

.company-list dt {
  color: var(--muted);
  background: #f3f5f3;
  font-weight: 800;
}

.contact {
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 44px;
  padding: clamp(30px, 4vw, 46px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(10, 77, 76, 1), rgba(15, 111, 109, 1));
  border-radius: 8px;
}

.contact .section-kicker,
.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact h2 {
  margin-bottom: 12px;
}

.contact p {
  max-width: 720px;
  margin-bottom: 0;
}

.contact .button.primary {
  color: var(--teal-dark);
  background: var(--white);
  box-shadow: none;
}

.footer {
  padding: 28px 20px 44px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 860px) {
  .site-header {
    position: sticky;
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 20px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 84svh;
    padding-top: 82px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(251, 250, 247, 0.98) 0%, rgba(251, 250, 247, 0.86) 62%, rgba(251, 250, 247, 0.42) 100%),
      linear-gradient(0deg, rgba(251, 250, 247, 0.9), rgba(251, 250, 247, 0.18) 48%);
  }

  .intro,
  .metrics,
  .consulting-grid,
  .capability-grid,
  .timeline,
  .company {
    grid-template-columns: 1fr;
  }

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

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .service-card {
    min-height: auto;
  }

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

  .company-list dt,
  .company-list dd {
    padding: 14px 18px;
  }

  .contact {
    align-items: stretch;
    padding: 28px 22px;
  }

  .contact .button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 36px;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}
