:root {
  --outside-pink: #e9cfd8;
  --page-pink: #FDE5EA;
  --deep-red: #9b0f18;
  --ink: #250707;
  --soft-border: rgba(155, 15, 24, 0.20);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--outside-pink);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}


.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--page-pink);
  color: var(--deep-red);
  border: 2px solid var(--deep-red);
  font-weight: 700;
}

.skip-link:focus {
  left: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page-shell {
  width: min(100%, 1200px);
  margin: 0 auto;
  background: var(--page-pink);
  border-left: 1px solid var(--soft-border);
  border-right: 1px solid var(--soft-border);
}

/* LIVE MENU */
.cw-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px clamp(16px, 2.65vw, 34px);
  padding: 15px 18px 13px;
  background: var(--page-pink);
  border-bottom: 1px solid var(--soft-border);
  text-align: center;
}

.cw-menu a {
  color: var(--ink);
  text-decoration: none;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  font-weight: 700;
  line-height: 1.15;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.cw-menu a:hover,
.cw-menu a:focus,
.cw-menu a.active {
  color: var(--deep-red);
  border-bottom-color: var(--deep-red);
}

/* BANNER */
.cw-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: clamp(95px, 12vw, 145px);
  padding: clamp(10px, 1.45vw, 16px) 28px;
  background: var(--page-pink);
  border-bottom: 2px solid var(--deep-red);
}

.cw-banner img {
  width: min(76%, 805px);
  max-height: 122px;
  object-fit: contain;
}

/* HERO / SCENE
   The background is a real image layer, not background-size: cover.
   It is full-width, height-auto, and anchored to the top so the tree, hills,
   cherries, and flowers do not disappear or crop off the side on desktop. */
.cw-hero {
  position: relative;
  overflow: hidden;
  background: var(--page-pink);
  border-bottom: 2px solid var(--deep-red);
}

.cw-scene-bg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: auto;
  max-width: none;
  pointer-events: none;
  user-select: none;
}

.cw-hero-content {
  position: relative;
  z-index: 1;
  min-height: clamp(820px, 74vw, 895px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: clamp(26px, 3vw, 38px);
}

/* Desktop composition: smaller avatar, text shifted left from the right edge,
   and the coloring book below the intro row. */
.cw-intro {
  width: min(82%, 880px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(360px, 1fr);
  column-gap: clamp(38px, 5vw, 62px);
  align-items: start;
  padding-top: clamp(72px, 8.4vw, 98px);
}

.cw-avatar-panel {
  display: flex;
  justify-content: flex-end;
  padding-top: clamp(64px, 6.5vw, 82px);
}

.cw-avatar {
  width: clamp(190px, 19vw, 230px);
}

.cw-message {
  max-width: 390px;
  padding: 0.2rem 0.3rem;
  color: var(--ink);
  background: transparent;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.cw-message h1 {
  margin: 0 0 0.7rem;
  color: var(--deep-red);
  font-size: clamp(2rem, 3.45vw, 2.8rem);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.cw-message p {
  margin: 0 0 0.66rem;
  color: #1e1010;
  font-size: clamp(0.98rem, 1.08vw, 1.06rem);
  line-height: 1.27;
  font-weight: 600;
}

.cw-message .cw-signature-text {
  display: block;
  width: 100%;
  margin: 1.05rem auto 0;
  text-align: center;
}

.cw-signature-image {
  display: inline-block;
  width: clamp(220px, 44%, 315px);
  height: auto;
}

.cw-book-panel {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: clamp(16px, 1.8vw, 26px) clamp(50px, 7vw, 90px) 0;
}

.cw-coloring-book {
  width: min(51%, 560px);
  min-width: 435px;
}

/* FOOTER */
.cw-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  min-height: 54px;
  padding: 13px 20px 16px;
  background: var(--page-pink);
  border-top: 2px solid var(--deep-red);
  color: #5c1515;
  font-size: clamp(0.95rem, 1.22vw, 1.08rem);
  text-align: center;
}

.footer-divider {
  color: var(--deep-red);
}

@media (max-width: 900px) {
  .page-shell {
    width: min(100%, 760px);
  }

  .cw-banner img {
    width: min(86%, 680px);
  }

  .cw-hero-content {
    min-height: 0;
    padding-bottom: 28px;
  }

  .cw-scene-bg {
    width: 100%;
    height: auto;
  }

  .cw-intro {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 36px clamp(28px, 7vw, 58px) 0;
  }

  .cw-avatar-panel {
    justify-content: center;
    padding-top: 0;
  }

  .cw-avatar {
    width: clamp(150px, 34vw, 215px);
  }

  .cw-message {
    width: min(100%, 500px);
    max-width: 500px;
    margin: 0 auto;
    padding: 16px 22px 18px;
    border-radius: 22px;
    background: var(--page-pink);
    text-align: center;
  }

  .cw-message h1 {
    font-size: clamp(2rem, 6vw, 2.75rem);
    line-height: 1.03;
  }

  .cw-message p {
    font-size: clamp(1rem, 2.7vw, 1.13rem);
    line-height: 1.32;
    text-align: left;
  }

  .cw-message .cw-signature-text {
    text-align: center;
  }

  .cw-signature-image {
    width: clamp(210px, 58%, 300px);
  }

  .cw-book-panel {
    padding: 16px 22px 0;
  }

  .cw-coloring-book {
    width: min(100%, 560px);
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .page-shell {
    width: min(100%, 430px);
  }

  .cw-menu {
    gap: 8px 16px;
    padding: 13px 12px 12px;
  }

  .cw-menu a {
    font-size: 1rem;
  }

  .cw-banner {
    min-height: 88px;
    padding: 9px 14px;
  }

  .cw-banner img {
    width: 96%;
  }

  .cw-intro {
    padding: 30px 28px 0;
  }

  .cw-avatar {
    width: min(40%, 155px);
  }

  .cw-message {
    padding: 13px 14px 15px;
    border-radius: 18px;
  }

  .cw-message h1 {
    font-size: clamp(1.85rem, 8.2vw, 2.2rem);
  }

  .cw-message p {
    font-size: clamp(1rem, 4.35vw, 1.08rem);
    line-height: 1.3;
  }

  .cw-signature-image {
    width: clamp(190px, 66%, 270px);
  }

  .cw-book-panel {
    padding: 12px 8px 0;
    overflow: hidden;
  }

  .cw-coloring-book {
    width: 106%;
    max-width: none;
  }

  .cw-footer {
    gap: 8px 12px;
    padding: 12px 16px 14px;
  }
}
