:root {
  --ink: #050403;
  --ink-2: #0d0b09;
  --panel: #15110d;
  --panel-soft: #1d1812;
  --gold: #d8a66a;
  --gold-bright: #f1c789;
  --cream: #f7efe2;
  --muted: #b8aa99;
  --line: rgba(216, 166, 106, 0.32);
  --green: #60715d;
  --steel: #536973;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --header-height: 86px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cream);
  background: var(--ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", Georgia, serif;
  line-height: 1.8;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 34px;
  background: rgba(5, 4, 3, 0.58);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 4, 3, 0.92);
  border-color: var(--line);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 244px;
  max-width: 42vw;
  height: auto;
}

.footer-logo {
  display: block;
  width: 232px;
  max-width: 70vw;
  height: auto;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  transform: rotate(45deg);
  border: 1px solid var(--gold);
  background:
    linear-gradient(135deg, rgba(241, 199, 137, 0.95), rgba(71, 45, 20, 0.2) 42%, rgba(241, 199, 137, 0.84));
  box-shadow: 0 0 28px rgba(216, 166, 106, 0.3);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(247, 239, 226, 0.68);
}

.brand-mark::after {
  inset: 16px -7px;
  border-left: 0;
  border-right: 0;
}

.brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-name {
  color: var(--gold-bright);
  font-size: 29px;
  line-height: 1.05;
  white-space: nowrap;
}

.brand-sub,
.footer-brand small {
  color: var(--cream);
  font-family: "Segoe UI", "Hiragino Sans", sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0;
  opacity: 0.84;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: "Segoe UI", "Hiragino Sans", sans-serif;
}

.site-nav a {
  display: grid;
  gap: 1px;
  justify-items: center;
  color: var(--cream);
  font-size: 13px;
  line-height: 1.2;
  opacity: 0.92;
  transition: color 160ms ease, opacity 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-bright);
  opacity: 1;
}

.site-nav small {
  color: var(--muted);
  font-size: 11px;
}

.nav-contact {
  min-width: 142px;
  min-height: 50px;
  align-content: center;
  border: 1px solid var(--line);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-button svg {
  width: 22px;
  height: 22px;
}

.hero {
  position: relative;
  min-height: 78vh;
  padding: 150px 34px 64px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.98) 0%, rgba(5, 4, 3, 0.84) 28%, rgba(5, 4, 3, 0.36) 55%, rgba(5, 4, 3, 0.14) 100%),
    linear-gradient(180deg, rgba(5, 4, 3, 0.88) 0%, rgba(5, 4, 3, 0.08) 36%, rgba(5, 4, 3, 0.72) 100%),
    url("assets/hero-bg.jpg") center right / cover no-repeat;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0.62;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold-bright);
  font-family: "Segoe UI", "Hiragino Sans", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1,
.section-copy h2,
.section-heading h2 {
  margin: 0;
  color: #fffaf3;
  font-weight: 500;
  line-height: 1.35;
}

.hero h1 {
  font-size: 48px;
}

.hero-title-line {
  display: inline;
}

.hero-lead {
  margin: 22px 0 18px;
  color: var(--gold-bright);
  font-size: 20px;
  line-height: 1.55;
}

.hero-text {
  width: min(560px, 100%);
  margin: 0;
  color: var(--cream);
  font-size: 16px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font-family: "Segoe UI", "Hiragino Sans", sans-serif;
  font-size: 14px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold-bright);
}

.button-primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border-color: transparent;
}

.button-ghost {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.04);
}

.service-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #070605;
  border-bottom: 1px solid var(--line);
}

.rail-item {
  min-height: 168px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 26px 22px;
  text-align: center;
  border-right: 1px solid var(--line);
  transition: background 160ms ease;
}

.rail-item:last-child {
  border-right: 0;
}

.rail-item:hover,
.rail-item:focus-visible {
  background: rgba(216, 166, 106, 0.08);
}

.rail-item svg {
  width: 34px;
  height: 34px;
  color: var(--gold-bright);
  margin-bottom: 6px;
}

.rail-item strong {
  color: var(--gold-bright);
  font-size: 15px;
  text-transform: uppercase;
  line-height: 1.35;
}

.rail-item span {
  color: var(--cream);
  font-size: 14px;
}

.section {
  padding: 108px 34px;
}

.section-grid,
.contact-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: center;
}

.section-grid.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.section-copy h2,
.section-heading h2 {
  font-size: 38px;
}

.section-copy p:not(.section-kicker),
.section-heading p:not(.section-kicker) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.about-section {
  background:
    linear-gradient(90deg, rgba(96, 113, 93, 0.14), transparent 42%),
    var(--ink-2);
}

.message-panel {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow);
}

.message-panel p {
  margin: 0;
  color: var(--cream);
}

.message-panel dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0 0;
}

.message-panel div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.message-panel dt {
  color: var(--gold-bright);
  font-family: "Segoe UI", "Hiragino Sans", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
}

.message-panel dd {
  margin: 4px 0 0;
  color: #fff;
  font-size: 14px;
}

.business-section {
  background: #080706;
}

.section-heading {
  width: min(980px, 100%);
  margin: 0 auto 44px;
  text-align: center;
}

.business-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.business-card {
  min-height: 258px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.business-card:hover {
  transform: translateY(-4px);
  border-color: rgba(241, 199, 137, 0.72);
  background: linear-gradient(180deg, rgba(216, 166, 106, 0.12), rgba(255, 255, 255, 0.02));
}

.business-card svg {
  width: 34px;
  height: 34px;
  color: var(--gold-bright);
}

.business-card h3 {
  margin: 22px 0 12px;
  color: #fffaf3;
  font-size: 19px;
  line-height: 1.45;
}

.business-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.products-section {
  background:
    linear-gradient(90deg, rgba(83, 105, 115, 0.16), transparent 55%),
    var(--panel);
}

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

.product-visual img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: left top;
}

.product-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.product-list li {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  color: var(--cream);
  border-bottom: 1px solid rgba(216, 166, 106, 0.2);
}

.product-list span {
  color: var(--gold-bright);
  font-family: "Segoe UI", "Hiragino Sans", sans-serif;
  font-size: 12px;
}

.story-section {
  background: var(--ink);
}

.story-timeline {
  width: min(1050px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.story-item {
  position: relative;
  padding: 28px 26px 30px;
  border-top: 1px solid var(--gold);
  background: rgba(255, 255, 255, 0.025);
}

.story-item span {
  color: var(--gold-bright);
  font-family: "Segoe UI", "Hiragino Sans", sans-serif;
  font-size: 12px;
}

.story-item h3 {
  margin: 12px 0 10px;
  color: #fffaf3;
  font-size: 22px;
}

.story-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.news-band {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 40px;
  padding: 48px 34px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.96), rgba(5, 4, 3, 0.74)),
    url("assets/hero-bg.jpg") center / cover no-repeat;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.news-copy,
.news-list {
  width: min(520px, 100%);
}

.news-copy {
  justify-self: end;
}

.news-copy h2 {
  margin: 0;
  color: #fffaf3;
  font-size: 30px;
  font-weight: 500;
}

.news-list {
  display: grid;
  gap: 10px;
}

.news-list p {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  margin: 0;
  color: var(--cream);
  font-size: 14px;
}

.news-list time {
  color: var(--gold-bright);
  font-family: "Segoe UI", "Hiragino Sans", sans-serif;
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(96, 113, 93, 0.16), transparent 50%),
    var(--ink-2);
}

.contact-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
}

.mail-link {
  display: inline-block;
  margin-top: 26px;
  color: var(--gold-bright);
  font-family: "Segoe UI", "Hiragino Sans", sans-serif;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--gold-bright);
  font-family: "Segoe UI", "Hiragino Sans", sans-serif;
  font-size: 13px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  color: var(--cream);
  background: rgba(5, 4, 3, 0.72);
  border: 1px solid rgba(216, 166, 106, 0.38);
  border-radius: var(--radius);
  padding: 12px 14px;
  outline: none;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold-bright);
}

.contact-form .button {
  justify-self: start;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 32px 34px;
  color: var(--muted);
  background: #040302;
}

.footer-brand strong {
  display: block;
  color: var(--gold-bright);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.1;
}

.site-footer p {
  margin: 0;
  font-family: "Segoe UI", "Hiragino Sans", sans-serif;
  font-size: 12px;
}

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

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

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

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

@media (max-width: 1180px) {
  .site-header {
    padding: 0 24px;
  }

  .site-nav {
    gap: 20px;
  }

  .brand-name {
    font-size: 25px;
  }

  .brand-logo {
    width: 214px;
  }

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

@media (max-width: 900px) {
  :root {
    --header-height: 74px;
  }

  .site-header {
    padding: 0 18px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .brand-name {
    font-size: 21px;
  }

  .brand-logo {
    width: 196px;
    max-width: 58vw;
  }

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

  .site-nav {
    position: fixed;
    z-index: 30;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - var(--header-height));
    display: grid;
    align-content: start;
    gap: 0;
    padding: 18px;
    overflow-y: auto;
    background: #050403;
    border-top: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 220ms ease;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav a {
    min-height: 58px;
    justify-items: start;
    align-content: center;
    border-bottom: 1px solid rgba(216, 166, 106, 0.18);
  }

  .nav-contact {
    min-width: 0;
    border: 0;
    border-bottom: 1px solid rgba(216, 166, 106, 0.18);
  }

  .hero {
    min-height: 72vh;
    padding: 120px 22px 58px;
  }

  .hero-media {
    background:
      linear-gradient(90deg, rgba(5, 4, 3, 0.98) 0%, rgba(5, 4, 3, 0.82) 56%, rgba(5, 4, 3, 0.5) 100%),
      linear-gradient(180deg, rgba(5, 4, 3, 0.9) 0%, rgba(5, 4, 3, 0.08) 36%, rgba(5, 4, 3, 0.76) 100%),
      url("assets/hero-bg.jpg") center right / cover no-repeat;
  }

  .hero::after {
    left: 22px;
    right: 22px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-title-line {
    display: block;
  }

  .hero-lead {
    font-size: 18px;
  }

  .service-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .rail-item:nth-child(2) {
    border-right: 0;
  }

  .rail-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section,
  .news-band {
    padding-left: 22px;
    padding-right: 22px;
  }

  .section-grid,
  .section-grid.reverse,
  .contact-layout,
  .news-band {
    grid-template-columns: 1fr;
  }

  .product-visual {
    order: 2;
  }

  .section-copy h2,
  .section-heading h2 {
    font-size: 32px;
  }

  .story-timeline {
    grid-template-columns: 1fr;
  }

  .news-copy {
    justify-self: start;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 22px;
  }
}

@media (max-width: 560px) {
  .brand-sub {
    display: none;
  }

  .brand-logo {
    width: 176px;
    max-width: 58vw;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-text,
  .section-copy p:not(.section-kicker),
  .section-heading p:not(.section-kicker) {
    font-size: 15px;
  }

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

  .service-rail,
  .business-grid {
    grid-template-columns: 1fr;
  }

  .rail-item {
    min-height: 136px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .rail-item:last-child {
    border-bottom: 0;
  }

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

  .message-panel,
  .contact-form {
    padding: 22px;
  }

  .message-panel dl {
    grid-template-columns: 1fr;
  }

  .product-visual img {
    height: 270px;
  }

  .news-list p {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
