:root {
  --ink: #151311;
  --charcoal: #242522;
  --cedar: #7a4725;
  --amber: #b87a3d;
  --sap: #d9b778;
  --cream: #f4eee4;
  --paper: #fbf7ef;
  --sand: #e6dccd;
  --moss: #566357;
  --line: rgba(21, 19, 17, 0.14);
  --white-soft: rgba(255, 255, 255, 0.86);
  --shadow: 0 28px 80px rgba(21, 19, 17, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 8%, rgba(184, 122, 61, 0.12), transparent 24%),
    radial-gradient(circle at 86% 16%, rgba(86, 99, 87, 0.12), transparent 26%),
    var(--paper);
  font-family:
    "Yu Gothic", "YuGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    Meiryo, system-ui, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.site-header.is-scrolled,
.site-header.menu-active,
body:not([data-page="home"]) .site-header {
  height: 68px;
  background: rgba(251, 247, 239, 0.92);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(156px, 18vw, 236px);
  min-width: 144px;
  padding: 10px 0;
}

.brand img,
.site-footer img {
  width: 100%;
}

body[data-page="home"] .site-header:not(.is-scrolled):not(.menu-active) .brand img {
  filter: invert(1) brightness(1.8);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
  color: var(--white-soft);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-header.is-scrolled .nav-links,
.site-header.menu-active .nav-links,
body:not([data-page="home"]) .nav-links {
  color: var(--ink);
}

.nav-links a {
  position: relative;
  padding: 12px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  color: var(--white-soft);
  background: rgba(21, 19, 17, 0.18);
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
}

.site-header.is-scrolled .menu-button,
.site-header.menu-active .menu-button,
body:not([data-page="home"]) .menu-button {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 220ms ease;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(38deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-38deg);
}

.mobile-menu {
  position: fixed;
  inset: 68px 0 auto;
  z-index: 19;
  display: none;
  padding: 18px;
  background: rgba(251, 247, 239, 0.96);
  box-shadow: 0 18px 42px rgba(21, 19, 17, 0.14);
  backdrop-filter: blur(18px);
}

.mobile-menu a {
  display: block;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.mobile-menu.is-open {
  display: block;
}

.hero {
  position: relative;
  min-height: 84svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.corporate-hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  overflow: hidden;
  padding: clamp(118px, 12vw, 160px) clamp(18px, 6vw, 84px) clamp(58px, 7vw, 92px);
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 26%, rgba(217, 183, 120, 0.18), transparent 24%),
    radial-gradient(circle at 22% 12%, rgba(86, 99, 87, 0.24), transparent 30%),
    linear-gradient(135deg, #11100e, #25251f 52%, #14120f);
}

.corporate-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 12%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.42));
  pointer-events: none;
}

.corporate-hero-copy,
.venture-board {
  position: relative;
  z-index: 2;
}

.corporate-hero h1 {
  margin: 12px 0 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(64px, 11vw, 150px);
  line-height: 0.86;
  font-weight: 900;
}

.venture-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: clamp(18px, 5vw, 72px);
  border: 1px solid rgba(244, 238, 228, 0.2);
  background: rgba(244, 238, 228, 0.18);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.venture-board span {
  min-height: clamp(94px, 10vw, 152px);
  display: flex;
  align-items: end;
  padding: 18px;
  color: rgba(244, 238, 228, 0.88);
  background: rgba(255, 255, 255, 0.055);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(22px, 3vw, 48px);
  font-weight: 900;
}

.venture-board span:first-child {
  grid-column: span 2;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
  transform: scale(1.02);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 9, 0.84), rgba(10, 10, 9, 0.34) 48%, rgba(10, 10, 9, 0.2)),
    linear-gradient(180deg, rgba(10, 10, 9, 0.46), transparent 32%, rgba(10, 10, 9, 0.46));
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  margin-bottom: clamp(68px, 9vw, 118px);
}

.eyebrow,
.section-kicker {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

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

.hero h1 {
  margin: 8px 0 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(72px, 18vw, 238px);
  line-height: 0.88;
  font-weight: 900;
}

.top-hero-copy {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  margin-bottom: clamp(68px, 9vw, 118px);
}

.top-hero-copy h1 {
  margin: 10px 0 0;
  max-width: 1120px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(58px, 11.5vw, 168px);
  line-height: 0.9;
  font-weight: 900;
}

.hero-lead {
  max-width: 700px;
  margin: 26px 0 0;
  font-size: clamp(20px, 3.2vw, 42px);
  line-height: 1.38;
  font-weight: 700;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

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

.button-primary {
  color: var(--ink);
  background: var(--sap);
  border-color: var(--sap);
}

.button-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.button-outline {
  color: var(--ink);
  background: transparent;
}

.vertical-label {
  position: absolute;
  right: clamp(18px, 3vw, 44px);
  bottom: clamp(80px, 11vw, 142px);
  z-index: 2;
  writing-mode: vertical-rl;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
}

.intro-section,
.feature-section,
.top-feature-section,
.route-section,
.page-section,
.contact-section {
  padding: clamp(72px, 10vw, 140px) clamp(18px, 6vw, 84px);
}

.intro-section {
  padding-top: clamp(44px, 7vw, 72px);
}

.intro-grid,
.section-heading {
  display: grid;
  grid-template-columns: minmax(120px, 0.34fr) 1fr;
  gap: clamp(28px, 7vw, 110px);
  max-width: 1220px;
  margin: 0 auto;
}

.section-heading {
  margin-bottom: clamp(32px, 6vw, 76px);
}

.section-kicker {
  color: var(--cedar);
}

.intro-copy h2,
.section-heading h2,
.page-hero h1,
.contact-copy h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 86px);
  line-height: 1.04;
}

.intro-copy p,
.page-lead,
.contact-copy p,
.rich-copy p {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(21, 19, 17, 0.76);
  font-size: clamp(15px, 1.6vw, 18px);
}

.ticker-section {
  overflow: hidden;
  padding: clamp(22px, 4vw, 44px) 0;
  color: var(--paper);
  background: var(--charcoal);
}

.ticker {
  display: flex;
  width: max-content;
  animation: ticker 26s linear infinite;
}

.ticker span {
  padding-right: 0.36em;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(44px, 10vw, 142px);
  line-height: 0.95;
  font-weight: 900;
  white-space: nowrap;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.feature-grid,
.route-grid,
.service-card-grid,
.article-grid,
.news-list,
.stats-grid {
  display: grid;
  gap: 1px;
  max-width: 1220px;
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.route-grid,
.service-card-grid,
.article-grid,
.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.five-services {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature-card,
.route-card,
.service-card,
.article-card,
.news-item,
.stat-card {
  min-height: 260px;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(251, 247, 239, 0.88);
}

.feature-card span,
.route-card span,
.service-card span,
.article-card span,
.news-item time,
.stat-card span {
  display: block;
  margin-bottom: clamp(42px, 6vw, 76px);
  color: var(--moss);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-card h3,
.route-card h3,
.service-card h3,
.article-card h3,
.news-item h3,
.stat-card strong {
  display: block;
  margin: 0;
  font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1.18;
}

.feature-card p,
.route-card p,
.service-card p,
.article-card p,
.news-item p,
.stat-card p {
  margin: 18px 0 0;
  color: rgba(21, 19, 17, 0.68);
  font-size: 14px;
}

.route-card,
.service-card,
.article-card {
  transition: background-color 180ms ease, transform 180ms ease;
}

.route-card:hover,
.route-card:focus-visible,
.service-card:hover,
.service-card:focus-visible,
.article-card:hover,
.article-card:focus-visible {
  background: #fff;
  transform: translateY(-3px);
}

.page-hero {
  padding: clamp(132px, 18vw, 220px) clamp(18px, 6vw, 84px) clamp(58px, 8vw, 96px);
  background:
    linear-gradient(135deg, rgba(184, 122, 61, 0.16), transparent 44%),
    var(--paper);
}

.service-detail-hero {
  padding: clamp(132px, 18vw, 220px) clamp(18px, 6vw, 84px) clamp(74px, 10vw, 140px);
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 24%, rgba(217, 183, 120, 0.14), transparent 28%),
    linear-gradient(135deg, #161512, #282820 54%, #14120f);
}

.service-detail-hero .section-kicker {
  color: var(--sap);
}

.service-detail-hero h1 {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  max-width: 100%;
  font-size: clamp(56px, 9.5vw, 136px);
  line-height: 0.9;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.service-detail-hero .page-lead {
  color: rgba(244, 238, 228, 0.78);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(120px, 0.34fr) 1fr;
  gap: clamp(28px, 7vw, 110px);
  max-width: 1220px;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(62px, 15vw, 190px);
  line-height: 0.9;
}

.page-lead {
  max-width: 640px;
}

.service-list {
  max-width: 1220px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.25fr) minmax(220px, 0.42fr) 1fr;
  gap: clamp(22px, 4vw, 64px);
  align-items: start;
  padding: clamp(28px, 5vw, 62px) 0;
  border-bottom: 1px solid var(--line);
}

.service-row span {
  color: var(--cedar);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-row h2 {
  margin: 0;
  font-size: clamp(26px, 3.5vw, 52px);
  line-height: 1.08;
}

.service-row p {
  margin: 0;
  color: rgba(21, 19, 17, 0.7);
}

.section-link {
  max-width: 1220px;
  margin: clamp(28px, 5vw, 56px) auto 0;
}

.compact-news {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dark-band {
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(86, 99, 87, 0.38), transparent 44%),
    var(--ink);
}

.dark-band .section-kicker {
  color: var(--sap);
}

.dark-band .feature-card,
.dark-band .service-card,
.dark-band .article-card,
.dark-band .news-item {
  background: rgba(255, 255, 255, 0.06);
}

.dark-band .feature-card p,
.dark-band .service-card p,
.dark-band .article-card p,
.dark-band .news-item p {
  color: rgba(244, 238, 228, 0.72);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 112px);
  align-items: center;
  padding: clamp(72px, 9vw, 132px) clamp(18px, 6vw, 84px);
  background: var(--sand);
}

.rich-copy h2 {
  margin: 0;
  font-size: clamp(34px, 6vw, 76px);
  line-height: 1.04;
}

.wood-visual {
  position: relative;
  min-height: clamp(360px, 52vw, 620px);
}

.wood-slab {
  position: absolute;
  width: 34%;
  min-width: 140px;
  height: 82%;
  border-radius: 999px 42% 999px 46%;
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at 44% 26%, rgba(26, 14, 7, 0.34), transparent 9%),
    repeating-linear-gradient(92deg, rgba(57, 29, 12, 0.34) 0 2px, transparent 2px 12px),
    linear-gradient(100deg, #42230f, #b36c31 34%, #d5a05b 52%, #6e3517 78%, #25140b);
}

.wood-slab:nth-child(1) {
  left: 3%;
  top: 9%;
  transform: rotate(-7deg);
}

.wood-slab:nth-child(2) {
  left: 31%;
  top: 2%;
  height: 94%;
  transform: rotate(3deg);
}

.wood-slab:nth-child(3) {
  right: 4%;
  top: 14%;
  height: 76%;
  transform: rotate(8deg);
}

.profile-table {
  width: min(100%, 980px);
  margin: 0 auto;
  border-collapse: collapse;
  border-top: 1px solid var(--line);
}

.profile-table th,
.profile-table td {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.profile-table th {
  width: 180px;
  color: var(--cedar);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  padding-top: clamp(132px, 18vw, 220px);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--line);
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--cedar);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(21, 19, 17, 0.36);
  border-radius: 0;
  padding: 13px 0;
  color: var(--ink);
  background: transparent;
  outline: none;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-bottom-color: var(--cedar);
}

.form-message {
  min-height: 26px;
  margin: 0;
  color: var(--moss);
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 6vw, 84px);
  color: rgba(21, 19, 17, 0.62);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.site-footer a {
  display: block;
  width: 168px;
}

.site-footer p {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .feature-grid,
  .route-grid,
  .service-card-grid,
  .article-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .corporate-hero {
    grid-template-columns: 1fr;
  }

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

  .service-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

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

  .brand {
    width: min(52vw, 190px);
    min-width: 132px;
  }

  .nav-links {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero {
    min-height: 82svh;
  }

  .corporate-hero {
    min-height: 88svh;
    grid-template-columns: 1fr;
    padding: 104px 16px 56px;
  }

  .corporate-hero h1 {
    font-size: clamp(50px, 18vw, 74px);
  }

  .venture-board {
    grid-template-columns: 1fr;
    margin-bottom: 0;
  }

  .venture-board span,
  .venture-board span:first-child {
    grid-column: auto;
    min-height: 58px;
    padding: 12px;
    font-size: 22px;
  }

  .hero-image {
    object-position: 64% 50%;
  }

  .hero-copy {
    width: auto;
    max-width: calc(100% - 32px);
    min-width: 0;
    margin: 0 16px 82px;
  }

  .top-hero-copy {
    width: auto;
    max-width: calc(100% - 32px);
    min-width: 0;
    margin: 0 16px 82px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(52px, 18vw, 74px);
  }

  .top-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(44px, 15vw, 68px);
  }

  .hero-lead {
    max-width: 100%;
    font-size: clamp(19px, 6vw, 28px);
  }

  .vertical-label {
    display: none;
  }

  .intro-grid,
  .section-heading,
  .page-hero-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .intro-copy h2,
  .section-heading h2,
  .contact-copy h1,
  .rich-copy h2 {
    font-size: clamp(31px, 11vw, 56px);
  }

  .page-hero h1 {
    font-size: clamp(56px, 19vw, 86px);
  }

  .service-detail-hero h1 {
    font-size: clamp(46px, 16vw, 70px);
  }

  .feature-grid,
  .route-grid,
  .service-card-grid,
  .article-grid,
  .news-list,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .route-card,
  .article-card,
  .news-item,
  .stat-card {
    min-height: 218px;
  }

  .feature-card span,
  .route-card span,
  .service-card span,
  .article-card span,
  .news-item time,
  .stat-card span {
    margin-bottom: 48px;
  }

  .compact-news {
    grid-template-columns: 1fr;
  }

  .split-section {
    padding-inline: 16px;
  }

  .wood-visual {
    min-height: 320px;
  }

  .wood-slab {
    min-width: 106px;
  }

  .profile-table,
  .profile-table tbody,
  .profile-table tr,
  .profile-table th,
  .profile-table td {
    display: block;
    width: 100%;
  }

  .profile-table th {
    padding-bottom: 2px;
    border-bottom: 0;
  }

  .profile-table td {
    padding-top: 2px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
