:root {
  --paper: #f4efe6;
  --paper-dark: #e3d6c2;
  --ink: #211c16;
  --muted: #7b6b5b;
  --wood: #8a6848;
  --spice: #b46a34;
  --indigo: #26384f;
  --max: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(180,106,52,.14), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(38,56,79,.10), transparent 28%),
    linear-gradient(180deg, #f6f1e7, #e7d9c2);
  color: var(--ink);
  font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  line-height: 1.9;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  padding: 22px 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  mix-blend-mode: multiply;
}

.logo {
  font-family: "Zen Maru Gothic", sans-serif;
  letter-spacing: .16em;
  font-size: 15px;
  font-weight: 500;
}

nav {
  display: flex;
  gap: 22px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 13px;
  letter-spacing: .08em;
}

.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 120px 24px;
}

.mosaic {
  position: absolute;
  inset: 0;
  opacity: .92;
}

.piece {
  position: absolute;
  object-fit: cover;
  filter: blur(0) saturate(1.05) contrast(1.04);
  opacity: .88;
  box-shadow: 0 22px 70px rgba(33,28,22,.18);
  animation: float 12s ease-in-out infinite;
  transition: filter 1.2s ease, opacity 1.2s ease, transform 1.2s ease;
}

.piece.is-visible {
  filter: blur(0) saturate(1.08) contrast(1.06);
  opacity: .96;
}

.p1 { width: 28vw; height: 34vh; left: 5%; top: 13%; transform: rotate(-7deg); }
.p2 { width: 24vw; height: 28vh; right: 8%; top: 10%; transform: rotate(5deg); animation-delay: -2s; }
.p3 { width: 21vw; height: 34vh; left: 15%; bottom: 8%; transform: rotate(4deg); animation-delay: -4s; }
.p4 { width: 26vw; height: 26vh; right: 16%; bottom: 12%; transform: rotate(-5deg); animation-delay: -6s; }
.p5 { width: 18vw; height: 22vh; left: 44%; top: 7%; transform: rotate(8deg); animation-delay: -3s; }
.p6 { width: 20vw; height: 22vh; left: 42%; bottom: 3%; transform: rotate(-4deg); animation-delay: -5s; }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -16px; }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(244,239,230,.18), rgba(244,239,230,.42) 54%, rgba(244,239,230,.68));
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 820px;
  text-align: center;
  filter: blur(calc(3px - var(--clarity, 0) * 3px));
  opacity: 1;
}

.eyebrow,
.section-label {
  font-family: "Zen Maru Gothic", sans-serif;
  color: var(--spice);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 11px;
}

h1, h2 {
  font-weight: 400;
  line-height: 1.55;
}

.hero h1 {
  text-shadow: 0 2px 18px rgba(0,0,0,.08);
  font-family: "Shippori Mincho", serif;
  font-size: clamp(34px, 5.4vw, 70px);
  font-weight: 500;
  margin: 12px 0 24px;
  letter-spacing: .025em;
  line-height: 1.62;
}

.hero h1 span {
  color: var(--indigo);
}

.hero-copy p:last-child {
  font-size: clamp(15px, 2vw, 20px);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 130px 28px;
}

.section h2,
.diary-page h1 {
  font-size: clamp(28px, 4vw, 52px);
  margin: 8px 0 36px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  font-size: 17px;
}

.wide-image {
  max-width: 1320px;
  margin: 20px auto;
  padding: 0 28px 80px;
}

.wide-image img {
  width: 100%;
  height: 58vh;
  object-fit: cover;
  filter: saturate(.82) contrast(.94);
}

.wide-image p {
  max-width: 720px;
  margin: 22px 0 0 auto;
  font-size: 22px;
}

.kominka,
.support {
  max-width: 820px;
}

.bank-card {
  margin: 42px 0;
  padding: 30px;
  background: rgba(255,255,255,.28);
  border: 1px solid rgba(33,28,22,.15);
}

.muted {
  color: var(--muted);
}

.diary-link {
  display: inline-block;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}

.diary-page {
  padding-top: 80px;
}

.diary-item {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(33,28,22,.18);
}

.diary-item time {
  color: var(--spice);
  letter-spacing: .08em;
}

.diary-item h2 {
  font-size: clamp(24px, 3vw, 38px);
}

@media (max-width: 760px) {
  .site-header {
    padding: 18px;
  }

  nav {
    gap: 12px;
    font-size: 11px;
  }

  .piece {
    opacity: .38;
  }

  .p1 { width: 54vw; height: 26vh; left: -8%; top: 12%; }
  .p2 { width: 50vw; height: 25vh; right: -12%; top: 20%; }
  .p3 { width: 48vw; height: 24vh; left: 4%; bottom: 13%; }
  .p4 { width: 55vw; height: 24vh; right: -10%; bottom: 6%; }
  .p5, .p6 { display: none; }

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

  .wide-image img {
    height: 42vh;
  }
}


.hero-copy p:last-child,
.story-grid,
.section p,
.diary-item p {
  font-family: "Zen Maru Gothic", sans-serif;
  letter-spacing: .04em;
}

.section h2,
.diary-page h1,
.diary-item h2 {
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  letter-spacing: .025em;
}

/* warm typography refinement */
.section {
  position: relative;
}

.section-label {
  display: inline-block;
  margin-bottom: 18px;
  color: #b46a34;
  opacity: .9;
}

.section-label::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin-top: 10px;
  background: rgba(180,106,52,.42);
}

.section h2,
.diary-page h1,
.diary-item h2 {
  color: #1f1b16;
  text-shadow: 0 2px 14px rgba(80,54,30,.08);
  line-height: 1.75;
}

.section h2::first-letter,
.diary-page h1::first-letter {
  color: #26384f;
}

.section p {
  font-size: 15px;
  line-height: 2.15;
  color: rgba(31,27,22,.86);
}

.kominka,
.support {
  padding-top: 150px;
  padding-bottom: 150px;
}

.bank-card {
  font-family: "Zen Maru Gothic", sans-serif;
  background: rgba(255,248,235,.42);
  border: 1px solid rgba(138,104,72,.25);
  box-shadow: 0 18px 60px rgba(80,54,30,.08);
}

.diary-link {
  font-family: "Zen Maru Gothic", sans-serif;
  color: #26384f;
  letter-spacing: .08em;
}

/* final softer typography override */

body {
  color: #2a241e;
  letter-spacing: .015em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hero h1 {
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 1.82;
  letter-spacing: .04em;
  font-weight: 400;
  color: #241d17;
  text-shadow: 0 2px 24px rgba(60,40,20,.06);
}

.section h2,
.diary-page h1,
.diary-item h2 {
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.95;
  letter-spacing: .045em;
  font-weight: 400;
  color: #241d17;
  max-width: 12em;
}

.section p,
.story-grid p,
.diary-item p {
  font-size: 16px;
  line-height: 2.45;
  letter-spacing: .05em;
  color: rgba(36,29,23,.78);
}

.section {
  padding-top: 170px;
  padding-bottom: 170px;
}

.support h2 {
  max-width: 10em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .055;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(120,90,60,.06),
      rgba(120,90,60,.06) 1px,
      transparent 1px,
      transparent 4px
    );
  mix-blend-mode: multiply;
}

.section:nth-child(even) h2 {
  transform: translateX(14px);
}

.section:nth-child(odd) h2 {
  transform: translateX(-8px);
}

/* warmer handmade typography override */

.hero h1,
.section h2,
.diary-page h1,
.diary-item h2 {
  color: #3a2b20;
  font-weight: 400;
  letter-spacing: .018em;
}

.section h2,
.diary-page h1,
.diary-item h2 {
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.9;
  text-shadow: none;
}

.section h2::first-letter,
.diary-page h1::first-letter {
  color: inherit;
}

.section p,
.story-grid p,
.diary-item p,
.hero-copy p:last-child {
  font-family: "Zen Maru Gothic", sans-serif;
  color: rgba(58,43,32,.76);
  font-size: 15px;
  line-height: 2.3;
  letter-spacing: .035em;
}

.section-label,
.eyebrow,
nav,
.logo,
.diary-link,
.bank-card {
  font-family: "Zen Maru Gothic", sans-serif;
}

.section-label {
  color: rgba(180,106,52,.72);
  letter-spacing: .12em;
}

body {
  background:
    radial-gradient(circle at 18% 8%, rgba(180,106,52,.10), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(138,104,72,.08), transparent 30%),
    linear-gradient(180deg, #f7f0e4, #eadbc3);
}

.support h2 {
  max-width: 9em;
}

/* final ftera-inspired quiet breathing override */

body {
  color: rgba(46,34,25,.86);
  background:
    radial-gradient(900px 520px at 12% 4%, rgba(255,255,255,.42), transparent 58%),
    radial-gradient(1100px 620px at 88% 0%, rgba(255,244,224,.34), transparent 60%),
    linear-gradient(180deg, #f8f1e7 0%, #efe1ca 48%, #e8d7bd 100%);
}

.site-header {
  padding: 26px 34px;
}

.logo,
nav {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(46,34,25,.58);
  letter-spacing: .12em;
}

.hero-copy {
  max-width: 760px;
  text-align: left;
  margin-left: 7vw;
  margin-right: auto;
  filter: none;
}

.hero h1 {
  max-width: 11.5ch;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.9;
  letter-spacing: .01em;
  font-weight: 400;
  color: rgba(46,34,25,.88);
  text-shadow: none;
}

.hero-copy p:last-child {
  max-width: 34ch;
  margin-top: 26px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 14px;
  line-height: 2.25;
  letter-spacing: .035em;
  color: rgba(58,43,32,.62);
}

.eyebrow,
.section-label {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .16em;
  color: rgba(180,106,52,.58);
}

.section {
  max-width: 960px;
  padding: 230px 28px;
}

.section h2,
.diary-page h1,
.diary-item h2 {
  max-width: 13ch;
  font-size: clamp(25px, 3vw, 40px);
  line-height: 2.05;
  letter-spacing: .005em;
  font-weight: 400;
  color: rgba(46,34,25,.82);
  text-shadow: none;
  margin-bottom: 58px;
}

.section p,
.story-grid p,
.diary-item p {
  max-width: 42ch;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 14px;
  line-height: 2.55;
  letter-spacing: .035em;
  color: rgba(58,43,32,.62);
}

.story-grid {
  grid-template-columns: 1fr;
  max-width: 42ch;
  gap: 30px;
}

.section:nth-child(even) h2,
.section:nth-child(odd) h2 {
  transform: none;
}

.section h2::first-letter,
.diary-page h1::first-letter {
  color: inherit;
}

.wide-image {
  max-width: 1120px;
  padding-bottom: 130px;
}

.wide-image img {
  height: 54vh;
  border-radius: 2px;
  filter: saturate(.92) contrast(.98) brightness(.96);
}

.wide-image p {
  max-width: 28ch;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 16px;
  line-height: 2.25;
  color: rgba(58,43,32,.62);
}

.bank-card {
  max-width: 420px;
  background: rgba(255,255,255,.28);
  border: 1px solid rgba(138,104,72,.14);
  box-shadow: 0 24px 72px rgba(80,54,30,.06);
}

.diary-link {
  font-size: 14px;
  color: rgba(38,56,79,.72);
}

@media (max-width: 760px) {
  .hero-copy {
    margin-left: 0;
    text-align: left;
  }

  .hero h1 {
    font-size: clamp(29px, 8vw, 42px);
    line-height: 1.8;
  }

  .section {
    padding-top: 160px;
    padding-bottom: 160px;
  }
}

/* hero balance fix */

.hero {
  padding-top: 140px;
}

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

.hero h1 {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.72;
  letter-spacing: .018em;
}

.hero-copy p:last-child {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* section title centering fix */

.section h2,
.diary-page h1,
.diary-item h2 {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  line-height: 1.75;
}

.section p,
.story-grid,
.story-grid p,
.diary-item p {
  margin-left: auto;
  margin-right: auto;
}

.story-grid {
  max-width: 720px;
}

.section p,
.story-grid p,
.diary-item p {
  max-width: 720px;
}
