:root {
  color-scheme: light;
  --ink: #192020;
  --muted: #5d6868;
  --paper: #f6f2ec;
  --paper-strong: #fffdf8;
  --line: #d9d3ca;
  --teal: #126a67;
  --teal-dark: #0b4b48;
  --red: #cf3f32;
  --mustard: #d6a037;
  --graphite: #24282a;
  --shadow: 0 24px 70px rgba(25, 32, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: var(--paper-strong);
  background: linear-gradient(180deg, rgba(20, 25, 25, 0.74), rgba(20, 25, 25, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 253, 248, 0.56);
  background: rgba(255, 253, 248, 0.14);
  font-weight: 800;
}

.brand-name,
.brand-sub {
  display: block;
  line-height: 1.1;
}

.brand-name {
  font-size: 16px;
  font-weight: 800;
}

.brand-sub {
  margin-top: 4px;
  color: rgba(255, 253, 248, 0.72);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: rgba(255, 253, 248, 0.82);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/hero-workspace.png");
  background-size: cover;
  background-position: center;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(18, 24, 24, 0.9) 0%, rgba(18, 24, 24, 0.7) 35%, rgba(18, 24, 24, 0.15) 72%),
    linear-gradient(180deg, rgba(18, 24, 24, 0.24), rgba(18, 24, 24, 0.18));
}

.hero-content {
  width: min(760px, calc(100% - 40px));
  margin: auto 0 8vh;
  padding: 140px 0 90px clamp(20px, 7vw, 96px);
  color: var(--paper-strong);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
}

.hero-lead {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(255, 253, 248, 0.86);
  font-size: 18px;
  overflow-wrap: anywhere;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid rgba(255, 253, 248, 0.36);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
}

.button.primary {
  color: var(--paper-strong);
  background: var(--teal);
  border-color: var(--teal);
}

.button.secondary {
  color: var(--paper-strong);
  background: rgba(255, 253, 248, 0.08);
}

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

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

.band {
  background: var(--paper-strong);
}

.intro {
  padding: 84px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(28px, 6vw, 92px);
}

.intro h2,
.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.25;
  letter-spacing: 0;
}

.intro p:last-child {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.services,
.company {
  padding: 98px 0;
}

.section-heading {
  display: grid;
  gap: 6px;
  max-width: 760px;
  margin-bottom: 34px;
}

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

.service-card {
  min-height: 290px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: 0 12px 36px rgba(25, 32, 32, 0.06);
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 32px;
  margin-bottom: 42px;
  color: var(--teal-dark);
  border: 1px solid rgba(18, 106, 103, 0.28);
  background: rgba(18, 106, 103, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.service-card h3,
.principle h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
}

.service-card p,
.principle p {
  margin: 18px 0 0;
  color: var(--muted);
}

.approach {
  padding: 96px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}

.principles {
  display: grid;
  gap: 16px;
}

.principle {
  position: relative;
  padding: 0 0 22px 26px;
  border-bottom: 1px solid var(--line);
}

.principle::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--mustard);
}

.company-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-list div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

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

.company-list dd {
  margin: 0;
  font-weight: 700;
}

.site-footer {
  color: var(--paper-strong);
  background: var(--graphite);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
  font-size: 13px;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 820px;
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(18, 24, 24, 0.86) 0%, rgba(18, 24, 24, 0.72) 48%, rgba(18, 24, 24, 0.38) 100%),
      linear-gradient(90deg, rgba(18, 24, 24, 0.34), rgba(18, 24, 24, 0.16));
  }

  .hero-content {
    width: calc(100% - 40px);
    max-width: 620px;
    margin: 0 auto;
    padding: 142px 0 70px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-lead {
    max-width: 560px;
  }

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

  .intro,
  .approach,
  .services,
  .company {
    padding: 68px 0;
  }

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

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

@media (max-width: 520px) {
  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 760px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-lead {
    max-width: 320px;
    font-size: 16px;
    word-break: break-all;
  }

  .button {
    width: 100%;
  }

  .footer-inner {
    display: grid;
  }
}
