@charset "UTF-8";

:root {
  --ink: #2d3a40;
  --ink-soft: #647278;
  --ink-faint: #849196;
  --night: #e8eceb;
  --night-soft: #dfe5e5;
  --night-lift: #d3dcde;
  --line: rgba(47, 65, 72, 0.16);
  --line-strong: rgba(47, 65, 72, 0.28);
  --mist: #6d838c;
  --rust: #a27159;
  --paper: #f0ece2;
  --container: 1180px;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  --sans: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.72), transparent 30rem),
    linear-gradient(180deg, #edf0ef 0%, #dde5e5 42%, #e7e9e6 100%);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  z-index: 90;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

::selection {
  color: #fff;
  background: rgba(73, 99, 109, 0.62);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 120;
  top: 12px;
  left: 12px;
  padding: 8px 14px;
  color: #071016;
  background: var(--paper);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: #6d7d83;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 1px;
  content: "";
  background: var(--rust);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 44px;
}

.section-heading h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: 0.06em;
}

.section-heading p {
  max-width: 330px;
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #536971;
  font-size: 13px;
  letter-spacing: 0.12em;
  transition: color 180ms ease, gap 180ms ease;
}

.text-link::after {
  content: "→";
}

.text-link:hover,
.text-link:focus-visible {
  gap: 18px;
  color: #26353b;
}

.site-header {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(32, 43, 47, 0.42), rgba(32, 43, 47, 0));
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
  color: #e8edef;
}

.site-header.is-scrolled {
  position: fixed;
  border-color: var(--line);
  color: #2d3a40;
  background: rgba(235, 239, 238, 0.93);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(218, 225, 228, 0.36);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 15px;
}

.brand-name {
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.22em;
  line-height: 1.2;
}

.brand-name small {
  margin-top: 5px;
  color: #9aa8ad;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  color: #c3cdd1;
  font-size: 13px;
  letter-spacing: 0.13em;
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  background: var(--rust);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: #fff;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 0;
  color: #e8edef;
  background: transparent;
  cursor: pointer;
}

.site-header.is-scrolled .nav-toggle {
  color: #2d3a40;
}

.site-header.is-scrolled .brand-name small {
  color: #75848a;
}

.site-header.is-scrolled .site-nav a {
  color: #64747a;
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible,
.site-header.is-scrolled .site-nav a.is-active {
  color: #26353b;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 6px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  color: #edf1f2;
  background: #7f8b8e;
}

.hero::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(90deg, rgba(40, 49, 52, 0.48) 0%, rgba(40, 49, 52, 0.24) 44%, rgba(40, 49, 52, 0.03) 74%, rgba(40, 49, 52, 0.12) 100%),
    linear-gradient(0deg, rgba(56, 68, 72, 0.64) 0%, transparent 46%),
    url("../images/sea-sunset.jpg");
  background-position: center;
  background-size: cover;
  filter: saturate(0.52) brightness(1.04) contrast(0.94);
  transform: scale(1.03);
  animation: hero-breathe 18s ease-in-out infinite alternate;
}

.hero::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(33, 42, 45, 0.04), transparent 50%, rgba(54, 66, 70, 0.62) 100%);
}

@keyframes hero-breathe {
  from { transform: scale(1.03); }
  to { transform: scale(1.09); }
}

.rain-layer {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.28;
}

.rain-drop {
  position: absolute;
  top: -120px;
  width: 1px;
  height: var(--drop-length, 70px);
  background: linear-gradient(transparent, rgba(211, 224, 231, 0.6));
  transform: rotate(10deg);
  animation: rain-fall var(--drop-speed, 1.4s) linear infinite;
  animation-delay: var(--drop-delay, 0s);
}

@keyframes rain-fall {
  to { transform: translate3d(-80px, calc(100svh + 220px), 0) rotate(10deg); }
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 760px) auto;
  gap: 80px;
  align-items: end;
  padding-top: 170px;
  padding-bottom: clamp(82px, 12vh, 132px);
}

.hero-kicker {
  margin: 0 0 22px;
  color: #aeb8be;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 10vw, 118px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.hero h1 em {
  color: #a5b2b8;
  font-style: normal;
}

.hero-lead {
  max-width: 610px;
  margin: 34px 0 0;
  color: #bdc5ca;
  font-family: var(--serif);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 2;
  letter-spacing: 0.08em;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 16px;
  writing-mode: vertical-rl;
  color: rgba(206, 216, 220, 0.62);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.32em;
}

.hero-note::before {
  width: 1px;
  height: 64px;
  content: "";
  background: rgba(214, 223, 226, 0.36);
}

.scroll-mark {
  position: absolute;
  right: clamp(22px, 3.5vw, 64px);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(198, 207, 212, 0.54);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transform: rotate(90deg) translateX(-100%);
  transform-origin: left bottom;
}

.scroll-mark::after {
  width: 48px;
  height: 1px;
  content: "";
  background: currentColor;
}

.intro {
  position: relative;
  padding: 132px 0 118px;
  overflow: hidden;
}

.intro::before {
  position: absolute;
  top: 60px;
  right: -35px;
  color: rgba(169, 184, 191, 0.025);
  content: "渔人轩";
  font-family: var(--serif);
  font-size: clamp(100px, 20vw, 280px);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.intro-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(320px, 1.22fr);
  gap: clamp(50px, 9vw, 130px);
  align-items: center;
}

.intro-image {
  position: relative;
  min-height: 630px;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent 58%, rgba(6, 14, 19, 0.68)),
    url("../images/solitude-field.jpg") center/cover;
  filter: saturate(0.48) contrast(1.03);
}

.intro-image::after {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(230, 236, 238, 0.2);
  content: "";
}

.image-caption {
  position: absolute;
  z-index: 1;
  right: 44px;
  bottom: 44px;
  left: 44px;
  color: rgba(231, 235, 236, 0.76);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.intro-copy blockquote {
  margin: 0;
  color: #2d3b41;
  font-family: var(--serif);
  font-size: clamp(26px, 4.2vw, 48px);
  line-height: 1.65;
  letter-spacing: 0.06em;
}

.intro-copy blockquote span {
  color: #708087;
}

.intro-copy > p {
  max-width: 610px;
  margin: 36px 0 0;
  color: var(--ink-soft);
  line-height: 2.15;
}

.intro-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.intro-meta span {
  color: var(--ink-faint);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.mood-section {
  padding: 110px 0 130px;
  border-top: 1px solid var(--line);
  background: rgba(195, 207, 210, 0.72);
}

.mood-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.mood-card {
  position: relative;
  display: flex;
  min-height: 400px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  color: #eef2f2;
  background: #43565f;
  isolation: isolate;
}

.mood-card::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background-position: center;
  background-size: cover;
  filter: grayscale(0.36) saturate(0.6) brightness(0.82);
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0, 1), filter 700ms ease;
}

.mood-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(20, 34, 40, 0.02) 18%, rgba(20, 34, 40, 0.7) 92%);
}

.mood-card:hover::before {
  filter: grayscale(0.2) saturate(0.68) brightness(0.9);
  transform: scale(1.045);
}

.mood-card:nth-child(1) {
  grid-column: span 7;
}

.mood-card:nth-child(1)::before {
  background-image: url("../images/night-coast.jpg");
}

.mood-card:nth-child(2) {
  grid-column: span 5;
}

.mood-card:nth-child(2)::before {
  background-image: url("../images/sea-sunset.jpg");
}

.mood-card:nth-child(3),
.mood-card:nth-child(4),
.mood-card:nth-child(5) {
  grid-column: span 4;
  min-height: 350px;
}

.mood-card:nth-child(3)::before {
  background-image: url("../images/window-rain.jpg");
}

.mood-card:nth-child(4)::before {
  background-image: url("../images/solitude-field.jpg");
}

.mood-card:nth-child(5)::before {
  background-image: url("../images/mist-mountains.jpg");
}

.mood-date {
  margin-bottom: 14px;
  color: #9aa7ad;
  font-size: 10px;
  letter-spacing: 0.22em;
}

.mood-card h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.7vw, 32px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.mood-card p {
  max-width: 560px;
  margin: 0;
  color: #acb5ba;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.9;
}

.mood-card .text-link {
  margin-top: 22px;
  color: #e2e8e9;
}

.quote-section {
  position: relative;
  display: grid;
  min-height: 680px;
  place-items: center;
  padding: 100px 24px;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(rgba(30, 45, 51, 0.4), rgba(30, 45, 51, 0.56)),
    url("../images/sea-sunset.jpg") center/cover fixed;
}

.quote-section::before,
.quote-section::after {
  position: absolute;
  top: 50%;
  width: min(14vw, 180px);
  height: 1px;
  content: "";
  background: var(--line-strong);
}

.quote-section::before { left: 4vw; }
.quote-section::after { right: 4vw; }

.quote-inner {
  max-width: 880px;
  color: #f0f3f3;
}

.quote-mark {
  display: block;
  margin-bottom: 14px;
  color: rgba(179, 192, 198, 0.38);
  font-family: Georgia, serif;
  font-size: 92px;
  line-height: 0.7;
}

.quote-inner blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(25px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.1em;
}

.quote-inner cite {
  display: block;
  margin-top: 34px;
  color: #909da4;
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.28em;
}

.letter-preview {
  padding: 130px 0;
}

.letter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.letter-card {
  position: relative;
  min-height: 350px;
  padding: 38px 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
  transition: background 240ms ease, transform 240ms ease;
}

.letter-card:hover {
  z-index: 1;
  background: rgba(248, 250, 249, 0.9);
  transform: translateY(-5px);
}

.letter-number {
  display: block;
  margin-bottom: 48px;
  color: #748187;
  font-family: Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.2em;
}

.letter-card h3 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.5;
}

.letter-card p {
  margin: 0;
  color: #637177;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 2;
}

.letter-card .text-link {
  position: absolute;
  bottom: 32px;
  left: 34px;
}

.gentle-note {
  padding: 70px 0;
  border-top: 1px solid var(--line);
  background: #ced9da;
}

.gentle-note .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.gentle-note h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(23px, 3.3vw, 38px);
  font-weight: 400;
  letter-spacing: 0.06em;
}

.gentle-note p {
  max-width: 580px;
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 66svh;
  place-items: end start;
  isolation: isolate;
  overflow: hidden;
  color: #eef2f3;
  background: #42555e;
}

.page-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background-position: center;
  background-size: cover;
  filter: grayscale(0.18) saturate(0.58) brightness(0.96);
}

.page-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(34, 48, 53, 0.48), rgba(34, 48, 53, 0.04)), linear-gradient(0deg, rgba(59, 73, 78, 0.72), transparent 58%);
}

.page-hero--journal::before {
  background-image: url("../images/window-rain.jpg");
}

.page-hero--letters::before {
  background-image: url("../images/old-letter.jpg");
}

.page-hero--about::before {
  background-image: url("../images/night-coast.jpg");
}

.page-hero--years::before {
  background-image: url("../images/solitude-field.jpg");
}

.page-hero-content {
  padding-top: 190px;
  padding-bottom: 78px;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(50px, 8vw, 92px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.08em;
}

.page-hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: #d7dee0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 2;
  letter-spacing: 0.08em;
}

.page-hero .eyebrow {
  color: #cbd4d7;
}

.journal-section {
  padding: 98px 0 130px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}

.filter-button {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: #617177;
  background: transparent;
  font-size: 12px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  border-color: rgba(167, 184, 192, 0.42);
  color: #26353b;
  background: rgba(78, 101, 110, 0.12);
}

.journal-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.journal-entry {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 100px;
  gap: 42px;
  align-items: center;
  min-height: 230px;
  padding: 40px 44px;
  background: rgba(247, 249, 248, 0.76);
  transition: background 220ms ease;
}

.journal-entry[hidden] {
  display: none;
}

.journal-entry:hover {
  background: rgba(255, 255, 255, 0.94);
}

.entry-date {
  align-self: start;
  color: #78858a;
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.14em;
}

.entry-date strong {
  display: block;
  margin-bottom: 6px;
  color: #53656c;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.entry-content h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 31px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.06em;
}

.entry-content p {
  max-width: 690px;
  margin: 0;
  color: #5f6e74;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 2.05;
}

.entry-tag {
  justify-self: end;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: #697980;
  font-size: 10px;
  letter-spacing: 0.15em;
}

.journal-end {
  margin-top: 58px;
  text-align: center;
  color: #738086;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.18em;
}

.letters-stage {
  padding: 110px 0 130px;
}

.letters-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(54px, 9vw, 130px);
}

.letters-aside {
  position: sticky;
  top: 130px;
  align-self: start;
}

.letters-aside h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 35px;
  font-weight: 400;
  line-height: 1.5;
}

.letters-aside p {
  margin: 22px 0 0;
  color: #66747a;
  font-size: 13px;
  line-height: 2;
}

.sentence-box {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.sentence-box span {
  display: block;
  margin-bottom: 10px;
  color: #738187;
  font-size: 10px;
  letter-spacing: 0.22em;
}

.sentence-box q {
  display: block;
  min-height: 86px;
  color: #3e4d53;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.9;
}

.shuffle-button {
  margin-top: 20px;
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px solid #60727b;
  color: #536a73;
  background: transparent;
  font-size: 11px;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.letter-stack {
  display: grid;
  gap: 30px;
}

.full-letter {
  position: relative;
  padding: clamp(36px, 6vw, 68px);
  border: 1px solid var(--line);
  color: #33393d;
  background:
    linear-gradient(rgba(208, 204, 193, 0.96), rgba(198, 195, 184, 0.96)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(48, 53, 55, 0.09) 31px 32px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
  transform: rotate(var(--letter-rotate, -0.3deg));
}

.full-letter:nth-child(even) {
  --letter-rotate: 0.35deg;
}

.full-letter::after {
  position: absolute;
  right: 26px;
  bottom: 22px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(79, 74, 68, 0.34);
  border-radius: 50%;
  content: "渔";
  color: rgba(99, 70, 60, 0.48);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 42px;
  text-align: center;
}

.letter-to,
.letter-sign {
  margin: 0;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.08em;
}

.letter-body {
  margin: 30px 0;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 2.15;
  letter-spacing: 0.04em;
}

.letter-sign {
  text-align: right;
}

.letter-sign small {
  display: block;
  margin-top: 7px;
  color: #6c716f;
  font-family: Georgia, serif;
  font-size: 10px;
}

.years-preview {
  padding: 118px 0 126px;
  border-top: 1px solid var(--line);
  background: rgba(247, 246, 242, 0.72);
}

.years-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.year-point {
  min-height: 240px;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.36);
}

.year-point time {
  display: block;
  margin-bottom: 34px;
  color: var(--rust);
  font-family: Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.16em;
}

.year-point h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.55;
}

.year-point p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.9;
}

.years-overview {
  padding: 110px 0 100px;
}

.years-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(56px, 10vw, 140px);
  align-items: start;
}

.years-overview h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.years-overview-copy p {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-family: var(--serif);
  line-height: 2.2;
  letter-spacing: 0.03em;
}

.years-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.years-stat {
  min-height: 138px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.58);
}

.years-stat strong {
  display: block;
  margin-bottom: 8px;
  color: #41545c;
  font-family: Georgia, var(--serif);
  font-size: 25px;
  font-weight: 400;
}

.years-stat span {
  color: var(--ink-faint);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.yearbook-section {
  padding: 110px 0 135px;
  border-top: 1px solid var(--line);
  background: rgba(200, 211, 213, 0.64);
}

.yearbook {
  max-width: 1040px;
  margin: 0 auto;
  border-top: 1px solid var(--line-strong);
}

.year-chapter {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(42px, 8vw, 100px);
  padding: 72px 0;
  border-bottom: 1px solid var(--line-strong);
}

.year-label {
  align-self: start;
}

.year-label time {
  display: block;
  color: var(--rust);
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 1.1;
}

.year-label span {
  display: block;
  margin-top: 12px;
  color: var(--ink-faint);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.year-copy h2 {
  margin: 0 0 25px;
  font-family: var(--serif);
  font-size: clamp(27px, 4vw, 43px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.year-copy p {
  margin: 0;
  color: #58686e;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 2.2;
  letter-spacing: 0.025em;
}

.year-copy p + p {
  margin-top: 19px;
}

.year-quote {
  margin: 34px 0 0;
  padding: 22px 0 22px 26px;
  border-left: 2px solid var(--rust);
  color: #35474e;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.9;
}

.about-opening {
  padding: 120px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(52px, 10vw, 140px);
  align-items: start;
}

.about-photo {
  position: relative;
  min-height: 650px;
  background:
    linear-gradient(0deg, rgba(7, 16, 22, 0.64), transparent 42%),
    url("../images/mist-mountains.jpg") center/cover;
  filter: grayscale(0.3) saturate(0.5);
}

.about-photo span {
  position: absolute;
  right: 28px;
  bottom: 30px;
  writing-mode: vertical-rl;
  color: rgba(226, 232, 234, 0.66);
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.3em;
}

.about-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(31px, 5vw, 58px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.05em;
}

.about-copy p {
  margin: 28px 0 0;
  color: #627177;
  font-family: var(--serif);
  line-height: 2.25;
  letter-spacing: 0.04em;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 50px;
  background: var(--line);
  border: 1px solid var(--line);
}

.fact {
  min-height: 120px;
  padding: 24px;
  background: rgba(249, 250, 248, 0.72);
}

.fact span {
  display: block;
  margin-bottom: 6px;
  color: #728189;
  font-size: 9px;
  letter-spacing: 0.18em;
}

.fact strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.timeline-section {
  padding: 118px 0 130px;
  border-top: 1px solid var(--line);
  background: rgba(197, 209, 212, 0.74);
}

.timeline {
  position: relative;
  max-width: 840px;
  margin: 10px auto 0;
}

.timeline::before {
  position: absolute;
  top: 12px;
  bottom: 0;
  left: 10px;
  width: 1px;
  content: "";
  background: var(--line-strong);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 44px;
  padding: 0 0 60px 52px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  position: absolute;
  top: 7px;
  left: 5px;
  width: 11px;
  height: 11px;
  border: 2px solid #51646e;
  border-radius: 50%;
  content: "";
  background: #d3dcde;
}

.timeline-year {
  color: #66777d;
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.14em;
}

.timeline-content h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.timeline-content p {
  margin: 0;
  color: #5e6e74;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 2;
}

.closing-image {
  position: relative;
  display: grid;
  min-height: 590px;
  place-items: center;
  padding: 80px 24px;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(rgba(31, 47, 54, 0.38), rgba(31, 47, 54, 0.56)),
    url("../images/sea-sunset.jpg") center/cover;
}

.closing-image blockquote {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(27px, 5vw, 54px);
  line-height: 1.65;
  letter-spacing: 0.08em;
  color: #f1f4f4;
}

.closing-image span {
  display: block;
  margin-top: 28px;
  color: #c7d1d4;
  font-size: 10px;
  letter-spacing: 0.28em;
}

.site-footer {
  padding: 72px 0 26px;
  border-top: 1px solid var(--line);
  color: #edf1f2;
  background: #50656e;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-brand p {
  max-width: 410px;
  margin: 22px 0 0;
  color: #c4ced1;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 2;
}

.site-footer .brand-name small {
  color: #c0cbce;
}

.footer-column h3 {
  margin: 0 0 18px;
  color: #d1d9dc;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  width: fit-content;
  color: #c0cbce;
  font-size: 13px;
  transition: color 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #b6c3c7;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.footer-bottom a {
  transition: color 180ms ease;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms ease, transform 720ms cubic-bezier(0.2, 0.7, 0, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-note {
    display: none;
  }

  .intro-grid,
  .about-grid {
    gap: 54px;
  }

  .intro-image,
  .about-photo {
    min-height: 540px;
  }

  .mood-card:nth-child(n) {
    grid-column: span 6;
  }

  .mood-card:last-child {
    grid-column: span 12;
  }

  .letter-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .year-chapter {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 46px;
  }

  .letters-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 60px;
  }

  .journal-entry {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .entry-tag {
    display: none;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .nav-shell {
    min-height: 74px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
    width: min(84vw, 360px);
    height: 100svh;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    padding: 80px 48px;
    border-left: 1px solid var(--line);
    background: rgba(235, 239, 238, 0.98);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.3);
    transform: translateX(104%);
    transition: transform 260ms cubic-bezier(0.2, 0.7, 0, 1);
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav a {
    width: 100%;
    padding: 12px 0;
    font-family: var(--serif);
    font-size: 20px;
    color: #405158;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav a.is-active {
    color: #1f2d33;
  }

  .nav-toggle[aria-expanded="true"] {
    color: #2d3a40;
  }

  .hero-content {
    padding-bottom: 102px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .scroll-mark {
    display: none;
  }

  .intro {
    padding: 92px 0;
  }

  .intro-grid,
  .about-grid,
  .letters-layout,
  .years-overview-grid {
    grid-template-columns: 1fr;
  }

  .intro-image,
  .about-photo {
    min-height: 520px;
  }

  .intro-copy blockquote {
    font-size: 30px;
  }

  .mood-section,
  .journal-section,
  .letters-stage,
  .timeline-section,
  .about-opening,
  .letter-preview,
  .years-preview,
  .years-overview,
  .yearbook-section {
    padding: 88px 0;
  }

  .years-strip {
    grid-template-columns: 1fr 1fr;
  }

  .year-point:last-child {
    grid-column: span 2;
  }

  .year-chapter {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 54px 0;
  }

  .mood-card:nth-child(n) {
    grid-column: span 12;
    min-height: 420px;
  }

  .quote-section {
    min-height: 560px;
    background-attachment: scroll;
  }

  .quote-section::before,
  .quote-section::after {
    display: none;
  }

  .letter-grid {
    grid-template-columns: 1fr;
  }

  .gentle-note .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    min-height: 72svh;
  }

  .page-hero-content {
    padding-top: 150px;
  }

  .journal-entry {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 34px 28px;
  }

  .entry-date strong {
    display: inline;
    margin-right: 9px;
    font-size: 25px;
  }

  .letters-aside {
    position: static;
  }

  .sentence-box q {
    min-height: 0;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 42px 32px;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .hero h1 {
    font-size: 56px;
    line-height: 1.03;
  }

  .hero::before {
    background-position: 58% center;
  }

  .mood-card {
    min-height: 380px !important;
    padding: 28px;
  }

  .intro-image,
  .about-photo {
    min-height: 440px;
  }

  .image-caption {
    right: 34px;
    bottom: 34px;
    left: 34px;
  }

  .full-letter {
    padding: 34px 27px 58px;
  }

  .letter-body {
    font-size: 15px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 43px;
  }

  .about-facts {
    grid-template-columns: 1fr;
  }

  .years-strip,
  .years-stat-grid {
    grid-template-columns: 1fr;
  }

  .year-point:last-child {
    grid-column: span 1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .rain-layer {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
