:root {
  --paper: #f1efe8;
  --ink: #1a2424;
  --muted: #68706c;
  --line: rgba(26, 36, 36, 0.18);
  --accent: #173f3c;
  --accent-soft: #d8dfd8;
  --white: #fbfaf6;
  --max-width: 1160px;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.025em;
}

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 56px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 78px;
}

.site-name {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.site-name span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: var(--serif);
  font-size: 15px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 90px;
  align-items: center;
  min-height: 720px;
  padding-block: 94px;
}

.eyebrow,
.section-number,
.work-type,
.mini-label {
  margin: 0;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.hero h1 {
  margin: 24px 0 0;
  font-family: var(--serif);
  font-size: clamp(54px, 7.2vw, 94px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.055em;
}

.hero h1 em {
  position: relative;
  color: var(--accent);
  font-style: normal;
}

.hero h1 em::after {
  position: absolute;
  right: -0.04em;
  bottom: 0.04em;
  left: 0;
  z-index: -1;
  height: 0.2em;
  background: #c9d7cc;
  content: "";
}

.lead {
  max-width: 650px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 180ms ease-out, background 180ms ease-out, transform 160ms ease-out;
}

.button:hover,
.button:focus-visible {
  background: transparent;
  color: var(--accent);
}

.button:active {
  transform: scale(0.97);
}

.hero-art {
  position: relative;
  display: flex;
  min-height: 470px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--accent-soft);
}

.hero-art::before {
  position: absolute;
  width: 1px;
  height: 100%;
  background: rgba(23, 63, 60, 0.18);
  content: "";
  transform: rotate(35deg);
}

.art-circle {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(23, 63, 60, 0.35);
  border-radius: 50%;
}

.hero-art p {
  position: relative;
  margin: 0;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 46px;
  line-height: 0.9;
  text-align: center;
}

.hero-art span {
  position: absolute;
  right: 24px;
  bottom: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
}

.section {
  padding-block: 126px;
}

.section-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 86px;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.large-copy {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(27px, 3.3vw, 42px);
  line-height: 1.65;
  letter-spacing: -0.025em;
}

.body-copy {
  max-width: 720px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 70px;
}

.services article {
  padding-top: 0;
}

.services span {
  color: var(--muted);
  font-size: 10px;
}

.services h3 {
  margin: 18px 0 8px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
}

.services p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.works-heading {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 86px;
  align-items: end;
  margin-bottom: 58px;
}

.works-heading > p {
  max-width: 520px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px 34px;
}

.work-card {
  min-width: 0;
}

.work-image {
  position: relative;
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  background: var(--accent-soft);
}

.work-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.23, 1, 0.32, 1), filter 300ms ease-out;
}

.work-card:hover .work-image img {
  filter: saturate(1.06);
  transform: scale(1.025);
}

.work-info {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  padding-top: 2px;
  margin-top: 20px;
}

.work-index {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.work-type {
  margin-bottom: 6px;
  color: var(--muted);
}

.work-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(21px, 2.4vw, 28px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.work-scope {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.profile {
  padding-block: 118px;
}

.profile-heading {
  margin-bottom: 54px;
}

.profile-heading h2 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.045em;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.profile-card {
  min-height: 0;
  padding: 0;
  background: transparent;
}

.profile-card h3 {
  margin: 0 0 26px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.profile-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-list li {
  padding: 7px 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.site-footer {
  padding-block: 28px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-inner p {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-art {
    min-height: 360px;
  }

  .section-grid {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 48px;
  }

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

  .profile-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .profile-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 36px), var(--max-width));
  }

  .header-inner {
    min-height: 66px;
  }

  .hero {
    gap: 58px;
    padding-block: 76px;
  }

  .hero h1 {
    font-size: clamp(46px, 14vw, 66px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-art {
    min-height: 320px;
  }

  .art-circle {
    width: 220px;
    height: 220px;
  }

  .hero-art p {
    font-size: 38px;
  }

  .section {
    padding-block: 88px;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .section-heading {
    display: flex;
    gap: 14px;
    align-items: baseline;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .services {
    gap: 26px;
    margin-top: 54px;
  }

  .works-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 42px;
  }

  .work-gallery {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .profile {
    padding-block: 88px;
  }

  .profile-heading {
    margin-bottom: 36px;
  }

  .profile-card {
    padding: 0;
  }
}

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

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