:root {
  --paper: #fbf7ee;
  --ink: #24312f;
  --muted: #64716f;
  --sage: #87a090;
  --leaf: #335d4c;
  --clay: #bf6f55;
  --gold: #d7a94e;
  --sky: #9fc7d6;
  --blush: #f1cbc1;
  --white: #fffdf8;
  --line: rgba(36, 49, 47, 0.14);
  --shadow: 0 28px 80px rgba(36, 49, 47, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(130deg, rgba(159, 199, 214, 0.18), transparent 34%),
    linear-gradient(315deg, rgba(191, 111, 85, 0.13), transparent 38%),
    var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 32px;
}

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

.brand,
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand {
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--white);
  background: var(--leaf);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 18px;
}

.nav-link {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  background: rgba(255, 253, 248, 0.62);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.98fr);
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
  min-height: calc(100vh - 112px);
  padding: 34px 0 50px;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(46px, 5.2vw, 64px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-description {
  max-width: 610px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 19px);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  color: var(--white);
  background: var(--leaf);
  box-shadow: 0 16px 34px rgba(51, 93, 76, 0.24);
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #274a3d;
  box-shadow: 0 20px 42px rgba(51, 93, 76, 0.3);
}

.button-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.memory-visual {
  position: relative;
  min-height: 450px;
  isolation: isolate;
}

.archive-shadow {
  position: absolute;
  inset: auto 8% 6% 8%;
  height: 60px;
  border-radius: 50%;
  background: rgba(36, 49, 47, 0.16);
  filter: blur(22px);
  z-index: -1;
}

.archive-sheet {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(82%, 420px);
  aspect-ratio: 0.78;
  border: 1px solid rgba(36, 49, 47, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%) rotate(var(--turn));
}

.sheet-back {
  --turn: -8deg;
  background:
    linear-gradient(180deg, rgba(135, 160, 144, 0.12), transparent 36%),
    var(--white);
}

.sheet-middle {
  --turn: 5deg;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 38px,
      rgba(159, 199, 214, 0.18) 39px 40px
    ),
    var(--white);
}

.sheet-front {
  --turn: -1deg;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  padding: clamp(18px, 4vw, 28px);
}

.scan-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.scan-label strong {
  color: var(--ink);
  font-size: 14px;
}

.child-art {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border: 1px solid rgba(36, 49, 47, 0.12);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(159, 199, 214, 0.48), rgba(251, 247, 238, 0.88) 62%),
    var(--white);
}

.child-art span {
  position: absolute;
  display: block;
}

.sun {
  top: 10%;
  right: 12%;
  width: 72px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 12px rgba(215, 169, 78, 0.2);
}

.hill {
  bottom: -18%;
  width: 72%;
  height: 40%;
  border-radius: 50% 50% 0 0;
  background: rgba(135, 160, 144, 0.78);
}

.hill-one {
  left: -16%;
}

.hill-two {
  right: -20%;
  bottom: -13%;
  background: rgba(51, 93, 76, 0.28);
}

.house-roof {
  left: 29%;
  top: 42%;
  width: 34%;
  height: 22%;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: var(--clay);
}

.house-body {
  left: 34%;
  top: 58%;
  width: 24%;
  height: 25%;
  border-radius: 4px 4px 0 0;
  background: var(--blush);
}

.window {
  top: 64%;
  width: 7%;
  aspect-ratio: 1;
  border: 2px solid var(--leaf);
  background: rgba(255, 253, 248, 0.72);
}

.window-left {
  left: 38%;
}

.window-right {
  left: 48%;
}

.flower {
  bottom: 17%;
  width: 20px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--clay);
  box-shadow:
    0 -13px 0 var(--gold),
    13px 0 0 var(--sky),
    0 13px 0 var(--clay),
    -13px 0 0 var(--gold);
}

.flower-one {
  left: 16%;
}

.flower-two {
  left: 69%;
  bottom: 13%;
  transform: scale(0.82);
}

.flower-three {
  left: 77%;
  bottom: 26%;
  transform: scale(0.62);
}

.promise {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.promise > div {
  min-height: 196px;
  padding: 28px;
  background: rgba(255, 253, 248, 0.7);
}

.promise-number {
  color: var(--clay);
  font-size: 13px;
  font-weight: 800;
}

.promise h2 {
  margin: 30px 0 10px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 34px;
  font-weight: 400;
}

.promise p,
.contact-band p,
.about-page-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.about-page {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(34px, 7vw, 88px);
  min-height: calc(100vh - 112px);
  padding: 58px 0 76px;
}

.portrait-placeholder {
  display: grid;
  min-height: clamp(420px, 58vw, 640px);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(159, 199, 214, 0.22), transparent 42%),
    linear-gradient(320deg, rgba(191, 111, 85, 0.13), transparent 40%),
    rgba(255, 253, 248, 0.7);
  box-shadow: var(--shadow);
}

.portrait-inner {
  display: grid;
  place-content: center;
  gap: 8px;
  border: 1px dashed rgba(36, 49, 47, 0.26);
  border-radius: 6px;
  color: var(--muted);
  text-align: center;
}

.portrait-inner span {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(44px, 6vw, 76px);
  color: var(--ink);
}

.portrait-inner strong {
  color: var(--clay);
  font-size: 13px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.about-page-copy {
  display: grid;
  gap: 20px;
  align-content: center;
}

.about-page-copy h1 {
  max-width: 620px;
  margin: 0;
}

.about-page-copy p {
  font-size: clamp(16px, 1.6vw, 18px);
}

.about-page-copy .button {
  justify-self: start;
  margin-top: 8px;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 0;
}

.contact-band > a,
.footer-about-link {
  color: var(--leaf);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.contact-band > div {
  display: grid;
  gap: 8px;
}

.footer-about-link {
  justify-self: start;
  font-size: 14px;
}

@media (max-width: 880px) {
  .site-shell {
    width: min(100% - 28px, 680px);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 54px 0 56px;
  }

  .memory-visual {
    min-height: 500px;
  }

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

  .promise > div {
    min-height: auto;
  }

  .about-page {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 54px 0 62px;
  }

  .portrait-placeholder {
    min-height: 460px;
    order: 2;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 24px, 480px);
    padding-top: 18px;
  }

  .nav {
    align-items: flex-start;
    gap: 14px;
  }

  .brand {
    font-size: 15px;
  }

  .nav-link {
    min-height: 38px;
    padding: 0 13px;
    font-size: 12px;
  }

  h1 {
    font-size: clamp(48px, 14vw, 62px);
  }

  .hero-description {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
    min-height: 54px;
    text-align: center;
  }

  .memory-visual {
    min-height: 430px;
  }

  .archive-sheet {
    width: min(94%, 370px);
  }

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-page-copy .button {
    justify-self: stretch;
  }

  .portrait-placeholder {
    min-height: 360px;
  }
}
