.history-page {
  --history-ink: #212124;
  --history-yellow: #fde92c;
  --history-muted: #69696d;
  --history-rule: #dededb;
}

.history-page figure {
  margin: 0;
}

.history-page h1,
.history-page h2,
.history-page h3,
.history-page dt {
  font-family:var(--font-display);
}

.history-hero {
  padding: 84px 0 0;
  background: #f7f7f3;
}

.history-hero-layout {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  align-items: center;
  gap: 64px;
}

.history-hero-copy {
  position: relative;
  z-index: 1;
  padding-bottom: 16px;
}

.history-hero-copy h1 {
  max-width: 620px;
  margin: 24px 0 28px;
  font-size: clamp(42px, 4.55vw, 68px);
  font-weight: 600;
  line-height: 1.025;
  letter-spacing:var(--tracking-display);
  text-wrap: balance;
}

.history-hero-copy .lead {
  max-width: 430px;
  margin: 0 0 30px;
  color: #55555a;
  font-size: 17px;
  line-height: 1.7;
}

.history-hero-visual {
  position: relative;
  min-width: 0;
  padding: 12px 0 38px;
}

.history-facade-photo {
  position: relative;
}

.history-facade-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.2;
  object-fit: cover;
  object-position: 50% 20%;
}

.history-facade-photo figcaption {
  min-height: 70px;
  padding: 17px 0 0 176px;
  color: var(--history-muted);
  font-size: 12px;
  line-height: 1.55;
  text-align: right;
}

.history-anniversary {
  position: absolute;
  left: -32px;
  bottom: 20px;
  width: 180px;
  perspective: 700px;
  transform: rotate(-3deg);
}

.history-anniversary-face {
  display: flex;
  min-height: 182px;
  flex-direction: column;
  justify-content: center;
  padding: 14px 18px 18px;
  color: var(--history-ink);
  background: var(--history-yellow);
  box-shadow: -9px 9px 0 var(--history-ink);
  transform-style: preserve-3d;
}

.history-anniversary-number {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  font-family:var(--font-display);
  font-size: 94px;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.history-anniversary-plus {
  padding-top: .07em;
  font-size: .42em;
  line-height: 1;
  letter-spacing: 0;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .history-anniversary:hover .history-anniversary-face {
    animation: anniversary-flip .8s cubic-bezier(.4,0,.2,1) both;
  }
}

@keyframes anniversary-flip {
  from { transform: rotateY(0); }
  to { transform: rotateY(360deg); }
}

.history-anniversary-label {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.history-hero-footer {
  margin-top: 24px;
}

.history-scroll-row {
  display: flex;
  align-items: center;
  min-height: 40px;
}

.history-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  color: #69696d;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.history-scroll-hint svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: #967a00;
}

.history-scroll-hint:hover {
  color: var(--history-ink);
}

.history-scroll-hint:focus-visible,
.history-presence:focus-visible {
  outline: 2px solid #967a00;
  outline-offset: -3px;
}

.history-presence {
  --history-presence-gap: 48px;
  overflow: hidden;
  border-top: 1px solid var(--history-rule);
}

.history-presence-track {
  display: flex;
  width: max-content;
  animation: history-presence-flow 110s linear infinite;
}

.history-presence-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-start;
  gap: var(--history-presence-gap);
  width: max-content;
  min-height: 56px;
  padding: 0 0 0 var(--history-presence-gap);
  margin: 0;
  list-style: none;
}

.history-presence-group li {
  display: inline-flex;
  align-items: center;
  gap: var(--history-presence-gap);
  color: #69696d;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.history-presence-group svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: #967a00;
}

.history-presence:hover .history-presence-track,
.history-presence:focus-within .history-presence-track {
  animation-play-state: paused;
}

@keyframes history-presence-flow {
  to { transform: translateX(-50%); }
}

@media (max-width: 600px) {
  .history-presence {
    --history-presence-gap: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .history-presence-track {
    animation: none;
    transform: none;
    width: 100%;
  }

  .history-presence-group {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 18px 20px;
  }

  .history-presence-group li {
    gap: 16px;
  }

  .history-presence-group[aria-hidden="true"],
  .history-presence-group li[aria-hidden="true"] {
    display: none;
  }
}

.history-origin-layout {
  align-items: center;
}

.history-origin-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 0.98;
  object-fit: cover;
  object-position: center;
}

.history-origin-photo figcaption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 17px;
  color: var(--history-muted);
  font-size: 12px;
  line-height: 1.5;
}

.history-origin-photo figcaption span:first-child {
  color: var(--history-ink);
  font-weight: 700;
}

.history-origin-layout .story-copy h2 {
  margin: 20px 0 26px;
  font-size: clamp(34px, 3.7vw, 50px);
  line-height: 1.07;
  letter-spacing:var(--tracking-display);
}

.history-origin-layout .story-copy > p:not(.eyebrow) {
  color: #626267;
  line-height: 1.75;
}

.history-origin-layout .story-copy > .lead {
  color: var(--history-ink);
  font-size: 19px;
  line-height: 1.55;
}

.history-origin-layout .text-link {
  display: inline-block;
  margin-top: 15px;
}

.history-structure-intro {
  align-items: start;
}

.history-structure-intro h2 {
  margin: 22px 0 0;
  line-height: 1.08;
  letter-spacing:var(--tracking-display);
}

.history-structure-intro .story-copy {
  padding-top: 35px;
}

.history-structure-intro .story-copy > p {
  color: #c4c4c8;
  line-height: 1.7;
}

.history-structure-intro .story-copy > .lead {
  color: #fff;
  font-size: 21px;
  line-height: 1.5;
}

.history-structure-intro .text-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--history-yellow);
}

.history-capabilities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 64px 0 0;
  padding: 36px 0 0;
  border-top: 1px solid #4a4a4e;
}

.history-capabilities > div {
  padding: 0 28px;
  border-left: 1px solid #4a4a4e;
}

.history-capabilities > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.history-capabilities > div:last-child {
  padding-right: 0;
}

.history-capabilities dt {
  margin-bottom: 15px;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.history-capabilities dd {
  max-width: 235px;
  margin: 0;
  color: #bcbcc0;
  font-size: 16px;
  line-height: 1.65;
}

.history-purpose {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #f6f5f1;
  color: var(--history-ink);
  border-top: 1px solid var(--history-rule);
  padding-block: clamp(80px, 8vw, 120px);
}

.history-purpose-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #77776b;
  opacity: .20;
  pointer-events: none;
  z-index: -1;
}

.history-purpose-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(48px, 6vw, 96px);
}

.history-purpose-heading,
.history-purpose-paper {
  min-width: 0;
}

.history-purpose-heading .eyebrow {
  color: #606064;
}

.history-purpose-heading h2 {
  margin: 24px 0 32px;
  font-size: clamp(52px, 5.8vw, 80px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: var(--tracking-display);
}

.history-purpose-heading h2 em {
  color: var(--history-ink);
  font-style: italic;
  padding-inline: .025em;
  margin-inline: -.025em;
  background: linear-gradient(transparent 63%, var(--history-yellow) 63% 94%, transparent 94%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.history-purpose-heading .lead {
  max-width: 580px;
  margin: 0;
  color: #55555a;
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.65;
  text-wrap: pretty;
}

.history-purpose-paper {
  position: relative;
  width: 100%;
  max-width: 530px;
  justify-self: end;
  color: #43413b;
  filter: drop-shadow(0 2px 3px #21212416) drop-shadow(0 14px 20px #21212416);
}

.history-paper-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.history-paper-content {
  position: relative;
  padding: clamp(40px, 4vw, 56px) clamp(32px, 3.5vw, 48px);
}

.history-paper-label {
  margin: 0 0 19px;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #686255;
}

.history-paper-content blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.55;
  text-wrap: pretty;
}

.history-paper-quote {
  color: #b99f00;
  font-size: 32px;
  line-height: 0;
  font-weight: 700;
  margin-right: 5px;
  vertical-align: -.12em;
}

.history-paper-content cite {
  display: block;
  margin-top: 22px;
  font-size: 12px;
  font-style: normal;
  line-height: 1.75;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #686255;
}

.history-invitation {
  padding-block: clamp(72px, 8vw, 112px);
}

.history-order-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 64px;
}

.history-invitation h2 {
  margin: 28px 0 0;
  font-size: clamp(100px, 10vw, 136px);
  line-height: .9;
  font-weight: 600;
  letter-spacing: var(--tracking-display);
}

.history-invitation h2 > span {
  color: #21212470;
}

.history-invitation .lead {
  max-width: 480px;
  margin: 0 0 6px;
  color: #454435;
  font-size: 20px;
  line-height: 1.7;
}

.history-order-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.history-order-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 292px;
  padding: clamp(24px, 2.4vw, 34px);
  border: 1px solid #ffffff0f;
  border-radius: 4px;
  background: var(--history-ink);
  color: #eeeef1;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.history-order-card-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.history-order-unit {
  margin: 0 0 12px;
  color: var(--history-yellow);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.history-order-card h3 {
  margin: 0;
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: var(--tracking-display);
}

.history-order-arrow {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--history-yellow);
  color: var(--history-ink);
  transition: transform .25s ease;
}

.history-order-arrow svg {
  width: 22px;
  height: 22px;
}

.history-order-region {
  flex: 1;
  margin: 24px 0;
  color: #c9c9ce;
  font-size: 16px;
  line-height: 1.65;
}

.history-order-channel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #ffffff26;
  padding-top: 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.history-order-channel .energy-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--history-yellow);
}

.history-order-channel-name {
  margin-left: auto;
  color: #a9a9b0;
  font-size: 12px;
}

.history-order-card:focus-visible {
  outline: 2px solid var(--history-ink);
  outline-offset: 5px;
}

@media (hover: hover) and (pointer: fine) {
  .history-order-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 30px -18px #21212480;
    background: #29292c;
    text-decoration: none;
  }

  .history-order-card:hover .history-order-arrow {
    transform: translate(2px, -2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .history-order-card,
  .history-order-arrow {
    transition: none;
  }

  .history-order-card:hover,
  .history-order-card:hover .history-order-arrow {
    transform: none;
  }
}

@media (max-width: 900px) {
  .history-hero {
    padding-top: 55px;
  }

  .history-hero-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .history-hero-copy h1 {
    max-width: 700px;
    font-size: clamp(48px, 7.8vw, 68px);
  }

  .history-hero-copy .lead {
    max-width: 540px;
  }

  .history-hero-visual {
    padding: 0 0 26px 24px;
  }

  .history-team-photo img {
    aspect-ratio: 1.65;
    object-position: center;
  }

  .history-team-photo figcaption {
    padding-left: 190px;
  }

  .history-anniversary {
    left: 9px;
    bottom: 10px;
  }

  .history-origin-layout,
  .history-structure-intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .history-origin-photo {
    max-width: 660px;
  }

  .history-origin-photo img {
    aspect-ratio: 1.25;
  }

  .history-origin-layout .story-copy {
    max-width: 620px;
  }

  .history-structure-intro .story-copy {
    max-width: 620px;
    padding-top: 0;
  }

  .history-capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 0;
    margin-top: 42px;
  }

  .history-capabilities > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .history-capabilities dt {
    font-size: 26px;
  }

  .history-purpose-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .history-purpose-paper {
    justify-self: start;
    max-width: 620px;
  }

  .history-purpose-heading h2 {
    font-size: clamp(48px, 7.6vw, 68px);
  }

  .history-purpose-heading .lead {
    max-width: 570px;
    margin-left: 0;
  }

  .history-order-intro {
    gap: 36px;
  }

  .history-order-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 42px;
  }

  .history-order-card {
    min-height: 250px;
  }

  .history-order-card h3 {
    font-size: 34px;
  }
}

@media (max-width: 600px) {
  .history-hero {
    padding-top: 38px;
  }

  .history-hero-layout {
    gap: 25px;
  }

  .history-hero-copy h1 {
    margin-top: 19px;
    font-size: clamp(39px, 10.4vw, 55px);
    line-height: 1.055;
    letter-spacing:var(--tracking-display);
  }

  .history-hero-copy .lead {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.65;
  }

  .history-hero-visual {
    padding-left: 10px;
    padding-bottom: 30px;
  }

  .history-facade-photo img {
    aspect-ratio: 1.2;
    object-position: 50% 20%;
  }

  .history-facade-photo figcaption {
    min-height: 66px;
    padding-top: 12px;
    padding-left: 125px;
    font-size: 12px;
    line-height: 1.5;
  }

  .history-anniversary {
    left: 1px;
    bottom: 22px;
    width: 126px;
  }

  .history-anniversary-face {
    min-height: 133px;
    padding: 12px 11px;
    box-shadow: -6px 6px 0 var(--history-ink);
  }

  .history-anniversary-number {
    font-size: 67px;
  }

  .history-anniversary-label {
    margin-top: 7px;
    font-size: 12px;
  }

  .history-origin-layout,
  .history-structure-intro {
    gap: 30px;
  }

  .history-origin-photo img {
    aspect-ratio: 1.04;
  }

  .history-origin-photo figcaption {
    gap: 15px;
    padding-top: 13px;
    font-size: 12px;
  }

  .history-origin-photo figcaption span:last-child {
    text-align: right;
  }

  .history-origin-layout .story-copy h2 {
    font-size: 35px;
  }

  .history-origin-layout .story-copy > .lead {
    font-size: 18px;
  }

  .history-structure-intro h2 {
    font-size: 35px;
  }

  .history-structure-intro .story-copy > .lead {
    font-size: 19px;
  }

  .history-capabilities {
    gap: 28px 0;
    padding-top: 27px;
  }

  .history-capabilities > div {
    padding: 0 15px;
  }

  .history-capabilities dt {
    font-size: 21px;
  }

  .history-capabilities dd {
    font-size: 16px;
    line-height: 1.6;
  }

  .history-purpose-heading h2 {
    font-size: clamp(40px, 10.5vw, 59px);
    line-height: 1.09;
  }

  .history-purpose-heading .lead {
    font-size: 18px;
  }

  .history-paper-content {
    padding: 37px 28px;
  }

  .history-paper-content blockquote {
    font-size: 20px;
  }

  .history-paper-content cite {
    letter-spacing: .1em;
  }

  .history-invitation h2 {
    font-size: clamp(64px, 20vw, 82px);
  }

  .history-order-intro {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .history-invitation .lead {
    font-size: 18px;
  }

  .history-order-card h3 {
    font-size: clamp(28px, 8vw, 34px);
  }
}
