:root {
  --bg: transparent;
  --paper: transparent;
  --ink: #0a0a0a;
  --mute: #141414;
  --line: rgba(10, 10, 10, 0.16);
  --sand: #1a1a1a;
}

html {
  background-color: #ffffff;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)),
    url("../images/linen.jpg");
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-size: cover, cover;
  background-attachment: fixed, fixed;
}
body {
  background: none;
  color: #0a0a0a;
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-weight: 600;
}

main,
.section,
.section.paper,
.page-hero,
.cta,
.opener,
.pw,
.pw-stage,
.pw-track,
.site-footer,
.site-footer .copy {
  background: transparent;
  background-image: none;
  border-top: 0;
}

h1, h2, h3, h4,
.display, .eyebrow, .prose, .reason h3, .reason p, .work h3,
figcaption, time, .lead, .prose p {
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-weight: 600;
  color: #0a0a0a;
  text-shadow:
    0.7px 0.7px 0 rgba(0, 0, 0, 0.55),
    -0.45px -0.35px 0 rgba(255, 255, 255, 0.95);
}

.opener { background-color: transparent; }
.section.paper,
.page-hero,
.cta { background: transparent; }

.site-header,
body[data-page="home"] .site-header,
body[data-page="home"] .site-header.is-scrolled,
.site-header.is-scrolled {
  position: sticky;
  top: 0;
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.header-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 22px 20px 16px;
}
.header-stack .brand img { height: 36px; width: auto; }
.header-stack .nav {
  gap: 52px;
  font-size: 12px;
  letter-spacing: 0.16em;
}
.header-stack .nav-toggle {
  position: absolute;
  right: 18px;
  top: 20px;
}
@media (min-width: 881px) {
  .header-stack .nav a {
    position: relative;
    padding-bottom: 8px;
  }
  .header-stack .nav a::after {
    content: "";
    position: absolute;
    left: -10px;
    width: calc(100% + 20px);
    bottom: -6px;
    height: 16px;
    background: url("../images/nav-chain.png") left center / auto 100% repeat-x;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
  }
  .header-stack .nav a:hover::after {
    transform: scaleX(1);
  }
}
body[data-page="home"] .nav a,
body[data-page="home"] .nav-toggle {
  color: #1a1a1a;
}
body[data-page="home"] .opener {
  width: 100%;
  height: calc(100vh - 108px);
  height: calc(100dvh - 108px);
  min-height: 420px;
}
body[data-page="home"] .opener-video,
body[data-page="home"] .opener-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
body[data-page="home"] .opener-veil {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.04) 50%, rgba(0, 0, 0, 0.42) 100%);
}

.stagger-from .reveal.stagger {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 100ms);
}
.stagger-from .reveal.stagger.is-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .stagger-from .reveal.stagger {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }
}
.work .work-copy h3,
.work .work-copy p {
  color: #e4c27a;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
.work .work-copy {
  background: linear-gradient(transparent, rgba(18, 16, 12, 0.55));
}
.work video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}
.work:hover video { transform: scale(1.03); opacity: 1; }

.product-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.72fr);
  gap: 36px;
  align-items: stretch;
  margin-top: 48px;
}
.product-row .specs { margin-top: 0; }
.product-photo {
  margin: 0;
  min-height: 100%;
  display: flex;
  align-items: center;
}
.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 800px) {
  .product-row { grid-template-columns: 1fr; }
  .product-photo img { height: auto; max-height: 520px; }
}
.factory-exterior {
  margin: 0;
  max-width: none;
}
.factory-exterior img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.factory-exterior figcaption {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.16em;
}
.cta-split {
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  text-align: left;
}
.cta-split .actions { justify-content: flex-start; }
.cta-split p { margin-left: 0; margin-right: 0; }
@media (max-width: 800px) {
  .cta-split { grid-template-columns: 1fr; }
}
.n4-photo { margin: 0 0 40px; }
.n4-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 42%;
}
.n4-sheet .form { width: 100%; max-width: none; }
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 42%;
}
