/* Jackie Marenda — shared styles
   Ocean palette:
     ink       #0d3b45   deep-ink #062a33
     water     #5bbccb   red      #ff5a4f   red-dark #e6473d
     yellow    #ffd23f   teal     #2ec4b6   blue     #4ea8ff
     sea-deep  #12889a   text     #4a4270
*/

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #5bbccb;
  color: #0d3b45;
  font-family: 'Nunito', sans-serif;
  overflow-x: hidden;
}

a { color: #ff5a4f; text-decoration: none; }
a:hover { color: #e6473d; }
::selection { background: #ffd23f; color: #0d3b45; }

h1, h2, h3, h4, .display { font-family: 'Fredoka', sans-serif; }

/* ---------- Reusable buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  border: 3px solid #0d3b45;
  border-radius: 16px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); }

.btn--yellow { background: #ffd23f; color: #0d3b45; box-shadow: 5px 5px 0 #0d3b45; padding: 14px 28px; font-size: 19px; }
.btn--yellow:hover { box-shadow: 7px 7px 0 #0d3b45; color: #0d3b45; }
.btn--white  { background: #fff; color: #0d3b45; box-shadow: 5px 5px 0 #0d3b45; padding: 14px 28px; font-size: 19px; }
.btn--white:hover { box-shadow: 7px 7px 0 #0d3b45; color: #0d3b45; }

/* ---------- Decorative floating bubbles ---------- */
.bubbles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bubble { position: absolute; border-radius: 50%; border: 2px solid #0d3b45; }
.bubble.b1 { top: 14%; left: 5%;  width: 26px; height: 26px; background: rgba(46,196,182,.55); animation: floatyslow 7s ease-in-out infinite; }
.bubble.b2 { top: 70%; left: 8%;  width: 16px; height: 16px; background: rgba(78,168,255,.5);  animation: floaty 6s ease-in-out infinite; }
.bubble.b3 { top: 30%; right: 6%; width: 34px; height: 34px; background: rgba(255,210,63,.5);  animation: floatyslow 8s ease-in-out infinite; }
.bubble.b4 { top: 82%; right: 10%;width: 22px; height: 22px; background: rgba(255,122,89,.45); animation: floaty 5.5s ease-in-out infinite; }
.bubble.b5 { top: 52%; left: 3%;  width: 12px; height: 12px; background: rgba(46,196,182,.5);  animation: floaty 6.5s ease-in-out infinite; }
.bubble.b6 { top: 44%; right: 3%; width: 14px; height: 14px; background: rgba(78,168,255,.5);  animation: floatyslow 7.5s ease-in-out infinite; }
.bubble.b7 { top: 22%; left: 14%; width: 18px; height: 18px; background: rgba(255,210,63,.45); animation: floaty 8.5s ease-in-out infinite; }
.bubble.b8 { top: 62%; right: 16%;width: 28px; height: 28px; background: rgba(46,196,182,.4);  animation: floatyslow 9s ease-in-out infinite; }
.bubble.b9 { top: 8%;  right: 22%;width: 12px; height: 12px; background: rgba(255,122,89,.45); animation: floaty 7s ease-in-out infinite; }
.bubble.b10{ top: 88%; left: 24%; width: 20px; height: 20px; background: rgba(78,168,255,.45); animation: floatyslow 8s ease-in-out infinite; }
.bubble.b11{ top: 38%; left: 46%; width: 10px; height: 10px; background: rgba(46,196,182,.5);  animation: floaty 6.2s ease-in-out infinite; }
.bubble.b12{ top: 74%; right: 40%;width: 15px; height: 15px; background: rgba(255,210,63,.4);  animation: floatyslow 9.5s ease-in-out infinite; }

@keyframes floaty     { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes floatyslow { 0%,100% { transform: translateY(0); } 50% { transform: translateY(14px); } }
@keyframes spinslow   { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* ---------- Header / nav ---------- */
.site-header { position: relative; z-index: 50; overflow: hidden; min-height: 150px; }
.site-header .wave { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.header-inner {
  position: relative; z-index: 2;
  max-width: 1180px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

.brand { display: flex; align-items: center; gap: 6px; transform: translateY(-25px); }
.brand-turtle { width: 108px; height: 108px; object-fit: contain; transform: rotate(-6deg); filter: drop-shadow(2px 3px 3px rgba(13,59,69,.25)); }
.brand-name {
  font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 32px; letter-spacing: 2px;
  color: #0d3b45; line-height: 1.02;
  text-shadow: 0 1px 0 rgba(255,255,255,.7), 0 2px 6px rgba(255,255,255,.55);
}
.brand-name-2 { color: #ff5a4f; }

.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; transform: translateY(-30px); }
.nav-btn {
  font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 16px;
  padding: 9px 16px; border-radius: 999px;
  border: 3px solid rgba(13,59,69,.35);
  background: rgba(255,255,255,.72); color: #0d3b45;
  transition: background .15s ease;
}
.nav-btn:hover { background: #ffd23f; color: #0d3b45; }
.nav-btn.is-active { border-color: #0d3b45; background: #ffd23f; }

.say-hi {
  font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 16px;
  padding: 9px 20px; border-radius: 999px;
  background: #ff5a4f; color: #fff; border: 3px solid #0d3b45;
  box-shadow: 3px 3px 0 #0d3b45; cursor: pointer;
}
.say-hi:hover { background: #e6473d; }

.main { position: relative; z-index: 1; }

/* ---------- Home: hero ---------- */
.hero {
  position: relative; max-width: 1180px; margin: 0 auto; padding: 20px 24px 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start;
}
.hero h1 {
  font-weight: 700; font-size: clamp(78px, 12vw, 150px); line-height: .9;
  margin: 0 0 8px; color: #0b6b74; letter-spacing: 3px; text-wrap: balance;
}
.hero h1 .dot { color: #ff7a59; }
.hero-tagline { font-size: 20px; line-height: 1.5; max-width: 30ch; font-weight: 600; color: #4a4270; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-art { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-art img { width: 88%; max-width: 440px; filter: drop-shadow(5px 8px 6px rgba(13,59,69,.28)); }

/* ---------- Home: colour strip + latest release ---------- */
.color-strip { display: flex; height: 14px; }
.color-strip span { flex: 1; }

.latest { background: #0d3b45; color: #fff; padding: 60px 24px; position: relative; overflow: hidden; }
.latest .sparkle { position: absolute; top: 20px; right: 40px; font-size: 60px; opacity: .5; animation: spinslow 24s linear infinite; }
.latest-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: .7fr 1.3fr; gap: 44px; align-items: center; }
.latest-cover-wrap { position: relative; }
.latest-cover-bg { position: absolute; top: -14px; left: -14px; right: 14px; bottom: 14px; background: #ff5a4f; border-radius: 16px; border: 3px solid #062a33; }
.latest-cover {
  position: relative; aspect-ratio: 2/3; border-radius: 16px; border: 4px solid #062a33;
  overflow: hidden; box-shadow: 6px 6px 0 #062a33; transform: rotate(-3deg); background: #d9eef0;
}
.latest-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge-hot {
  display: inline-block; font-family: 'Fredoka', sans-serif; font-weight: 600;
  background: #ffd23f; color: #0d3b45; padding: 6px 16px; border-radius: 999px; font-size: 15px; letter-spacing: 1px;
}
.latest h2 { font-weight: 700; font-size: clamp(34px, 4.5vw, 54px); line-height: 1.02; margin: 16px 0 6px; }
.latest-series { font-family: 'Fredoka', sans-serif; font-weight: 500; color: #ffd23f; font-size: 20px; margin: 0 0 14px; }
.latest-blurb { font-size: 18px; line-height: 1.55; max-width: 52ch; color: #d9d4f2; font-weight: 600; }
.latest-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
.btn--teal {
  background: #2ec4b6; color: #062a33; border: 3px solid #062a33; box-shadow: 5px 5px 0 #062a33;
  padding: 13px 26px; font-size: 18px; border-radius: 14px;
}
.btn--teal:hover { box-shadow: 7px 7px 0 #062a33; color: #062a33; }
.btn--ondark-white {
  background: #fff; color: #0d3b45; border: 3px solid #062a33; box-shadow: 5px 5px 0 #062a33;
  padding: 13px 26px; font-size: 18px; border-radius: 14px;
}
.btn--ondark-white:hover { background: #ffd23f; box-shadow: 7px 7px 0 #062a33; color: #0d3b45; }

/* ---------- Page heads ---------- */
.page-head { text-align: center; padding: 56px 24px 34px; }
.page-eyebrow {
  display: inline-block; font-family: 'Fredoka', sans-serif; font-weight: 600;
  color: #fff; padding: 6px 18px; border-radius: 999px;
  border: 3px solid #0d3b45; box-shadow: 3px 3px 0 #0d3b45; transform: rotate(-2deg);
}
.page-head h1 { font-weight: 700; font-size: clamp(46px, 6vw, 78px); margin: 20px 0 8px; color: #0d3b45; }
.page-head p { font-size: 19px; font-weight: 600; max-width: 46ch; margin: 0 auto; color: #4a4270; }

/* ---------- Books ---------- */
.books { max-width: 1120px; margin: 0 auto; padding: 10px 24px 80px; display: flex; flex-direction: column; gap: 40px; }
.book-row {
  display: flex; gap: 34px; align-items: center; flex-wrap: wrap;
  background: #fff; border: 3px solid #0d3b45; border-radius: 22px; box-shadow: 7px 7px 0 #0d3b45; padding: 28px;
}
.book-cover-wrap { flex: 0 0 auto; width: 210px; }
.book-cover {
  aspect-ratio: 2/3; border-radius: 14px; border: 3px solid #0d3b45; overflow: hidden;
  background: #d9eef0; box-shadow: 6px 6px 0 #0d3b45; transform: rotate(-2deg);
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book-body { flex: 1; min-width: 240px; }
.book-badge {
  display: inline-block; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 13px;
  padding: 4px 14px; border-radius: 999px; border: 2px solid #0d3b45;
  background: var(--accent); color: var(--on-accent, #fff);
}
.book-row h2 { font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; margin: 12px 0 4px; color: #0d3b45; }
.book-series { font-family: 'Fredoka', sans-serif; font-weight: 500; font-size: 18px; color: #12889a; margin: 0 0 12px; }
.book-blurb { font-size: 17px; line-height: 1.55; font-weight: 600; color: #4a4270; max-width: 56ch; }
.btn-buy {
  display: inline-block; margin-top: 16px; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 16px;
  padding: 11px 22px; border-radius: 12px; border: 3px solid #0d3b45; box-shadow: 4px 4px 0 #0d3b45;
  background: var(--accent); color: var(--on-accent, #0d3b45);
  transition: transform .15s ease, filter .15s ease;
}
.btn-buy:hover { filter: brightness(1.05); transform: translate(-1px, -1px); color: var(--on-accent, #0d3b45); }

/* ---------- About ---------- */
.about-quote-wrap { max-width: 1080px; margin: 0 auto; padding: 56px 24px 10px; }
.about-quote {
  background: #12889a; border: 4px solid #0d3b45; border-radius: 28px; box-shadow: 8px 8px 0 #0d3b45;
  padding: 36px; color: #fff; position: relative; overflow: hidden;
  display: grid; grid-template-columns: .55fr 1fr; gap: 34px; align-items: center;
}
.about-quote .sparkle { position: absolute; top: -24px; right: 26px; font-size: 80px; opacity: .3; }
.about-photo-wrap { position: relative; }
.about-photo-dot {
  position: absolute; top: -16px; left: -16px; width: 78px; height: 78px;
  background: #ffd23f; border-radius: 50%; border: 3px solid #0d3b45; z-index: 0;
  animation: floaty 6s ease-in-out infinite;
}
.about-photo {
  position: relative; z-index: 1; aspect-ratio: 1/1; border-radius: 50%; border: 4px solid #0d3b45;
  overflow: hidden; box-shadow: 6px 6px 0 #062a33; background: #d9eef0;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-quote blockquote { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: clamp(26px, 3.4vw, 42px); line-height: 1.15; margin: 0; position: relative; z-index: 1; }
.about-quote cite { display: block; font-family: 'Fredoka', sans-serif; font-weight: 500; font-size: 18px; margin: 16px 0 0; color: #ffd23f; font-style: normal; }

.about-bio { max-width: 1040px; margin: 0 auto; padding: 36px 24px 20px; }
.about-bio h1 { font-weight: 700; font-size: clamp(38px, 5vw, 62px); line-height: 1; margin: 18px 0 16px; color: #0d3b45; }
.about-bio p { font-size: 18px; line-height: 1.6; font-weight: 600; color: #4a4270; }
.about-bio em { color: #12889a; }
.about-aside {
  float: right; width: 320px; max-width: 100%; margin: 6px 0 20px 30px;
  background: #fff; border: 3px solid #0d3b45; border-radius: 22px; box-shadow: 7px 7px 0 #0d3b45; padding: 26px;
}
.about-aside .aside-tag {
  display: block; text-align: center; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 18px;
  background: #2ec4b6; color: #0f2f2b; padding: 9px 14px; border-radius: 999px; border: 2px solid #0d3b45;
}
.about-aside h3 { font-weight: 700; font-size: 22px; margin: 16px 0 6px; color: #0d3b45; }
.about-aside p { font-size: 16px; line-height: 1.55; font-weight: 600; color: #4a4270; margin: 0; }
.about-cta { text-align: center; padding: 20px 24px 70px; }

/* ---------- Gallery ---------- */
.gallery-grid {
  max-width: 1120px; margin: 0 auto; padding: 10px 24px 80px;
  columns: 3 320px; column-gap: 26px;
}
.gallery-item {
  break-inside: avoid; -webkit-column-break-inside: avoid;
  cursor: default; margin: 0 0 26px; background: #fff; border: 3px solid #0d3b45; border-radius: 20px;
  box-shadow: 6px 6px 0 #0d3b45; padding: 14px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.gallery-item:nth-child(odd)  { transform: rotate(-1deg); }
.gallery-item:nth-child(even) { transform: rotate(1deg); }
.gallery-item:hover { transform: translateY(-4px) scale(1.02) rotate(0deg); box-shadow: 8px 10px 0 #0d3b45; }
.gallery-photo { border-radius: 14px; overflow: hidden; border: 3px solid #0d3b45; background: #d9eef0; }
.gallery-photo img { width: 100%; height: auto; display: block; }
.gallery-cap { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 16px; color: #0d3b45; margin: 12px 4px 0; }

/* ---------- Events ---------- */
.events { max-width: 900px; margin: 0 auto; padding: 10px 24px 30px; }
.events h2.section-title { font-weight: 700; font-size: clamp(26px, 3.2vw, 36px); margin: 0 0 20px; color: #0d3b45; }
.event-list { display: flex; flex-direction: column; gap: 22px; }
.event-card {
  display: flex; gap: 22px; align-items: stretch; flex-wrap: wrap;
  background: #fff; border: 3px solid #0d3b45; border-radius: 22px; box-shadow: 7px 7px 0 #0d3b45; padding: 22px;
}
.event-date {
  flex: 0 0 auto; width: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: var(--accent); color: var(--on-accent, #fff); border: 3px solid #0d3b45; border-radius: 16px; padding: 14px 8px;
}
.event-date .month { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 16px; letter-spacing: 2px; text-transform: uppercase; }
.event-date .day { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 36px; line-height: .9; }
.event-body { flex: 1; min-width: 240px; }
.event-tag {
  display: inline-block; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 13px;
  padding: 4px 14px; border-radius: 999px; border: 2px solid #0d3b45;
  background: var(--accent); color: var(--on-accent, #fff);
}
.event-body h3 { font-weight: 700; font-size: clamp(24px, 3vw, 32px); line-height: 1.05; margin: 10px 0 4px; color: #0d3b45; }
.event-time { font-family: 'Fredoka', sans-serif; font-weight: 500; font-size: 17px; color: #12889a; margin: 0 0 8px; }
.event-loc { font-size: 16px; line-height: 1.5; font-weight: 600; color: #4a4270; margin: 0; max-width: 56ch; }
.events-note { text-align: center; font-size: 17px; font-weight: 600; color: #4a4270; margin: 26px 0 0; }

.past-events { max-width: 900px; margin: 0 auto; padding: 20px 24px 80px; }
.past-events h2 { font-weight: 700; font-size: clamp(24px, 3vw, 32px); margin: 0 0 18px; color: #0d3b45; }
.past-year { margin-bottom: 22px; }
.past-year h3 { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 20px; color: #12889a; margin: 0 0 10px; }
.past-table { background: #fff; border: 3px solid #0d3b45; border-radius: 18px; box-shadow: 5px 5px 0 #0d3b45; overflow: hidden; }
.past-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: baseline; padding: 12px 18px; }
.past-row:nth-child(even) { background: #f3f8f9; }
.past-row .past-date { flex: 0 0 150px; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 15px; color: #0d3b45; }
.past-row .past-name { flex: 1; min-width: 200px; font-size: 15px; font-weight: 600; color: #4a4270; }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 1; background: #0d3b45; color: #fff; padding: 52px 24px 30px; }
.footer-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1.6fr; gap: 48px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-turtle-badge {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px;
  background: #fff; border: 3px solid #062a33; transform: rotate(-6deg); overflow: hidden;
}
.footer-turtle-badge img { width: 42px; height: 42px; object-fit: contain; transform: rotate(6deg); }
.footer-brand-name { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 26px; letter-spacing: 2px; }
.footer-tagline { font-weight: 600; color: #c9c3ec; margin: 16px 0 0; max-width: 34ch; }
.footer-col h4 { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 16px; letter-spacing: 2px; color: #ffd23f; margin: 0 0 16px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 24px; }
.footer-links a, .footer-links span { color: #fff; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 16px; }
.footer-links a:hover { color: #ffd23f; }
.footer-legal { max-width: 1180px; margin: 34px auto 0; padding-top: 20px; border-top: 2px solid rgba(255,255,255,.15); font-size: 13px; color: #9d97c9; font-weight: 600; }

/* ---------- Contact slide-in ---------- */
.contact-overlay {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(13,59,69,0); transition: background .4s ease; pointer-events: none;
}
.contact-overlay.is-open { background: rgba(13,59,69,.62); pointer-events: auto; }
.contact-panel {
  position: relative; width: min(440px, 100%); background: #fff; border: 4px solid #0d3b45; border-radius: 24px;
  box-shadow: 10px 12px 0 #062a33; padding: 22px 26px;
  transform: translateX(135vw); transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}
.contact-overlay.is-open .contact-panel { transform: translateX(0); }
.contact-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%;
  background: #ffd23f; color: #0d3b45; border: 3px solid #0d3b45; font-size: 20px; font-weight: 700; cursor: pointer; line-height: 1;
}
.contact-panel h2 { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 26px; color: #0d3b45; margin: 0; }
.contact-intro { font-weight: 600; font-size: 14px; color: #4a4270; margin: 5px 0 14px; }
.contact-form { display: flex; flex-direction: column; gap: 10px; }
.contact-form label { display: flex; flex-direction: column; gap: 5px; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 14px; color: #0d3b45; }
.contact-form input, .contact-form textarea {
  font-family: 'Nunito', sans-serif; font-size: 16px; padding: 9px 14px;
  border-radius: 12px; border: 3px solid #0d3b45; background: #f4fbfc;
}
.contact-form textarea { resize: vertical; }
.contact-send {
  font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 17px; padding: 11px 20px; border-radius: 999px;
  background: #2ec4b6; color: #fff; border: 3px solid #0d3b45; box-shadow: 4px 4px 0 #0d3b45; cursor: pointer; margin-top: 2px;
}
.contact-send:hover { background: #26a99d; }
.contact-sent { display: none; text-align: center; padding: 20px 0 8px; }
.contact-sent .emoji { font-size: 52px; }
.contact-sent h2 { margin-top: 10px; }
.contact-sent p { font-weight: 600; font-size: 15px; color: #4a4270; margin: 8px 0 20px; }
.contact-sent button {
  font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 16px; padding: 11px 22px; border-radius: 999px;
  background: #ffd23f; color: #0d3b45; border: 3px solid #0d3b45; box-shadow: 4px 4px 0 #0d3b45; cursor: pointer;
}
.contact-panel.is-sent .contact-body { display: none; }
.contact-panel.is-sent .contact-sent { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .hero, .latest-inner, .about-quote, .footer-inner { grid-template-columns: 1fr; }
  .about-aside { float: none; width: auto; margin: 20px 0; }
  .brand { transform: none; }
  .nav { transform: none; }
  .header-inner { flex-wrap: wrap; }
}
