:root {
  --ink: #22313F;
  --muted: #4E5B68;
  --green: #2F7A4B;
  --green-dark: #23603A;
  --line: #D5E3DA;
  --sky: #E3F1FB;
  --mint: #E4F2E8;
  --sun: #FFE08A;
  --red: #D0413C;
  --dirt: #EBCB9C;
  --ground: #F5FAF6;
  --display: 'Fredoka', 'Trebuchet MS', sans-serif;
  --script: 'Yellowtail', 'Brush Script MT', cursive;
  --body: 'Atkinson Hyperlegible', 'Segoe UI', system-ui, sans-serif;
  --gutter: clamp(20px, 6vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(46px, 7vw, 92px); }
h2 { font-size: clamp(36px, 5vw, 64px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
p { margin: 0; }
.wrap { max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }
.lede { font-size: clamp(18px, 1.6vw, 22px); color: #3C4A57; max-width: 36ch; }

.btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: 18px; padding: 16px 28px; border-radius: 999px; border: 2px solid var(--green); background: var(--green); color: #FFFFFF; cursor: pointer; font-family: inherit; text-align: center; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #FFFFFF; }
.btn-outline { background: transparent; color: var(--green); }
.btn-outline:hover { background: var(--mint); color: var(--green-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.site-header { border-bottom: 2px solid var(--line); background: var(--ground); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.logo { display: flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--red); }
.logo-script { font-family: var(--script); font-size: 46px; line-height: 1; }
.logo-word { font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 17px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; padding-bottom: 4px; border-bottom: 3px solid transparent; }
.site-nav a:not(.btn):hover { border-bottom-color: var(--line); }
.site-nav a[aria-current="page"] { color: var(--green); font-weight: 700; border-bottom-color: var(--green); }
.site-nav .btn { padding: 11px 22px; font-size: 17px; }
.menu-btn { display: none; background: #FFFFFF; border: 2px solid var(--green); color: var(--green); border-radius: 999px; padding: 10px 18px; font: inherit; font-weight: 700; cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; padding-block: 88px 120px; position: relative; }
.hero-text { display: flex; flex-direction: column; gap: 28px; position: relative; z-index: 1; }
.stitches { position: absolute; right: -260px; top: -120px; width: 900px; height: 900px; pointer-events: none; }
.report-card { position: relative; z-index: 1; justify-self: center; width: min(100%, 440px); background: #FFFFFF; border-radius: 28px; padding: 22px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 18px 40px rgba(34, 49, 63, 0.14); transform: rotate(-2deg); }
.report-card img { border-radius: 20px; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 65%; width: 100%; background: var(--sky); }
.report-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.report-head h2 { font-size: 30px; }
.pill { background: var(--sun); padding: 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; text-align: center; }
.stats li { background: var(--mint); border-radius: 16px; padding: 10px 4px; display: flex; flex-direction: column; line-height: 1.1; }
.stats strong { font-family: var(--display); font-weight: 600; font-size: 28px; }
.stats span { font-size: 13px; color: var(--muted); margin-top: 4px; }
.report-card .note { font-size: 16px; line-height: 1.5; }
.report-card .from { font-size: 15px; color: var(--muted); }

/* Lineup */
.lineup { background: #FFFFFF; border-top: 2px solid var(--line); padding-block: 112px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 48px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head p { max-width: 42ch; color: #3C4A57; }
.lineup-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--line); }
.lineup-list li { display: grid; grid-template-columns: 40px 280px minmax(0, 1fr) 270px; gap: 12px 28px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.lineup-list .slot { color: var(--green); align-self: start; display: flex; margin-top: 2px; }
.lineup-list .svc-icon { width: 32px; height: 32px; }
.lineup-list .starter .slot { color: var(--red); }
.lineup-list .starter h3 { font-size: clamp(26px, 2.6vw, 32px); }
.lineup-list p { color: #3C4A57; }
.pay-line { margin-top: 28px; color: #3C4A57; }
.pay-line strong { color: var(--ink); }
.lineup-list .price { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.3; text-align: right; color: var(--green); }

/* CTA band */
.cta-band { background: var(--sun); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px 48px; padding-block: 88px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(32px, 4vw, 52px); }
.cta-band p { color: var(--muted); font-size: 20px; margin-top: 10px; }

/* Bases */
.bases { background: var(--sky); padding-block: 112px; }
.bases .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px 80px; align-items: center; }
.diamond { position: relative; width: min(100%, 520px); aspect-ratio: 1; justify-self: center; }
.infield { position: absolute; left: 25.25%; top: 25.25%; width: 49.5%; height: 49.5%; transform: rotate(45deg); background: var(--dirt); border: 6px solid #FFFFFF; border-radius: 24px; }
.base { position: absolute; width: 11%; aspect-ratio: 1; transform: translate(-50%, -50%) rotate(45deg); background: #FFFFFF; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 600; font-size: clamp(14px, 2vw, 20px); border-radius: 4px; }
.base span { transform: rotate(-45deg); }
.base.first { left: 85%; top: 50%; }
.base.second { left: 50%; top: 15%; }
.base.third { left: 15%; top: 50%; }
.plate { position: absolute; left: 50%; top: 85%; width: 16%; aspect-ratio: 8 / 7; transform: translate(-50%, -50%); background: var(--green); color: #FFFFFF; display: flex; align-items: center; justify-content: center; padding-bottom: 6%; font-family: var(--display); font-weight: 600; font-size: clamp(13px, 1.8vw, 18px); clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.steps li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; }
.steps .base-name { font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--green); }

/* Booking */
.booking { padding-block: 112px; }
.booking .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 80px; }
.booking-intro { display: flex; flex-direction: column; gap: 22px; }
.contact { display: flex; flex-direction: column; gap: 6px; font-size: 19px; }
.contact a { font-weight: 700; }
.form-card { background: #FFFFFF; border: 2px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 20px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-card label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 16px; }
.form-card input, .form-card select, .form-card textarea { font: inherit; font-weight: 400; padding: 14px 16px; border: 1.5px solid #8C95A5; border-radius: 12px; background: #FFFFFF; color: var(--ink); width: 100%; }
.form-card textarea { min-height: 110px; resize: vertical; }
.hidden-field { position: absolute; left: -9999px; }

/* Team */
.team { padding-block: 112px; }
.team .wrap { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 56px 80px; align-items: center; }
.team img { border-radius: 28px; border: 2px solid var(--line); aspect-ratio: 8 / 9; object-fit: cover; width: 100%; background: var(--sky); }
.team-copy { display: flex; flex-direction: column; gap: 22px; max-width: 640px; }
.team-copy p { font-size: 20px; color: #3C4A57; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: center; }
.checks svg { flex-shrink: 0; }

/* FAQ */
.faq { background: #FFFFFF; border-top: 2px solid var(--line); padding-block: 112px; }
.faq .wrap { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 40px 80px; align-items: start; }
.faq-list { border-top: 2px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-list summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 22px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--green); font-size: 28px; line-height: 1; }
.faq-list details[open] summary::after { content: '\2212'; }
.faq-list details p { margin-top: 10px; color: #3C4A57; }

/* Thanks */
.thanks { padding-block: 140px; text-align: center; }
.thanks .wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.thanks .big { font-family: var(--script); color: var(--red); font-size: 80px; line-height: 1; }

/* Footer */
.site-footer { background: var(--green); color: #E8F4EC; font-size: 16px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; min-height: 102px; flex-wrap: wrap; padding-block: 20px; }
.site-footer .logo-script { color: #FFFFFF; }
.site-footer a { color: #FFFFFF; }

/* Gallery */
.gallery { padding-block: 96px 112px; }
.gallery-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 36px 32px; }
.pet-card { width: 100%; font: inherit; color: var(--ink); text-align: left; cursor: pointer; background: #FFFFFF; border: 0; border-radius: 22px; padding: 12px 12px 18px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 12px 28px rgba(34, 49, 63, 0.12); transform: rotate(-1.5deg); transition: transform .2s ease, box-shadow .2s ease; }
.gallery-grid li:nth-child(even) .pet-card { transform: rotate(1.5deg); }
.gallery-grid li:nth-child(3n) .pet-card { transform: rotate(-0.5deg); }
.pet-card:hover, .pet-card:focus-visible { transform: rotate(0) translateY(-4px); box-shadow: 0 18px 36px rgba(34, 49, 63, 0.18); }
.gallery-grid li:nth-child(n) .pet-card:hover, .gallery-grid li:nth-child(n) .pet-card:focus-visible { transform: rotate(0) translateY(-4px); }
.pet-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; background: var(--sky); margin-bottom: 10px; }
.pet-name { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.2; padding-inline: 4px; }
.pet-pos { font-size: 15px; color: var(--green); font-weight: 700; padding-inline: 4px; }
.lightbox { border: 0; border-radius: 24px; padding: 16px; max-width: min(92vw, 820px); background: #FFFFFF; color: var(--ink); }
.lightbox::backdrop { background: rgba(34, 49, 63, 0.75); }
.lightbox img { max-height: 76vh; width: auto; margin: 0 auto; border-radius: 14px; }
.lightbox-caption { text-align: center; margin-top: 12px; font-family: var(--display); font-weight: 600; font-size: 20px; }
.lightbox-close { display: block; margin: 0 0 12px auto; font: inherit; font-weight: 700; background: #FFFFFF; color: var(--green); border: 2px solid var(--green); border-radius: 999px; padding: 8px 18px; cursor: pointer; }

/* Fan mail */
.fans { background: var(--sky); padding-block: 112px; }
.fan-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.fan-card { background: #FFFFFF; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 10px 24px rgba(34, 49, 63, 0.08); }
.stars { display: flex; gap: 2px; }
.fan-card blockquote { margin: 0; font-size: 18px; line-height: 1.55; flex-grow: 1; }
.fan-name { display: flex; flex-direction: column; line-height: 1.35; }
.fan-name span { color: var(--muted); font-size: 16px; }
.fan-source { align-self: flex-start; background: var(--mint); color: var(--green-dark); font-size: 14px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
@media (max-width: 960px) {
  .fan-grid { grid-template-columns: minmax(0, 1fr); }
  .fans, .gallery { padding-block: 72px; }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .pet-card { padding: 8px 8px 12px; border-radius: 16px; }
  .pet-name { font-size: 18px; }
  .pet-pos { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .pet-card { transition: none; } }

/* Intro */
.intro { position: fixed; inset: 0; z-index: 100; background: var(--sky); animation: introOut 7s ease-in forwards; }
.intro svg { width: 100%; height: 100%; display: block; }
.intro .skip { position: absolute; right: 24px; top: 24px; font: inherit; font-size: 16px; font-weight: 700; background: #FFFFFF; color: var(--ink); border: 2px solid var(--green); padding: 10px 20px; border-radius: 999px; cursor: pointer; }
@keyframes introOut { 0%, 86% { transform: translateY(0); } 100% { transform: translateY(-104%); } }
.pb-pug { animation: pbWalk 7s linear forwards; }
@keyframes pbWalk { 0% { transform: translate(-300px, 700px); } 37% { transform: translate(580px, 700px); } 69% { transform: translate(580px, 700px); animation-timing-function: ease-out; } 71.5% { transform: translate(580px, 662px); animation-timing-function: ease-in; } 74% { transform: translate(580px, 700px); animation-timing-function: ease-out; } 76.5% { transform: translate(580px, 672px); animation-timing-function: ease-in; } 79%, 100% { transform: translate(580px, 700px); } }
.pb-bob { animation: pbBob .3s ease-in-out 9 alternate; }
@keyframes pbBob { from { transform: translateY(0); } to { transform: translateY(-5px); } }
.pb-leg { transform-box: fill-box; transform-origin: 50% 0; }
.pb-legA { animation: pbLegA .3s ease-in-out 9 alternate; }
.pb-legB { animation: pbLegB .3s ease-in-out 9 alternate; }
@keyframes pbLegA { from { transform: rotate(20deg); } to { transform: rotate(-20deg); } }
@keyframes pbLegB { from { transform: rotate(-20deg); } to { transform: rotate(20deg); } }
.pb-tail { transform-origin: -78px -118px; animation: pbWag .35s ease-in-out infinite alternate; }
@keyframes pbWag { from { transform: rotate(-12deg); } to { transform: rotate(14deg); } }
.pb-head { transform-origin: 60px -110px; animation: pbHead 7s ease-in-out forwards; }
@keyframes pbHead { 0%, 37% { transform: rotate(0); } 41%, 44% { transform: rotate(45deg); } 49% { transform: rotate(-4deg); } 56%, 61% { transform: rotate(-24deg); } 63% { transform: rotate(38deg); animation-timing-function: ease-out; } 68% { transform: rotate(8deg); } 72%, 100% { transform: rotate(0); } }
.pb-batGround { animation: pbHide 7s step-end forwards; }
@keyframes pbHide { 0% { opacity: 1; } 44%, 100% { opacity: 0; } }
.pb-batMouth { animation: pbShow 7s step-end forwards; }
@keyframes pbShow { 0% { opacity: 0; } 44%, 100% { opacity: 1; } }
.pb-tongue { animation: pbTongue 7s step-end forwards; }
@keyframes pbTongue { 0% { opacity: 0; } 66%, 100% { opacity: 1; } }
.pb-ball { animation: pbBall 7s linear forwards; }
@keyframes pbBall { 0%, 49.9% { opacity: 0; transform: translate(1560px, 380px); } 50% { opacity: 1; transform: translate(1560px, 380px); } 55% { transform: translate(1320px, 420px); } 60% { transform: translate(1030px, 540px); } 63% { transform: translate(850px, 648px); } 66% { transform: translate(1010px, 410px); } 72% { transform: translate(1300px, 120px); } 78%, 100% { opacity: 1; transform: translate(1600px, -140px); } }
.pb-spin { animation: pbSpin .5s linear infinite; }
@keyframes pbSpin { to { transform: rotate(360deg); } }
.pb-crack { transform-origin: 860px 630px; animation: pbCrack 7s ease-out forwards; }
@keyframes pbCrack { 0%, 62.9% { opacity: 0; transform: scale(0); } 65% { opacity: 1; transform: scale(1.15); } 69% { opacity: 1; transform: scale(1); } 74%, 100% { opacity: 0; transform: scale(1); } }
.pb-hr { transform-origin: 720px 250px; animation: pbHR 7s ease-out forwards; }
@keyframes pbHR { 0%, 67% { opacity: 0; transform: scale(.6); } 71% { opacity: 1; transform: scale(1.08); } 74%, 100% { opacity: 1; transform: scale(1); } }
body.intro-playing { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } html { scroll-behavior: auto; } }

/* Tablet and phone */
@media (max-width: 960px) {
  .menu-btn { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ground); border-bottom: 2px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; }
  .hero .wrap, .bases .wrap, .booking .wrap, .team .wrap, .faq .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { padding-block: 56px 80px; }
  .lineup-list li { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .lineup-list li p { grid-column: 2 / -1; }
  .lineup-list li .price { grid-column: 2 / -1; text-align: left; }
  .team img { max-width: 480px; }
  .lineup, .bases, .booking, .team, .faq { padding-block: 72px; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .site-header .wrap { min-height: 76px; }
  .logo-script { font-size: 38px; }
  .btn-row .btn { flex: 1 1 100%; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .lineup-list li { grid-template-columns: 30px minmax(0, 1fr); gap: 8px 14px; align-items: center; }
  .lineup-list li p, .lineup-list li .price { grid-column: 1 / -1; }
  .steps li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .report-card { transform: none; }
  .stitches { display: none; }
  .report-head h2 { font-size: 24px; }
  .stats strong { font-size: 24px; }
  .site-footer .wrap { justify-content: center; text-align: center; }
}
