:root {
  --paper: #f5f2e9;
  --paper-deep: #ebe6da;
  --ink: #292d2b;
  --muted: #686e69;
  --line: rgba(41, 45, 43, 0.16);
  --green: #586a5e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 18%, rgba(255, 255, 255, 0.72), transparent 30rem),
    linear-gradient(135deg, var(--paper), var(--paper-deep));
  color: var(--ink);
  font-family:
    "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
}

a {
  color: inherit;
  text-underline-offset: 0.25rem;
}

main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.55rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}

nav {
  display: flex;
  gap: clamp(18px, 3vw, 42px);
}

nav a {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.62fr);
  align-items: center;
  min-height: 680px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.kicker {
  margin: 0 0 24px;
  color: var(--green);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(3rem, 7.2vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.23;
}

.hero-note {
  max-width: 33rem;
  margin: 48px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 2;
}

.quiet-mark {
  position: relative;
  aspect-ratio: 1;
  width: min(36vw, 410px);
  justify-self: end;
}

.quiet-mark::before,
.quiet-mark span {
  position: absolute;
  border: 1px solid rgba(88, 106, 94, 0.2);
  border-radius: 50%;
  content: "";
}

.quiet-mark::before {
  inset: 7%;
  background: rgba(255, 255, 255, 0.16);
}

.quiet-mark span:nth-child(1) {
  inset: 21%;
}

.quiet-mark span:nth-child(2) {
  inset: 36%;
  background: rgba(88, 106, 94, 0.07);
}

.quiet-mark span:nth-child(3) {
  inset: 47%;
  border: 0;
  background: var(--green);
  opacity: 0.72;
}

.section {
  display: grid;
  grid-template-columns: minmax(72px, 0.28fr) minmax(0, 1fr);
  gap: 36px;
  padding: 118px 0;
  border-bottom: 1px solid var(--line);
}

.section-number {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
}

h2 {
  margin: 0 0 60px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.company-list {
  max-width: 820px;
  margin: 0;
}

.company-list div {
  display: grid;
  grid-template-columns: 180px 1fr;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.company-list div:last-child {
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-size: 0.82rem;
}

dd {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.08rem;
}

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

.business-grid article {
  min-height: 330px;
  padding: clamp(30px, 4vw, 56px);
  background: rgba(247, 244, 235, 0.82);
}

.business-index {
  margin: 0 0 64px;
  color: var(--green);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
}

h3 {
  margin: 0 0 28px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.4rem, 2.6vw, 2.15rem);
  font-weight: 400;
}

.business-grid article > p:not(.business-index),
.contact div > p:not(.kicker) {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.9;
}

.business-grid article > a {
  display: inline-block;
  margin-top: 26px;
  color: var(--green);
  font-size: 0.8rem;
}

.contact .email {
  display: inline-block;
  margin: 30px 0 58px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.35rem, 3vw, 2.7rem);
}

.service-links {
  display: flex;
  gap: 28px;
}

.service-links a {
  color: var(--muted);
  font-size: 0.78rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 48px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

footer p {
  margin: 0;
}

@media (max-width: 760px) {
  main {
    width: min(100% - 32px, 680px);
  }

  .site-header {
    min-height: 76px;
  }

  nav {
    gap: 14px;
  }

  nav a {
    font-size: 0.67rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 670px;
    padding: 90px 0 70px;
  }

  .quiet-mark {
    position: absolute;
    right: -90px;
    bottom: -70px;
    width: 300px;
    opacity: 0.62;
  }

  .hero-note {
    max-width: 22rem;
    margin-top: 36px;
  }

  .section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 82px 0;
  }

  h2 {
    margin-bottom: 44px;
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .business-grid article {
    min-height: 290px;
  }

  footer {
    flex-direction: column;
  }
}

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