:root {
  --ink: #18221e;
  --muted: #5d675f;
  --paper: #f5f1e8;
  --white: #ffffff;
  --line: #ded7ca;
  --forest: #163f33;
  --moss: #60794e;
  --river: #31586b;
  --cedar: #9b5a34;
  --gold: #c79a43;
  --ash: #e7ebe4;
  --shadow: 0 22px 60px rgba(24, 34, 30, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  line-height: 1.75;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px 58px;
  border-bottom: 1px solid rgba(222, 215, 202, 0.82);
  background: rgba(245, 241, 232, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  background: var(--forest);
  color: var(--white);
  font-weight: 900;
}

.brand-text {
  display: grid;
  min-width: 0;
}

.brand-name,
.brand-place {
  display: block;
}

.brand-name {
  font-weight: 900;
}

.brand-place {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  color: var(--muted);
  font-size: 0.92rem;
  white-space: nowrap;
}

.site-nav a,
.header-action,
.button,
.map-link {
  text-decoration: none;
}

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

.header-action,
.button,
.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  font-weight: 800;
}

.header-action {
  background: var(--river);
  color: var(--white);
}

.contact-button {
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
  min-width: 178px;
  line-height: 1.25;
  text-align: left;
}

.contact-button span {
  font-size: 0.74rem;
  opacity: 0.78;
}

.contact-button strong {
  overflow-wrap: anywhere;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 70svh;
  overflow: hidden;
  padding: 88px 96px 96px;
  color: var(--white);
}

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

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(14, 27, 24, 0.92) 0%, rgba(14, 27, 24, 0.74) 38%, rgba(14, 27, 24, 0.2) 72%),
    linear-gradient(180deg, rgba(14, 27, 24, 0.08), rgba(14, 27, 24, 0.44));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(700px, 100%);
}

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

.hero h1 {
  margin: 0;
  font-size: 5.8rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  width: min(650px, 100%);
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.14rem;
}

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

.button-primary {
  background: var(--gold);
  color: #241809;
}

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

.button-dark {
  background: var(--forest);
  color: var(--white);
}

.button-light {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.quick-info {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.25fr;
  gap: 1px;
  background: var(--line);
}

.quick-info div {
  min-width: 0;
  padding: 22px 42px;
  background: var(--white);
}

.quick-info span,
.company-table dt {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.quick-info strong {
  display: block;
  margin-top: 4px;
  font-size: 1.06rem;
}

.section,
.work-section,
.consult-section {
  padding: 92px 58px;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: 64px;
  background: var(--paper);
}

.section-copy,
.company-copy,
.consult-copy,
.section-heading {
  max-width: 720px;
}

.section h2,
.work-section h2,
.consult-section h2 {
  margin: 0;
  font-size: 2.5rem;
  line-height: 1.22;
  letter-spacing: 0;
}

.section p,
.work-section p,
.consult-section p {
  color: var(--muted);
}

.craft-panel {
  display: grid;
  gap: 12px;
}

.craft-panel div,
.process-grid article,
.product-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.craft-panel div {
  padding: 28px;
}

.craft-panel span,
.process-grid span {
  color: var(--cedar);
  font-weight: 900;
}

.craft-panel strong,
.product-card h3,
.process-grid h3 {
  display: block;
  margin: 4px 0 8px;
  font-size: 1.22rem;
}

.craft-panel p,
.product-card p,
.process-grid p {
  margin: 0;
}

.work-section {
  background: var(--ash);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.process-grid article {
  min-height: 230px;
  padding: 28px;
}

.product-section {
  background: var(--paper);
}

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

.product-card {
  min-height: 220px;
  padding: 28px;
}

.feature-card {
  background: var(--forest);
  color: var(--white);
}

.feature-card p {
  color: rgba(255, 255, 255, 0.78);
}

.product-label {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--cedar);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-card .product-label {
  color: var(--gold);
}

.consult-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 42px;
  background: var(--river);
  color: var(--white);
}

.consult-section .eyebrow,
.consult-section p {
  color: rgba(255, 255, 255, 0.82);
}

.consult-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.company-section {
  background: var(--paper);
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: 42px;
  margin-top: 34px;
}

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

.company-table div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.company-table dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.map-wrap {
  display: grid;
  gap: 12px;
  align-self: start;
}

.map-wrap iframe {
  width: 100%;
  height: 430px;
  border: 0;
  border-radius: 6px;
  filter: saturate(0.9);
}

.map-link {
  border-color: var(--line);
  background: var(--white);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px 58px;
  background: #111a17;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 12px 22px;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 68svh;
    padding: 78px 32px 74px;
  }

  .hero h1 {
    font-size: 4.1rem;
  }

  .quick-info,
  .story-section,
  .process-grid,
  .product-grid,
  .consult-section,
  .company-layout {
    grid-template-columns: 1fr;
  }

  .quick-info div {
    padding: 20px 28px;
  }

  .section,
  .work-section,
  .consult-section {
    padding: 72px 28px;
  }

  .process-grid article,
  .product-card {
    min-height: 0;
  }

  .consult-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: auto;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .header-action {
    padding-inline: 13px;
    font-size: 0.9rem;
  }

  .site-nav {
    gap: 18px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 64svh;
    padding: 66px 20px 60px;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .consult-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section,
  .work-section,
  .consult-section {
    padding: 58px 20px;
  }

  .section h2,
  .work-section h2,
  .consult-section h2 {
    font-size: 1.92rem;
  }

  .craft-panel div,
  .process-grid article,
  .product-card {
    padding: 22px;
  }

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

  .map-wrap iframe {
    height: 330px;
  }

  .site-footer {
    padding: 24px 20px;
  }
}
