.history-page {
  --history-ink:#f1e4c8;
  --history-paper:#f1e7d2;
  --history-paper-deep:#dfcfad;
  --history-brown:#392b1d;
  --history-gold:#b99a63;
  background:#f1e7d2;
  color:#201b15;
}
.history-hero {
  position:relative;
  min-height:620px;
  padding:165px 8% 95px;
  overflow:hidden;
  background:
    radial-gradient(ellipse at 70% 35%,#263b48 0,#16252d 35%,#10171b 72%),
    #11191d;
  color:var(--history-ink);
}
.history-hero::before,.history-hero::after {
  position:absolute;
  content:"";
  pointer-events:none;
}
.history-hero::before {
  inset:0;
  opacity:.2;
  background-image:
    linear-gradient(90deg,transparent 49.8%,#d8c99e 50%,transparent 50.2%),
    linear-gradient(transparent 49.8%,#d8c99e 50%,transparent 50.2%);
  background-size:90px 90px;
  mask-image:linear-gradient(90deg,transparent,#000 60%,transparent);
}
.history-hero::after {
  top:-250px;
  right:8%;
  width:540px;
  height:540px;
  border:1px solid #d8c99e30;
  border-radius:50%;
  box-shadow:0 0 0 34px #d8c99e0b,0 0 0 74px #d8c99e08,0 0 0 120px #d8c99e06;
}
.history-hero-grain {
  position:absolute;
  inset:0;
  opacity:.16;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.26'/%3E%3C/svg%3E");
  pointer-events:none;
}
.history-hero-content {
  position:relative;
  z-index:1;
  max-width:760px;
}
.history-overline,.history-kicker {
  display:flex;
  align-items:center;
  gap:10px;
  margin:0;
  color:#cfb47d;
  font-size:10px;
  font-weight:800;
  letter-spacing:2.5px;
}
.history-overline span {
  width:27px;
  height:1px;
  background:#c7a968;
}
.history-hero h1 {
  margin:23px 0 16px;
  font-family:"DM Serif Display",Georgia,serif;
  font-size:clamp(54px,8vw,98px);
  font-weight:400;
  line-height:.98;
  letter-spacing:-2px;
}
.history-hero h1 em {
  color:#d4b777;
  font-weight:400;
}
.history-hero-copy {
  margin:0;
  color:#c7c0b3;
  font-family:"DM Serif Display",Georgia,serif;
  font-size:20px;
}
.history-date-picker {
  display:flex;
  align-items:center;
  gap:12px;
  width:fit-content;
  margin-top:34px;
  padding:11px 12px 11px 16px;
  border:1px solid #e7d6ae45;
  border-radius:6px;
  background:#080d10a8;
  color:#d8bd7f;
}
.history-birthday-picker {
  display:flex;
  align-items:center;
  gap:10px;
  width:fit-content;
  max-width:100%;
  margin-top:12px;
  padding:9px 10px 9px 14px;
  border:1px solid #e7d6ae2e;
  border-radius:5px;
  background:#080d1078;
}
.history-birthday-picker>div {
  display:flex;
  align-items:center;
  gap:8px;
}
.history-birthday-picker>div span {
  color:#cfb47d;
  font-size:15px;
}
.history-birthday-picker label {
  color:#c8c0b1;
  font-size:10px;
  font-weight:700;
  white-space:nowrap;
}
.history-birthday-picker input {
  width:136px;
  min-width:0;
  border:0;
  background:transparent;
  color:#f5ebd7;
  font:600 11px Montserrat,Arial,sans-serif;
  color-scheme:dark;
}
.history-birthday-picker button {
  min-height:33px;
  padding:0 11px;
  border:1px solid #c6a76580;
  border-radius:3px;
  background:#c6a765;
  color:#171714;
  font:800 8px Montserrat,Arial,sans-serif;
  letter-spacing:.7px;
  white-space:nowrap;
  cursor:pointer;
}
.history-birthday-picker button:hover {
  background:#d2b578;
}
.history-birthday-picker input:focus-visible,.history-birthday-picker button:focus-visible {
  outline:2px solid #d8bd7f;
  outline-offset:3px;
}
.history-date-picker>span {
  font-size:17px;
}
.history-date-picker label {
  color:#c8c0b1;
  font-size:11px;
  font-weight:700;
  white-space:nowrap;
}
.history-date-picker input {
  max-width:148px;
  border:0;
  background:transparent;
  color:#f5ebd7;
  font:600 12px Montserrat,Arial,sans-serif;
  color-scheme:dark;
}
.history-date-picker input:focus-visible,.history-date-picker button:focus-visible,.history-retry:focus-visible {
  outline:2px solid #d8bd7f;
  outline-offset:3px;
}
.history-date-picker button,.history-retry {
  min-height:35px;
  padding:0 13px;
  border:1px solid #c6a76580;
  border-radius:3px;
  background:#b99a63;
  color:#171714;
  font:800 9px Montserrat,Arial,sans-serif;
  letter-spacing:1px;
  cursor:pointer;
}
.history-date-picker button:hover,.history-retry:hover {
  background:#d2b578;
}
.history-hero-stamp {
  position:absolute;
  z-index:1;
  top:210px;
  right:14%;
  display:grid;
  place-items:center;
  width:148px;
  height:148px;
  border:1px solid #d0b371a6;
  border-radius:50%;
  color:#d7bd83;
  transform:rotate(12deg);
}
.history-hero-stamp::before,.history-hero-stamp::after {
  position:absolute;
  inset:8px;
  border:1px solid #d0b37150;
  border-radius:50%;
  content:"";
}
.history-hero-stamp::after {
  inset:-7px;
  border-style:dashed;
}
.history-hero-stamp span {
  align-self:end;
  font-size:9px;
  font-weight:800;
  letter-spacing:3px;
}
.history-hero-stamp b {
  margin-top:-7px;
  font-family:"DM Serif Display",Georgia,serif;
  font-size:39px;
  font-weight:400;
}
.history-hero-stamp small {
  align-self:start;
  font-size:7px;
  letter-spacing:2px;
}
.history-hero-bottom {
  position:absolute;
  right:8%;
  bottom:28px;
  left:8%;
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding-top:14px;
  border-top:1px solid #d8c99e35;
  color:#aaa496;
  font-size:9px;
  font-weight:700;
  letter-spacing:1.4px;
}
.history-content {
  padding:82px 8% 70px;
  background:
    radial-gradient(ellipse at 95% 2%,#fff9 0,transparent 34%),
    repeating-linear-gradient(0deg,#00000003 0,#00000003 1px,transparent 1px,transparent 5px),
    var(--history-paper);
}
.history-section-heading {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:30px;
  max-width:1040px;
  margin:0 auto 50px;
}
.history-kicker {
  color:#8c7043;
}
.history-section-heading h2 {
  margin:14px 0 0;
  color:#282117;
  font-family:"DM Serif Display",Georgia,serif;
  font-size:clamp(34px,5vw,55px);
  font-weight:400;
}
.history-section-heading h2 em {
  color:#8c7043;
  font-weight:400;
}
.history-section-heading>p {
  max-width:300px;
  margin:0 0 5px;
  color:#746b5d;
  font-size:12px;
  line-height:1.8;
}
.history-status {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  max-width:1040px;
  min-height:82px;
  margin:0 auto;
  color:#66563a;
  font-size:13px;
}
.history-status[hidden] {
  display:none;
}
.history-status p {
  margin:0;
}
.history-loader {
  width:17px;
  height:17px;
  border:2px solid #cdb98d;
  border-top-color:#705a34;
  border-radius:50%;
  animation:history-spin .8s linear infinite;
}
.history-status.is-error {
  flex-wrap:wrap;
  align-content:center;
  color:#8a3d2c;
}
.history-retry {
  margin-left:8px;
}
@keyframes history-spin {
  to { transform:rotate(360deg); }
}
.history-timeline {
  position:relative;
  display:grid;
  gap:25px;
  max-width:1040px;
  margin:0 auto;
  padding:7px 0 12px;
  list-style:none;
}
.history-timeline::before {
  position:absolute;
  top:0;
  bottom:0;
  left:73px;
  width:1px;
  background:linear-gradient(#bba16d00,#bba16d,#bba16d00);
  content:"";
}
.history-event {
  position:relative;
  display:grid;
  grid-template-columns:88px minmax(0,1fr);
  gap:29px;
  align-items:start;
}
.history-event::before {
  position:absolute;
  top:22px;
  left:82px;
  width:11px;
  height:11px;
  border:2px solid #f1e7d2;
  border-radius:50%;
  background:#937747;
  box-shadow:0 0 0 1px #937747;
  content:"";
}
.history-event-year {
  min-width:0;
  padding:19px 12px 0 0;
  color:#725b34;
  font-family:"DM Serif Display",Georgia,serif;
  font-size:17px;
  text-align:right;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
  overflow:visible;
}
.history-event-card {
  position:relative;
  padding:23px 27px 20px;
  border:1px solid #9c82504d;
  background:#f8f0dfd9;
  box-shadow:0 10px 25px #47371a0b;
  transition:transform .2s,box-shadow .2s;
}
.history-event-card::before {
  position:absolute;
  top:0;
  left:0;
  width:3px;
  height:100%;
  background:#9e824d;
  content:"";
}
.history-event-card:hover {
  transform:translateY(-2px);
  box-shadow:0 15px 28px #47371a16;
}
.history-event-category {
  margin:0 0 9px;
  color:#947746;
  font-size:9px;
  font-weight:800;
  letter-spacing:1.8px;
}
.history-event-card h3 {
  margin:0 0 10px;
  color:#282117;
  font-family:"DM Serif Display",Georgia,serif;
  font-size:25px;
  font-weight:400;
  overflow-wrap:anywhere;
}
.history-event-description {
  max-width:780px;
  margin:0;
  color:#665d50;
  font-size:13px;
  line-height:1.85;
}
.history-event-more {
  margin-top:14px;
  border-top:1px solid #9c825033;
}
.history-event-more summary {
  width:fit-content;
  padding:12px 0 0;
  color:#805f28;
  font-size:9px;
  font-weight:800;
  letter-spacing:.8px;
  cursor:pointer;
  list-style:none;
}
.history-event-more summary::-webkit-details-marker {
  display:none;
}
.history-event-more summary::after {
  margin-left:7px;
  content:"+";
  font-size:13px;
}
.history-event-more[open] summary::after {
  content:"−";
}
.history-event-more summary:focus-visible {
  outline:2px solid #805f28;
  outline-offset:4px;
}
.history-event-more>p {
  margin:12px 0 2px;
  color:#665d50;
  font-size:12px;
  line-height:1.8;
}
.history-birthday-result {
  display:flex;
  align-items:flex-start;
  gap:16px;
  max-width:1040px;
  margin:0 auto 28px;
  padding:20px 24px;
  border:1px solid #ad925e80;
  background:#e6d7b8;
}
.history-period-context {
  max-width:1040px;
  margin:24px auto 0;
  padding:22px 25px;
  border:1px solid #ad925e80;
  border-left:4px solid #937747;
  background:#e6d7b8;
}
.history-period-context[hidden] {
  display:none;
}
.history-period-context .history-event-category {
  margin:0 0 8px;
  color:#805f28;
  font-size:9px;
  font-weight:800;
  letter-spacing:1px;
  line-height:1.6;
}
.history-period-context h3 {
  margin:0 0 8px;
  color:#282117;
  font-family:"DM Serif Display",Georgia,serif;
  font-size:23px;
  font-weight:400;
}
.history-period-context>p:not(.history-event-category) {
  margin:0;
  color:#665d50;
  font-size:12px;
  line-height:1.8;
}
.history-period-context a {
  display:inline-block;
  margin-top:13px;
  color:#805f28;
  font-size:9px;
  font-weight:800;
  letter-spacing:.5px;
  text-decoration:none;
}
.history-period-context a:hover {
  color:#bd4d29;
}
.history-birthday-result[hidden] {
  display:none;
}
.history-birthday-result>span {
  color:#8d6d34;
  font-size:27px;
}
.history-birthday-result p {
  margin:0;
  color:#665d50;
  font-size:12px;
  line-height:1.7;
}
.history-birthday-result .history-event-category {
  margin-bottom:5px;
  color:#8c7043;
  font-size:9px;
  font-weight:800;
  letter-spacing:1.5px;
}
.history-birthday-result h3 {
  margin:0 0 5px;
  color:#282117;
  font-family:"DM Serif Display",Georgia,serif;
  font-size:22px;
  font-weight:400;
}
.history-event-card a {
  display:inline-block;
  margin-top:15px;
  color:#805f28;
  font-size:9px;
  font-weight:800;
  letter-spacing:1px;
  text-decoration:none;
}
.history-event-card a:hover {
  color:#bd4d29;
}
.history-event-card a:focus-visible {
  outline:2px solid #805f28;
  outline-offset:4px;
}
.history-load-more {
  display:block;
  min-width:220px;
  margin:18px auto 0;
  padding:13px 22px;
  border:1px solid #947746;
  background:#f8f0df;
  color:#725b34;
  font:800 10px "Montserrat",Arial,sans-serif;
  letter-spacing:1px;
  cursor:pointer;
}
.history-load-more:hover:not(:disabled) {
  background:#947746;
  color:#fffaf0;
}
.history-load-more:disabled {
  cursor:wait;
  opacity:.7;
}
.history-load-more[hidden] {
  display:none;
}
.history-load-more:focus-visible {
  outline:2px solid #805f28;
  outline-offset:4px;
}
.history-source-note {
  max-width:1040px;
  margin:29px auto 0;
  padding-top:16px;
  border-top:1px solid #9c825033;
  color:#807767;
  font-size:10px;
  line-height:1.7;
}
.history-translation-note {
  max-width:1040px;
  margin:18px auto 0;
  color:#895c29;
  font-size:11px;
  line-height:1.7;
}
.history-quote {
  display:grid;
  justify-items:center;
  padding:60px 8% 68px;
  background:#17242a;
  color:#eadbb9;
  text-align:center;
}
.history-quote>span {
  height:43px;
  color:#c6a765;
  font-family:"DM Serif Display",Georgia,serif;
  font-size:75px;
  line-height:1;
}
.history-quote p {
  max-width:680px;
  margin:17px 0;
  font-family:"DM Serif Display",Georgia,serif;
  font-size:clamp(21px,3vw,31px);
  line-height:1.4;
}
.history-quote small {
  color:#c2a96e;
  font-size:9px;
  font-weight:800;
  letter-spacing:2px;
}
.history-page footer {
  padding-bottom:92px;
}
.history-page .desktop-nav {
  gap:19px;
  margin-right:27px;
}
.history-page .desktop-nav a {
  font-size:10px;
  letter-spacing:.45px;
  white-space:nowrap;
}
.history-page .site-header {
  background:#10171bd9;
}
@media(max-width:1160px) and (min-width:801px) {
  .history-page .desktop-nav {
    gap:12px;
    margin-right:18px;
  }
  .history-page .desktop-nav a {
    font-size:9px;
    letter-spacing:0;
  }
}
@media(max-width:800px) {
  .history-hero {
    min-height:680px;
    padding:132px 7% 95px;
  }
  .history-hero h1 {
    font-size:clamp(52px,11vw,78px);
  }
  .history-hero-stamp {
    top:auto;
    right:9%;
    bottom:110px;
    width:105px;
    height:105px;
    opacity:.78;
  }
  .history-hero-stamp span {
    font-size:7px;
  }
  .history-hero-stamp b {
    font-size:29px;
  }
  .history-hero-stamp small {
    font-size:6px;
  }
  .history-hero-bottom {
    right:7%;
    left:7%;
    font-size:8px;
    letter-spacing:.7px;
  }
  .history-content {
    padding:58px 7% 52px;
  }
  .history-section-heading {
    display:block;
    margin-bottom:32px;
  }
  .history-section-heading>p {
    margin-top:14px;
  }
  .history-timeline {
    gap:18px;
  }
  .history-timeline::before {
    left:63px;
  }
  .history-event {
    grid-template-columns:64px minmax(0,1fr);
    gap:18px;
  }
  .history-event::before {
    left:58px;
    width:9px;
    height:9px;
  }
  .history-event-year {
    padding-right:9px;
    font-size:14px;
  }
  .history-event-card {
    padding:19px 18px 18px;
  }
  .history-event-card h3 {
    font-size:22px;
  }
}
@media(max-width:480px) {
  .history-hero {
    min-height:655px;
    padding:123px 6% 94px;
  }
  .history-overline {
    font-size:8px;
    letter-spacing:1.7px;
  }
  .history-hero h1 {
    font-size:50px;
    letter-spacing:-1px;
  }
  .history-hero-copy {
    max-width:250px;
    font-size:17px;
    line-height:1.45;
  }
  .history-date-picker {
    gap:8px;
    padding:9px;
  }
  .history-birthday-picker {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:9px 12px;
    width:min(100%,350px);
  }
  .history-birthday-picker>div {
    grid-column:1/-1;
  }
  .history-birthday-picker input {
    width:100%;
  }
  .history-birthday-picker button {
    grid-column:2;
    grid-row:2;
  }
  .history-date-picker label {
    font-size:10px;
  }
  .history-date-picker input {
    max-width:128px;
    font-size:11px;
  }
  .history-hero-stamp {
    right:7%;
    bottom:104px;
    width:82px;
    height:82px;
  }
  .history-hero-stamp span {
    font-size:6px;
    letter-spacing:2px;
  }
  .history-hero-stamp b {
    font-size:23px;
  }
  .history-hero-stamp small {
    font-size:5px;
    letter-spacing:1px;
  }
  .history-hero-bottom {
    flex-direction:column;
    gap:6px;
  }
  .history-content {
    padding-right:6%;
    padding-left:6%;
  }
  .history-timeline::before {
    left:55px;
  }
  .history-event {
    grid-template-columns:56px minmax(0,1fr);
    gap:14px;
  }
  .history-event::before {
    left:50px;
    width:8px;
    height:8px;
  }
  .history-event-year {
    padding-top:16px;
    padding-right:8px;
    font-size:12px;
  }
  .history-event-card {
    padding:16px 14px;
  }
  .history-event-card h3 {
    font-size:19px;
  }
  .history-event-description {
    font-size:12px;
    line-height:1.75;
  }
  .history-birthday-result {
    padding:16px;
  }
  .history-birthday-result h3 {
    font-size:19px;
  }
}
@media(max-width:360px) {
  .history-date-picker {
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:8px 12px;
    width:min(100%,350px);
  }
  .history-date-picker>span {
    grid-column:1;
    grid-row:1;
  }
  .history-date-picker label {
    grid-column:2/4;
    grid-row:1;
  }
  .history-date-picker input {
    grid-column:1/3;
    grid-row:2;
    width:100%;
    max-width:none;
  }
  .history-date-picker button {
    grid-column:2;
    grid-row:2;
  }
}
