:root {
  color-scheme: dark;
  --ink: #10151d;
  --ink-deep: #0c1017;
  --panel: #161c25;
  --ivory: #f4f0e8;
  --muted: #c2c4ca;
  --gold: #c9aa71;
  --hairline: rgb(201 170 113 / 30%);
  --mincho: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", "MS PMincho", serif;
  --gothic: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans CJK JP", Meiryo, sans-serif;
  --latin-serif: "Baskerville", "Palatino Linotype", Georgia, serif;
  --gutter: clamp(22px, 5.6vw, 76px);
}

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

html { background: var(--ink-deep); }

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font: 400 15px/1.85 var(--gothic);
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, p, ul, ol { margin: 0; }

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

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

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

.container {
  width: min(100% - 2 * var(--gutter), 1120px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 3;
  top: 12px;
  left: 12px;
  transform: translateY(-200%);
  padding: 8px 14px;
  background: var(--ink-deep);
}

.skip-link:focus { transform: none; }

.site-header {
  position: relative;
  z-index: 1;
  background: var(--ink-deep);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  width: min(100% - 2 * var(--gutter), 1280px);
  min-height: 83px;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  white-space: nowrap;
}

.wordmark-main {
  color: var(--ivory);
  font: 400 30px/1 var(--latin-serif);
  letter-spacing: .18em;
}

.wordmark-caption {
  color: var(--gold);
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .15em;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.7vw, 38px);
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding-block: 10px;
  font-size: 13px;
  white-space: nowrap;
}

.site-nav a:hover, .footer-inner a:hover { color: var(--gold); }

.site-nav .nav-contact {
  border: 1px solid var(--hairline);
  padding-inline: 18px;
  color: var(--gold);
}

.hero {
  position: relative;
  isolation: isolate;
  background: var(--ink-deep);
}

.hero-image, .hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: center 53%;
}

.hero::after {
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgb(9 13 20 / 83%), rgb(9 13 20 / 46%) 49%, rgb(9 13 20 / 9%)),
              linear-gradient(0deg, rgb(9 13 20 / 30%), transparent 44%);
}

.hero-inner {
  min-height: clamp(510px, 47vw, 680px);
  display: grid;
  align-items: center;
  padding-block: 75px 94px;
}

.hero-copy { max-width: 820px; }

.hero-copy::before {
  display: block;
  width: 48px;
  height: 1px;
  margin-bottom: 27px;
  background: var(--gold);
  content: "";
}

.hero h1 {
  font: 500 clamp(38px, 5.35vw, 75px)/1.35 var(--mincho);
  letter-spacing: .055em;
}

.mobile-break { display: none; }

.hero p {
  max-width: 610px;
  margin-block: 22px 29px;
  color: #ede8df;
  line-height: 2;
  letter-spacing: .035em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 48px;
  padding: 10px 19px;
  border: 1px solid var(--gold);
  font-size: 13px;
  letter-spacing: .08em;
  transition: background-color .2s, color .2s;
}

.button-outline {
  background: rgb(12 16 23 / 60%);
  color: var(--ivory);
}

.button-outline:hover {
  background: var(--gold);
  color: var(--ink-deep);
}

.button-gold {
  min-width: 240px;
  background: var(--gold);
  color: var(--ink-deep);
}

.button-gold:hover { background: #dfc48f; }

.button-arrow {
  position: relative;
  width: 17px;
  height: 1px;
  background: currentColor;
}

.button-arrow::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  content: "";
}

.section {
  padding-block: clamp(64px, 7.3vw, 108px);
  border-top: 1px solid var(--hairline);
}

.section-heading {
  color: var(--ivory);
  font: 500 clamp(28px, 3.1vw, 42px)/1.35 var(--mincho);
  letter-spacing: .1em;
}

.section-english {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font: 400 16px/1.25 var(--latin-serif);
  letter-spacing: .17em;
}

.services .section-heading, .works, .contact { text-align: center; }

.services-grid, .strengths-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.15vw, 30px);
  margin-top: 36px;
}

.service-card {
  border: 1px solid var(--hairline);
  background: var(--panel);
}

.service-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-copy { padding: 23px clamp(15px, 1.9vw, 26px) 27px; }

.service-copy h3, .strengths-list h3 {
  font: 500 clamp(18px, 1.8vw, 24px)/1.55 var(--mincho);
  letter-spacing: .025em;
}

.service-copy p, .strengths-list p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.works, .company { background: var(--ink-deep); }

.works-description, .contact p {
  margin-top: 20px;
  color: var(--muted);
}

.works-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 34px auto 0;
  padding: 0;
  border-block: 1px solid var(--hairline);
  list-style: none;
}

.works-list li {
  display: grid;
  min-height: 95px;
  align-items: center;
  padding: 16px 8px;
  font: 400 clamp(21px, 2.9vw, 37px)/1.2 var(--latin-serif);
  letter-spacing: .09em;
}

.works-list li + li { border-left: 1px solid var(--hairline); }

.strengths-list {
  padding: 0;
  list-style: none;
}

.strengths-list li {
  border-top: 1px solid var(--hairline);
  padding-top: 19px;
}

.strength-number {
  display: block;
  margin-bottom: 13px;
  color: var(--gold);
  font: 400 20px/1 var(--latin-serif);
  letter-spacing: .08em;
}

.company-inner {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 3fr);
  align-items: start;
  gap: 36px;
}

.company table {
  width: 100%;
  border-top: 1px solid var(--hairline);
  border-collapse: collapse;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.company th, .company td {
  border-bottom: 1px solid var(--hairline);
  padding: 15px 12px;
  text-align: left;
  vertical-align: top;
}

.company th {
  width: 25%;
  color: var(--gold);
  font-weight: 500;
}

.company td { color: var(--muted); }

.contact {
  background: radial-gradient(ellipse at 50% 100%, #20242c, var(--ink) 72%);
}

.contact .button { margin-top: 23px; }

.site-footer {
  border-top: 1px solid var(--hairline);
  background: var(--ink-deep);
  color: var(--muted);
}

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

.footer-inner a { font-size: 12px; }
.footer-inner a span { margin-left: 4px; color: var(--gold); }

@media (max-width: 760px) {
  .header-inner {
    width: min(100% - 30px, 520px);
    min-height: auto;
    flex-direction: column;
    gap: 13px;
    padding: 16px 0 8px;
  }

  .wordmark { align-items: center; }
  .wordmark-main { font-size: 27px; }
  .site-nav { width: 100%; }

  .site-nav ul {
    justify-content: space-between;
    gap: 5px;
  }

  .site-nav a { font-size: clamp(10px, 3vw, 13px); }
  .site-nav .nav-contact { padding-inline: 8px; }

  .hero-inner {
    min-height: 520px;
    padding-block: 64px 70px;
  }

  .hero-image { object-position: 78% center; }

  .hero::after {
    background: linear-gradient(90deg, rgb(9 13 20 / 75%), rgb(9 13 20 / 34%)),
                linear-gradient(0deg, rgb(9 13 20 / 37%), transparent 85%);
  }

  .hero h1 { font-size: clamp(34px, 9.6vw, 53px); }
  .mobile-break { display: initial; }
  .desktop-break { display: none; }
  .hero p { font-size: 14px; }

  .services-grid, .strengths-list, .company-inner { grid-template-columns: 1fr; }
  .services-grid { gap: 20px; }
  .strengths-list { gap: 24px; }
  .company-inner { gap: 24px; }

  .works-list li {
    min-height: 71px;
    font-size: clamp(15px, 4.3vw, 24px);
    letter-spacing: .04em;
  }

  .company th { width: 27%; }
  .company th, .company td { padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
