:root {
  color-scheme: light;
  --ink: #19212a;
  --muted: #5d6a75;
  --line: #d9e1e8;
  --paper: #f8faf8;
  --surface: #ffffff;
  --accent: #0f766e;
  --accent-dark: #0b4d49;
  --warm: #c27a31;
  --shadow: 0 20px 45px rgba(25, 33, 42, 0.12);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.8;
}

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

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

.site-header {
  align-items: center;
  background: rgba(248, 250, 248, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217, 225, 232, 0.75);
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 14px clamp(20px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  gap: 12px;
  letter-spacing: 0;
}

.brand-logo {
  font-family: Georgia, serif;
  height: 40px;
  object-fit: contain;
  width: 40px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
}

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

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

.nav-cta {
  background: var(--accent-dark);
  border-radius: 8px;
  color: #fff !important;
  padding: 9px 14px;
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  padding: 8px;
  width: 42px;
}

.nav-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 6px 0;
  width: 100%;
}

.hero {
  align-items: end;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  padding: 130px clamp(20px, 7vw, 92px) 76px;
  position: relative;
}

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

.hero-media {
  background-image: url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=85");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 32, 35, 0.84), rgba(9, 32, 35, 0.55) 46%, rgba(9, 32, 35, 0.18)),
    linear-gradient(0deg, rgba(9, 32, 35, 0.35), rgba(9, 32, 35, 0.1));
}

.hero-content {
  color: #fff;
  max-width: 820px;
  position: relative;
  z-index: 1;
}

.hero-logo {
  height: 88px;
  margin-bottom: 24px;
  object-fit: contain;
  width: 88px;
}

.eyebrow {
  color: var(--warm);
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0b66f;
}

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

h1 {
  font-size: clamp(42px, 6vw, 82px);
  letter-spacing: 0;
  line-height: 1.12;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(28px, 3.2vw, 46px);
  letter-spacing: 0;
  line-height: 1.35;
  margin-bottom: 0;
}

h3 {
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.hero-lead {
  font-size: clamp(18px, 2.1vw, 26px);
  font-weight: 700;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

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

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
}

.section {
  padding: 92px clamp(20px, 7vw, 92px);
}

.section-heading {
  max-width: 760px;
}

.intro-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  margin-top: 38px;
}

.intro-copy {
  color: var(--muted);
  font-size: 18px;
}

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

.principles article,
.case-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(25, 33, 42, 0.06);
}

.principles article {
  padding: 24px;
}

.principles span {
  color: var(--accent);
  font-weight: 900;
}

.principles p,
.case-card p,
.company-list dd {
  color: var(--muted);
}

.cases {
  background: #eef3f2;
}

.case-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 40px;
}

.case-card {
  overflow: hidden;
}

.case-card img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.case-card div {
  padding: 24px;
}

.company {
  align-items: stretch;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
}

.company-visual {
  background-image: url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1100&q=80");
  background-position: center;
  background-size: cover;
  border-radius: 8px;
  min-height: 520px;
}

.company-list {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
}

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

.company-list dt {
  font-weight: 900;
}

.company-list dd {
  margin: 0;
}

.contact {
  align-items: center;
  background: var(--accent-dark);
  color: #fff;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: 64px clamp(20px, 7vw, 92px);
}

.contact h2 {
  max-width: 820px;
}

.contact .button.primary {
  background: #fff;
  color: var(--accent-dark);
  flex: 0 0 auto;
}

.site-footer {
  align-items: center;
  background: #11191c;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  padding: 24px clamp(20px, 7vw, 92px);
}

.site-footer p {
  margin: 0;
}

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

  .site-nav {
    align-items: stretch;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 10px 20px 20px;
    position: absolute;
    right: 0;
    top: 72px;
  }

  .site-nav.is-open {
    display: flex;
  }

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

  .nav-cta {
    margin-top: 8px;
    padding: 10px 14px !important;
    text-align: center;
  }

  .hero {
    min-height: 86vh;
    padding-top: 116px;
  }

  .intro-grid,
  .case-grid,
  .company {
    grid-template-columns: 1fr;
  }

  .company-visual {
    min-height: 300px;
  }

  .contact,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

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

  .section {
    padding-bottom: 68px;
    padding-top: 68px;
  }

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