:root {
  --ink: #070707;
  --ink-soft: #101112;
  --paper: #f4f2ed;
  --paper-bright: #fbfaf7;
  --gold: #b7954f;
  --gold-bright: #d2b56d;
  --line-dark: rgba(211, 181, 109, 0.32);
  --line-light: rgba(50, 42, 28, 0.2);
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --page-progress: 0;
  --hero-parallax: 0px;
  --hero-scale: 1;
  --future-shift: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  margin: 0;
  background: var(--ink);
  color: #171717;
  font-family: var(--sans);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: #050505;
  background: var(--gold-bright);
}

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

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

main {
  overflow: clip;
}

.wrap {
  width: min(1180px, calc(100% - 72px));
  margin-inline: auto;
}

.dark-section {
  position: relative;
  color: #f7f5ef;
  background-color: var(--ink);
  background-image:
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.035), transparent 28%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 6px);
}

.light-section {
  position: relative;
  background: var(--paper);
  background-image:
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.8), transparent 38%),
    repeating-linear-gradient(115deg, rgba(80, 70, 50, 0.014) 0 1px, transparent 1px 6px);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.section-title {
  margin-bottom: 25px;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.36;
}

.light-title {
  color: #fff;
}

.section-lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  letter-spacing: 0.05em;
}

.dark-lead {
  color: #4c4a45;
}

.body-copy {
  max-width: 590px;
  margin-bottom: 14px;
  color: #393733;
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 2.15;
}

.photo {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  background: #080808;
  filter: grayscale(1) contrast(1.08);
}

.photo > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 230px 1fr 150px;
  align-items: center;
  width: 100%;
  height: 78px;
  padding: 0 34px;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.56) 72%, transparent);
  backdrop-filter: blur(3px);
  transition: height 260ms ease, background-color 260ms ease, border-color 260ms ease;
}

.site-header.is-scrolled {
  height: 66px;
  border-bottom: 1px solid rgba(183, 149, 79, 0.24);
  background: rgba(4, 4, 4, 0.88);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-family: Arial Black, Arial, sans-serif;
  font-size: 25px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.07em;
}

.wordmark img {
  display: block;
  width: 148px;
  height: auto;
}

.wordmark-slash {
  margin-right: 5px;
  font-size: 18px;
  letter-spacing: -0.2em;
  transform: skew(-16deg);
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2vw, 34px);
}

.site-header nav a {
  position: relative;
  padding: 10px 0;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.site-header nav a::after {
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 1px;
  content: "";
  background: var(--gold-bright);
  transition: width 180ms ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  width: 100%;
}

.anniversary-mini {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--gold-bright);
  font-family: Georgia, serif;
  line-height: 1;
}

.anniversary-mini img {
  display: block;
  width: 88px;
  height: 60px;
  object-fit: contain;
}

.anniversary-mini strong {
  font-size: 31px;
  font-style: italic;
  font-weight: 500;
}

.anniversary-mini sup {
  font-size: 11px;
}

.anniversary-mini span {
  margin-top: 6px;
  font-size: 9px;
  letter-spacing: 0.18em;
}

.hero {
  min-height: 940px;
  border-bottom: 1px solid var(--line-dark);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, #030303 0%, rgba(3, 3, 3, 0.94) 28%, rgba(3, 3, 3, 0.42) 57%, rgba(3, 3, 3, 0.08) 100%),
    linear-gradient(0deg, #050505 0%, transparent 28%);
}

.hero-photo {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  width: 78%;
  height: 100%;
  opacity: 0.94;
  filter: grayscale(1) contrast(1.25) brightness(0.72);
  transform: translate3d(0, var(--hero-parallax), 0) scale(var(--hero-scale));
  transform-origin: 78% 18%;
  will-change: transform;
}

.hero-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: linear-gradient(90deg, transparent, #000 60%, transparent);
}

.hero-copy {
  padding-top: 230px;
}

.hero h1 {
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: clamp(54px, 6.2vw, 88px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.32;
  text-shadow: 0 5px 28px #000;
}

.hero-en {
  margin-bottom: 23px;
  color: var(--gold-bright);
  font-family: Georgia, serif;
  font-size: 25px;
  letter-spacing: 0.07em;
}

.hero-lead {
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 2;
}

.gold-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 315px;
  padding: 16px 22px;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: color 180ms ease, background 180ms ease;
}

.gold-button:hover,
.gold-button:focus-visible {
  color: #080808;
  background: var(--gold-bright);
}

.scroll-note {
  position: absolute;
  right: 35px;
  bottom: 38px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  letter-spacing: 0.14em;
  transform: rotate(90deg) translateX(100%);
  transform-origin: right bottom;
}

.scroll-note i {
  width: 58px;
  height: 1px;
  background: var(--gold);
}

.concept {
  padding: 62px 0 28px;
}

.concept-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
}

.concept-grid > * {
  min-height: 300px;
  padding: 0 38px;
  border-right: 1px solid var(--line-dark);
}

.concept-grid > :first-child {
  padding-left: 0;
}

.concept-grid > :last-child {
  padding-right: 0;
  border-right: 0;
}

.concept-anniversary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--gold-bright);
  font-family: Georgia, serif;
}

.concept-anniversary .anniversary-logo {
  display: block;
  width: min(230px, 100%);
  height: auto;
  margin-top: 12px;
}

.concept-anniversary strong {
  font-size: 112px;
  font-style: italic;
  font-weight: 400;
  line-height: 0.98;
}

.concept-anniversary em {
  font-size: 34px;
}

.concept-anniversary span {
  font-size: 22px;
  letter-spacing: 0.12em;
}

.concept-anniversary small {
  margin-top: 12px;
  font-size: 15px;
  letter-spacing: 0.28em;
}

.replaceable-icon {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.concept article .replaceable-icon {
  margin-bottom: 20px;
}

.concept article h2 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.concept article p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.concept-statement {
  width: min(1080px, calc(100% - 72px));
  margin: 25px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  color: var(--gold-bright);
  font-family: var(--serif);
  text-align: center;
  letter-spacing: 0.19em;
}

.introduction {
  min-height: 690px;
  padding: 90px 0 70px;
}

.intro-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  align-items: center;
  gap: 55px;
}

.intro-photo {
  height: 490px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.14);
}

.history {
  padding: 88px 0 100px;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 52px;
}

.timeline::before {
  position: absolute;
  top: 54px;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.timeline article {
  position: relative;
  min-width: 0;
}

.timeline time {
  display: block;
  margin-bottom: 17px;
  color: var(--gold-bright);
  font-family: Georgia, serif;
  font-size: 28px;
  font-style: italic;
  letter-spacing: 0.04em;
}

.timeline article > i {
  position: absolute;
  top: 49px;
  left: 8px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--gold);
}

.timeline h3 {
  margin-top: 24px;
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
}

.timeline article > p {
  min-height: 70px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 10px;
}

.timeline .photo {
  height: 220px;
  min-height: 0;
  border: 1px solid var(--line-dark);
}

.philosophy {
  padding: 100px 0;
}

.philosophy-layout {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 70px;
}

.philosophy blockquote {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: 0.08em;
  line-height: 1.65;
}

.large-logo {
  margin-top: 40px;
  font-family: Arial Black, Arial, sans-serif;
  font-size: clamp(52px, 7vw, 92px);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
}

.large-logo img {
  display: block;
  width: min(430px, 100%);
  height: auto;
  filter: invert(1);
}

.large-logo span {
  font-size: 0.58em;
}

.large-logo sup {
  font-size: 14px;
}

.philosophy-points {
  display: grid;
  gap: 14px;
}

.philosophy-points article {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  min-height: 148px;
  padding: 24px 30px;
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.32);
}

.philosophy-points .replaceable-icon {
  width: 54px;
  height: 54px;
}

.philosophy-points h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
}

.philosophy-points p {
  margin-bottom: 0;
  color: #53504a;
  font-size: 12px;
}

.craftsmanship,
.custom,
.projects {
  padding: 95px 0 110px;
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.craft-grid .photo {
  height: 250px;
  border-radius: 3px;
}

.craft-grid article > div:not(.photo) {
  display: flex;
  align-items: baseline;
  gap: 28px;
  margin-top: 12px;
}

.craft-grid strong {
  font-family: Georgia, serif;
  font-size: 34px;
  font-style: italic;
  font-weight: 400;
}

.craft-grid h3,
.custom-grid h3 {
  position: relative;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
}

.craft-grid h3::after,
.custom-grid h3::after {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 38px;
  height: 1px;
  content: "";
  background: var(--gold);
}

.craft-grid article > p,
.custom-grid p {
  margin-left: 65px;
  color: #57534d;
  font-size: 12px;
}

.technology {
  padding: 96px 0;
}

.tech-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
}

.tech-wheel .photo {
  height: 580px;
  border: 1px solid var(--line-dark);
  background-color: #090b0c;
  box-shadow: inset 0 0 80px #000;
}

.tech-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-content: end;
}

.tech-cards article {
  min-height: 244px;
  padding: 32px;
  border: 1px solid rgba(211, 181, 109, 0.55);
  border-radius: 9px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.05), transparent 45%),
    repeating-radial-gradient(circle at 50% 40%, rgba(211, 181, 109, 0.08) 0 1px, transparent 1px 19px);
  text-align: center;
}

.tech-cards span {
  display: inline-block;
  margin-bottom: 25px;
  color: var(--gold-bright);
  font-family: Georgia, serif;
  font-size: 29px;
  letter-spacing: 0.12em;
}

.tech-cards h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
}

.tech-cards p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.custom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.custom-grid .photo {
  height: 220px;
  border-radius: 5px;
}

.custom-grid h3 {
  margin-top: 14px;
}

.custom-grid p {
  margin-left: 0;
  font-size: 11px;
}

.quality {
  min-height: 1180px;
  padding: 100px 0 95px;
  isolation: isolate;
}

.quality::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, var(--paper) 0 31%, rgba(244, 242, 237, 0.97) 42%, rgba(244, 242, 237, 0.15) 78%);
}

.quality-hero {
  position: absolute;
  z-index: -2;
  top: 0;
  right: 0;
  width: 69%;
  height: 430px;
  filter: grayscale(1) contrast(1.12) brightness(0.8);
}

.quality-content .section-lead {
  max-width: 520px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 105px;
}

.process-grid article {
  position: relative;
  min-height: 260px;
  padding: 18px 12px;
  border: 1px solid rgba(183, 149, 79, 0.42);
  background: rgba(255, 255, 255, 0.66);
  text-align: center;
}

.process-grid article:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 80px;
  right: -14px;
  content: "›";
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 38px;
}

.process-grid strong {
  display: block;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 28px;
  font-style: italic;
  font-weight: 400;
}

.process-grid .replaceable-icon {
  width: 58px;
  height: 58px;
  margin: 14px auto 7px;
}

.process-grid h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
}

.process-grid p {
  margin-bottom: 0;
  font-size: 10px;
}

.factories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 76%;
  margin: 42px 0 0 auto;
}

.factories article {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
}

.factories .photo {
  height: 220px;
}

.factories h3 {
  position: absolute;
  top: 10px;
  left: 15px;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  text-shadow: 0 2px 10px #000;
}

.factories b,
.factories p {
  display: block;
  padding-inline: 17px;
}

.factories b {
  margin-top: 15px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 15px;
}

.factories p {
  font-size: 10px;
}

.challenge {
  padding: 92px 0 105px;
}

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.challenge-grid article {
  position: relative;
  min-height: 495px;
  overflow: hidden;
  border: 1px solid rgba(211, 181, 109, 0.68);
  border-radius: 7px;
  background: #050505;
}

.challenge-grid .photo {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0.75;
}

.challenge-grid article::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, #050505 0%, transparent 36%, rgba(0, 0, 0, 0.25) 60%, #050505 100%);
}

.challenge-grid article > div {
  position: absolute;
  z-index: 2;
  inset: 22px 18px auto;
}

.challenge-grid span {
  color: var(--gold-bright);
  font-family: Georgia, serif;
  font-size: 20px;
  letter-spacing: 0.04em;
}

.challenge-grid h3 {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}

.challenge-grid p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
}

.message {
  padding: 100px 0;
}

.message-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 58px;
}

.message-layout .photo {
  height: 490px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.14);
}

.message-layout small {
  display: block;
  margin-top: 12px;
  font-size: 10px;
}

.message-copy {
  padding-top: 35px;
}

.message-copy > p {
  color: #3e3b36;
  font-size: 13px;
  line-height: 2.15;
}

.message-copy blockquote {
  margin-top: 35px;
  color: #9a7530;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: 0.07em;
  line-height: 1.65;
}

.future {
  min-height: 730px;
  padding: 88px 0;
  isolation: isolate;
}

.future::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.97), rgba(0, 0, 0, 0.65) 47%, rgba(0, 0, 0, 0.18));
}

.future-photo {
  position: absolute;
  z-index: -2;
  inset: 0;
  height: 100%;
  filter: grayscale(1) contrast(1.22) brightness(0.62);
  transform: translate3d(0, var(--future-shift), 0) scale(1.08);
  transform-origin: center;
  will-change: transform;
}

.future-content {
  position: relative;
}

.future-content > .section-lead {
  max-width: 650px;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 72px;
}

.vision-grid article {
  min-height: 240px;
  padding: 24px 16px;
  border: 1px solid rgba(211, 181, 109, 0.56);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.62);
  text-align: center;
}

.vision-grid .replaceable-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
}

.vision-grid h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
}

.vision-grid p {
  color: rgba(255, 255, 255, 0.64);
  font-size: 10px;
}

.projects-heading {
  display: flex;
  align-items: center;
  gap: 50px;
}

.projects-heading .section-title {
  flex: 0 0 auto;
}

.projects-heading p {
  font-size: 12px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.projects-grid article {
  overflow: hidden;
  border: 1px solid rgba(50, 42, 28, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.44);
}

.projects-grid .photo {
  height: 185px;
}

.projects-grid h3,
.projects-grid p {
  padding-inline: 13px;
}

.projects-grid h3 {
  margin: 14px 0 8px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.projects-grid p {
  color: #54514b;
  font-size: 9px;
}

.footer {
  padding: 55px 0 22px;
  border-top: 1px solid var(--line-dark);
}

.footer-hero {
  display: flex;
  align-items: center;
  gap: 75px;
  padding-bottom: 35px;
}

.footer-50 {
  display: flex;
  flex-direction: column;
  color: var(--gold-bright);
  font-family: Georgia, serif;
}

.footer-50 img {
  display: block;
  width: 180px;
  height: auto;
}

.footer-50 strong {
  font-size: 75px;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.footer-50 sup {
  font-size: 20px;
}

.footer-50 span,
.footer-50 small {
  letter-spacing: 0.16em;
}

.footer-hero h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 500;
  letter-spacing: 0.1em;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 30px;
  padding: 18px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--serif);
  font-size: 12px;
}

.footer-links a:not(:last-child)::after {
  margin-left: 28px;
  color: var(--gold);
  content: "/";
}

.footer-bottom {
  display: grid;
  grid-template-columns: 220px 1fr 40px;
  align-items: center;
  padding-top: 20px;
}

.footer-bottom p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 10px;
}

.footer-bottom > a {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.scroll-progress {
  position: fixed;
  z-index: 45;
  top: 50%;
  right: 16px;
  display: grid;
  justify-items: center;
  gap: 9px;
  color: var(--gold-bright);
  font-family: Georgia, serif;
  pointer-events: none;
  transform: translateY(-50%);
}

.scroll-progress em {
  font-size: 15px;
  font-style: italic;
}

.scroll-progress span {
  position: relative;
  display: block;
  width: 1px;
  height: 150px;
  overflow: hidden;
  background: rgba(211, 181, 109, 0.18);
}

.scroll-progress span::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, #f3d98f, var(--gold));
  box-shadow: 0 0 12px rgba(211, 181, 109, 0.7);
  transform: scaleY(var(--page-progress));
  transform-origin: top;
}

.scroll-progress small {
  color: rgba(211, 181, 109, 0.72);
  font-family: Arial, sans-serif;
  font-size: 7px;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
}

.motion-ready .reveal-target {
  opacity: 1;
  transform: translate3d(0, 22px, 0);
  transition: transform 780ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
  will-change: transform;
}

.motion-ready .reveal-target.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.section-title::after {
  display: block;
  width: 58px;
  height: 1px;
  margin-top: 18px;
  content: "";
  background: var(--gold);
  transform: scaleX(1);
  transform-origin: left;
}

.motion-ready .reveal-target .photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(105deg, transparent 35%, rgba(255, 236, 184, 0.2) 49%, transparent 63%);
  pointer-events: none;
  transform: translateX(-140%);
}

.motion-ready .reveal-target.is-visible .photo::after {
  animation: image-sheen 1100ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--reveal-delay, 0ms) + 240ms) both;
}

/* Color-reveal interaction for editorial image sections. */
:where(
  .timeline,
  .craft-grid,
  .custom-grid,
  .factories,
  .challenge-grid,
  .message-layout,
  .projects-grid
) .photo {
  transform: translateZ(0);
  transition:
    filter 720ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

:where(
  .timeline,
  .craft-grid,
  .custom-grid,
  .factories,
  .challenge-grid,
  .message-layout,
  .projects-grid
) .photo > img {
  transform: scale(1.01);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  :where(
    .timeline,
    .craft-grid,
    .custom-grid,
    .factories,
    .challenge-grid,
    .message-layout,
    .projects-grid
  ) .photo:hover {
    filter: grayscale(0) contrast(1.03) saturate(1.15);
    opacity: 1;
    box-shadow: 0 18px 42px rgba(120, 88, 28, 0.2);
    transform: translate3d(0, -3px, 0);
  }

  :where(
    .timeline,
    .craft-grid,
    .custom-grid,
    .factories,
    .challenge-grid,
    .message-layout,
    .projects-grid
  ) .photo:hover > img {
    transform: scale(1.065);
  }
}

@media (hover: none), (pointer: coarse) {
  :where(
    .timeline,
    .craft-grid,
    .custom-grid,
    .factories,
    .challenge-grid,
    .message-layout,
    .projects-grid
  ) .photo {
    filter: grayscale(0) contrast(1.02) saturate(1.1);
    opacity: 1;
  }
}

@media (hover: none) and (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  :where(
    .timeline,
    .craft-grid,
    .custom-grid,
    .factories,
    .challenge-grid,
    .message-layout,
    .projects-grid
  ) .reveal-target.is-visible .photo > img,
  .message-layout > .reveal-target.is-visible .photo > img {
    animation: mobile-photo-breathe 9s ease-in-out calc(var(--reveal-delay, 0ms) + 380ms) infinite alternate;
  }

  :where(
    .timeline,
    .craft-grid,
    .custom-grid,
    .factories,
    .challenge-grid,
    .projects-grid
  ) .reveal-target:nth-child(even).is-visible .photo > img {
    animation-direction: alternate-reverse;
    animation-duration: 10.5s;
  }
}

.timeline::after {
  position: absolute;
  z-index: 2;
  top: 53px;
  right: 0;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, #e0c276 10%, #e0c276 90%, transparent);
  box-shadow: 0 0 12px rgba(211, 181, 109, 0.4);
  transform: scaleX(1);
  transform-origin: left;
}

.motion-ready .timeline.motion-group::after {
  transform: scaleX(0);
  transition: transform 1500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .timeline.motion-group.is-visible::after {
  transform: scaleX(1);
}

@keyframes image-sheen {
  from { transform: translateX(-140%); }
  to { transform: translateX(140%); }
}

@keyframes mobile-photo-breathe {
  from {
    transform: scale(1.02) translate3d(-0.45%, 0, 0);
  }

  to {
    transform: scale(1.075) translate3d(0.75%, -0.65%, 0);
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 190px 1fr 120px;
    padding-inline: 22px;
  }

  .site-header nav {
    gap: 14px;
  }

  .concept-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .concept-anniversary {
    grid-column: 1 / -1;
    min-height: auto;
    margin-bottom: 40px;
    padding: 0 0 30px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .timeline {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 38px;
  }

  .timeline::before,
  .timeline::after,
  .timeline article > i {
    display: none;
  }

  .timeline h3 {
    margin-top: 0;
  }

  .process-grid,
  .vision-grid,
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-grid article:nth-child(3)::after {
    display: none;
  }

  .challenge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 850px) {
  .wrap {
    width: min(100% - 38px, 720px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    height: 66px;
  }

  .site-header nav {
    display: none;
  }

  .scroll-progress {
    right: 8px;
    opacity: 0.75;
  }

  .hero {
    min-height: 840px;
  }

  .hero-photo {
    width: 100%;
    opacity: 0.74;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.97), rgba(0, 0, 0, 0.57)), linear-gradient(0deg, #050505, transparent 50%);
  }

  .hero-copy {
    padding-top: 185px;
  }

  .concept-grid,
  .intro-layout,
  .philosophy-layout,
  .tech-layout,
  .message-layout {
    grid-template-columns: 1fr;
  }

  .concept-grid {
    gap: 26px;
  }

  .concept-grid > * {
    min-height: auto;
    padding: 0 0 26px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .craft-grid,
  .custom-grid,
  .factories {
    grid-template-columns: repeat(2, 1fr);
  }

  .factories {
    width: 100%;
  }

  .tech-wheel .photo {
    height: 470px;
  }

  .quality {
    padding-top: 470px;
  }

  .quality::before {
    background: linear-gradient(180deg, transparent 0 260px, var(--paper) 460px);
  }

  .quality-hero {
    width: 100%;
    height: 470px;
  }

  .process-grid {
    margin-top: 40px;
  }

  .projects-heading {
    display: block;
  }

  .footer-hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }
}

@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 30px);
  }

  .anniversary-mini strong {
    font-size: 26px;
  }

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

  .hero-en {
    font-size: 19px;
  }

  .gold-button {
    min-width: 0;
    width: 100%;
  }

  .scroll-note {
    display: none;
  }

  .scroll-progress {
    display: none;
  }

  .section-title {
    font-size: 34px;
  }

  .timeline,
  .craft-grid,
  .custom-grid,
  .tech-cards,
  .process-grid,
  .factories,
  .challenge-grid,
  .vision-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .timeline article > p {
    min-height: 0;
  }

  .craft-grid article > p {
    margin-left: 62px;
  }

  .process-grid article:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -26px;
    display: block;
    transform: rotate(90deg);
  }

  .quality {
    padding-top: 430px;
  }

  .challenge-grid article {
    min-height: 430px;
  }

  .message-layout .photo {
    height: 420px;
  }

  .footer-bottom {
    grid-template-columns: 1fr 38px;
    gap: 18px;
  }

  .footer-bottom p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .footer-links a:not(:last-child)::after {
    display: none;
  }
}

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

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

  .scroll-progress {
    display: none;
  }

  .hero-photo,
  .future-photo,
  .motion-ready .reveal-target,
  .motion-ready .reveal-target.is-visible {
    opacity: 1;
    clip-path: none;
    transform: none;
    animation: none !important;
  }
}

/* Secure content manager */
.admin-shell,
.admin-auth {
  min-height: 100vh;
  color: #171511;
  background: #f4f2ed;
}

.admin-shell {
  padding: 32px clamp(18px, 4vw, 64px) 80px;
}

.admin-header,
.admin-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.admin-header {
  max-width: 1440px;
  margin: 0 auto 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #d8d0bf;
}

.admin-header p,
.admin-panel-heading p,
.admin-auth > section > p:first-child {
  margin: 0 0 6px;
  color: #a57b2c;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.admin-header h1,
.admin-panel-heading h2,
.admin-auth h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

.admin-user form {
  margin: 0;
}

.admin-user a,
.admin-user button,
.admin-primary,
.admin-upload {
  border: 1px solid #b7954f;
  padding: 10px 15px;
  color: #614a1f;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.admin-tabs-note,
.admin-message {
  max-width: 1440px;
  margin: 0 auto 18px;
  padding: 14px 18px;
  border-left: 3px solid #b7954f;
  background: #fff;
  color: #59534a;
  font-size: 13px;
}

.admin-message {
  position: sticky;
  z-index: 20;
  top: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.09);
}

.admin-panel {
  max-width: 1440px;
  margin: 28px auto 0;
  padding: clamp(20px, 3vw, 38px);
  border: 1px solid #d8d0bf;
  background: rgba(255, 255, 255, 0.72);
}

.admin-primary {
  color: #fff;
  background: #111;
}

.admin-primary:disabled {
  opacity: 0.5;
}

.admin-group {
  margin-top: 18px;
  border: 1px solid #d8d0bf;
  background: #fff;
}

.admin-group summary {
  display: flex;
  justify-content: space-between;
  padding: 18px 20px;
  color: #221f1a;
  font-family: var(--serif);
  font-size: 17px;
  cursor: pointer;
}

.admin-group summary span {
  color: #8a8173;
  font-family: Arial, sans-serif;
  font-size: 11px;
}

.admin-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0 20px 22px;
}

.admin-fields label,
.admin-auth label {
  display: grid;
  gap: 7px;
  color: #5f584d;
  font-size: 12px;
}

.admin-fields input,
.admin-fields textarea,
.admin-auth input {
  width: 100%;
  border: 1px solid #cfc6b7;
  border-radius: 0;
  padding: 12px 13px;
  color: #171511;
  background: #fff;
  font: inherit;
  line-height: 1.65;
}

.admin-fields textarea {
  resize: vertical;
}

.admin-assets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0 20px 22px;
}

.admin-assets article {
  padding: 12px;
  border: 1px solid #e2dccf;
  background: #faf9f6;
}

.admin-preview {
  display: grid;
  height: 150px;
  place-items: center;
  overflow: hidden;
  background: #111;
}

.admin-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.admin-assets h3 {
  min-height: 42px;
  margin: 12px 0;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
}

.admin-upload {
  display: block;
  text-align: center;
}

.admin-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.admin-auth {
  display: grid;
  place-items: center;
  padding: 30px 18px;
}

.admin-auth > section {
  width: min(620px, 100%);
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid #d8d0bf;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.09);
}

.admin-auth-lead {
  margin: 18px 0 24px;
  color: #615b51;
}

.admin-auth form {
  display: grid;
  gap: 18px;
}

.admin-auth fieldset {
  display: grid;
  gap: 15px;
  border: 1px solid #d8d0bf;
  padding: 18px;
}

.admin-auth legend {
  padding: 0 8px;
  color: #9a7530;
  font-family: var(--serif);
}

.admin-auth button {
  border: 0;
  padding: 15px;
  color: #fff;
  background: #111;
  font: inherit;
  cursor: pointer;
}

.admin-auth small {
  display: block;
  margin-top: 18px;
  color: #766f64;
}

@media (max-width: 900px) {
  .admin-header,
  .admin-panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-fields,
  .admin-assets {
    grid-template-columns: 1fr;
  }

  .admin-user {
    flex-wrap: wrap;
  }
}
