:root {
  color-scheme: light dark;
  --bg: #f3f5f1;
  --surface: #fbfcf8;
  --panel: #ffffff;
  --panel-strong: #eef3ec;
  --text: #172019;
  --muted: #5b665e;
  --line: #d4dccf;
  --accent: #2f6f4e;
  --accent-strong: #214f37;
  --accent-soft: #dfeadd;
  --ink: #101712;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(25, 45, 32, .14);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101611;
    --surface: #141c16;
    --panel: #1b251d;
    --panel-strong: #223026;
    --text: #edf4ee;
    --muted: #b4c1b6;
    --line: #344237;
    --accent: #8bc69b;
    --accent-strong: #bfe5c7;
    --accent-soft: #243528;
    --ink: #edf4ee;
    --shadow: 0 24px 80px rgba(0, 0, 0, .34);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-soft) 64%, transparent), transparent 28rem),
    var(--bg);
  font-family: Aptos, "Segoe UI", "Noto Sans", Arial, sans-serif;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  text-decoration: none;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: var(--accent-strong);
  font-size: 13px;
  letter-spacing: .04em;
}

.brand span:last-child {
  display: grid;
  gap: 2px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

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

.nav-links a:hover,
.site-footer a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: var(--panel);
}

.hero {
  padding: 48px 0 62px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
  min-height: calc(100dvh - 132px);
}

.hero-copy {
  max-width: 610px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 5.8vw, 74px);
  line-height: .99;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.05;
}

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

.lead {
  max-width: 570px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

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

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

.button.primary {
  color: #ffffff;
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.button.secondary {
  color: var(--text);
  background: var(--panel);
}

.hero-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-caption {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  padding: 22px;
  border-top: 1px solid var(--line);
}

.hero-caption strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.hero-caption span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.section {
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.section p,
.policy p,
.policy li,
.company-list dd,
.company-list dt,
.service-panel p,
.support-panel p,
.category-card p,
.operation-card p,
.story-list p {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.62;
}

.narrow {
  max-width: 760px;
}

.intro-row {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 42px;
  align-items: start;
}

.intro-statement {
  padding: 30px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--accent-strong);
}

.intro-statement p {
  margin: 0;
  color: rgba(255, 255, 255, .86);
}

.story-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.story-list article {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.story-list h3 {
  margin: 0;
  font-size: 18px;
}

.story-list p {
  margin: 0;
}

.visual-band {
  background: var(--surface);
}

.category-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: stretch;
}

.category-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.category-card.large {
  display: grid;
  grid-template-rows: auto 1fr;
}

.category-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.category-card .card-body {
  padding: 26px;
}

.category-stack {
  display: grid;
  gap: 22px;
}

.category-card.tinted {
  background: var(--panel-strong);
}

.category-card.accent {
  color: #ffffff;
  background: linear-gradient(135deg, #214f37, #2f6f4e);
  border-color: transparent;
}

.category-card.accent p {
  color: rgba(255, 255, 255, .84);
}

.operation-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: center;
}

.operation-photo {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.operation-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.operation-list {
  display: grid;
  gap: 14px;
}

.operation-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.operation-card h3,
.operation-card p {
  margin-bottom: 0;
}

.identity-band {
  background: var(--surface);
}

.identity-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 44px;
}

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

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

.company-list dt {
  color: var(--text);
  font-weight: 850;
}

.company-list dd {
  margin: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 22px;
  align-items: stretch;
}

.service-panel {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.service-panel.accent {
  color: #ffffff;
  background: linear-gradient(135deg, #214f37, #2f6f4e);
  border-color: transparent;
}

.service-panel.accent p {
  color: rgba(255, 255, 255, .84);
}

.service-panel.soft {
  background: var(--panel-strong);
}

.service-stack {
  display: grid;
  gap: 22px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.process-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.process-grid h3 {
  font-size: 18px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

address {
  color: var(--muted);
  font-style: normal;
  line-height: 1.7;
}

address strong,
address a {
  color: var(--text);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 32px;
}

.site-footer h3 {
  font-size: 17px;
}

.site-footer p,
.site-footer li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-bottom {
  margin-top: 30px;
  color: var(--muted);
  font-size: 13px;
}

.page-hero {
  padding: 76px 0 54px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(40px, 5vw, 64px);
}

.page-hero.media {
  padding-bottom: 0;
}

.page-media {
  margin-top: 34px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  border: 1px solid var(--line);
  border-bottom: 0;
}

.page-media img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
}

.policy {
  display: grid;
  gap: 28px;
  padding: 64px 0;
}

.policy section {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.policy ul {
  padding-left: 20px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.support-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

@media (max-width: 940px) {
  .nav-shell,
  .nav-links {
    align-items: flex-start;
  }

  .nav-shell {
    padding: 14px 0;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-grid,
  .intro-row,
  .category-grid,
  .operation-layout,
  .identity-grid,
  .service-grid,
  .contact-panel,
  .footer-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-grid {
    min-height: auto;
  }

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

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

  h1 {
    font-size: clamp(30px, 8.4vw, 36px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .hero {
    padding: 30px 0 54px;
  }

  .lead {
    font-size: 17px;
  }

  .nav-links {
    gap: 14px;
    font-size: 13.5px;
  }

  .hero-caption,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .story-list article,
  .company-list div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .contact-panel {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
