:root {
  --ink: #102033;
  --muted: #607085;
  --line: #d9e5ef;
  --blue: #1d75b9;
  --blue-soft: #e8f5ff;
  --blue-pale: #f4faff;
  --gray: #f4f6f8;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(24, 73, 112, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(29, 117, 185, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 117, 185, 0.035) 1px, transparent 1px),
    var(--white);
  background-size: 44px 44px;
  font-family: Inter, "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 18px;
  left: 50%;
  display: flex;
  width: min(1160px, calc(100% - 28px));
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(217, 229, 239, 0.85);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(16, 32, 51, 0.08);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #b7d8ef;
  border-radius: 50%;
  color: var(--blue);
  background: radial-gradient(circle at 30% 25%, var(--white), var(--blue-soft));
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #45576c;
  font-size: 14px;
  font-weight: 700;
}

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

.language-switcher {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbfe;
}

.language-switcher button {
  min-width: 44px;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  color: #45576c;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.language-switcher button.is-active {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 8px 20px rgba(29, 117, 185, 0.22);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 150px 0 96px;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background-image: url("assets/damo-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 46%, rgba(255, 255, 255, 0.34) 100%),
    linear-gradient(180deg, rgba(244, 250, 255, 0.5), rgba(255, 255, 255, 0.7));
}

.hero-content {
  max-width: 760px;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 32px;
  color: #40556d;
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: var(--radius);
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 16px 36px rgba(29, 117, 185, 0.24);
}

.button.secondary {
  border: 1px solid #bed7ea;
  color: #174467;
  background: rgba(255, 255, 255, 0.84);
}

.intro-band {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.intro-grid > div {
  padding: 30px;
  background: rgba(255, 255, 255, 0.94);
}

.metric {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 28px;
  font-weight: 800;
}

.intro-grid p,
.section-copy p,
.contact-layout p,
.process-list p {
  color: var(--muted);
}

.section {
  padding: 112px 0;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 52px;
  align-items: center;
}

.section-copy {
  max-width: 680px;
}

.profile-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.profile-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.profile-row:last-child {
  border-bottom: 0;
}

.profile-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.services-section {
  background:
    linear-gradient(135deg, rgba(232, 245, 255, 0.92), rgba(255, 255, 255, 0.72)),
    var(--blue-pale);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

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

.service-card {
  position: relative;
  min-height: 330px;
  padding: 28px;
  border: 1px solid rgba(190, 215, 234, 0.95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(24, 73, 112, 0.08);
  overflow: hidden;
}

.service-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), #99c9ed);
  content: "";
}

.service-number {
  display: inline-block;
  margin-bottom: 24px;
  color: #94b6d2;
  font-size: 14px;
  font-weight: 800;
}

.service-card p {
  color: var(--blue);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
}

.service-card ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
}

.service-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7eb8e0;
  content: "";
}

.wide-card {
  grid-column: span 2;
  min-height: 260px;
}

.process-band {
  padding: 86px 0;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(16, 32, 51, 0.94), rgba(28, 95, 145, 0.94)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
}

.process-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 48px;
}

.process-band .eyebrow,
.process-list span {
  color: #a6d8ff;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.process-list strong {
  display: block;
  margin: 8px 0;
}

.process-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.contact-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(232, 245, 255, 0.9), transparent 34%),
    var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 430px);
  gap: 56px;
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  font-style: normal;
}

.contact-card a {
  color: var(--blue);
  font-weight: 800;
}

.contact-card span {
  color: var(--muted);
}

.site-footer {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  background: #f8fafc;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .header-actions {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 18px 40px rgba(16, 32, 51, 0.08);
  }

  .header-actions.is-open {
    display: grid;
    gap: 10px;
  }

  .site-nav {
    display: grid;
    gap: 2px;
  }

  .language-switcher {
    justify-content: stretch;
  }

  .language-switcher button {
    flex: 1;
  }

  .intro-grid,
  .split-layout,
  .services-grid,
  .process-layout,
  .process-list,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .wide-card {
    grid-column: auto;
  }

  .hero {
    min-height: 850px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    top: 10px;
  }

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

  .hero {
    min-height: 780px;
    padding-top: 132px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

  .section {
    padding: 76px 0;
  }

  .intro-grid > div,
  .service-card,
  .contact-card {
    padding: 22px;
  }

  .profile-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
