:root {
  --ink: #161820;
  --muted: #5d6472;
  --paper: #fbfaf7;
  --line: #ded9ce;
  --blue: #1677bd;
  --red: #c83245;
  --gold: #c89d4a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  align-items: center;
  background: rgba(251, 250, 247, 0.9);
  border-bottom: 1px solid rgba(22, 24, 32, 0.08);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 14px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand img {
  height: 36px;
  width: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2.4vw, 28px);
  justify-content: flex-end;
}

nav a {
  color: #333844;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero {
  align-items: flex-end;
  display: grid;
  min-height: 88svh;
  overflow: hidden;
  padding: 108px clamp(20px, 6vw, 84px) clamp(44px, 8vw, 92px);
  position: relative;
}

.hero-image,
.hero-shade {
  inset: 0;
  position: absolute;
}

.hero-image {
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  width: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 13, 20, 0.78), rgba(10, 13, 20, 0.25)),
    linear-gradient(0deg, rgba(10, 13, 20, 0.58), rgba(10, 13, 20, 0.08));
}

.hero-copy {
  color: white;
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
figure,
ol,
ul,
address,
dl {
  margin-top: 0;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 12vw, 136px);
  letter-spacing: 0;
  line-height: 0.92;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(28px, 5vw, 52px);
  letter-spacing: 0;
  line-height: 1.12;
  margin-bottom: 0;
}

h3 {
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.lead {
  font-size: clamp(18px, 2.8vw, 26px);
  font-weight: 700;
  margin-bottom: 30px;
  max-width: 720px;
}

.primary-link {
  background: var(--red);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: white;
  display: inline-flex;
  font-weight: 800;
  min-height: 48px;
  padding: 10px 22px;
}

.section {
  margin: 0 auto;
  max-width: 1160px;
  padding: clamp(64px, 10vw, 112px) clamp(20px, 5vw, 48px);
}

.section-heading {
  border-left: 5px solid var(--red);
  margin-bottom: 34px;
  padding-left: 18px;
}

.section-heading.compact {
  margin-bottom: 22px;
}

.company-section {
  display: grid;
  gap: clamp(28px, 6vw, 78px);
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
}

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

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

.company-row dt {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

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

.service-section {
  padding-top: 20px;
}

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

.service-grid li {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
  min-height: 72px;
  padding: 18px;
}

.strength-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 58px;
}

.strength-grid article {
  background: #202838;
  border-left: 4px solid var(--gold);
  color: white;
  padding: 24px;
}

.strength-grid p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
}

.flow-block {
  border-top: 1px solid var(--line);
  padding-top: 44px;
}

.flow-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.flow-list li {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  display: flex;
  font-weight: 800;
  gap: 12px;
  min-height: 68px;
  padding: 14px 16px;
}

.flow-list span {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.works-section {
  background: #171b25;
  color: white;
}

.works-inner {
  max-width: 1280px;
}

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

.works-grid figure {
  background: #0f121a;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  overflow: hidden;
}

.works-grid img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.works-grid figcaption {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  min-height: 54px;
  padding: 12px 14px 14px;
}

.contact-section {
  align-items: end;
  display: grid;
  gap: clamp(28px, 6vw, 80px);
  grid-template-columns: 1fr 1fr;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  font-weight: 700;
  max-width: 560px;
}

address {
  border-left: 5px solid var(--blue);
  font-style: normal;
  font-weight: 800;
  padding-left: 22px;
}

address a,
address span {
  display: block;
}

address a {
  color: var(--blue);
  font-size: clamp(18px, 2.5vw, 26px);
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

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

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(10, 13, 20, 0.82), rgba(10, 13, 20, 0.38)),
      linear-gradient(0deg, rgba(10, 13, 20, 0.68), rgba(10, 13, 20, 0.2));
  }

  .company-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .service-grid,
  .strength-grid,
  .flow-list,
  .works-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  nav {
    gap: 10px 14px;
  }

  nav a {
    font-size: 12px;
  }

  .brand img {
    height: 30px;
  }

  .hero-image {
    object-position: 54% 20%;
  }
}
