/* MARTHA WILLIAMS — A QUIET, EDITORIAL KEEPSAKE */
:root {
  color-scheme: light;
  --paper: #f7f4ed;
  --paper-light: #fdfbf6;
  --cream: #f1ece4;
  --ink: #2b323a;
  --soft-ink: #565b61;
  --muted: #747678;
  --line: rgba(53, 61, 66, 0.16);
  --lavender: #8583a6;
  --lavender-soft: #eeeaf1;
  --clay: #a46b56;
  --green: #566659;
  --eyebrow-size: 14px;
  --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", "Avenir", Inter, "Helvetica Neue", Arial, sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--lavender);
  outline-offset: 5px;
  border-radius: 2px;
}
::selection {
  background: #e4dce8;
  color: #202631;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  background: #fff;
  color: #222;
  z-index: 2000;
  padding: 13px 18px;
  font-size: 14px;
}
.skip-link:focus {
  top: 12px;
}
.scroll-progress {
  height: 3px;
  position: fixed;
  inset: 0 0 auto;
  z-index: 101;
  pointer-events: none;
}
.scroll-progress > div {
  height: 100%;
  background: var(--clay);
  width: 0;
  transition: width 0.15s linear;
}
.site-header {
  height: 120px;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 44px;
  background: rgba(247, 244, 237, 0.96);
  border-bottom: 1px solid rgba(60, 62, 58, 0.12);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  white-space: nowrap;
}
.brand-caption {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.175em;
  line-height: 1.3;
}
.brand-caption small {
  display: block;
  font-size: 16px;
  letter-spacing: 0.19em;
  color: #9484b8;
  margin-top: 4px;
}
/* Site identity and navigation shared by the recollections and photo album. */
.logotype {
  display: flex;
  align-items: center;
  gap: 0px;
  flex-shrink: 0;
}
.logo {
  height: 100px;
  width: 70px;
}
.logo-text-block {
  display: flex;
  flex-direction: column;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  min-width: 0;
}
.desktop-nav a,
.chapter-menu > summary {
  font-size: 17px;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #60615e;
  white-space: nowrap;
  transition: color 0.2s;
}
.desktop-nav > a:hover,
.desktop-nav > a.active,
.chapter-menu > summary:hover,
.chapter-menu.active > summary {
  color: #2f393a;
}
.desktop-nav > a.active {
  box-shadow: 0 1px var(--clay);
  padding-bottom: 7px;
  margin-bottom: -7px;
}
.chapter-menu {
  position: relative;
}
.chapter-menu > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.chapter-menu > summary::-webkit-details-marker,
.mobile-nav > summary::-webkit-details-marker {
  display: none;
}
.menu-chevron {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
}
.chapter-menu[open] .menu-chevron,
.mobile-nav[open] .menu-chevron {
  transform: rotate(180deg);
}
.chapter-menu-panel {
  position: absolute;
  top: calc(100% + 11px);
  left: 50%;
  transform: translateX(-50%);
  width: min(650px, calc(100vw - 40px));
  padding: 29px 34px 26px;
  background: var(--paper-light);
  border: 1px solid var(--line);
  box-shadow: 0 20px 55px rgba(35, 34, 31, 0.14);
  z-index: 102;
  white-space: normal;
}
.chapter-menu-eyebrow {
  font-size: var(--eyebrow-size);
  letter-spacing: 0.13em;
  font-weight: 650;
  color: var(--clay);
  margin: 0 0 25px;
}
.chapter-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 30px;
}
.chapter-menu-grid a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.4;
  white-space: normal;
}
.chapter-menu-grid a:hover,
.chapter-menu-grid a.active {
  color: var(--clay);
}
.chapter-menu-number {
  flex: none;
  color: #a99891;
  font: 600 12px var(--sans);
  letter-spacing: 0.06em;
}
.chapter-menu-all {
  display: block;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px !important;
  text-transform: uppercase;
  letter-spacing: 0.07em !important;
  font-weight: 650;
  color: var(--clay) !important;
}
.chapter-menu-all:hover {
  text-decoration: underline;
}
.mobile-nav {
  display: none;
}
.mobile-nav > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  padding: 18px 0;
  display: flex;
  align-items: center;
  gap: 7px;
}
.mobile-nav nav {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(340px, calc(100vw - 32px));
  max-height: calc(100dvh - 110px);
  overflow-y: auto;
  background: var(--paper-light);
  padding: 18px 23px 21px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 102;
}
.mobile-nav-heading {
  font-size: var(--eyebrow-size);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 700;
  padding: 8px 5px 13px;
}
.mobile-nav nav a {
  display: block;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.005em;
  text-transform: none;
  text-decoration: none;
  padding: 12px 5px;
  color: var(--soft-ink);
}
.mobile-nav nav a:hover,
.mobile-nav nav a.active {
  color: var(--clay);
}
/* Separate the remembrances and photographs as a group, without changing their type. */
.mobile-nav nav a.mobile-nav-secondary.remembrance-nav {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 20px;
}
.mobile-nav nav a[aria-current="page"] {
  color: var(--clay);
}
.hero {
  min-height: min(815px, calc(100svh - 83px));
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 45% 55% at 87% 18%, #fdfbf9 0%, transparent 100%), linear-gradient(120deg, #f4f1e9 5%, #f8f6f0 65%, #eee9e3);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  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='.4' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 700px;
  padding: clamp(68px, 8vw, 104px) clamp(24px, 6vw, 98px) 122px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.86fr);
  align-items: center;
  gap: clamp(25px, 5.5vw, 110px);
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 24px;
}
.overline,
.section-eyebrow {
  font-family: var(--sans);
  font-weight: 660;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: var(--eyebrow-size);
  color: var(--clay);
}
.overline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 34px;
}
.overline-rule {
  width: 39px;
  height: 1px;
  background: var(--clay);
}
h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(70px, 7.2vw, 123px);
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: -0.069em;
  margin: 0 0 23px;
  color: #252f38;
}
.hero h1 span {
  display: block;
}
.hero-script {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--lavender);
  font-size: clamp(31px, 3.55vw, 54px);
  margin: 0 0 34px;
  white-space: nowrap;
}
.hero-rule {
  width: 74px;
  height: 1px;
  background: #baa8a1;
  margin: 0 0 31px;
}
.hero-statement {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 25px);
  margin: 0 0 9px;
  color: #3b4447;
}
.hero-description {
  font-size: 18px;
  line-height: 1.75;
  max-width: 460px;
  color: #6b6c68;
  margin: 0 0 36px;
}
.start-reading {
  display: inline-flex;
  align-items: center;
  gap: 19px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  font-weight: 700;
  color: var(--ink);
}
.round-arrow {
  border: 1px solid #b8b3ac;
  border-radius: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 17px;
  font-family: var(--serif);
  transition:
    background 0.2s,
    transform 0.2s;
}
.start-reading:hover .round-arrow {
  transform: translate(3px, 3px);
  background: #ede5dc;
}
.hero-visual {
  width: 100%;
  max-width: 465px;
  justify-self: end;
  position: relative;
  margin-top: 18px;
}
.portrait-border {
  padding: 10px;
  background: var(--paper-light);
  box-shadow:
    0 25px 70px rgba(60, 44, 37, 0.14),
    0 0 0 1px rgba(93, 70, 56, 0.12);
  position: relative;
  z-index: 2;
  aspect-ratio: 0.79;
  overflow: hidden;
}
.portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 32px -28px -26px 28px;
  border: 1px solid #c9bfb3;
  z-index: 1;
}

.hero-bottom {
  position: absolute;
  z-index: 2;
  bottom: 27px;
  left: clamp(24px, 6vw, 98px);
  right: clamp(24px, 6vw, 98px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.2em;
  color: #89857d;
}
.dot {
  padding: 0 8px;
}
.hero-scroll span {
  font-size: 15px;
  padding-left: 10px;
  vertical-align: -1px;
}
.opening {
  position: relative;
  background: var(--paper-light);
  padding: clamp(110px, 13vw, 182px) 24px 130px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.opening-inner {
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.opening .section-eyebrow {
  margin-bottom: 25px;
}
.opening blockquote,
.closing blockquote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(35px, 5vw, 67px);
  line-height: 1.17;
  letter-spacing: -0.045em;
  color: #3b4247;
  margin: 0 auto 32px;
  max-width: 860px;
  text-wrap: balance;
}
.opening-inner > p:not(.section-eyebrow) {
  font-family: var(--serif);
  font-size: clamp(16px, 1.65vw, 20px);
  line-height: 1.75;
  color: #6a6662;
  max-width: 700px;
  margin: 0 auto 28px;
}
.text-link {
  font-size: 13px;
  letter-spacing: 0.085em;
  color: var(--clay);
  text-underline-offset: 6px;
  text-decoration-color: #c9a995;
  text-transform: uppercase;
  font-weight: 650;
}
.text-link span {
  padding-left: 9px;
}

.contents {
  background: #f3eee7;
  border-bottom: 1px solid var(--line);
}
.contents-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 72px clamp(24px, 6vw, 98px) 85px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 14px 60px;
}
.contents .section-eyebrow {
  margin-bottom: 15px;
}
.contents h2 {
  font: 400 clamp(33px, 4vw, 55px)/1.13 var(--serif);
  letter-spacing: -0.055em;
  margin: 0;
}
.contents-inner > p {
  font: italic 18px/1.5 var(--serif);
  color: #77726e;
  margin: 0 0 9px;
  text-align: right;
}
.contents-details {
  grid-column: 1/-1;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contents-details > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 650;
}
.contents-details > summary::-webkit-details-marker {
  display: none;
}
.contents-details[open] > summary span {
  transform: rotate(180deg);
}
.contents-details > summary span {
  font-size: 20px;
  transition: transform 0.2s;
  font-family: var(--serif);
}
.contents-details .menu-chevron {
  transition: transform 0.25s ease;
  transform-origin: center;
}

.contents-details[open] .menu-chevron {
  transform: rotate(180deg);
}
.contents-list {
  padding: 22px 0 35px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 72px;
}
.index-chapter h3 {
  font: 400 23px/1.25 var(--serif);
  margin: 0 0 14px;
}
.index-chapter h3 span {
  font: 600 24px var(--sans);
  color: var(--clay);
  margin-right: 5px;
}
.index-chapter ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.index-chapter li {
  margin: 0 0 10px;
}
.index-chapter li a {
  font-size: 12px;
  text-decoration: none;
  line-height: 1.6;
  color: #666463;
}
.index-chapter li a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--ink);
}
.chapter {
  scroll-margin-top: 82px;
  border-bottom: 1px solid var(--line);
  background: #f9f7f2;
}
.chapter:nth-of-type(2n) {
  background: #f4f0ed;
}
.chapter[data-section="roots"] {
  background: #f5f3ee;
}
.chapter[data-section="together"] {
  background: #f9f5ef;
}
.chapter[data-section="pleasures"] {
  background: #f5f2f1;
}
.chapter[data-section="meaning"] {
  background: #faf8f2;
}
.chapter-inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.92fr) minmax(0, 1.3fr);
  max-width: 1300px;
  gap: clamp(40px, 8vw, 125px);
  padding: clamp(90px, 9vw, 142px) clamp(24px, 6vw, 98px) clamp(72px, 8vw, 116px);
  margin: 0 auto;
}
.chapter-sticky {
  position: sticky;
  top: 130px;
}
.chapter-lead .section-eyebrow {
  margin: 0 0 30px;
}
.chapter-big-number {
  font: 400 clamp(95px, 11vw, 176px)/0.8 var(--serif);
  color: #d6d1cb;
  display: block;
  letter-spacing: -0.11em;
  margin: 0 0 23px -8px;
}
.chapter-lead h2 {
  font: 400 clamp(40px, 4.2vw, 65px)/1.02 var(--serif);
  letter-spacing: -0.06em;
  margin: 0 0 25px;
  max-width: 490px;
  text-wrap: balance;
}
.chapter-subtitle {
  font: italic clamp(17px, 1.8vw, 22px)/1.57 var(--serif);
  color: #77716b;
  max-width: 350px;
  margin: 0 0 38px;
}
.chapter-count {
  font: 600 10px var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a17d70;
}
.chapter-stories {
  min-width: 0;
}
.story {
  scroll-margin-top: 118px;
  padding: 30px 0 clamp(58px, 7vw, 90px);
  border-top: 1px solid var(--line);
}
.story:first-child {
  padding-top: 28px;
}
.story-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 20px;
}
.story-num {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.21em;
  color: #9b8d85;
}
.story-permalink {
  text-decoration: none;
  font: normal 18px var(--serif);
  color: #a7a0a0;
  opacity: 0;
  transition: opacity 0.2s;
}
.story:hover .story-permalink,
.story-permalink:focus-visible {
  opacity: 1;
}
.story h3 {
  font: 400 clamp(27px, 2.55vw, 36px)/1.24 var(--serif);
  letter-spacing: -0.037em;
  margin: 0 0 22px;
  color: #2d363e;
  text-wrap: pretty;
}
.story-prose {
  font: 400 clamp(16px, 1.38vw, 18px)/1.79 var(--serif);
  color: #52575b;
  letter-spacing: 0.002em;
  hyphens: none;
}
.story-prose p {
  margin: 0 0 1.05em;
  orphans: 3;
  widows: 3;
}
.story-prose p:last-child {
  margin-bottom: 0;
}
.closing {
  text-align: center;
  position: relative;
  padding: 120px 24px 110px;
  background: #f0eceb;
  overflow: hidden;
}
.closing .section-eyebrow {
  margin-bottom: 23px;
}
.closing blockquote {
  font-size: clamp(34px, 4.5vw, 62px);
  max-width: 910px;
  margin: 0 auto 41px;
}
.closing-rule {
  width: 60px;
  height: 1px;
  background: #bdaaa4;
  margin: 0 auto 30px;
}
.closing > p:not(.section-eyebrow) {
  font: italic 21px var(--serif);
  color: #696f74;
  margin: 0;
}
.back-to-top {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  font-weight: 650;
  color: #6d655f;
  border-bottom: 1px solid #b1a7a1;
  padding-bottom: 8px;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: #323b40;
  color: #c9cbc8;
  padding: 35px clamp(24px, 6vw, 98px);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}
.site-footer p {
  margin: 0;
}
.site-footer a {
  color: inherit;
  text-underline-offset: 5px;
}
/* Observe only when JS is present. No-JS users always get every word. */
html.js-motion .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.75s ease,
    transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
}
html.js-motion .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 1180px) {
  .hero h1 {
    font-size: clamp(70px, 8vw, 105px);
  }
}
/* Navigation collapses at 980px, other layout changes begin at 920px. */
@media (max-width: 980px) {
  .site-header {
    
    padding: 0 24px;
  }
  .desktop-nav {
    display: none;
  }
  .mobile-nav {
    position: relative;
    display: block;
    font-size: 17px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .mobile-nav > summary {
    font-weight: 650;
  }
}
@media (max-width: 920px) {
  .site-header {
    padding: 0 24px;
  }
  .hero {
    min-height: auto;
  }
  .hero-inner {
    padding: 80px 38px 110px;
    min-height: 680px;
    gap: 40px;
  }
  .hero h1 {
    font-size: clamp(60px, 9vw, 86px);
  }
  .hero-script {
    font-size: 34px;
  }
  .hero-visual {
    max-width: 340px;
  }
  .chapter-inner {
    gap: 45px;
    padding-inline: 45px;
    grid-template-columns: minmax(200px, 0.7fr) minmax(0, 1.3fr);
  }
  .chapter-big-number {
    font-size: 100px;
  }
  .chapter-lead h2 {
    font-size: 44px;
  }

}
@media (max-width: 650px) {
  .site-header {
    height: 68px;
    padding: 0 22px;
  }
  .logo {
    display: none;
  }
  .brand-caption {
    font-size: 14px;
  }
  .brand-caption small {
    font-size: 11px;
  }
  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 60px 24px 118px;
    gap: 42px;
  }
  .overline {
    margin-bottom: 26px;
  }
  .hero-copy {
    padding: 0;
  }
  .hero h1 {
    font-size: clamp(66px, 14vw, 91px);
    line-height: 0.91;
    margin-bottom: 20px;
  }
  .hero-script {
    font-size: clamp(29px, 7vw, 42px);
    white-space: normal;
    margin-bottom: 24px;
  }
  .hero-rule {
    margin-bottom: 22px;
  }
  .hero-description {
    font-size: 16px;
    max-width: 500px;
  }
  .start-reading {
    margin-top: 0;
  }
  .hero-visual {
    width: min(88%, 360px);
    margin: 8px auto 0;
    max-width: none;
    align-self: center;
  }
  .portrait-border {
    padding: 8px;
    aspect-ratio: 0.86;
  }
  .portrait {
    object-position: center 35%;
  }
  .hero-visual::after {
    inset: 17px -16px -18px 16px;
  }
  .hero-bottom {
    left: 24px;
    right: 24px;
    bottom: 20px;
    font-size: 8px;
    letter-spacing: 0.12em;
  }
  .hero-scroll {
    display: none;
  }
  .opening {
    padding: 95px 24px 102px;
  }
  .opening blockquote {
    font-size: clamp(32px, 8.3vw, 45px);
  }
  .contents-inner {
    display: block;
    padding: 65px 24px 70px;
  }
  .contents-inner > p {
    text-align: left;
    margin: 22px 0 5px;
    font-size: 17px;
  }
  .contents-details {
    margin-top: 22px;
  }
  .contents-list {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .index-chapter ul {
    padding-left: 5px;
  }
  .chapter-inner {
    display: block;
    padding: 88px 24px 55px;
  }
  .chapter-lead {
    padding-bottom: 55px;
  }
  .chapter-sticky {
    position: static;
  }
  .chapter-big-number {
    font-size: 105px;
    margin-bottom: 22px;
  }
  .chapter-lead h2 {
    font-size: clamp(45px, 10vw, 58px);
    max-width: 440px;
  }
  .chapter-subtitle {
    font-size: 19px;
    max-width: 420px;
  }
  .chapter-count {
    margin-bottom: 0;
  }
  .story {
    padding: 24px 0 67px;
  }
  .story-heading {
    margin-bottom: 16px;
  }
  .story h3 {
    font-size: clamp(29px, 7vw, 36px);
    margin-bottom: 18px;
  }
  .story-prose {
    font-size: 18px;
    line-height: 1.73;
  }
  .story-permalink {
    opacity: 0.75;
  }
  .closing {
    padding: 95px 23px 85px;
  }
  .closing blockquote {
    font-size: 37px;
  }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 29px 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html.js-motion .reveal {
    opacity: 1;
    transform: none;
  }
}
@media print {
  @page {
    size: auto;
    margin: 18mm 18mm;
  }
  body {
    background: #fff;
    color: #111;
  }
  .site-header,
  .scroll-progress,
  .hero-bottom,
  .start-reading,
  .text-link,
  .contents,
  .site-footer,
  .back-to-top,
  .story-permalink {
    display: none !important;
  }
  .hero {
    min-height: 0;
    background: #fff;
  }
  .hero::before {
    display: none;
  }
  .hero-inner {
    display: block;
    padding: 0 0 20mm;
    min-height: 0;
  }
  .hero-copy {
    display: block;
  }
  .hero h1 {
    font-size: 52pt;
  }
  .hero-script {
    font-size: 26pt;
  }
  .hero-description {
    font-size: 12pt;
  }
  .portrait-border {
    width: 70mm;
    height: 85mm;
    margin: 12mm auto;
    box-shadow: none;
  }
  .hero-visual::after {
    display: none;
  }
  .opening {
    padding: 10mm 0;
    break-after: page;
  }
  .opening blockquote {
    font-size: 26pt;
  }
  .chapter {
    background: #fff !important;
  }
  .chapter-inner {
    display: block;
    padding: 10mm 0;
  }
  .chapter-sticky {
    position: static;
  }
  .chapter-big-number {
    font-size: 50pt;
  }
  .chapter-lead {
    break-after: avoid;
  }
  .story {
    break-inside: avoid-page;
    border-top: 1px solid #ccc;
    padding: 8mm 0;
  }
  .story-prose {
    font-size: 12pt;
    line-height: 1.5;
  }
  .story-prose p {
    orphans: 3;
    widows: 3;
  }
  html.js-motion .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Family photographs. Reserve exact aspect-ratio and display dimensions before lazy loading to keep anchor scrolling stable. */
.story-gallery {
  margin-top: clamp(24px, 3.4vw, 42px);
  display: grid;
  gap: 26px;
}
.story-gallery[data-count="2"],
.story-gallery[data-count="3"],
.story-gallery[data-count="4"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 18px;
}
.story-figure {
  margin: 0;
  min-width: 0;
}
.photo-expand {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: zoom-in;
}
.photo-expand img {
  display: block;
  width: min(100%, var(--photo-native-width), var(--photo-width-regular));
  height: auto;
  aspect-ratio: var(--photo-aspect);
  max-height: 470px;
  object-fit: contain;
  object-position: left center;
  border: 1px solid rgba(54, 54, 57, 0.13);
  box-shadow: 0 10px 30px rgba(40, 36, 33, 0.075);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}
.photo-expand:hover img {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(40, 36, 33, 0.13);
}
.story-gallery[data-count="2"] .photo-expand img,
.story-gallery[data-count="3"] .photo-expand img,
.story-gallery[data-count="4"] .photo-expand img {
  width: min(100%, var(--photo-native-width), var(--photo-width-grid));
  max-height: 380px;
}
.story-figure figcaption {
  margin-top: 11px;
  color: var(--muted);
  font: 400 12px/1.65 var(--sans);
  letter-spacing: 0.012em;
  max-width: 520px;
}
.photo-lightbox {
  position: fixed;
  inset: 0;
  max-width: min(96vw, 1150px);
  max-height: 94dvh;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  padding: clamp(20px, 3vw, 38px);
  background: #f8f6f0;
  color: var(--ink);
  box-shadow: 0 15px 70px #0007;
}
.photo-lightbox::backdrop {
  background: rgba(16, 20, 24, 0.83);
  backdrop-filter: blur(5px);
}
.photo-lightbox img {
  display: block;
  margin: 32px auto 0;
  max-width: 100%;
  max-height: calc(94dvh - 155px);
  width: auto;
  height: auto;
  object-fit: contain;
}
.photo-lightbox p {
  text-align: center;
  margin: 18px auto 0;
  color: var(--soft-ink);
  font: 14px/1.55 var(--serif);
}
.lightbox-close {
  position: absolute;
  top: 11px;
  right: 13px;
  border: 0;
  background: transparent;
  font: 12px var(--sans);
  color: var(--ink);
  cursor: pointer;
  padding: 8px;
}
.photo-expand:focus-visible,
.lightbox-close:focus-visible {
  outline: 3px solid var(--lavender);
  outline-offset: 5px;
}
@media (max-width: 650px) {
  .story-gallery[data-count="2"],
  .story-gallery[data-count="3"],
  .story-gallery[data-count="4"] {
    grid-template-columns: 1fr;
  }
  .photo-expand img {
    width: min(100%, var(--photo-native-width), var(--photo-width-mobile));
    max-height: 390px;
  }
  .story-figure figcaption {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .photo-expand img {
    transition: none;
  }
  .photo-expand:hover img {
    transform: none;
  }
}
@media print {
  .story-gallery {
    break-inside: avoid-page;
  }
  .photo-expand img {
    max-height: 100mm;
    box-shadow: none;
  }
  .photo-lightbox {
    display: none;
  }
}

/* REMEMBERING MARTHA — a quiet companion to her own recollections */
.remembrance {
  scroll-margin-top: 82px;
  background: #fdfbf6;
  border-bottom: 1px solid var(--line);
}
.remembrance-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: clamp(92px, 9vw, 146px) clamp(24px, 6vw, 98px) clamp(96px, 9vw, 145px);
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.35fr);
  gap: clamp(50px, 8vw, 135px);
}
.remembrance-intro {
  position: sticky;
  top: 132px;
  align-self: start;
}
.remembrance-intro .section-eyebrow {
  margin: 0 0 29px;
}
.remembrance-intro h1 {
  font: 400 clamp(43px, 4.65vw, 68px)/1.08 var(--serif);
  letter-spacing: -0.059em;
  margin: 0 0 34px;
  color: #2d363e;
}
.remembrance-rule {
  display: block;
  width: 64px;
  height: 1px;
  background: #bba69c;
  margin: 0 0 28px;
}
.remembrance-name {
  font: italic 20px/1.4 var(--serif);
  color: #6c6764;
  margin: 0 0 7px;
}
.remembrance-date {
  font: 500 11px/1.5 var(--sans);
  color: #8a827d;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
}
.remembrance-copy {
  font: 400 clamp(17px, 1.52vw, 19px)/1.85 var(--serif);
  letter-spacing: 0.002em;
  color: #51565a;
  max-width: 720px;
}
.remembrance-copy p {
  margin: 0 0 1.48em;
}

.remembrance-details {
  margin-top: 3.2em;
  padding-top: 2em;
  border-top: 1px solid var(--line);
}
.remembrance-details p:last-child {
  margin-bottom: 0;
}

@media (max-width: 920px) {
  .remembrance-inner {
    grid-template-columns: 1fr;
    gap: 55px;
    padding: 100px 45px;
  }
  .remembrance-intro {
    position: static;
  }
  .remembrance-intro h1 {
    font-size: 55px;
  }
  .remembrance-copy {
    max-width: 780px;
  }
}
@media (max-width: 650px) {
  .remembrance-inner {
    padding: 87px 24px 94px;
    gap: 46px;
  }
  .remembrance-intro h1 {
    font-size: clamp(44px, 11vw, 56px);
    margin-bottom: 28px;
  }
  .remembrance-copy {
    font-size: 17px;
    line-height: 1.78;
  }
  .remembrance-details {
    margin-top: 2.4em;
  }
}
@media print {
  .remembrance {
    background: #fff;
    break-before: page;
  }
  .remembrance-inner {
    display: block;
    padding: 14mm 0;
  }
  .remembrance-intro h1 {
    font-size: 42pt;
  }
  .remembrance-copy {
    max-width: none;
    font-size: 12pt;
    line-height: 1.55;
  }
}

/* Photo album page navigation and closing invitation */

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}

/* Personal memories, arranged as an unhurried, readable collection of voices. */
.shared-memories {
  background: #f7f4ed;
  border-top: 1px solid var(--line);
}
.shared-memories-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: clamp(92px, 9vw, 146px) clamp(24px, 6vw, 98px) clamp(96px, 9vw, 145px);
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.35fr);
  gap: clamp(50px, 8vw, 135px);
}
.shared-memories-heading {
  position: sticky;
  top: 132px;
  align-self: start;
  max-width: 420px;
}
.shared-memories-heading .section-eyebrow {
  margin-bottom: 29px;
}
.shared-memories-heading h2 {
  font: 400 clamp(43px, 4.65vw, 68px)/1.08 var(--serif);
  letter-spacing: -0.055em;
  color: var(--ink);
  margin: 0 0 20px;
}
.shared-memories-heading > p:last-child {
  font: 400 clamp(18px, 2vw, 22px)/1.55 var(--serif);
  color: var(--soft-ink);
  margin: 0;
}
.memory-list {
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.memory-item {
  padding: clamp(33px, 4vw, 53px) 0;
  border-top: 1px solid var(--line);
}
.memory-item blockquote {
  padding: 0 0 0 clamp(18px, 2.7vw, 30px);
  margin: 0;
  border-left: 2px solid #c6b8d7;
  color: #51565a;
  font: 400 clamp(17px, 1.7vw, 20px)/1.8 var(--serif);
}
.memory-item blockquote p {
  margin: 0 0 1.25em;
}
.memory-item blockquote p:last-child {
  margin-bottom: 0;
}
.memory-attribution {
  margin: 18px 0 0 clamp(20px, 2.7vw, 32px);
  font: 600 13px/1.5 var(--sans);
  color: var(--muted);
}
/* Match the obituary's two-column behavior: single-column at tablet widths. */
@media (max-width: 920px) {
  .shared-memories-inner {
    grid-template-columns: 1fr;
    gap: 55px;
    padding: 100px 45px;
  }
  .shared-memories-heading {
    position: static;
    max-width: 740px;
  }
  .shared-memories-heading h2 {
    font-size: 55px;
  }
}
@media (max-width: 650px) {
  .shared-memories-inner {
    padding: 87px 24px 94px;
    gap: 46px;
  }
  .shared-memories-heading h2 {
    font-size: clamp(44px, 11vw, 56px);
  }
}
@media print {
  .memory-item {
    break-inside: avoid;
  }
  .shared-memories {
    background: #fff;
  }
  .shared-memories-inner {
    display: block;
    padding: 14mm 0;
  }
  .shared-memories-heading {
    position: static;
    margin-bottom: 10mm;
  }
}


/* Invitation to share a private memory, following the existing remembrances. */
.share-memory{background:#fdfbf6;border-top:1px solid var(--line)}
.share-memory-inner{max-width:860px;margin:auto;padding:clamp(85px,9vw,140px) clamp(24px,6vw,90px)}
.share-memory-heading h2{margin:0 0 20px;font:400 clamp(40px,5vw,64px)/1.15 var(--serif);letter-spacing:-.052em;color:var(--ink)}
.share-memory-heading>p:last-child{font:400 clamp(18px,2vw,21px)/1.6 var(--serif);color:var(--soft-ink);margin:0 0 46px}
.memory-form fieldset{display:grid;gap:22px;border:0;padding:0;margin:0;min-width:0}
.memory-form-row{display:grid;gap:10px}
.memory-form-row label{font:600 13px var(--sans);color:var(--soft-ink)}
.memory-optional{font-weight:400;color:var(--muted)}
.memory-form-row input,.memory-form-row textarea{width:100%;min-width:0;padding:14px 16px;border:1px solid #ccc4bd;border-radius:3px;background:white;color:var(--ink);font:400 17px/1.5 var(--serif)}
.memory-form-row textarea{resize:vertical}
.memory-form-row input:focus-visible,.memory-form-row textarea:focus-visible,.memory-submit:focus-visible{outline:3px solid var(--lavender);outline-offset:3px}
.memory-publish-choice{display:flex;align-items:flex-start;gap:12px;font:400 15px/1.55 var(--sans);color:var(--soft-ink)}
.memory-publish-choice input{width:18px;height:18px;accent-color:#7b6795;margin:3px 0 0;flex:none}
.memory-privacy{font:400 13px/1.6 var(--sans);color:var(--muted);margin:0}
.memory-turnstile{min-height:65px}
.memory-submit{justify-self:start;border:0;padding:15px 26px;background:#554d5f;color:white;font:600 14px var(--sans);cursor:pointer}
.memory-submit:hover:not(:disabled){background:#3e3746}
.memory-submit:disabled{opacity:.5;cursor:not-allowed}
.memory-status{margin:21px 0 0;font:400 14px/1.6 var(--sans);color:var(--soft-ink)}
.memory-status[data-kind="success"]{color:#376049}
.memory-status[data-kind="error"]{color:#953e3c}
@media(max-width:650px){.share-memory-heading>p:last-child{margin-bottom:32px}.share-memory-inner{padding-top:78px;padding-bottom:90px}}
