@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/nunito-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/nunito-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/nunito-800-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #2e3153;
  --berry: #c2265a;
  --berry-dark: #9c1b47;
  --pink: #f2a0b9;
  --peach: #ffb388;
  --motif-opacity: 0.6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #fffaf7;
  line-height: 1.65;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 250, 247, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(46, 49, 83, 0.1);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 14px 24px;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.nav a:hover {
  border-bottom-color: var(--berry);
}

main {
  display: flex;
  min-height: calc(100vh - 56px);
  flex-direction: column;
}

.hero {
  min-height: calc(100svh - 57px);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 22%, rgba(242, 160, 185, 0.22), transparent 25%),
    radial-gradient(circle at 82% 72%, rgba(255, 179, 136, 0.18), transparent 27%),
    linear-gradient(145deg, var(--ink) 0%, var(--berry-dark) 145%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 179, 136, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 179, 136, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(circle at center, #000, transparent 76%);
  mask-image: radial-gradient(circle at center, #000, transparent 76%);
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--berry);
  stroke-width: 3;
  opacity: 0.45;
}

.hero-pencils,
.hero-leaves {
  stroke: var(--pink);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-pencils {
  stroke: var(--peach);
  /* wide 16:9 screens crop ~120 viewBox units off the top and bottom of the
     slice-fitted hero, so keep the decorations inside the y ~120-780 band */
  transform: translate(1130px, 125px) rotate(12deg) scale(0.9);
  transform-origin: 0 0;
}

.hero-leaves {
  stroke: var(--berry);
}

.paint-fill-pink {
  fill: rgba(242, 160, 185, 0.42);
}

.paint-fill-peach {
  fill: rgba(255, 179, 136, 0.42);
}

.paint-number {
  fill: #fffaf7;
  stroke: none;
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-anchor: middle;
}

.hero-page {
  stroke: var(--pink);
  stroke-width: 3;
  opacity: 0.42;
  transform: translate(20px, 32px) scale(0.9);
  transform-origin: 0 0;
}

.hero-content {
  width: min(900px, calc(100% - 48px));
  text-align: center;
  animation: hero-arrive 1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.brand-mark {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: clamp(12px, 2.4vw, 30px);
  font-weight: 800;
  font-size: clamp(5rem, 15vw, 11rem);
  line-height: 0.86;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.brand-word {
  color: transparent;
  -webkit-text-stroke: clamp(2px, 0.25vw, 4px) transparent;
  background: linear-gradient(118deg, var(--berry) 4%, var(--berry-dark) 42%, var(--peach) 64%, var(--pink) 86%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.25));
  /* line-height < 1 makes the paint box shorter than the glyphs; background-clip: text
     leaves anything outside the box unpainted (glyph tops get cut on Android metrics) */
  padding: 0.15em 0.08em;
  margin: -0.15em -0.08em;
}

.brand-oona {
  background-image: linear-gradient(118deg, var(--berry) 4%, var(--pink) 34%, var(--peach) 58%, var(--berry) 82%, var(--pink) 100%);
}

.hero-kicker {
  width: fit-content;
  margin: clamp(26px, 5vw, 48px) auto 0;
  padding: 10px 18px;
  border-top: 1px solid rgba(255, 179, 136, 0.5);
  border-bottom: 1px solid rgba(255, 179, 136, 0.5);
  color: #fffaf7;
  font-size: clamp(0.78rem, 1.5vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

@keyframes hero-arrive {
  from { opacity: 0; transform: translateY(28px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.section {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 56px);
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 56px;
}

.band-mission {
  color: #fffaf7;
  background:
    radial-gradient(circle at 15% 85%, rgba(242, 160, 185, 0.2), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(194, 38, 90, 0.22), transparent 30%),
    linear-gradient(135deg, var(--ink) 0%, var(--berry-dark) 165%);
}

.mission-container {
  max-width: 930px;
  text-align: center;
  z-index: 1;
}

.mission-line {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(900px, 92vw);
  transform: translate(-50%, -50%);
  stroke: rgba(255, 179, 136, 0.2);
  stroke-width: 2;
  pointer-events: none;
}

.mission-line .mission-leaf {
  fill: rgba(194, 38, 90, 0.62);
  stroke: var(--peach);
}

.mission-line .mission-leaf-alt {
  fill: rgba(242, 160, 185, 0.48);
}

.mission-line text {
  fill: #fffaf7;
  stroke: none;
  font-family: "Nunito", sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-anchor: middle;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--berry-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.band-mission .eyebrow {
  color: var(--peach);
}

.section.band-mission h1 {
  display: block;
  max-width: 850px;
  margin: 0 auto 28px;
  color: #fffaf7;
  font-size: clamp(2.5rem, 7vw, 5rem);
  letter-spacing: -0.04em;
}

.mission-copy {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 250, 247, 0.8);
  font-size: clamp(1.08rem, 2.3vw, 1.35rem) !important;
}

.band-about {
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(255, 179, 136, 0.35) 0%, rgba(255, 179, 136, 0) 55%),
    radial-gradient(100% 80% at 0% 100%, rgba(242, 160, 185, 0.4) 0%, rgba(242, 160, 185, 0) 60%),
    linear-gradient(149deg, #fffaf7 -6%, #ffeded 112%, #ffddcc 113%);
}

.band-legal {
  background:
    radial-gradient(110% 100% at 100% 0%, rgba(255, 222, 190, 0.9) 0%, rgba(255, 222, 190, 0) 60%),
    radial-gradient(120% 110% at 0% 100%, #ff6d9d 0%, rgba(255, 109, 157, 0) 62%),
    linear-gradient(120deg, #f2879f 0%, #f6a9b4 45%, #ffd4b5 100%);
}

/* Decorative paint-by-numbers motifs */
.motif {
  position: absolute;
  height: auto;
  width: clamp(90px, calc(50vw - 390px), 190px);
  opacity: var(--motif-opacity);
  pointer-events: none;
}

.motif .num {
  font-family: "Nunito", sans-serif;
  font-size: 10px;
  font-weight: 700;
  fill: var(--berry-dark);
  stroke: none;
  text-anchor: middle;
}

.motif .num-s {
  font-size: 9px;
}

.motif-tr { top: -10px; right: -10px; }
.motif-bl { bottom: -14px; left: -14px; }
.motif-br { bottom: -10px; right: -10px; }
.motif-tl { top: -14px; left: -14px; }
.motif-page { bottom: -14px; right: -14px; width: clamp(100px, calc(50vw - 380px), 210px); }

.container {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  animation: rise 0.7s ease-out both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.section h1,
.section h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 26px;
  color: var(--berry);
  font-weight: 800;
  line-height: 1.2;
}

.section h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
}

.section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
}

.section h1::after,
.section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--berry), var(--pink), var(--peach));
  transform-origin: left;
  animation: paint 0.9s ease-out 0.4s both;
}

.band-mission h1::after {
  display: none;
}

@keyframes paint {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.section p {
  font-size: 1.08rem;
}

.section p + p {
  margin-top: 16px;
}

.section dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 14px 28px;
}

.section dt {
  font-weight: 700;
  color: var(--berry-dark);
}

.section a {
  color: var(--berry-dark);
  font-weight: 700;
}

.band-legal h2,
.band-legal dt,
.band-legal a {
  color: var(--ink);
}

.band-legal a {
  text-decoration-thickness: 2px;
}

/* Tablet: 641px – 1024px. Keeps every desktop element, scaled to the screen. */
@media (min-width: 641px) and (max-width: 1024px) {
  .section {
    min-height: calc(100svh - 56px);
    padding: 72px 32px;
  }

  .motif {
    width: clamp(70px, 11vw, 120px);
    opacity: 0.5;
  }

  .motif-page {
    width: clamp(80px, 12.5vw, 140px);
  }
}

/* Tablet portrait: the hero SVG crops its sides (slice), so pull the
   decorations into the area that stays visible on 3:4-and-taller screens. */
@media (min-width: 641px) and (max-width: 1024px) and (orientation: portrait) {
  .hero-pencils {
    transform: translate(850px, 80px) rotate(12deg) scale(0.75);
    transform-origin: 0 0;
  }

  .hero-leaves {
    transform: translate(880px, 660px) scale(0.75);
    transform-origin: 0 0;
  }

  .hero-page {
    transform: translate(400px, 170px) scale(0.75);
    transform-origin: 0 0;
  }
}

/* Short landscape screens (landscape phones): the hero SVG crops top and
   bottom instead, so keep the decorations inside the visible vertical band. */
@media (min-width: 641px) and (max-width: 1024px) and (orientation: landscape) and (max-height: 500px) {
  .hero-pencils {
    transform: translate(1130px, 170px) rotate(12deg) scale(0.6);
    transform-origin: 0 0;
  }

  .hero-leaves {
    transform: translate(1150px, 470px) scale(0.6);
    transform-origin: 0 0;
  }

  .hero-page {
    transform: translate(140px, 260px) scale(0.55);
    transform-origin: 0 0;
  }

  .motif {
    width: 64px;
    opacity: 0.35;
  }
}

/* Mobile: 640px and below */
@media (max-width: 640px) {
  .nav {
    gap: 18px;
    padding-inline: 14px;
  }

  .nav a {
    font-size: 0.84rem;
  }

  .hero {
    min-height: calc(100svh - 53px);
  }

  .section {
    flex: 0 0 auto;
    min-height: calc(100svh - 56px);
    height: auto;
    padding: 56px 16px;
  }

  .section .container {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hero-page {
    display: none;
  }

  .hero-pencils {
    transform: translate(805px, 92px) rotate(12deg) scale(0.65);
    transform-origin: 0 0;
  }

  .hero-leaves {
    transform: translate(800px, 650px) scale(0.72);
    transform-origin: 0 0;
  }

  .mission-line {
    top: 42%;
    width: calc(100% - 32px);
    opacity: 0.55;
  }

  .motif {
    display: none;
  }

  .motif-tr,
  .motif-page {
    display: block;
    width: 88px;
    opacity: 0.4;
  }

  .motif-tr {
    top: -6px;
    right: -6px;
  }

  .motif-page {
    bottom: -8px;
    right: -8px;
  }

  .brand-mark {
    align-items: center;
    font-size: clamp(5rem, 27vw, 7.5rem);
    line-height: 0.78;
  }

  .hero-kicker {
    letter-spacing: 0.18em;
  }

  .section dl {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .section dd {
    margin-bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .container,
  .hero-content,
  .section h1::after,
  .section h2::after {
    animation: none;
  }
}
