:root {
  --paper: #f4efe6;
  --paper-light: #fbf8f2;
  --paper-deep: #e8ded0;
  --ink: #17263d;
  --ink-soft: #5d6571;
  --navy: #111e31;
  --navy-light: #1c304d;
  --blue: #168fd5;
  --blue-deep: #0a6ca7;
  --gold: #ad8958;
  --gold-light: #dbc39e;
  --white: #fffdf9;
  --line: rgba(23, 38, 61, 0.15);
  --shadow: 0 34px 90px rgba(19, 35, 58, 0.16);
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
}

* {
  box-sizing: border-box;
}

.community-section[hidden],
.contribute-section[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 7% 5%, rgba(22, 143, 213, 0.08), transparent 29rem),
    linear-gradient(180deg, var(--paper-light), var(--paper));
  pointer-events: none;
}

.page-grain {
  position: fixed;
  z-index: 20;
  inset: 0;
  opacity: 0.045;
  pointer-events: none;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}

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

.eyebrow {
  margin: 0 0 20px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.27em;
  line-height: 1.5;
  text-transform: uppercase;
}

.site-header {
  position: relative;
  z-index: 5;
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 34px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  color: var(--ink-soft);
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 2px;
  left: 50%;
  height: 1px;
  background: var(--gold);
  transition: right 180ms ease, left 180ms ease;
}

.site-nav a:hover::after {
  right: 0;
  left: 0;
}

.header-note {
  justify-self: end;
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.2em;
}

.hero {
  width: min(1240px, calc(100% - 56px));
  min-height: calc(100vh - 85px);
  margin: 0 auto;
  padding: 70px 0 102px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  gap: clamp(54px, 7vw, 112px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  animation: rise 900ms cubic-bezier(.22, .7, .28, 1) both;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(72px, 8.4vw, 122px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0.075em;
}

.life-dates {
  margin-bottom: 0;
  display: flex;
  gap: 15px;
  align-items: center;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.life-dates span {
  width: 42px;
  height: 1px;
  background: var(--gold);
}

.hero-quote {
  margin: 64px 0 30px;
  padding-left: 25px;
  border-left: 2px solid var(--blue);
}

.hero-quote p {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 41px);
  line-height: 1.5;
  letter-spacing: 0.055em;
}

.hero-intro {
  max-width: 530px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.035em;
}

.quiet-link {
  display: inline-flex;
  gap: 26px;
  align-items: center;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--gold-light);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-decoration: none;
  transition: gap 200ms ease, border-color 200ms ease;
}

.quiet-link:hover {
  gap: 34px;
  border-color: var(--gold);
}

.portrait-column {
  position: relative;
  display: grid;
  justify-items: center;
  animation: rise 1.05s 90ms cubic-bezier(.22, .7, .28, 1) both;
}

.portrait-halo {
  position: absolute;
  inset: 9% -9% 2%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 143, 213, 0.18), transparent 67%);
  filter: blur(5px);
}

.portrait-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 510px);
  aspect-ratio: 4 / 5;
  margin: 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(173, 137, 88, 0.7);
  border-radius: 0;
  background: rgba(255, 253, 249, 0.5);
  box-shadow: var(--shadow);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0;
  object-fit: cover;
  object-position: 50% 18%;
  filter: saturate(0.9) contrast(0.98);
}

.portrait-year {
  position: absolute;
  z-index: 2;
  color: rgba(23, 38, 61, 0.18);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 0.28em;
  writing-mode: vertical-rl;
}

.portrait-year::before {
  content: "";
  width: 1px;
  height: 48px;
  margin: 0 auto 12px;
  display: block;
  background: rgba(173, 137, 88, 0.55);
}

.portrait-year-start {
  top: 16%;
  left: -24px;
}

.portrait-year-end {
  right: -24px;
  bottom: 18%;
}

.portrait-caption {
  position: relative;
  z-index: 2;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.32em;
}

.umbrella-section {
  position: relative;
  padding: 108px max(28px, calc((100vw - 1240px) / 2));
  display: grid;
  grid-template-columns: 150px minmax(0, 760px) 1fr;
  gap: 50px;
  align-items: center;
  overflow: hidden;
  color: var(--paper-light);
  background:
    radial-gradient(circle at 88% 14%, rgba(22, 143, 213, 0.2), transparent 30rem),
    linear-gradient(145deg, var(--navy-light), var(--navy));
}

.umbrella-section::after {
  content: "伞";
  position: absolute;
  right: 5%;
  bottom: -0.26em;
  color: rgba(255, 255, 255, 0.025);
  font-size: clamp(250px, 38vw, 560px);
  line-height: 1;
  pointer-events: none;
}

.umbrella-mark {
  position: relative;
  z-index: 1;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(219, 195, 158, 0.45);
  border-radius: 50%;
}

.umbrella-icon {
  width: 64px;
  height: 64px;
  display: block;
  overflow: visible;
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.umbrella-ribs {
  opacity: 0.7;
}

.umbrella-copy {
  position: relative;
  z-index: 1;
}

.umbrella-copy h2,
.section-intro h2,
.character-heading h2,
.letters-heading h2,
.closing-section h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.035em;
}

.umbrella-copy > p:last-child {
  max-width: 690px;
  margin: 30px 0 0;
  color: rgba(251, 248, 242, 0.69);
  font-size: 16px;
  line-height: 2.1;
  letter-spacing: 0.035em;
}

.umbrella-aside {
  position: relative;
  z-index: 1;
  justify-self: end;
  margin: 0;
  color: rgba(251, 248, 242, 0.45);
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.2em;
  text-align: right;
}

.life-section {
  padding: 126px max(28px, calc((100vw - 1120px) / 2)) 142px;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(23, 38, 61, 0.025) 50%, transparent 50.1%),
    var(--paper-light);
}

.section-intro {
  margin-bottom: 82px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.74fr);
  gap: clamp(56px, 8vw, 120px);
  align-items: end;
}

.section-intro > p {
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.03em;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  min-height: 190px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 50px;
}

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

.timeline li::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  top: 6px;
  left: 207px;
  border-radius: 50%;
  background: var(--paper-light);
  box-shadow: 0 0 0 1px var(--gold), 0 0 0 6px var(--paper-light);
}

.timeline li:last-child {
  min-height: 0;
}

.timeline li:last-child::before {
  bottom: auto;
  height: 12px;
}

.timeline-date {
  padding-top: 1px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-align: right;
}

.timeline-content {
  padding: 0 0 55px 38px;
}

.timeline-kicker {
  margin-bottom: 12px;
  color: var(--blue-deep);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.18em;
}

.timeline-content h3 {
  margin-bottom: 18px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.timeline-content > p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.025em;
}

.memories-section {
  padding: 126px max(28px, calc((100vw - 1240px) / 2)) 118px;
  color: var(--paper-light);
  background:
    radial-gradient(circle at 9% 6%, rgba(22, 143, 213, 0.17), transparent 30rem),
    linear-gradient(155deg, #192c48, #0e1929 72%);
}

.section-intro-light > p {
  color: rgba(251, 248, 242, 0.57);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.story-card {
  position: relative;
  min-height: 326px;
  grid-column: span 5;
  padding: 36px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.035);
}

.story-card::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -84px;
  bottom: -84px;
  border: 1px solid rgba(219, 195, 158, 0.18);
  border-radius: 50%;
}

.story-card-featured {
  min-height: 670px;
  grid-column: span 7;
  grid-row: span 2;
  padding: clamp(42px, 5vw, 68px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(15, 27, 44, 0.1), rgba(15, 27, 44, 0.84)),
    radial-gradient(circle at 80% 10%, rgba(22, 143, 213, 0.38), transparent 55%),
    #1c3555;
}

.story-number {
  position: absolute;
  top: 30px;
  right: 30px;
  color: rgba(255, 255, 255, 0.26);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 0.2em;
}

.story-label {
  margin-bottom: 20px;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.2em;
}

.story-card h3 {
  max-width: 560px;
  margin-bottom: 25px;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.035em;
}

.story-card > p:not(.story-label):not(.story-close) {
  max-width: 640px;
  margin-bottom: 0;
  color: rgba(251, 248, 242, 0.64);
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.025em;
}

.story-close {
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(251, 248, 242, 0.86);
  font-size: 15px;
  line-height: 1.9;
}

.story-card-quote {
  grid-column: span 6;
  background: rgba(173, 137, 88, 0.1);
}

.story-card-quote blockquote {
  margin: 25px 0 26px;
}

.story-card-quote blockquote p {
  margin: 0;
  color: var(--paper-light);
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.45;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.story-card:nth-child(4) {
  grid-column: span 6;
}

.everyday-strip {
  margin-top: 56px;
  padding-top: 34px;
  display: flex;
  gap: 50px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.everyday-strip > p {
  flex: 0 0 auto;
  margin-bottom: 0;
  color: var(--gold-light);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.everyday-strip ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
}

.everyday-strip li {
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(251, 248, 242, 0.58);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.character-section {
  padding: 128px max(28px, calc((100vw - 1120px) / 2)) 140px;
  background: var(--paper);
}

.character-heading {
  max-width: 770px;
  margin-bottom: 76px;
}

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

.character-grid article {
  min-height: 310px;
  padding: 38px 40px 34px 0;
  border-right: 1px solid var(--line);
}

.character-grid article + article {
  padding-left: 40px;
}

.character-grid article:last-child {
  border-right: 0;
}

.character-index {
  margin-bottom: 65px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.character-grid h3 {
  margin-bottom: 20px;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: 0.07em;
}

.character-grid article > p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.025em;
}

.letters-section {
  position: relative;
  padding: 128px max(28px, calc((100vw - 1120px) / 2)) 144px;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(23, 38, 61, 0.025) 50%, transparent 50.1%),
    var(--paper-light);
}

.letters-glow {
  position: absolute;
  width: 620px;
  height: 620px;
  top: 120px;
  right: -160px;
  border-radius: 50%;
  background: rgba(22, 143, 213, 0.08);
  filter: blur(85px);
}

.letters-heading {
  position: relative;
  max-width: 760px;
  margin-bottom: 68px;
}

.letters-heading > p:last-child {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  letter-spacing: 0.04em;
}

.letters-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.family-letter {
  position: relative;
  padding: clamp(40px, 6vw, 72px);
  border: 1px solid rgba(173, 137, 88, 0.35);
  background: rgba(255, 253, 249, 0.76);
  box-shadow: 0 24px 70px rgba(37, 40, 46, 0.07);
}

.family-letter::before,
.family-letter::after {
  content: "";
  position: absolute;
  width: 36px;
  height: 36px;
  border-color: var(--gold);
  opacity: 0.5;
}

.family-letter::before {
  top: 17px;
  left: 17px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.family-letter::after {
  right: 17px;
  bottom: 17px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.family-letter-secondary {
  margin-top: 70px;
  background: rgba(232, 222, 208, 0.55);
}

.letter-salutation {
  margin-bottom: 32px;
  font-size: clamp(27px, 3.4vw, 41px);
  letter-spacing: 0.08em;
}

.family-letter > p:not(.letter-salutation):not(.letter-signature):not(.letter-emphasis) {
  margin-bottom: 23px;
  color: #3c4759;
  font-size: 16px;
  line-height: 2.15;
  letter-spacing: 0.04em;
}

.letter-emphasis {
  margin: 38px 0 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.8;
  letter-spacing: 0.08em;
}

.letter-signature {
  margin: 44px 0 0;
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 0.14em;
  text-align: right;
}

.community-section {
  padding: 128px max(28px, calc((100vw - 1120px) / 2)) 136px;
  background:
    radial-gradient(circle at 8% 95%, rgba(22, 143, 213, 0.06), transparent 28rem),
    var(--paper);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.community-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 58px 34px;
  border: 1px dashed rgba(173, 137, 88, 0.52);
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.04em;
  text-align: center;
}

.community-memory-card {
  position: relative;
  min-height: 280px;
  padding: 36px 34px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.68);
}

.community-memory-card::before {
  content: "“";
  position: absolute;
  top: 18px;
  right: 25px;
  color: rgba(173, 137, 88, 0.17);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 82px;
  line-height: 1;
}

.community-memory-card h3 {
  position: relative;
  margin-bottom: 22px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.community-memory-card .community-message {
  position: relative;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.025em;
  white-space: pre-line;
}

.community-memory-card .community-byline {
  margin: auto 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.community-audio {
  width: 100%;
  min-height: 48px;
  margin: 0 0 26px;
  accent-color: var(--blue-deep);
}

.contribute-section {
  padding: 128px max(28px, calc((100vw - 1120px) / 2)) 142px;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(480px, 1.28fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
  background:
    radial-gradient(circle at 88% 8%, rgba(22, 143, 213, 0.12), transparent 28rem),
    var(--paper-deep);
}

.contribute-intro {
  padding-top: 18px;
}

.contribute-intro h2 {
  margin-bottom: 28px;
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.035em;
}

.contribute-intro > p:not(.eyebrow) {
  margin-bottom: 35px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 2;
  letter-spacing: 0.035em;
}

.contribute-promise {
  padding-top: 25px;
  border-top: 1px solid rgba(23, 38, 61, 0.15);
}

.contribute-promise p {
  margin-bottom: 14px;
  display: flex;
  gap: 13px;
  align-items: center;
  color: #424d5f;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
}

.contribute-promise span {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 12px;
}

.memory-form-shell {
  position: relative;
}

.memory-form {
  padding: clamp(34px, 5vw, 62px);
  border: 1px solid rgba(173, 137, 88, 0.4);
  background: rgba(255, 253, 249, 0.9);
  box-shadow: 0 26px 80px rgba(38, 42, 48, 0.1);
}

.form-alert {
  margin-bottom: 30px;
  padding: 17px 18px;
  border: 1px solid rgba(158, 61, 48, 0.35);
  border-radius: 8px;
  color: #7a3027;
  background: #fff1ee;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
}

.form-field {
  margin-bottom: 34px;
}

.form-field > label {
  margin-bottom: 7px;
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.6;
}

.required-mark,
.optional-mark {
  padding: 2px 7px;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.required-mark {
  color: #7b392d;
  background: #f4dfd8;
}

.optional-mark {
  color: var(--ink-soft);
  background: rgba(23, 38, 61, 0.07);
}

.field-help {
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(23, 38, 61, 0.25);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  appearance: none;
}

.form-field input {
  min-height: 58px;
  padding: 12px 15px;
}

.form-field textarea {
  min-height: 230px;
  padding: 15px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue-deep);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(22, 143, 213, 0.12);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: #a94435;
  background: #fffafa;
}

.textarea-meta {
  margin-top: 9px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  color: #707783;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.6;
}

.field-error {
  min-height: 0;
  margin: 8px 0 0;
  color: #963d31;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.field-error:empty {
  display: none;
}

.voice-recorder {
  margin: 4px 0 38px;
  padding: 28px;
  border: 1px solid rgba(22, 108, 167, 0.24);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0, rgba(22, 143, 213, 0.1), transparent 14rem),
    rgba(240, 247, 251, 0.72);
}

.voice-heading {
  margin-bottom: 10px;
  display: flex;
  gap: 18px;
  align-items: start;
  justify-content: space-between;
}

.voice-kicker {
  margin: 0 0 4px;
  color: var(--blue-deep);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.voice-heading h3 {
  margin: 0;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.035em;
}

.voice-limit {
  flex: 0 0 auto;
  margin-top: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(23, 38, 61, 0.07);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 650;
}

.voice-help,
.voice-status,
.voice-preview > p {
  color: var(--ink-soft);
  font-family: var(--sans);
  line-height: 1.75;
}

.voice-help {
  margin: 0 0 20px;
  font-size: 14px;
}

.voice-main-controls {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto;
  gap: 14px;
  align-items: stretch;
}

.voice-record-button {
  min-height: 62px;
  padding: 12px 20px;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue-deep);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.voice-record-button:hover {
  background: #0a5e91;
}

.voice-record-button.is-recording {
  background: #9a3f32;
}

.voice-record-button:disabled {
  color: rgba(255, 255, 255, 0.76);
  background: #6e7884;
  cursor: wait;
}

.voice-button-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: block;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.voice-record-button.is-recording .voice-button-icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
  border: 0;
  border-radius: 3px;
  background: currentColor;
}

.voice-timer {
  min-width: 104px;
  padding: 9px 14px;
  display: grid;
  align-content: center;
  justify-items: center;
  border: 1px solid rgba(23, 38, 61, 0.15);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.78);
  font-family: var(--sans);
}

.voice-timer span {
  color: var(--ink-soft);
  font-size: 10px;
}

.voice-timer strong {
  margin-top: 2px;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.voice-status {
  min-height: 25px;
  margin: 13px 0 0;
  font-size: 13px;
}

.voice-file-fallback {
  position: relative;
  margin-top: 15px;
  padding-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 13px;
  align-items: center;
  border-top: 1px solid rgba(23, 38, 61, 0.1);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.6;
}

.voice-file-fallback label {
  min-height: 44px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(23, 38, 61, 0.2);
  border-radius: 7px;
  color: var(--blue-deep);
  background: var(--white);
  font-weight: 700;
  cursor: pointer;
}

.voice-file-fallback input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.voice-file-fallback:focus-within label {
  outline: 3px solid rgba(22, 143, 213, 0.24);
  outline-offset: 3px;
}

.voice-preview {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(23, 38, 61, 0.13);
}

.voice-preview[hidden] {
  display: none;
}

.voice-preview > p {
  margin: 0 0 11px;
  font-size: 14px;
  font-weight: 650;
}

.voice-preview audio {
  width: 100%;
  min-height: 54px;
  display: block;
  accent-color: var(--blue-deep);
}

.voice-preview-actions {
  margin-top: 13px;
  display: flex;
  gap: 10px;
}

.voice-preview-actions button {
  min-height: 48px;
  padding: 9px 15px;
  border: 1px solid rgba(23, 38, 61, 0.2);
  border-radius: 7px;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

#voice-delete {
  color: #8c352b;
}

.visibility-fieldset {
  margin: 4px 0 34px;
  padding: 0;
  border: 0;
}

.visibility-fieldset legend {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.6;
}

.choice-card {
  position: relative;
  min-height: 80px;
  margin-top: 12px;
  padding: 16px 17px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid rgba(23, 38, 61, 0.2);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.choice-card:has(input:checked) {
  border-color: var(--blue-deep);
  box-shadow: 0 0 0 3px rgba(22, 143, 213, 0.1);
}

.choice-card input {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin: 2px 0 0;
  border: 1px solid #7c8590;
  border-radius: 50%;
  appearance: none;
}

.choice-card input:checked {
  border: 6px solid var(--blue-deep);
}

.choice-card input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.choice-card span {
  display: grid;
  gap: 4px;
}

.choice-card strong {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
}

.choice-card small {
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.6;
}

.turnstile-area {
  min-height: 68px;
  margin-bottom: 28px;
  padding: 15px 16px;
  display: grid;
  align-items: center;
  border-radius: 8px;
  background: rgba(23, 38, 61, 0.045);
}

.turnstile-area > p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.65;
}

#turnstile-widget:not(:empty) {
  margin-top: 12px;
}

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

.privacy-note {
  margin-bottom: 23px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.75;
}

.submit-memory-button,
.write-another-button {
  width: 100%;
  min-height: 60px;
  padding: 13px 22px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.submit-memory-button:hover,
.write-another-button:hover {
  background: var(--blue-deep);
}

.submit-memory-button:active,
.write-another-button:active {
  transform: translateY(1px);
}

.submit-memory-button:disabled {
  color: rgba(255, 255, 255, 0.7);
  background: #647080;
  cursor: wait;
}

.clear-draft-button {
  min-height: 48px;
  margin: 14px auto 0;
  padding: 8px 12px;
  display: block;
  border: 0;
  color: var(--ink-soft);
  background: transparent;
  font-family: var(--sans);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.submit-status {
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.submission-success {
  min-height: 560px;
  padding: clamp(42px, 7vw, 78px);
  display: grid;
  align-content: center;
  justify-items: center;
  border: 1px solid rgba(173, 137, 88, 0.4);
  background: rgba(255, 253, 249, 0.9);
  box-shadow: 0 26px 80px rgba(38, 42, 48, 0.1);
  text-align: center;
}

.submission-success[hidden] {
  display: none;
}

.success-mark {
  width: 68px;
  height: 68px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 28px;
}

.submission-success h3 {
  max-width: 520px;
  margin-bottom: 24px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.submission-success > p:not(.eyebrow) {
  max-width: 500px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 2;
}

.write-another-button {
  max-width: 330px;
}

.closing-section {
  padding: 140px 28px 136px;
  color: var(--paper-light);
  background:
    radial-gradient(circle at 50% 130%, rgba(173, 137, 88, 0.2), transparent 34rem),
    var(--navy);
  text-align: center;
}

.closing-section h2 {
  max-width: 880px;
  margin: 0 auto 32px;
}

.closing-section > p:not(.eyebrow) {
  max-width: 650px;
  margin: 0 auto;
  color: rgba(251, 248, 242, 0.56);
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.closing-flame {
  width: 52px;
  height: 68px;
  margin: 58px auto 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 212, 148, 0.17), transparent 68%);
}

.flame-icon {
  width: 32px;
  height: 42px;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 0 10px rgba(242, 212, 148, 0.5));
}

.flame-outer {
  fill: #c99752;
  stroke: #f2d494;
  stroke-width: 0.8;
  stroke-linejoin: round;
}

.flame-inner {
  fill: #fff1b5;
}

.closing-flame .flame-icon {
  width: 29px;
  height: 39px;
}

.guestbook-section {
  padding: 128px max(28px, calc((100vw - 1120px) / 2)) 140px;
  background:
    radial-gradient(circle at 10% 4%, rgba(22, 143, 213, 0.08), transparent 30rem),
    var(--paper-light);
}

.guestbook-heading {
  margin-bottom: 70px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 0.78fr);
  gap: clamp(56px, 8vw, 120px);
  align-items: end;
}

.guestbook-heading h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.guestbook-heading-copy > p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.03em;
}

.guestbook-heading-copy a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid var(--gold);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.guestbook-actions {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(460px, 1.22fr);
  gap: 22px;
  align-items: stretch;
}

.blessing-panel,
.guestbook-composer {
  min-width: 0;
  padding: clamp(34px, 4.5vw, 52px);
}

.blessing-panel {
  position: relative;
  overflow: hidden;
  color: var(--paper-light);
  background:
    radial-gradient(circle at 50% 20%, rgba(173, 137, 88, 0.2), transparent 17rem),
    var(--navy);
  text-align: center;
}

.blessing-panel::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(219, 195, 158, 0.2);
  pointer-events: none;
}

.blessing-light {
  position: relative;
  width: 78px;
  height: 78px;
  margin: 3px auto 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(219, 195, 158, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(173, 137, 88, 0.04);
}

.blessing-light .flame-icon {
  width: 34px;
  height: 46px;
  filter: drop-shadow(0 0 12px rgba(255, 220, 142, 0.64));
}

.blessing-panel.is-blessed .blessing-light {
  animation: blessingPulse 900ms ease both;
}

.blessing-kicker,
.guestbook-kicker {
  margin: 0 0 9px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.blessing-kicker {
  color: var(--gold-light);
}

.blessing-panel h3 {
  margin: 0;
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.05em;
}

.blessing-copy {
  max-width: 380px;
  margin: 19px auto 26px;
  color: rgba(251, 248, 242, 0.58);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.9;
}

.blessing-count-line {
  margin: 0 0 25px;
  color: rgba(251, 248, 242, 0.7);
  font-family: var(--sans);
  font-size: 14px;
}

.blessing-count-line strong {
  margin: 0 5px;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 400;
}

.blessing-button {
  width: 100%;
  min-height: 62px;
  padding: 13px 20px;
  display: inline-flex;
  gap: 11px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(219, 195, 158, 0.52);
  border-radius: 8px;
  color: var(--navy);
  background: var(--gold-light);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 750;
  cursor: pointer;
}

.blessing-button:hover {
  background: #f0d7ad;
}

.blessing-button:disabled {
  color: rgba(23, 38, 61, 0.68);
  background: #d8c7aa;
  cursor: default;
}

.blessing-button > span:first-child {
  font-size: 24px;
  font-weight: 400;
}

.blessing-status {
  min-height: 26px;
  margin: 14px 0 0;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.7;
}

.guestbook-composer {
  border: 1px solid rgba(173, 137, 88, 0.35);
  background: rgba(255, 253, 249, 0.88);
  box-shadow: 0 24px 70px rgba(37, 40, 46, 0.07);
}

.guestbook-composer-heading {
  margin-bottom: 10px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}

.guestbook-kicker {
  color: var(--gold);
}

.guestbook-composer-heading h3,
.guestbook-wall-heading h3 {
  margin: 0;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.035em;
}

.guestbook-composer-heading > span {
  flex: 0 0 auto;
  margin-top: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #5b4930;
  background: #eee1ce;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
}

.guestbook-intro {
  margin: 0 0 27px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.8;
}

.guestbook-alert {
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(158, 61, 48, 0.35);
  border-radius: 8px;
  color: #7a3027;
  background: #fff1ee;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.65;
}

.guestbook-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.guestbook-field {
  margin-bottom: 21px;
}

.guestbook-field label {
  margin-bottom: 8px;
  display: block;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
}

.guestbook-field label span,
.guestbook-field label small {
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 650;
}

.guestbook-field label span {
  color: #7b392d;
  background: #f4dfd8;
}

.guestbook-field label small {
  color: var(--ink-soft);
  background: rgba(23, 38, 61, 0.07);
}

.guestbook-field input,
.guestbook-field textarea {
  width: 100%;
  border: 1px solid rgba(23, 38, 61, 0.24);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  appearance: none;
}

.guestbook-field input {
  min-height: 54px;
  padding: 11px 14px;
}

.guestbook-field textarea {
  min-height: 150px;
  padding: 13px 14px;
  resize: vertical;
}

.guestbook-field input:focus,
.guestbook-field textarea:focus {
  border-color: var(--blue-deep);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(22, 143, 213, 0.11);
}

.guestbook-field input[aria-invalid="true"],
.guestbook-field textarea[aria-invalid="true"] {
  border-color: #a94435;
  background: #fffafa;
}

.guestbook-message-meta {
  margin-top: 8px;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  color: #707783;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.6;
}

.guestbook-error {
  margin: 7px 0 0;
  color: #963d31;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.6;
}

.guestbook-error:empty {
  display: none;
}

.guestbook-turnstile {
  min-height: 66px;
  margin-bottom: 20px;
  padding: 14px 15px;
  display: grid;
  align-items: center;
  border-radius: 8px;
  background: rgba(23, 38, 61, 0.045);
}

.guestbook-turnstile > p {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.65;
}

#guestbook-turnstile-widget:not(:empty) {
  margin-top: 11px;
}

.guestbook-public-note {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.75;
}

.guestbook-submit {
  width: 100%;
  min-height: 60px;
  padding: 13px 20px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.guestbook-submit:hover {
  background: var(--blue-deep);
}

.guestbook-submit:disabled {
  background: #697483;
  cursor: wait;
}

.guestbook-submit-status {
  min-height: 24px;
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.65;
  text-align: center;
}

.guestbook-wall {
  margin-top: 70px;
  padding-top: 54px;
  border-top: 1px solid var(--line);
}

.guestbook-wall-heading {
  margin-bottom: 34px;
  display: flex;
  gap: 32px;
  align-items: end;
  justify-content: space-between;
}

.guestbook-wall-heading > p {
  margin: 0 0 6px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 12px;
}

.guestbook-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.guestbook-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 48px 28px;
  border: 1px dashed rgba(173, 137, 88, 0.48);
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
  text-align: center;
}

.guestbook-card {
  min-height: 240px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.72);
}

.guestbook-card-message {
  margin: 0 0 28px;
  color: #374356;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.03em;
  white-space: pre-line;
}

.guestbook-card-meta {
  margin: auto 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.08em;
}

@keyframes blessingPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 18px rgba(173, 137, 88, 0.04);
  }
  45% {
    transform: scale(1.12);
    box-shadow: 0 0 0 34px rgba(242, 212, 148, 0.12);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 22px rgba(173, 137, 88, 0.06);
  }
}

footer {
  padding: 58px 24px 64px;
  color: rgba(251, 248, 242, 0.8);
  background: #0b1523;
  text-align: center;
}

footer p {
  margin-bottom: 9px;
  font-size: 12px;
  letter-spacing: 0.2em;
}

.footer-date {
  color: rgba(251, 248, 242, 0.42);
  font-family: var(--sans);
  font-size: 9px;
}

.source-note {
  margin-top: 22px;
  color: rgba(251, 248, 242, 0.25);
  font-size: 9px;
  letter-spacing: 0.12em;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 0.88fr) minmax(380px, 1.12fr);
  }

  .portrait-year-start {
    left: -10px;
  }

  .portrait-year-end {
    right: -10px;
  }

  .umbrella-section {
    grid-template-columns: 120px 1fr;
  }

  .umbrella-aside {
    display: none;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

  .portrait-column {
    grid-row: 1;
  }

  .portrait-frame {
    width: min(100%, 460px);
  }

  .portrait-halo {
    inset: 9% 0 2%;
  }

  .hero-copy {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
  }

  .life-dates,
  .quiet-link {
    justify-content: center;
  }

  .hero-quote {
    margin-top: 48px;
    padding: 22px 0 0;
    border-top: 1px solid var(--gold-light);
    border-left: 0;
  }

  .hero-intro {
    margin-right: auto;
    margin-left: auto;
  }

  .umbrella-section {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .umbrella-copy > p:last-child {
    margin-right: auto;
    margin-left: auto;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
  }

  .timeline li {
    grid-template-columns: 130px 1fr;
    gap: 32px;
  }

  .timeline li::before {
    left: 140px;
  }

  .timeline li::after {
    left: 136px;
  }

  .timeline-content {
    padding-left: 28px;
  }

  .story-card,
  .story-card-featured,
  .story-card-quote,
  .story-card:nth-child(4) {
    min-height: 0;
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .story-card-featured {
    min-height: 540px;
  }

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

  .character-grid article,
  .character-grid article + article {
    min-height: 0;
    padding: 30px 0 34px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .character-grid article:last-child {
    border-bottom: 0;
  }

  .character-index {
    margin-bottom: 24px;
  }

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

  .family-letter-secondary {
    margin-top: 0;
  }

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

  .contribute-section {
    grid-template-columns: 1fr;
  }

  .contribute-intro {
    max-width: 650px;
    padding-top: 0;
  }

  .guestbook-heading,
  .guestbook-actions {
    grid-template-columns: 1fr;
  }

  .guestbook-heading {
    gap: 28px;
  }

  .guestbook-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .site-header,
  .hero {
    width: min(100% - 32px, 1240px);
  }

  .site-header {
    padding: 17px 0;
  }

  .header-note {
    display: none;
  }

  .brand {
    grid-column: 1 / -1;
  }

  .hero {
    gap: 48px;
    padding: 38px 0 70px;
  }

  h1 {
    font-size: clamp(58px, 20vw, 80px);
  }

  .life-dates {
    font-size: 10px;
  }

  .life-dates span {
    width: 23px;
  }

  .portrait-year {
    display: none;
  }

  .portrait-caption {
    font-size: 9px;
  }

  .hero-quote p {
    font-size: 25px;
  }

  .umbrella-section,
  .life-section,
  .memories-section,
  .character-section,
  .letters-section,
  .community-section,
  .contribute-section,
  .guestbook-section {
    padding-top: 82px;
    padding-bottom: 88px;
  }

  .umbrella-mark {
    width: 94px;
    height: 94px;
  }

  .umbrella-icon {
    width: 54px;
    height: 54px;
  }

  .umbrella-copy h2,
  .section-intro h2,
  .character-heading h2,
  .letters-heading h2,
  .closing-section h2 {
    font-size: 36px;
  }

  .guestbook-heading h2 {
    font-size: 38px;
  }

  .section-intro {
    margin-bottom: 56px;
  }

  .timeline li {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 27px;
  }

  .timeline li::before {
    left: 4px;
  }

  .timeline li::after {
    top: 3px;
    left: 0;
  }

  .timeline-date {
    margin-bottom: 14px;
    text-align: left;
  }

  .timeline-content {
    padding: 0 0 52px;
  }

  .timeline-content h3 {
    font-size: 25px;
  }

  .story-grid {
    gap: 14px;
  }

  .story-card,
  .story-card-featured {
    padding: 34px 28px;
  }

  .story-card-featured {
    min-height: 510px;
  }

  .story-card h3 {
    font-size: 27px;
  }

  .story-card-quote blockquote p {
    font-size: clamp(20px, 6.2vw, 25px);
    letter-spacing: 0.04em;
  }

  .everyday-strip {
    gap: 25px;
    align-items: flex-start;
    flex-direction: column;
  }

  .character-heading,
  .letters-heading {
    margin-bottom: 52px;
  }

  .family-letter {
    padding: 47px 30px;
  }

  .community-empty {
    padding: 42px 24px;
    font-size: 16px;
    text-align: left;
  }

  .community-memory-card {
    min-height: 0;
    padding: 31px 26px;
  }

  .contribute-section {
    gap: 46px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .contribute-intro {
    padding-right: 4px;
    padding-left: 4px;
  }

  .contribute-intro h2 {
    font-size: 38px;
  }

  .contribute-intro > p:not(.eyebrow) {
    font-size: 17px;
  }

  .memory-form {
    padding: 34px 22px;
  }

  .form-field {
    margin-bottom: 31px;
  }

  .form-field > label,
  .visibility-fieldset legend {
    font-size: 18px;
  }

  .field-help {
    font-size: 14px;
  }

  .form-field input,
  .form-field textarea {
    font-size: 18px;
  }

  .form-field input {
    min-height: 60px;
  }

  .form-field textarea {
    min-height: 250px;
  }

  .textarea-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .voice-recorder {
    margin-bottom: 34px;
    padding: 23px 16px;
  }

  .voice-heading {
    align-items: flex-start;
  }

  .voice-heading h3 {
    font-size: 22px;
  }

  .voice-main-controls {
    grid-template-columns: 1fr;
  }

  .voice-record-button {
    min-height: 64px;
    font-size: 19px;
  }

  .voice-timer {
    min-height: 58px;
    grid-template-columns: auto auto;
    gap: 12px;
    align-items: center;
    justify-content: center;
  }

  .voice-preview-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .voice-preview-actions button {
    width: 100%;
    min-height: 54px;
    font-size: 16px;
  }

  .voice-file-fallback {
    align-items: stretch;
    flex-direction: column;
  }

  .voice-file-fallback label {
    min-height: 54px;
    justify-content: center;
    font-size: 15px;
  }

  .choice-card {
    min-height: 88px;
    padding: 17px 15px;
  }

  .choice-card strong {
    font-size: 17px;
  }

  .choice-card small {
    font-size: 14px;
  }

  .turnstile-area {
    min-height: 76px;
  }

  .privacy-note {
    font-size: 14px;
  }

  .submit-memory-button {
    min-height: 64px;
    font-size: 19px;
  }

  .submission-success {
    min-height: 520px;
    padding: 46px 26px;
  }

  .guestbook-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .guestbook-heading {
    margin-bottom: 46px;
    padding-right: 4px;
    padding-left: 4px;
  }

  .blessing-panel,
  .guestbook-composer {
    padding: 34px 22px;
  }

  .blessing-button,
  .guestbook-submit {
    min-height: 64px;
    font-size: 19px;
  }

  .guestbook-composer-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .guestbook-field-grid,
  .guestbook-list {
    grid-template-columns: 1fr;
  }

  .guestbook-field label {
    font-size: 17px;
  }

  .guestbook-field input,
  .guestbook-field textarea {
    font-size: 18px;
  }

  .guestbook-field input {
    min-height: 60px;
  }

  .guestbook-message-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .guestbook-wall {
    margin-top: 54px;
    padding-top: 42px;
  }

  .guestbook-wall-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .guestbook-empty {
    padding: 40px 24px;
    font-size: 16px;
    text-align: left;
  }

  .guestbook-card {
    min-height: 0;
    padding: 28px 24px;
  }

  .closing-section {
    padding: 90px 24px 92px;
  }

  footer {
    padding-right: 20px;
    padding-left: 20px;
  }
}

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

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