:root {
  --ink: #17201d;
  --muted: #66706b;
  --paper: #f7f5ee;
  --white: #ffffff;
  --line: rgba(23, 32, 29, 0.14);
  --cedar: #2f4a3e;
  --clay: #a95e3f;
  --night: #101615;
  --shadow: 0 24px 70px rgba(16, 22, 21, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, min-height 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  min-height: 66px;
  background: rgba(16, 22, 21, 0.92);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 148px;
  height: 42px;
}

.brand img,
.site-footer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  font-size: 13px;
  letter-spacing: 0;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover {
  opacity: 1;
}

.lang-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
}

.lang-switch button {
  min-width: 38px;
  height: 30px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.lang-switch button.is-active {
  background: var(--white);
  color: var(--night);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero picture,
.hero picture img,
.hero-overlay,
.hero-content {
  grid-area: 1 / 1;
}

.hero picture img {
  width: 100%;
  height: 100%;
  min-height: 92vh;
  object-fit: cover;
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(13, 18, 17, 0.84), rgba(13, 18, 17, 0.4) 46%, rgba(13, 18, 17, 0.18)),
    linear-gradient(0deg, rgba(13, 18, 17, 0.28), rgba(13, 18, 17, 0));
}

.hero-content {
  z-index: 2;
  align-self: end;
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 clamp(58px, 10vh, 110px);
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.74);
}

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

h1,
h2,
h3 {
  line-height: 1.22;
  font-weight: 600;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 68px);
  line-break: strict;
  white-space: pre-line;
}

h2 {
  font-size: clamp(29px, 4vw, 52px);
}

h3 {
  font-size: 21px;
}

.hero-lead {
  max-width: 710px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 2vw, 20px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  background: var(--clay);
  color: var(--white);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.54);
  color: var(--white);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(78px, 12vw, 140px) 0;
}

.intro-grid,
.principles-grid,
.human-ai,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.intro-copy,
.text-column,
.contact-box {
  color: var(--muted);
  font-size: 17px;
}

.statement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: stretch;
  background: var(--night);
  color: var(--white);
}

.statement img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.statement-panel {
  align-self: center;
  padding: clamp(44px, 7vw, 86px);
}

.statement-panel p:last-child {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.section-heading {
  display: grid;
  grid-template-columns: 190px minmax(0, 820px);
  gap: 32px;
  align-items: start;
  margin-bottom: 42px;
}

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

.value-grid article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.54);
}

.value-grid span {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 700;
}

.value-grid p,
.principles-grid li {
  color: var(--muted);
}

.media-column img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.text-column {
  align-self: center;
}

.workflow {
  width: min(1260px, calc(100% - 40px));
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.workflow-list li {
  min-height: 150px;
  padding: 22px;
  background: var(--paper);
}

.workflow-list span {
  display: block;
  margin-bottom: 42px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 700;
}

.workflow-list strong {
  display: block;
  font-size: 22px;
  font-weight: 600;
}

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

.principles-grid ul {
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.principles-grid li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
}

.contact {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto clamp(54px, 8vw, 96px);
  padding: clamp(42px, 6vw, 70px);
  border-radius: 8px;
  background: var(--cedar);
  color: var(--white);
}

.contact .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.contact h2 {
  margin-bottom: 0;
}

.contact-box {
  align-self: center;
  color: rgba(255, 255, 255, 0.78);
}

.contact-box p {
  flex-basis: 100%;
  margin-bottom: 4px;
}

.site-footer {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 30px clamp(20px, 4vw, 56px);
  background: var(--night);
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.site-footer img {
  height: 40px;
}

.site-footer p,
.site-footer small {
  margin: 0;
}

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

  .lang-switch {
    margin-left: auto;
    margin-right: 10px;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 22px;
    background: rgba(16, 22, 21, 0.96);
  }

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

  .site-nav a {
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .intro-grid,
  .principles-grid,
  .human-ai,
  .contact,
  .statement,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .statement img {
    min-height: 360px;
  }

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

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand {
    width: 124px;
  }

  .lang-switch button {
    min-width: 34px;
  }

  .hero {
    min-height: 94vh;
  }

  .hero picture img {
    min-height: 94vh;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(13, 18, 17, 0.88), rgba(13, 18, 17, 0.34));
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-bottom: 46px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .section {
    width: calc(100% - 32px);
    padding: 74px 0;
  }

  .value-grid,
  .workflow-list {
    grid-template-columns: 1fr;
  }

  .value-grid article,
  .workflow-list li {
    min-height: auto;
  }

  .value-grid span,
  .workflow-list span {
    margin-bottom: 24px;
  }

  .contact {
    width: calc(100% - 32px);
    padding: 32px 22px;
  }

  .button {
    width: 100%;
  }
}
