:root {
  color-scheme: light;
  --ink: #101112;
  --muted: #676b70;
  --line: #e6e0d7;
  --paper: #f7f5f0;
  --panel: #ffffff;
  --accent: #9a7b4f;
  --deep: #0a0b0c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, Arial, sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(247, 245, 240, 0.9);
  border-bottom: 1px solid rgba(16, 17, 18, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(128px, 17vw, 184px);
}

.brand img,
.site-footer img {
  display: block;
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  color: #2d3033;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
}

.nav-links a {
  padding: 8px 0;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 140px clamp(20px, 7vw, 96px) 72px;
  background: var(--deep);
}

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

.hero-media {
  background-image: url("assets/hero-background.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.9) 0%, rgba(5, 6, 7, 0.72) 37%, rgba(5, 6, 7, 0.18) 72%),
    linear-gradient(180deg, rgba(5, 6, 7, 0.3) 0%, rgba(5, 6, 7, 0.08) 48%, rgba(5, 6, 7, 0.72) 100%);
}

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

.eyebrow,
.section-label {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1,
.intro h2,
.contact h2 {
  margin: 0;
  font-weight: 650;
  line-height: 1.08;
}

.hero h1 {
  max-width: 980px;
  font-size: clamp(2.35rem, 4.8vw, 4.7rem);
  text-wrap: balance;
}

.hero h1 span {
  display: block;
}

.hero-copy {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.9;
}

.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: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.92rem;
  font-weight: 700;
}

.button-primary {
  color: #111;
  background: #fff;
}

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

.intro,
.services,
.contact {
  padding: clamp(72px, 9vw, 132px) clamp(20px, 7vw, 96px);
}

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

.intro h2 {
  font-size: clamp(2rem, 4.4vw, 4.25rem);
}

.contact h2 {
  max-width: 520px;
  font-size: clamp(1.28rem, 2vw, 1.7rem);
  line-height: 1.35;
}

.intro-copy {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 2;
}

.intro-copy p {
  margin: 0 0 22px;
}

.services {
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-grid article {
  min-height: 310px;
  padding: clamp(28px, 4vw, 46px);
  background: #fff;
}

.service-grid span {
  display: block;
  margin-bottom: 56px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
}

.service-grid h3 {
  margin: 0 0 18px;
  font-size: clamp(1.28rem, 2vw, 1.7rem);
  line-height: 1.35;
}

.service-grid p,
.contact-list {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.9;
}

.contact {
  background: #111;
  color: #fff;
}

.contact .section-label {
  color: #c8a66f;
}

.contact-list {
  display: grid;
  gap: 1px;
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
}

.contact-list a,
.contact-list span {
  display: block;
  padding: 22px 24px;
  background: #111;
}

.contact-list a {
  color: #fff;
  font-size: clamp(1.28rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.35;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 7vw, 96px);
  background: #fff;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer img {
  width: 124px;
}

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

  .nav-links {
    gap: 16px;
    font-size: 0.72rem;
  }

  .hero {
    min-height: 88svh;
    padding-top: 116px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 6, 7, 0.92) 0%, rgba(5, 6, 7, 0.76) 58%, rgba(5, 6, 7, 0.38) 100%),
      linear-gradient(180deg, rgba(5, 6, 7, 0.16) 0%, rgba(5, 6, 7, 0.72) 100%);
  }

  .intro-grid,
  .contact-inner,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: 240px;
  }

  .service-grid span {
    margin-bottom: 36px;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
    background: rgba(247, 245, 240, 0.94);
  }

  .brand {
    width: 132px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 94svh;
    padding-top: 156px;
  }

  .hero h1 {
    font-size: clamp(2rem, 8.4vw, 2.28rem);
    line-height: 1.16;
  }

  .button {
    width: 100%;
  }

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