:root {
  --ink: #11100e;
  --paper: #f4f0e8;
  --paper-deep: #e0d6c6;
  --steel: #b8c0c2;
  --steel-dark: #2d3030;
  --brass: #b5914f;
  --oxide: #3c6a65;
  --redwood: #7f3428;
  --line: rgba(17, 16, 14, 0.16);
  --white: #fffaf0;
  --shadow: 0 24px 70px rgba(17, 16, 14, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(17, 16, 14, 0.035) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(0deg, rgba(17, 16, 14, 0.03) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.7;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px 32px;
  color: var(--white);
  background: rgba(17, 16, 14, 0.34);
  border-bottom: 1px solid rgba(255, 250, 240, 0.18);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  background: rgba(17, 16, 14, 0.88);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  text-decoration: none;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 18px;
  font-weight: 700;
}

.brand-logo {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  color: rgba(255, 250, 240, 0.88);
}

.brand-logo rect {
  fill: rgba(17, 16, 14, 0.34);
  stroke: currentColor;
  stroke-width: 1.4;
}

.brand-logo path {
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.brand-logo .brand-logo-tick {
  stroke: rgba(255, 250, 240, 0.42);
  stroke-width: 0.9;
}

.brand-logo text {
  fill: var(--brass);
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 15px;
  font-weight: 700;
}

.brand-word {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  padding: 8px 10px;
  text-decoration: none;
  color: rgba(255, 250, 240, 0.86);
  font-size: 14px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  outline: 1px solid rgba(255, 250, 240, 0.5);
  outline-offset: 3px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 250, 240, 0.35);
  background: rgba(17, 16, 14, 0.42);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  min-height: 86svh;
  padding: 132px 48px 44px;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(17, 16, 14, 0.95), rgba(17, 16, 14, 0.52) 52%, rgba(17, 16, 14, 0.18)),
    linear-gradient(0deg, rgba(17, 16, 14, 0.86), transparent 45%),
    url("assets/punch-die-set.jpg") center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 250, 240, 0.08) 1px, transparent 1px);
  background-size: 100% 11px;
  mix-blend-mode: overlay;
  opacity: 0.34;
}

.hero-content {
  width: 100%;
  max-width: 920px;
  min-width: 0;
}

.eyebrow,
.section-kicker,
.product-tag {
  margin: 0 0 12px;
  color: var(--brass);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 86px;
  line-height: 0.95;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.hero-copy {
  width: 100%;
  max-width: 700px;
  margin: 24px 0 0;
  font-size: 24px;
  color: rgba(255, 250, 240, 0.9);
  overflow-wrap: anywhere;
  word-break: break-all;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid currentColor;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ink);
  background: var(--brass);
  border-color: var(--brass);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 250, 240, 0.1);
  border-color: rgba(255, 250, 240, 0.72);
}

.button-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.hero-spec {
  justify-self: end;
  width: 100%;
  max-width: 360px;
  border: 1px solid rgba(255, 250, 240, 0.28);
  background: rgba(17, 16, 14, 0.48);
  backdrop-filter: blur(10px);
}

.hero-spec dl {
  margin: 0;
}

.hero-spec div {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid rgba(255, 250, 240, 0.16);
}

.hero-spec div:last-child {
  border-bottom: 0;
}

.hero-spec dt,
.hero-spec dd {
  margin: 0;
}

.hero-spec dt {
  color: rgba(255, 250, 240, 0.58);
  font-size: 12px;
  text-transform: uppercase;
}

.hero-spec dd {
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 20px;
  white-space: nowrap;
}

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

.section-band {
  background: var(--ink);
  color: var(--white);
}

.intro {
  padding: 66px 0 72px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 32px;
  align-items: start;
}

h2 {
  margin: 0;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 46px;
  line-height: 1.14;
}

h3 {
  margin: 0;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 24px;
  line-height: 1.2;
}

p {
  margin: 0;
}

.intro p:not(.section-kicker),
.spec-section p,
.custom-copy p,
.contact p {
  color: rgba(255, 250, 240, 0.76);
}

.products,
.process,
.contact {
  padding: 96px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.72);
  box-shadow: 0 18px 40px rgba(17, 16, 14, 0.08);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 0.72;
  object-fit: cover;
  background: var(--steel-dark);
}

.feature-card {
  grid-column: span 2;
}

.feature-card img {
  aspect-ratio: 1.6 / 0.72;
}

.product-body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.product-body p:not(.product-tag) {
  color: rgba(17, 16, 14, 0.68);
}

.price {
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  padding: 5px 8px;
  border-left: 4px solid var(--brass);
  background: rgba(181, 145, 79, 0.12);
  font-size: 13px;
  font-weight: 700;
}

.spec-section {
  padding: 92px 0;
}

.spec-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 56px;
  align-items: center;
}

.spec-layout > div:first-child {
  display: grid;
  gap: 18px;
}

.metric-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 250, 240, 0.16);
  background:
    linear-gradient(90deg, rgba(181, 145, 79, 0.14), transparent),
    rgba(255, 250, 240, 0.04);
}

.metric-panel div {
  min-height: 210px;
  padding: 26px 20px;
  border-right: 1px solid rgba(255, 250, 240, 0.14);
}

.metric-panel div:last-child {
  border-right: 0;
}

.metric-panel span {
  display: block;
  margin-bottom: 64px;
  color: var(--brass);
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 40px;
  line-height: 1;
}

.metric-panel p {
  color: rgba(255, 250, 240, 0.76);
}

.manual {
  padding: 92px 0;
  border-top: 1px solid rgba(255, 250, 240, 0.12);
}

.manual-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 52px;
  align-items: center;
}

.manual-copy {
  display: grid;
  gap: 18px;
}

.manual-copy p {
  max-width: 760px;
  color: rgba(255, 250, 240, 0.76);
}

.manual-copy .button {
  width: fit-content;
  margin-top: 8px;
}

.manual-legal {
  padding-left: 14px;
  border-left: 4px solid var(--brass);
  font-weight: 700;
}

.manual-meta {
  margin: 0;
  border: 1px solid rgba(255, 250, 240, 0.18);
  background:
    linear-gradient(135deg, rgba(181, 145, 79, 0.18), transparent 44%),
    rgba(255, 250, 240, 0.04);
}

.manual-meta div {
  padding: 22px;
  border-bottom: 1px solid rgba(255, 250, 240, 0.14);
}

.manual-meta div:last-child {
  border-bottom: 0;
}

.manual-meta dt,
.manual-meta dd {
  margin: 0;
}

.manual-meta dt {
  color: var(--brass);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.manual-meta dd {
  margin-top: 7px;
  color: rgba(255, 250, 240, 0.82);
}

.materials {
  padding: 96px 0;
  background:
    linear-gradient(90deg, rgba(60, 106, 101, 0.1), transparent 45%),
    var(--paper);
}

.material-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1fr);
  gap: 52px;
  align-items: center;
}

.material-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.72);
  box-shadow: 0 22px 54px rgba(17, 16, 14, 0.14);
}

.material-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.material-photo figcaption {
  padding: 12px 16px 14px;
  color: rgba(17, 16, 14, 0.58);
  font-size: 13px;
}

.material-copy {
  display: grid;
  gap: 18px;
}

.material-copy p:not(.section-kicker) {
  max-width: 760px;
  color: rgba(17, 16, 14, 0.68);
}

.material-note {
  padding-left: 14px;
  border-left: 4px solid var(--oxide);
  font-weight: 700;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
}

.process-list li {
  min-height: 250px;
  padding: 26px;
  border-right: 1px solid var(--line);
  background: rgba(244, 240, 232, 0.72);
}

.process-list li:last-child {
  border-right: 0;
}

.process-list span {
  display: block;
  margin-bottom: 46px;
  color: var(--redwood);
  font-family: Consolas, "Courier New", monospace;
  font-weight: 700;
}

.process-list p {
  margin-top: 12px;
  color: rgba(17, 16, 14, 0.68);
}

.custom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 560px);
  align-items: stretch;
}

.custom-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.custom-copy {
  display: grid;
  align-content: center;
  gap: 20px;
  padding: 72px 48px;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  color: var(--brass);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.contact {
  background:
    linear-gradient(90deg, transparent, rgba(60, 106, 101, 0.12)),
    var(--paper);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 56px;
  align-items: center;
}

.contact p {
  margin-top: 18px;
  color: rgba(17, 16, 14, 0.68);
}

.contact .legal-note {
  max-width: 760px;
  padding-left: 14px;
  border-left: 4px solid var(--redwood);
  color: rgba(17, 16, 14, 0.78);
  font-weight: 700;
}

.contact-actions {
  margin-top: 0;
  justify-content: flex-end;
}

.contact-actions .button {
  min-width: 180px;
}

.contact-actions .button-secondary {
  color: var(--ink);
  background: var(--oxide);
  border-color: var(--oxide);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  color: rgba(255, 250, 240, 0.68);
  background: var(--ink);
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-header {
    padding: 14px 20px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 118px 24px 32px;
  }

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

  .hero-copy {
    font-size: 21px;
  }

  .hero-spec {
    justify-self: start;
  }

  .intro-grid,
  .spec-layout,
  .custom,
  .manual-layout,
  .material-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card {
    grid-column: span 2;
  }

  .process-list li {
    border-bottom: 1px solid var(--line);
  }

  .process-list li:nth-child(2n) {
    border-right: 0;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(17, 16, 14, 0.96);
    border: 1px solid rgba(255, 250, 240, 0.18);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 84svh;
    max-width: 100vw;
  }

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

  .hero-content {
    max-width: calc(100vw - 48px);
  }

  .hero-copy {
    font-size: 18px;
    max-width: calc(100vw - 48px);
    white-space: normal;
  }

  .hero-spec {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }

  .hero-spec div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .section-inner {
    width: min(100% - 28px, 1180px);
  }

  .intro,
  .products,
  .process,
  .spec-section,
  .manual,
  .materials,
  .contact {
    padding: 64px 0;
  }

  h2 {
    font-size: 32px;
  }

  .product-grid,
  .process-list,
  .metric-panel {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-column: auto;
  }

  .feature-card img,
  .product-card img {
    aspect-ratio: 1 / 0.78;
  }

  .metric-panel div,
  .process-list li {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 250, 240, 0.14);
  }

  .process-list li {
    border-bottom-color: var(--line);
  }

  .metric-panel span,
  .process-list span {
    margin-bottom: 18px;
  }

  .custom-media img {
    min-height: 340px;
  }

  .custom-copy {
    padding: 56px 20px;
  }

  .contact-actions,
  .hero-actions {
    flex-direction: column;
  }

  .button,
  .manual-copy .button,
  .contact-actions .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 20px;
  }
}
