@charset "UTF-8";
:root {
  color-scheme: light;
  --paper: #f5f6f3;
  --ink: #20372f;
  --muted: #68736c;
  --line: #d6ddd5;
  --pink: #efb6c8;
  --rose: #a14564;
  --serif:
    Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "Cascadia Code", Consolas, monospace;
}
* {
  box-sizing: border-box;
  letter-spacing: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 5px;
}
::selection {
  background: var(--pink);
  color: #20372f;
}
.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10;
  padding: 10px;
  background: var(--paper);
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}
.mono,
.eyebrow {
  font: 11px/1.7 var(--mono);
}
.eyebrow {
  display: block;
}
.section-wrap {
  width: min(1184px, calc(100% - 112px));
  margin-inline: auto;
}
.header {
  height: 86px;
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font: 700 28px/1 var(--mono);
  white-space: nowrap;
}
.wordmark span {
  font: italic 30px/1 var(--serif);
}
.wordmark sup {
  font-size: 21px;
  color: var(--rose);
  margin-left: 3px;
}
.header nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 13px;
}
.header nav a:hover {
  color: var(--rose);
}
.nav-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--rose);
  border-radius: 50%;
  vertical-align: top;
  margin: 5px 0 0 5px;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 22px;
}
.local-time {
  font: 12px var(--mono);
  white-space: nowrap;
}
.local-time > span {
  font-size: 10px;
  color: var(--muted);
  margin-right: 8px;
}
.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-button:hover {
  background: var(--pink);
}
.hero {
  height: min(750px, calc(100svh - 145px));
  min-height: 575px;
  position: relative;
  isolation: isolate;
  padding: 35px 56px 38px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #20372f;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 64%;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f3f5f133, transparent 65%);
  z-index: -1;
  pointer-events: none;
}
.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
}
.hero-coordinate {
  font-size: 12px;
  text-align: right;
  line-height: 1.9;
}
.hero-title-row {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-top: 5px;
}
.hero h1 {
  font-size: 208px;
  font-weight: 400;
  line-height: 1.08;
  display: flex;
  align-items: center;
}
.hero h1 > span:first-child {
  font-family: var(--mono);
  font-weight: 500;
}
.hero h1 em {
  font-family: var(--serif);
  font-weight: 400;
  margin-left: -6px;
}
.hero h1 .asterisk {
  color: #ad4269;
  font-size: 100px;
  line-height: 1;
  align-self: flex-start;
  margin: 30px 0 0 15px;
}
.hero-aside {
  font: 10px/1.7 var(--mono);
  margin-top: 28px;
}
.hero-bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
}
.hero-copy {
  padding-bottom: 4px;
  color: white;
  text-shadow: 0 1px 8px #142e2690;
}
.hero-copy > p {
  font: 600 30px/1.65 var(--serif);
}
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
  border-bottom: 1px solid currentColor;
  padding: 8px 0;
}
.hero-copy .text-link {
  margin-top: 22px;
}
.hero-copy img {
  filter: invert(1);
}
.hero-caption {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  color: #fff;
  text-shadow: 0 1px 5px #102b2799;
  font-size: 13px;
  line-height: 1.8;
}
.tiny-cross {
  font-size: 25px;
  margin-bottom: 9px;
}
.hero-caption .mono {
  font-size: 9px;
  margin-top: 24px;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 32px;
}
.footer > .wordmark {
  font-size: 23px;
}
.footer > .wordmark span {
  font-size: 25px;
}
.footer > span {
  font-size: 10px;
  color: var(--muted);
}
.footer > .mono {
  font-size: 9px;
}
.letter-page .header {
  height: 78px;
}
.letter-layout {
  display: grid;
  grid-template-columns: 43% 57%;
  align-items: start;
}
.letter-window {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 45px 42px;
}
.letter-window > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 61% center;
}
.letter-window::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(#e9edec11, #15372b55);
  z-index: -1;
}
.window-heading {
  color: #20372f;
}
.window-heading .eyebrow {
  font-size: 9px;
}
.window-heading p {
  font: 42px/1.6 var(--serif);
  margin-top: 30px;
}
.window-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font: 13px var(--serif);
  text-shadow: 0 1px 5px #17382d;
}
.window-bottom .mono {
  font-size: 9px;
}
.letter-paper {
  width: min(650px, 100%);
  margin-inline: auto;
  padding: 52px 64px 45px;
}
.letter-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-size: 10px;
  color: var(--muted);
}
.letter-star {
  font-size: 27px;
  color: var(--rose);
}
.letter-paper h1 {
  font: 36px/1.6 var(--serif);
  margin: 36px 0 38px;
  font-weight: 500;
}
.letter-prose {
  font: 14px/2.1 var(--serif);
}
.letter-prose p {
  margin-bottom: 25px;
}
.letter-prose .salutation {
  margin-bottom: 28px;
}
.letter-prose blockquote {
  margin: 38px 0;
  padding: 5px 0 5px 21px;
  border-left: 2px solid var(--pink);
  font-size: 19px;
  line-height: 1.95;
}
.letter-prose blockquote em {
  font-style: normal;
  color: var(--rose);
}
.letter-wish {
  padding-top: 9px;
}
.letter-signature {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 36px 0 40px;
}
.letter-signature > span {
  font: 11px var(--serif);
  color: var(--muted);
}
.letter-signature strong {
  font: 27px var(--mono);
}
.letter-signature em {
  font-family: var(--serif);
}
.letter-signature sup {
  font-size: 20px;
  color: var(--rose);
}
.letter-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  gap: 20px;
}
.letter-tools button {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  font-size: 11px;
  padding: 6px 0;
}
.rain-control {
  display: flex;
  align-items: center;
  gap: 14px;
}
.rain-control small {
  font-size: 9px;
  color: var(--muted);
}
#rain-toggle[aria-pressed="true"] {
  color: var(--rose);
}
#share-letter {
  width: 40px;
  justify-content: center;
}
.share-status {
  font-size: 11px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.letter-return {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 26px;
}
[data-theme="dark"] {
  color-scheme: dark;
  --paper: #17231f;
  --ink: #e5e9e1;
  --muted: #a1b0a4;
  --line: #3e4a42;
  --rose: #efb6c8;
}
[data-theme="dark"] .theme-toggle img,
[data-theme="dark"] .letter-paper img {
  filter: invert(1);
}
[data-theme="dark"] .hero-image {
  filter: brightness(0.42) saturate(0.7);
}
[data-theme="dark"] .hero {
  color: #f0f1eb;
}
[data-theme="dark"] .hero::after {
  background: #10271e1a;
}
[data-theme="dark"] .hero h1 .asterisk {
  color: #efb6c8;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
@media (min-width: 1600px) {
  .header {
    padding-inline: 80px;
  }
  .hero {
    padding-inline: 80px;
    height: 780px;
    max-height: calc(100svh - 150px);
  }
  .hero h1 {
    font-size: 240px;
  }
  .hero-title-row {
    gap: 75px;
  }
  .hero-copy > p {
    font-size: 34px;
  }
  .letter-paper {
    padding-inline: 70px;
  }
}
@media (max-width: 1050px) {
  .header {
    padding-inline: 32px;
  }
  .hero {
    padding-inline: 32px;
    min-height: 560px;
  }
  .hero h1 {
    font-size: 170px;
  }
  .hero h1 .asterisk {
    font-size: 80px;
  }
  .section-wrap {
    width: calc(100% - 64px);
  }
  .letter-paper {
    padding: 42px 35px;
  }
  .letter-window {
    padding: 40px 30px;
  }
  .letter-paper h1 {
    font-size: 31px;
  }
  .letter-prose blockquote {
    font-size: 17px;
  }
}
@media (max-width: 700px) {
  .header {
    height: 72px;
    padding-inline: 22px;
    gap: 14px;
  }
  .wordmark {
    font-size: 25px;
  }
  .wordmark span {
    font-size: 27px;
  }
  .header nav {
    gap: 21px;
    font-size: 12px;
  }
  .header-tools {
    gap: 0;
  }
  .local-time {
    display: none;
  }
  .icon-button {
    width: 35px;
    height: 35px;
  }
  .hero {
    height: calc(88svh - 72px);
    min-height: 570px;
    max-height: 760px;
    padding: 26px 24px 30px;
  }
  .hero-image {
    object-position: 54% 50%;
  }
  .hero::after {
    background: linear-gradient(90deg, #f3f5f17a, transparent 90%);
  }
  .hero-top > .eyebrow {
    font-size: 8px;
    padding-top: 2px;
  }
  .hero-coordinate {
    font-size: 10px;
  }
  .hero-title-row {
    margin-top: 20px;
  }
  .hero h1 {
    font-size: 127px;
    line-height: 1.1;
  }
  .hero h1 .asterisk {
    font-size: 53px;
    margin: 14px 0 0 8px;
  }
  .hero h1 em {
    margin-left: -5px;
  }
  .hero-copy > p {
    font-size: 24px;
  }
  .hero-copy .text-link {
    font-size: 12px;
    margin-top: 19px;
  }
  .hero-bottom {
    gap: 15px;
  }
  .hero-caption {
    font-size: 10px;
    min-width: 86px;
  }
  .hero-caption .mono {
    display: none;
  }
  .tiny-cross {
    margin-bottom: 7px;
  }
  .section-wrap {
    width: calc(100% - 40px);
  }
  .footer {
    padding-block: 26px;
    flex-wrap: wrap;
    gap: 18px;
  }
  .footer > .mono {
    width: 100%;
    font-size: 8px;
  }
  .letter-page .header {
    height: 72px;
  }
  .letter-layout {
    grid-template-columns: 1fr;
  }
  .letter-window {
    position: relative;
    height: 270px;
    min-height: 0;
    padding: 25px 27px;
  }
  .letter-window > img {
    object-position: 50% 65%;
  }
  .window-heading .eyebrow {
    font-size: 8px;
  }
  .window-heading p {
    font-size: 28px;
    margin-top: 15px;
    line-height: 1.5;
  }
  .window-bottom {
    font-size: 11px;
  }
  .window-bottom .mono {
    font-size: 8px;
  }
  .letter-paper {
    padding: 32px 28px 36px;
    max-width: 550px;
  }
  .letter-meta {
    font-size: 9px;
  }
  .letter-paper h1 {
    font-size: 31px;
    margin-block: 26px 32px;
  }
  .letter-prose {
    font-size: 14px;
    line-height: 2;
  }
  .letter-prose p {
    margin-bottom: 24px;
  }
  .letter-prose blockquote {
    font-size: 18px;
    margin-block: 32px;
    padding-left: 17px;
  }
  .letter-signature {
    margin-block: 28px 30px;
  }
  .rain-control {
    gap: 10px;
  }
}
@media (max-width: 370px) {
  .header {
    padding-inline: 16px;
  }
  .header nav {
    gap: 11px;
    font-size: 11px;
  }
  .hero {
    padding-inline: 20px;
  }
  .hero h1 {
    font-size: 106px;
  }
  .hero h1 .asterisk {
    font-size: 44px;
    margin-left: 5px;
  }
  .hero-copy > p {
    font-size: 21px;
  }
  .hero-caption {
    font-size: 9px;
  }
  .hero-top > .eyebrow {
    font-size: 7px;
  }
  .letter-paper {
    padding-inline: 23px;
  }
  .letter-paper h1 {
    font-size: 28px;
  }
  .letter-prose blockquote {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
