
/* =====================================
   Raised Between Worlds
   a little pink journal on growing up
===================================== */

/* colors & basics */

:root {
    --paper: #fff8f7;
    --pink-light: #fbeaf0;
    --pink: #f6dce5;
    --rose: #e6a0b9;
    --berry: #ad5d80;
    --ink: #64364d;
    --text: #654f59;
    --muted: #947682;
    --line: #e8cbd5;
  }
  
  * {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: "Avenir Next", Avenir, Arial, sans-serif;
    line-height: 1.75;
  }
  
  h1, h2, h3 {
    font-family: "Iowan Old Style", "Baskerville",
                 "Palatino Linotype", Georgia, serif;
    font-weight: 400;
    line-height: 1.15;
  }
  
  a {
    color: inherit;
  }
  
  .container {
    width: min(88%, 1120px);
    margin-inline: auto;
  }
  
  .narrow-content {
    max-width: 720px;
  }
  
  ::selection {
    background: var(--rose);
    color: var(--ink);
  }
  
  
  /* =====================================
     header
  ===================================== */
  
  .site-header {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
  }
  
  .header-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .site-logo {
    font-family: Georgia, serif;
    font-size: 27px;
    font-style: italic;
    font-weight: bold;
    letter-spacing: -1px;
    text-decoration: none;
    color: var(--berry);
  }
  
  .site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
  }
  
  .site-nav a {
    font-size: 13px;
    text-decoration: none;
    color: var(--ink);
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
  }
  
  .site-nav a:hover {
    border-bottom-color: var(--berry);
  }
  
  
  /* =====================================
     hero — the opening page
  ===================================== */
  
  .hero {
    position: relative;
    overflow: hidden;
    padding: 110px 0 125px;
    background: var(--paper);
  }
  
  /* soft background shape, like colored paper */
  
  .hero::before {
    content: "";
    position: absolute;
    width: 310px;
    height: 310px;
    background: var(--pink-light);
    border-radius: 47% 53% 62% 38%;
    right: -160px;
    top: 90px;
    transform: rotate(-15deg);
  }
  
  .hero-content {
    position: relative;
    z-index: 1;
    max-width: 930px;
  }
  
  .eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--berry);
  }
  
  .hero h1 {
    font-size: clamp(57px, 10vw, 116px);
    color: var(--ink);
    margin: 22px 0 30px;
    letter-spacing: -3px;
  }
  
  .hero h1 span {
    display: block;
    width: fit-content;
    color: var(--berry);
    font-style: italic;
    position: relative;
  }
  
  /* a hand-marked underline */
  
  .hero h1 span::after {
    content: "";
    position: absolute;
    height: 9px;
    left: 5%;
    right: 4%;
    bottom: -8px;
    background: var(--rose);
    opacity: 0.55;
    transform: rotate(-2deg);
    border-radius: 50%;
  }
  
  .hero-subtitle {
    font-family: Georgia, serif;
    font-size: clamp(18px, 2.5vw, 23px);
    color: var(--ink);
    margin-bottom: 24px;
  }
  
  .hero-description {
    max-width: 460px;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.9;
  }
  
  .primary-link {
    display: inline-block;
    margin-top: 26px;
    padding: 12px 22px;
    background: var(--ink);
    color: white;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.3px;
    border-radius: 2px;
    transition: transform 0.2s, background 0.2s;
  }
  
  .primary-link:hover {
    background: var(--berry);
    transform: translateY(-2px);
  }
  
  
  /* =====================================
     story — journal entry
  ===================================== */
  
  .story-section {
    background: var(--pink-light);
    padding: 95px 0;
  }
  
  .story-section .narrow-content {
    position: relative;
    border-left: 2px solid var(--rose);
    padding-left: 24px;
  }
  
  .story-section h2 {
    font-size: clamp(34px, 5vw, 58px);
    color: var(--ink);
    margin: 16px 0 32px;
    max-width: 630px;
  }
  
  .story-section p:not(.eyebrow) {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 19px;
    max-width: 650px;
  }
  
  
  /* =====================================
     chapters — little paper notes
  ===================================== */
  
  .themes-section {
    padding: 105px 0 125px;
    background: var(--paper);
  }
  
  .themes-section h2 {
    color: var(--ink);
    font-size: clamp(34px, 5vw, 56px);
    margin: 15px 0 55px;
    max-width: 650px;
  }
  
  .theme-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
  }
  
  .theme-card {
    position: relative;
    padding: 35px 28px 42px;
    background: var(--pink-light);
    border: 1px solid var(--line);
    transition: transform 0.2s ease;
  }
  
  .theme-card:nth-child(2) {
    background: #f7e2e9;
  }
  
  .theme-card:nth-child(3) {
    background: #fdf0ec;
  }
  
  /* tiny paper tape decoration */
  
  .theme-card::before {
    content: "";
    position: absolute;
    width: 52px;
    height: 16px;
    top: -9px;
    left: 35px;
    background: #efbfd0;
    opacity: 0.65;
    transform: rotate(-7deg);
  }
  
  .theme-card:nth-child(2)::before {
    transform: rotate(6deg);
    left: auto;
    right: 35px;
  }
  
  .theme-number {
    font-size: 11px;
    letter-spacing: 1.4px;
    color: var(--berry);
    text-transform: uppercase;
    margin: 0;
  }
  
  .theme-card h3 {
    font-size: clamp(27px, 3vw, 35px);
    color: var(--ink);
    margin: 29px 0 20px;
  }
  
  .theme-card p:last-child {
    font-size: 14px;
    line-height: 1.9;
    color: var(--text);
  }
  
  .theme-card:hover {
    transform: translateY(-5px) rotate(0deg);
  }
  
  
  /* =====================================
     footer
  ===================================== */
  
  .site-footer {
    padding: 40px 0;
    border-top: 1px dashed var(--rose);
    background: var(--pink-light);
  }
  
  .footer-content {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
  
  .footer-content p {
    margin: 0;
    font-size: 12px;
    color: var(--muted);
  }
  
  
  /* =====================================
     desktop
  ===================================== */
  
  @media (min-width: 768px) {
  
    .header-content {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }
  
    .hero {
      padding: 150px 0 175px;
    }
  
    .hero::before {
      width: 460px;
      height: 460px;
      right: -120px;
      top: 50px;
    }
  
    .story-section .narrow-content {
      padding-left: 45px;
    }
  
    .theme-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 25px;
    }
  
    /* slightly imperfect, like arranged paper */
  
    .theme-card:first-child {
      transform: rotate(-1.2deg);
    }
  
    .theme-card:nth-child(2) {
      transform: translateY(22px) rotate(0.8deg);
    }
  
    .theme-card:nth-child(3) {
      transform: rotate(-0.7deg);
    }
  
    .theme-card:hover {
      transform: translateY(-5px) rotate(0deg);
    }
  
    .footer-content {
      flex-direction: row;
      justify-content: space-between;
    }
  }
  
  
  /* accessibility */
  
  a:focus-visible {
    outline: 2px solid var(--berry);
    outline-offset: 4px;
  }
  
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
  
    .primary-link,
    .theme-card,
    .site-nav a {
      transition: none;
    }
  }


/* =====================================
   CULTURE PAGE
   chapter one — family scrapbook
===================================== */

/* chapter opening */

.culture-hero {
    padding: 95px 0 110px;
    background: var(--paper);
    position: relative;
    overflow: hidden;
  }
  
  .culture-hero h1 {
    font-size: clamp(52px, 9vw, 100px);
    color: var(--ink);
    letter-spacing: -2px;
    max-width: 900px;
    margin: 22px 0;
  }
  
  .culture-hero h1 span {
    display: block;
    color: var(--berry);
    font-style: italic;
  }
  
  .culture-subtitle {
    font-family: Georgia, serif;
    font-size: 21px;
    color: var(--ink);
  }
  
  .culture-intro {
    max-width: 520px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.9;
  }
  
  .chapter-jump {
    display: inline-block;
    color: var(--berry);
    font-size: 13px;
    margin-top: 24px;
    text-decoration-thickness: 1px;
    text-underline-offset: 6px;
  }
  
  
  /* family notes */
  
  .family-section {
    padding: 100px 0 115px;
    background: var(--pink-light);
  }
  
  .family-section h2,
  .sociocultural-section h2 {
    font-size: clamp(34px, 5vw, 58px);
    color: var(--ink);
    max-width: 720px;
    margin: 15px 0 25px;
  }
  
  .section-intro {
    max-width: 680px;
    color: var(--text);
    font-size: 16px;
    line-height: 1.9;
  }
  
  .note-wall {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
  }
  
  .family-note {
    position: relative;
    padding: 38px 28px 35px;
    border: 1px solid rgba(173, 93, 128, 0.12);
    min-height: 270px;
    box-shadow: 4px 7px 0 rgba(173, 93, 128, 0.06);
  }
  
  .family-note::before {
    content: "";
    position: absolute;
    top: -10px;
    left: calc(50% - 27px);
    width: 54px;
    height: 18px;
    background: #edbfd0;
    opacity: 0.72;
    transform: rotate(-5deg);
  }
  
  .note-one {
    background: #fff8f2;
  }
  
  .note-two {
    background: #f7dce5;
  }
  
  .note-three {
    background: #fce7eb;
  }
  
  .note-four {
    background: #fff2f3;
  }
  
  .note-label {
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--berry);
  }
  
  .family-note h3 {
    font-size: 42px;
    font-style: italic;
    color: var(--ink);
    margin: 12px 0;
  }
  
  .note-keyword {
    color: var(--berry);
    font-size: 13px;
    font-weight: 600;
  }
  
  .family-note p:last-child {
    font-size: 14px;
    line-height: 1.9;
  }
  
  .family-footnote {
    margin-top: 35px;
    font-size: 12px;
    color: var(--muted);
    max-width: 600px;
  }
  
  
  /* sociocultural map */
  
  .sociocultural-section {
    padding: 110px 0;
    background: var(--paper);
  }
  
  .map-board {
    margin-top: 55px;
    padding: 22px 20px;
    background: #fffdfb;
    border: 1px solid var(--line);
  }
  
  .map-heading {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    border-bottom: 2px solid var(--rose);
    padding-bottom: 18px;
  }
  
  .map-small-label {
    display: block;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--berry);
  }
  
  .map-heading h3 {
    font-size: clamp(18px, 3vw, 29px);
    color: var(--ink);
    margin: 9px 0 0;
  }
  
  .map-row {
    padding: 38px 0;
    border-bottom: 1px dashed var(--line);
  }
  
  .map-row:last-child {
    border-bottom: none;
  }
  
  .map-row h4 {
    font-size: 12px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--berry);
    margin: 0 0 20px;
  }
  
  .map-pair {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .map-entry {
    padding: 23px 20px;
    background: var(--pink-light);
    display: flex;
    flex-direction: column;
  }
  
  .map-entry:nth-child(2) {
    background: #fff0f3;
  }
  
  .map-context {
    font-size: 14px;
    line-height: 1.85;
    margin: 0;
  }
  
  .map-connector {
    font-family: Georgia, serif;
    font-size: 24px;
    text-align: center;
    color: var(--berry);
    padding: 13px 0;
  }
  
  .map-outcome {
    padding: 15px;
    margin: 0;
    background: rgba(255, 255, 255, 0.7);
    border-left: 2px solid var(--rose);
    font-size: 13px;
    line-height: 1.8;
    flex-grow: 1;
  }
  
  .map-outcome strong {
    color: var(--ink);
  }

/* Sociocultural reflection note */

.map-insight {
    margin: 22px 0 0;
    padding: 18px 22px;
  
    background: #fff3f6;
    border-left: 3px solid var(--rose);
  
    color: var(--text);
    font-size: 14px;
    line-height: 1.9;
  }
  
  .map-insight strong {
    display: block;
    margin-bottom: 8px;
  
    color: var(--berry);
    font-size: 12px;
    letter-spacing: 0.8px;
  }
  
  
  .map-disclaimer {
    margin-top: 24px;
    font-size: 12px;
    color: var(--muted);
    max-width: 650px;
  }
  
  
  /* final reflection */
  
  .culture-reflection {
    padding: 100px 0;
    background: var(--pink-light);
  }

  .reflection-paper {
    background: var(--paper);
    padding: 42px 30px;
    border: 1px solid var(--line);
    box-shadow: 8px 8px 0 rgba(173, 93, 128, 0.09);
    max-width: 850px;
    margin-inline: auto;
  }  
  
  .reflection-paper h2 {
    font-size: clamp(34px, 5vw, 60px);
    font-style: italic;
    color: var(--ink);
    margin: 18px 0 35px;
  }
  
  .reflection-paper p:not(.eyebrow) {
    max-width: 650px;
    line-height: 2;
    font-size: 15px;
  }
  
  .reflection-ending {
    color: var(--berry);
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 20px !important;
    margin-top: 35px;
  }
  
  .source-note {
    font-size: 12px;
    color: var(--muted);
    max-width: 650px;
    margin-top: 40px;
  }
  
  .back-home {
    display: inline-block;
    font-size: 13px;
    color: var(--berry);
    margin-top: 25px;
    text-underline-offset: 5px;
  }
  
  
  /* larger screens */
  
  @media (min-width: 700px) {
  
    .note-wall {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .map-board {
      padding: 35px 40px;
    }
  
    .map-pair {
      grid-template-columns: repeat(2, 1fr);
      gap: 25px;
    }
  
    .reflection-paper {
      padding: 65px 60px;
    }
  }
  
  @media (min-width: 1050px) {
  
    .note-wall {
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
    }
  
    .note-one {
      transform: rotate(-2deg);
    }
  
    .note-two {
      transform: translateY(20px) rotate(1.5deg);
    }
  
    .note-three {
      transform: rotate(-1deg);
    }
  
    .note-four {
      transform: translateY(14px) rotate(2deg);
    }
  }
  
/* chapter navigation links */

.chapter-link {
    display: inline-block;
    margin-top: 18px;
    padding-bottom: 3px;
    color: var(--berry);
    font-size: 13px;
    text-decoration: none;
    border-bottom: 1px solid var(--rose);
  }
  
  .chapter-link:hover {
    color: var(--ink);
    border-bottom-color: var(--ink);
  }
  
/* =====================================
   GROWTH PAGE
   chapter two — the memory album
===================================== */

/* opening page */

.growth-hero {
    position: relative;
    padding: 105px 0 125px;
    background: var(--paper);
    overflow: hidden;
  }
  
  .growth-hero::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    top: 70px;
    right: -160px;
    background: var(--pink-light);
    border-radius: 55% 45% 39% 61%;
    transform: rotate(18deg);
  }
  
  .growth-hero .container {
    position: relative;
    z-index: 1;
  }
  
  .growth-hero h1 {
    font-size: clamp(52px, 9vw, 105px);
    letter-spacing: -2px;
    color: var(--ink);
    margin: 22px 0;
  }
  
  .growth-hero h1 span {
    display: block;
    color: var(--berry);
    font-style: italic;
  }
  
  .growth-subtitle {
    font-family: Georgia, serif;
    font-size: 20px;
    color: var(--ink);
  }
  
  .growth-intro {
    max-width: 560px;
    margin-top: 25px;
    color: var(--muted);
    line-height: 1.95;
  }
  
  
  /* a short note before the timeline */
  
  .growth-opening {
    background: #fbeaf0;
    padding: 90px 0;
  }
  
  .growth-opening h2 {
    max-width: 660px;
    color: var(--ink);
    font-size: clamp(32px, 5vw, 55px);
    margin: 15px 0 30px;
  }
  
  .growth-opening p:not(.eyebrow) {
    max-width: 660px;
    font-size: 16px;
    line-height: 1.9;
  }
  
  .timeline-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 35px;
  }
  
  .timeline-legend span {
    display: inline-block;
    font-size: 12px;
    color: var(--ink);
    background: var(--paper);
    padding: 7px 13px;
    border: 1px dashed var(--rose);
  }
  
  
  /* =====================================
     the memory timeline
  ===================================== */
  
  .timeline-section {
    background: var(--paper);
    padding: 105px 0 125px;
  }
  
  .timeline-section h2 {
    color: var(--ink);
    font-size: clamp(35px, 5vw, 60px);
    margin: 15px 0;
  }
  
  .timeline-description {
    color: var(--muted);
    font-size: 15px;
    max-width: 600px;
    margin-bottom: 60px;
  }
  
  .timeline-column-headings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 35px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--rose);
  }
  
  .timeline-column-headings span {
    font-family: Georgia, serif;
    font-style: italic;
    color: var(--berry);
    font-size: 19px;
    text-align: center;
  }
  
  /* the center line appears on larger screens */
  
  .album-timeline {
    position: relative;
  }
  
  .album-timeline::before {
    display: none;
    content: "";
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 50%;
    border-left: 2px dashed var(--line);
  }
  
  .milestone {
    position: relative;
    margin-bottom: 85px;
  }
  
  .milestone:last-child {
    margin-bottom: 0;
  }
  
  /* little date label */
  
  .milestone-age {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
  }
  
  .milestone-age span {
    display: inline-block;
    padding: 9px 20px;
    background: #f6dce5;
    color: var(--ink);
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 17px;
    border: 1px solid var(--rose);
    transform: rotate(-2deg);
  }
  
  /* two pages of the same album */
  
  .milestone-pair {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
  }
  
  .memory-paper {
    position: relative;
    padding: 35px 25px 32px;
    min-height: 245px;
    border: 1px solid var(--line);
    box-shadow: 5px 6px 0 rgba(173, 93, 128, 0.06);
  }
  
  .real-memory {
    background: #fff0f2;
  }
  
  .virtual-memory {
    background: #fae0e8;
  }
  
  /* small pieces of paper tape */
  
  .memory-paper::before {
    content: "";
    position: absolute;
    width: 50px;
    height: 15px;
    background: #eeb7c9;
    opacity: 0.7;
    top: -8px;
    left: 30px;
    transform: rotate(-8deg);
  }
  
  .virtual-memory::before {
    left: auto;
    right: 30px;
    transform: rotate(7deg);
  }
  
  .paper-label {
    color: var(--berry);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    margin: 0 0 14px;
  }
  
  .memory-paper h3 {
    font-size: clamp(27px, 3vw, 36px);
    color: var(--ink);
    margin: 0 0 20px;
  }
  
  .memory-paper p:not(.paper-label) {
    font-size: 14px;
    line-height: 1.9;
    margin: 0 0 18px;
  }
  
  .memory-detail {
    padding-top: 14px;
    border-top: 1px dashed var(--rose);
    color: var(--berry);
    font-size: 12px !important;
    font-style: italic;
  }
  
  /* handwritten-style analysis below each pair */
  
  .milestone-analysis {
    position: relative;
    z-index: 2;
    background: #fffaf7;
    border: 1px dashed var(--rose);
    max-width: 740px;
    margin: 22px auto 0;
    padding: 20px 25px;
    font-size: 14px;
    line-height: 1.85;
    text-align: center;
  }
  
  .milestone-analysis strong {
    color: var(--berry);
    font-weight: 600;
  }
  
  
  /* =====================================
     closing reflection
  ===================================== */
  
  .growth-conclusion {
    background: var(--pink-light);
    padding: 110px 0;
  }
  
  .album-reflection {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 45px 30px;
    max-width: 860px;
    box-shadow: 9px 9px 0 rgba(173, 93, 128, 0.09);
  }
  
  .album-reflection h2 {
    color: var(--ink);
    font-size: clamp(36px, 5vw, 62px);
    margin: 18px 0 35px;
  }
  
  .album-reflection h2 em {
    color: var(--berry);
    font-weight: 400;
  }
  
  .album-reflection p:not(.eyebrow) {
    max-width: 680px;
    font-size: 15px;
    line-height: 2;
    margin-bottom: 22px;
  }
  
  .album-final-line {
    font-family: Georgia, serif;
    font-size: 21px !important;
    font-style: italic;
    color: var(--berry);
    margin-top: 40px;
  }
  
  .growth-sources {
    color: var(--muted);
    font-size: 12px;
    max-width: 680px;
    margin-top: 45px;
  }
  
  
  /* =====================================
     desktop memory album
  ===================================== */
  
  @media (min-width: 760px) {
  
    .growth-hero {
      padding: 145px 0 170px;
    }
  
    .growth-hero::before {
      width: 450px;
      height: 450px;
      right: -100px;
    }
  
    .album-timeline::before {
      display: block;
    }
  
    .milestone-pair {
      grid-template-columns: 1fr 1fr;
      gap: 55px;
    }
  
    .timeline-column-headings {
      gap: 55px;
    }
  
    .memory-paper {
      padding: 37px 30px;
    }
  
    .real-memory {
      transform: rotate(-0.7deg);
    }
  
    .virtual-memory {
      transform: rotate(0.7deg);
    }
  
    .album-reflection {
      padding: 70px 65px;
    }
  
  }

/* =====================================
   HOMEPAGE — CHILDHOOD PHOTO ALBUM
===================================== */

/* left text + right photos */

.hero::before {
  display: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 40px;
  max-width: 1120px;
}

.hero-text {
  min-width: 0;
}

.hero-text h1 {
  font-size: clamp(52px, 8vw, 94px);
}


/* the photo collection */

.hero-photos {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 365px;
  margin-inline: auto;
}


/* each little polaroid */

.polaroid {
  position: absolute;
  margin: 0;
  padding: 9px 9px 15px;

  background: #fffdfb;
  border: 1px solid #eddce1;
  box-shadow: 5px 8px 18px rgba(100, 54, 77, 0.13);

  transition: transform 0.25s ease,
              box-shadow 0.25s ease;
}

.polaroid img {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

.polaroid figcaption {
  padding-top: 9px;
  text-align: center;

  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 12px;
  font-style: italic;
}


/* first photo */

.photo-one {
  width: 55%;
  height: 235px;

  top: 14px;
  right: 2%;

  transform: rotate(9deg);
  z-index: 1;
}


/* second photo */

.photo-two {
  width: 53%;
  height: 222px;

  top: 55px;
  left: 1%;

  transform: rotate(-11deg);
  z-index: 2;
}


/* birthday photo */

.photo-three {
  width: 48%;
  height: 190px;

  bottom: 0;
  right: 8%;

  transform: rotate(5deg);
  z-index: 3;
}


/* keep image sizes within their frames */

.polaroid img {
  height: calc(100% - 24px);
}


/* make the album feel alive */

.photo-one:hover {
  transform: rotate(3deg) translateY(-8px);
}

.photo-two:hover {
  transform: rotate(-5deg) translateY(-8px);
}

.photo-three:hover {
  transform: rotate(0deg) translateY(-8px);
}

.polaroid:hover {
  z-index: 5;
  box-shadow: 8px 13px 22px rgba(100, 54, 77, 0.18);
}


/* desktop */

@media (min-width: 850px) {

  .hero-content {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 35px;
  }

  .hero-text h1 {
    font-size: clamp(60px, 6.5vw, 94px);
  }

  .hero-photos {
    height: 440px;
    max-width: 460px;
  }

  .photo-one {
    height: 278px;
  }

  .photo-two {
    height: 256px;
    top: 68px;
  }

  .photo-three {
    height: 225px;
  }
}


/* smaller phones */

@media (max-width: 380px) {

  .hero-photos {
    height: 315px;
  }

  .photo-one {
    height: 205px;
  }

  .photo-two {
    height: 195px;
  }

  .photo-three {
    height: 165px;
  }

}


/* reduced motion */

@media (prefers-reduced-motion: reduce) {

  .polaroid {
    transition: none;
  }

}

/* =====================================
   FAMILY MEMORY ALBUM
===================================== */

.family-album {
  margin: 46px 0 22px;
}

/* Two photographs across the page */

.family-album-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(24px, 5vw, 72px);

  width: 100%;
  padding: 20px 30px 30px;
}

/* Polaroid appearance */

.album-photo {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 10px 10px 14px;

  background: #fffdfb;
  border: 1px solid #ecd9df;
  box-shadow: 6px 9px 18px rgba(100, 54, 77, 0.12);
}

.album-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f7edf0;
}

.album-photo figcaption {
  margin-top: 10px;
  text-align: center;

  font-family: Georgia, serif;
  font-size: 12px;
  font-style: italic;
  color: var(--ink);
}

/* Photo angles */

.album-photo-one {
  transform: rotate(-4deg);
  z-index: 1;
}

.album-photo-two {
  transform: rotate(4deg);
  z-index: 2;
}

/* Washi tape */

.album-photo-one::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 30%;

  width: 65px;
  height: 18px;
  background: #efc2d0;
  opacity: 0.75;
  transform: rotate(5deg);
}

/* Mobile layout */

@media (max-width: 600px) {
  .family-album-photos {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 24px;
    padding: 15px 10px 25px;
  }

  .album-photo {
    width: min(85%, 380px);
  }
}

/* =====================================
   TIMELINE PHOTO ALBUM
   little snapshots of growing up
===================================== */

.timeline-photo {
    width: min(100%, 290px);
    margin: 28px auto 8px;
    padding: 10px 10px 16px;
  
    background: #fffdfb;
    border: 1px solid #e8d3db;
    box-shadow: 5px 7px 15px rgba(100, 54, 77, 0.12);
  }
  
  /* keep the entire photograph visible */
  
  .timeline-photo img {
    display: block;
    width: 100%;
    max-height: 260px;
  
    object-fit: contain;
    background: #f8edf1;
  }
  
  /* handwritten-style captions */
  
  .timeline-photo figcaption {
    padding-top: 12px;
    text-align: center;
  
    color: var(--ink);
    font-family: Georgia, serif;
    font-size: 12px;
    font-style: italic;
    line-height: 1.5;
  }
  
  /* slightly imperfect photo placement */
  
  .photo-tilt-left {
    transform: rotate(-3deg);
  }
  
  .photo-tilt-right {
    transform: rotate(2.5deg);
  }
  
  /* little tape at the top of each photo */
  
  .timeline-photo::before {
    content: "";
    position: absolute;
    width: 56px;
    height: 16px;
  
    top: -9px;
    left: calc(50% - 28px);
  
    background: #eeb9ca;
    opacity: 0.72;
    transform: rotate(-5deg);
  }
  
  /* let photos breathe on larger screens */
  
  @media (min-width: 760px) {
  
    .timeline-photo {
      margin-top: 32px;
    }
  
  }
  
/* =====================================
   FELICITY'S MEMORY PHOTOS
===================================== */

.timeline-photo {
    position: relative;
  }
  
  /* distinguish simulation images */
  
  .felicity-photo {
    background: #fff0f4;
    border: 1px solid #e6a0b9;
  }
  
  .felicity-photo img {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    background: #fff9fa;
  }
  
  /* captions for Developing Lives */
  
  .felicity-photo figcaption {
    color: var(--berry);
    font-size: 11px;
    font-style: italic;
  }
  
  /* slightly different tape */
  
  .felicity-photo::before {
    background: #dca4bd;
    transform: rotate(6deg);
  }
  
/* =====================================
   PARENTING PAGE
   chapter three — a letter to future me
===================================== */

/* opening */

.parenting-hero {
    padding: 105px 0 125px;
    background: var(--paper);
  }
  
  .parenting-hero h1 {
    font-size: clamp(58px, 9vw, 105px);
    color: var(--ink);
    letter-spacing: -2px;
    margin: 22px 0;
  }
  
  .parenting-hero h1 span {
    display: block;
    color: var(--berry);
    font-style: italic;
  }
  
  .parenting-subtitle {
    font-family: Georgia, serif;
    font-size: 21px;
    color: var(--ink);
  }
  
  .parenting-intro {
    max-width: 530px;
    font-size: 16px;
    color: var(--muted);
    line-height: 1.9;
  }
  
  
  /* =====================================
     the letter
  ===================================== */
  
  .letter-section {
    padding: 90px 0 110px;
    background: var(--pink-light);
  }
  
  .letter-container {
    max-width: 960px;
  }
  
  .personal-letter {
    position: relative;
    background: #fffdfb;
    border: 1px solid var(--line);
  
    margin-top: 40px;
    padding: 42px 28px 48px;
  
    box-shadow: 9px 9px 0 rgba(173, 93, 128, 0.1);
  
    /* subtle notebook lines */
    background-image: repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 34px,
      rgba(230, 160, 185, 0.14) 35px,
      transparent 36px
    );
  }
  
  .personal-letter::before {
    content: "";
    position: absolute;
    top: -12px;
    right: 15%;
    width: 85px;
    height: 21px;
    background: #edbfd0;
    opacity: 0.7;
    transform: rotate(5deg);
  }
  
  .letter-greeting {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 32px !important;
    color: var(--berry);
    margin-bottom: 32px !important;
  }
  
  .personal-letter p {
    max-width: 650px;
    font-size: 16px;
    line-height: 2.25;
    margin-bottom: 24px;
  }
  
  .letter-signature {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 22px !important;
    color: var(--berry);
    margin-top: 40px;
    line-height: 1.8 !important;
  }
  
  
  /* =====================================
     three little lessons
  ===================================== */
  
  .lessons-section {
    padding: 105px 0 125px;
    background: var(--paper);
  }
  
  .lessons-section h2 {
    font-size: clamp(35px, 5vw, 58px);
    color: var(--ink);
    margin: 15px 0 55px;
  }
  
  .lesson-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .lesson-note {
    position: relative;
    padding: 35px 28px;
    background: #fbeaf0;
    border: 1px solid var(--line);
  }
  
  .lesson-note:nth-child(2) {
    background: #f6dce5;
  }
  
  .lesson-note:nth-child(3) {
    background: #fff0ed;
  }
  
  .lesson-number {
    font-size: 12px;
    color: var(--berry);
    letter-spacing: 1px;
  }
  
  .lesson-note h3 {
    font-size: 43px;
    font-style: italic;
    color: var(--ink);
    margin: 15px 0 22px;
  }
  
  .lesson-note p {
    font-size: 14px;
    line-height: 1.9;
  }
  
  .lesson-thought {
    margin-top: 27px;
    padding-top: 17px;
    border-top: 1px dashed var(--rose);
  
    color: var(--berry);
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 17px !important;
  }
  
  
  /* =====================================
     the formal report
  ===================================== */
  
  .report-section {
    padding: 100px 0 120px;
    background: var(--pink-light);
  }
  
  .report-topbar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 38px;
  }
  
  .report-topbar h2 {
    color: var(--ink);
    font-size: clamp(33px, 4.5vw, 51px);
    margin: 12px 0 15px;
  }
  
  .report-topbar p:not(.eyebrow) {
    max-width: 610px;
    color: var(--muted);
    font-size: 15px;
  }
  
  .print-report {
    appearance: none;
    background: var(--ink);
    color: white;
    border: none;
    border-radius: 2px;
    padding: 12px 20px;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
  }
  
  .print-report:hover {
    background: var(--berry);
  }
  
  .print-report:focus-visible {
    outline: 2px solid var(--berry);
    outline-offset: 4px;
  }
  
  
  /* A clean paper inside the scrapbook */
  
  .report-sheet {
    max-width: 820px;
    margin: 0 auto;
  
    padding: 38px 27px;
    background: #fffdfb;
  
    border: 1px solid var(--line);
    box-shadow: 7px 9px 0 rgba(173, 93, 128, 0.09);
  
    color: #453a40;
    font-family: Georgia, serif;
  }
  
  .report-heading {
    text-align: center;
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
    margin-bottom: 25px;
  }
  
  .report-category {
    font-family: Arial, sans-serif;
    color: var(--berry);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
  }
  
  .report-heading h3 {
    font-size: clamp(27px, 4vw, 37px);
    color: var(--ink);
    margin: 12px 0;
  }
  
  .report-subtitle {
    font-size: 13px;
    color: var(--muted);
  }
  
  .report-sheet h4 {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: var(--ink);
    margin: 27px 0 9px;
  }
  
  .report-sheet > p {
    font-size: 14px;
    line-height: 1.85;
    margin: 0 0 13px;
  }
  
  .report-editor-note {
    max-width: 820px;
    margin: 25px auto 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
  }
  
  .report-section .back-home {
    display: block;
    width: fit-content;
    margin: 35px auto 0;
  }
  
  
  /* =====================================
     larger screens
  ===================================== */
  
  @media (min-width: 800px) {
  
    .parenting-hero {
      padding: 145px 0 165px;
    }
  
    .personal-letter {
      padding: 65px 75px 70px;
      transform: rotate(-0.35deg);
    }
  
    .lesson-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  
    .lesson-note:first-child {
      transform: rotate(-1deg);
    }
  
    .lesson-note:nth-child(2) {
      transform: translateY(18px);
    }
  
    .lesson-note:nth-child(3) {
      transform: rotate(1deg);
    }
  
    .report-topbar {
      flex-direction: row;
      justify-content: space-between;
      align-items: flex-end;
    }
  
    .report-sheet {
      padding: 55px 65px;
    }
  
  }
  
  
  /* =====================================
     PRINT JUST THE REPORT
  ===================================== */
  
  @media print {
  
    @page {
      size: letter;
      margin: 0.6in;
    }
  
    .site-header,
    .parenting-hero,
    .letter-section,
    .lessons-section,
    .report-topbar,
    .report-editor-note,
    .report-section .back-home,
    .site-footer {
      display: none !important;
    }
  
    body,
    main,
    .report-section {
      background: white !important;
      margin: 0 !important;
      padding: 0 !important;
    }
  
    .report-section .container {
      width: 100% !important;
      max-width: none !important;
    }
  
    .report-sheet {
      max-width: none;
      padding: 0;
      margin: 0;
      border: none;
      box-shadow: none;
  
      color: #222;
      font-family: "Times New Roman", serif;
    }
  
    .report-heading {
      margin-bottom: 13px;
      padding-bottom: 10px;
    }
  
    .report-heading h3 {
      font-size: 16pt;
    }
  
    .report-category,
    .report-subtitle {
      font-size: 9pt;
    }
  
    .report-sheet h4 {
      font-size: 10.5pt;
      margin: 15px 0 5px;
      break-after: avoid;
    }
  
    .report-sheet > p {
      font-size: 10.3pt;
      line-height: 1.35;
      margin-bottom: 8px;
    }
  
  }
  
/* Digital Environment analysis note */

.digital-analysis {
    margin: 22px 0 0;
    padding: 16px 20px;
    border-left: 3px solid var(--rose);
    background: #fff3f6;
  
    color: var(--text);
    font-size: 14px;
    line-height: 1.9;
  }
  
  .digital-analysis strong {
    color: var(--berry);
  }

/* =====================================
   BOTTOM-ALIGNED SOCIOCULTURAL CIRCLES
   ===================================== */

   .socio-visual-map {
    margin: 3rem 0 4rem;
    padding: 3rem 2rem 2.8rem;
    background: #fbf5f7;
    border: 1px solid var(--line);
  }
  
  .socio-visual-map__heading {
    margin: 0 0 2rem;
    text-align: center;
    color: var(--ink);
    font-family: Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
  }
  
  .socio-visual-map__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 4vw, 4rem);
  }
  
  .socio-child {
    min-width: 0;
  }
  
  .socio-child h4 {
    margin: 0;
    text-align: center;
    color: var(--ink);
    font-family: Georgia, serif;
    font-size: 1.5rem;
    font-weight: 400;
  }
  
  .socio-child__values {
    margin: 0.4rem auto 1.5rem;
    text-align: center;
    color: var(--berry);
    font-size: 0.75rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }
  
  /* Diagram */
  .socio-rings {
    position: relative;
    width: min(100%, 390px);
    aspect-ratio: 1;
    margin: 0 auto;
  }
  
  /* All circles share the same bottom */
  .socio-ring {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
  
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
  
    border: 1px solid #d9a9bc;
    background: #f5dfe9;
  }
  
  /* Second nested circle */
  .socio-ring--second {
    width: 83%;
    background: #efd0de;
  }
  
  /* Third nested circle */
  .socio-ring--third {
    width: 78%;
    background: #eac0d2;
  }
  
  /* Inner circle */
  .socio-ring--core {
    width: 70%;
    background: #fff5f8;
  
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
  }
  
  /* Labels at top of each visible ring */
  .socio-ring__label {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
  
    width: 92%;
    text-align: center;
  
    color: #88455f;
    font-size: clamp(10px, 1.15vw, 12px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.02em;
  }
  
  /* Core text */
  .socio-ring__core {
    max-width: 95%;
    text-align: center;
  
    font-family: Georgia, serif;
    font-size: clamp(15px, 1.6vw, 20px);
    line-height: 1.2;
    color: var(--ink);
    font-weight: 600;
  }
  
  /* Subtle variation for Felicity */
  .socio-child--felicity .socio-ring {
    border-color: #cba1b2;
    background: #f7e9ee;
  }
  
  .socio-child--felicity .socio-ring--second {
    background: #efd6e1;
  }
  
  .socio-child--felicity .socio-ring--third {
    background: #e7bbc9;
  }
  
  .socio-child--felicity .socio-ring--core {
    background: #fff5f8;
  }
  
  /* Mobile */
  @media (max-width: 760px) {
  
    .socio-visual-map {
      padding: 2rem 1rem;
    }
  
    .socio-visual-map__grid {
      grid-template-columns: 1fr;
      gap: 3rem;
    }
  
    .socio-ring__label {
      font-size: 11px;
    }
  
  }

/* Circle layer headings */

.socio-ring__label small,
.socio-ring__core-content small {
  display: block;
  margin-bottom: 5px;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ae6c8b;
}

.socio-ring__label {
  top: 12px;
  line-height: 1.25;
}

.socio-ring__core-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  max-width: 94%;
  text-align: center;
}

.socio-ring__core-content small {
  margin-bottom: 0;
}

.socio-ring__core {
  display: block;
  font-size: clamp(14px, 1.45vw, 19px);
}

/* =====================================
   HOME PAGE — CAREGIVER INTRODUCTION
   ===================================== */

   .home-family {
    background: #fff3f7;
    padding: 85px 0 100px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  
  .home-family .note-wall {
    margin-top: 45px;
  }
  
  @media (min-width: 700px) {
    .home-family .note-wall {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 28px;
    }
  }
/* Culture page: family photographs only */

.family-photo-section {
  padding: 35px 0 55px;
}

.family-photo-section .family-album {
  margin: 0;
}

/* =====================================
   GROWTH PAGE — INTERACTIVE JOURNEY
   ===================================== */

   .growth-journey {
    margin: 0 0 80px;
    padding: 30px;
    border: 1px solid var(--line);
    background: #fff4f7;
    box-shadow: 7px 7px 0 rgba(173, 93, 128, 0.06);
  }
  
  .journey-heading {
    text-align: center;
  }
  
  .journey-heading h3 {
    margin: 8px 0;
    color: var(--ink);
    font-size: clamp(25px, 3vw, 36px);
  }
  
  .journey-heading > p:last-child {
    margin: 0 0 20px;
    font-size: 13px;
    color: var(--muted);
  }
  
  /* Scrollable growth paths */
  .journey-viewport {
    overflow-x: auto;
    padding-bottom: 10px;
  }
  
  .journey-board {
    position: relative;
    min-width: 660px;
    width: 100%;
    height: 300px;
    background: repeating-linear-gradient(
      0deg,
      transparent 0 31px,
      rgba(230, 160, 185, 0.09) 32px
    );
  }
  
  .journey-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  
  .journey-path {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 5 8;
  }
  
  .journey-path--mine {
    stroke: #b36a8c;
  }
  
  .journey-path--hers {
    stroke: #d69db6;
  }
  
  .journey-lane {
    position: absolute;
    left: 1%;
    font-size: 10px;
    letter-spacing: 1.4px;
    font-weight: 700;
    color: var(--berry);
  }
  
  .journey-lane--mine {
    top: 7%;
  }
  
  .journey-lane--hers {
    bottom: 9%;
  }
  
  /* Moving character stickers */
  .journey-avatar {
    position: absolute;
    left: 8.33%;
    top: 32%;
    width: 58px;
    height: 58px;
    transform: translate(-50%, -50%);
  
    border: 4px solid white;
    border-radius: 50%;
    background: var(--paper);
  
    box-shadow: 0 3px 12px rgba(100, 54, 77, 0.18);
  
    transition: none;
  
    pointer-events: none;
    z-index: 2;
  }
  
  .journey-avatar--hers {
    top: 71.33%;
  }
  
  .journey-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
  }
  
  /* Numbered stage buttons */
  .journey-stop {
    position: absolute;
    left: var(--stop-x);
    top: 52%;
    transform: translate(-50%, -50%);
  
    width: 35px;
    height: 35px;
    border: 1px solid var(--rose);
    border-radius: 50%;
  
    background: #fffafc;
    color: var(--ink);
  
    font: 600 12px Arial, sans-serif;
    cursor: pointer;
  }
  
  .journey-stop:hover,
  .journey-stop[aria-pressed="true"] {
    background: var(--rose);
    transform: translate(-50%, -50%) scale(1.1);
  }
  
  .journey-stop:focus-visible,
  .journey-controls button:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
  }
  
  /* Changing story panel */
  .journey-story {
    margin-top: 14px;
    padding: 22px;
    background: var(--paper);
    border: 1px solid var(--line);
  }
  
  .journey-count {
    margin: 0;
    font-size: 11px;
    letter-spacing: 1.4px;
    color: var(--berry);
  }
  
  .journey-story h4 {
    margin: 5px 0 10px;
    font: italic 26px Georgia, serif;
    color: var(--ink);
  }
  
  .journey-story-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  
  .journey-story-pair p {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.6;
  }
  
  .journey-story-pair strong {
    color: var(--berry);
  }
  
  .journey-read {
    font-size: 12px;
    color: var(--berry);
    text-underline-offset: 4px;
  }
  
  /* Previous / Next */
  .journey-controls {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 15px;
  }
  
  .journey-controls button {
    padding: 9px 18px;
    border: 1px solid var(--rose);
    background: #fbe4ec;
    color: var(--ink);
    font: 600 12px Arial, sans-serif;
    cursor: pointer;
  }
  
  .journey-controls button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }
  
  /* Mobile */
  @media (max-width: 600px) {
    .growth-journey {
      padding: 18px 12px;
    }
  
    .journey-story-pair {
      grid-template-columns: 1fr;
      gap: 0;
    }
  }
  
  /* Accessibility */
  @media (prefers-reduced-motion: reduce) {
    .journey-avatar {
      transition: none;
    }
  }
  