/* ============================================================
   The Seagull page — "Seagull style" design (Page text → Page design → Seagull style)
   Loaded on top of assets/seagull.css only when that design is chosen. Taken from The
   Seagull's flyers and building: cream paper, mint and sky-blue boxes, Level Two purple,
   container blue, gulls, the flyer's burst lines and torn-paper edges, and the rounded
   Fredoka display font (assets/fonts/seagull.css). Everything is scoped to .sg-page--seagull.
   Contrast: body text #4b4560 on cream 8.4:1; teal #0f5e55 on mint 6.2:1; white on
   container blue 9.8:1; buttons as seagull.css (white on #b9501f 4.9:1).
   ============================================================ */

.sg-page--seagull {
  --sg-purple:      #5815a3;
  --sg-purple-soft: #f0e7fb;
  --sg-mint:        #cfeee6;
  --sg-mint-strong: #9fe3d3;
  --sg-teal:        #0f5e55;
  --sg-cream:       #fbf5ec;
  --sg-sky:         #dcecf6;
  --sg-blue:        #1b3a9c;
  --sg-blue-deep:   #132b78;
  --sg-ink:         #1a1330;
  --sg-text:        #4b4560;
  --sg-display:     'Fredoka', 'Inter', system-ui, sans-serif;
  background: var(--sg-cream);
  color: var(--sg-ink);
}
.sg-page--seagull p { color: var(--sg-text); }
.sg-page--seagull h1, .sg-page--seagull h2, .sg-page--seagull h3, .sg-page--seagull h4 { font-family: var(--sg-display); color: var(--sg-ink); letter-spacing: -.005em; }
.sg-page--seagull h2 { font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; }
.sg-page--seagull h3 { font-weight: 600; }
.sg-page--seagull h4 { font-weight: 600; }
.sg-page--seagull .section, .sg-page--seagull .section--tinted { background: transparent; }
.sg-page--seagull .btn { border-radius: 999px; }
.sg-page--seagull :focus-visible { outline-color: var(--sg-purple); }

/* Badges become mint chips with a gull */
.sg-page--seagull .badge { gap: .45rem; letter-spacing: .05em; }
.sg-page--seagull .badge--red { background: var(--sg-mint); color: var(--sg-teal); }
.sg-page--seagull .badge .sg-gull { width: 1.6rem; height: .6rem; fill: currentColor; }
.sg-page--seagull .sg-label { color: var(--sg-text) !important; }

/* Decorations */
.sg-gull { fill: currentColor; }
.sg-edge { position: absolute; left: 0; width: 100%; height: 28px; display: block; pointer-events: none; z-index: 2; }
.sg-edge--hero   { bottom: -1px; }
.sg-edge--hero path { fill: var(--sg-cream); }
.sg-edge--top    { top: -27px; }
.sg-edge--bottom { bottom: -27px; transform: scaleY(-1); }
.sg-story .sg-edge path { fill: var(--sg-blue); }

/* ── Hero ────────────────────────────────────────────────────── */
.sg-page--seagull .sg-hero::before {
  background:
    linear-gradient(180deg, rgba(10,18,52,.7) 0%, rgba(10,18,52,0) 26%),
    linear-gradient(90deg, rgba(14,20,64,.92) 0%, rgba(24,22,92,.82) 42%, rgba(40,24,110,.35) 72%, rgba(40,24,110,.12) 100%);
}
.sg-page--seagull .sg-hero .badge--white { background: var(--sg-mint); color: var(--sg-teal); transform: rotate(-1.5deg); }
.sg-page--seagull .sg-hero h1 {
  font-weight: 700; color: #fff; font-size: clamp(3.2rem, 9vw, 6.4rem); line-height: .95;
  display: flex; align-items: center; gap: .15em; max-width: none;
}
.sg-burst { width: .42em; height: .62em; flex-shrink: 0; }
.sg-burst path { fill: none; stroke: var(--sg-mint-strong); stroke-width: 5; stroke-linecap: round; }
.sg-burst--r { transform: scaleX(-1); }
.sg-page--seagull .sg-hero__message { font-family: var(--sg-display); font-size: clamp(1.3rem, 2.6vw, 1.75rem); }
.sg-hero__gulls { position: absolute; right: 6%; top: calc(var(--nav-h) + 2.5rem); width: 220px; height: 140px; color: rgba(255,255,255,.9); z-index: 1; }
.sg-hero__gulls .sg-gull { position: absolute; width: 64px; height: 24px; animation: sg-glide 7s ease-in-out infinite; }
.sg-hero__gulls .sg-gull:nth-child(2) { left: 110px; top: -6px; width: 44px; height: 17px; animation-delay: -2.5s; opacity: .8; }
.sg-hero__gulls .sg-gull:nth-child(3) { left: 150px; top: 76px; width: 34px; height: 13px; animation-delay: -4.5s; opacity: .65; }
.sg-hero__gulls .sg-gull:nth-child(1) { left: 10px; top: 36px; }
@keyframes sg-glide {
  0%, 100% { transform: translate(0, 0) rotate(-2deg); }
  50%      { transform: translate(12px, -10px) rotate(3deg); }
}

/* Quick facts and section menu on cream */
.sg-page--seagull .sg-facts { background: var(--sg-cream); border-bottom-color: #eadfcd; }
.sg-page--seagull .sg-facts li { font-family: var(--sg-display); font-weight: 600; font-size: 1rem; }
.sg-page--seagull .sg-tick circle { fill: var(--sg-teal); }
.sg-page--seagull .sg-subnav { background: rgba(251,245,236,.97); border-bottom-color: #eadfcd; }
.sg-page--seagull .sg-subnav a { border-radius: 999px; border: 2px solid transparent; }
.sg-page--seagull .sg-subnav a:hover { background: transparent; border-color: var(--sg-purple); }
.sg-page--seagull .sg-subnav a[aria-current="true"] { background: var(--sg-purple); }

/* ── Explore the space ───────────────────────────────────────── */
.sg-page--seagull .sg-access li { background: #fff; border-color: #eadfcd; border-radius: 14px; }
.sg-page--seagull .sg-floor {
  border: 2px solid var(--sg-purple); border-radius: 22px 16px 24px 14px;
  box-shadow: 6px 6px 0 var(--sg-mint);
}
.sg-page--seagull .sg-floor + .sg-floor { box-shadow: 6px 6px 0 var(--sg-purple-soft); }
.sg-page--seagull .sg-floor .sg-floor__btn { background: var(--sg-blue); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--sg-blue); font-family: var(--sg-display); }
.sg-page--seagull .sg-floor li { color: var(--sg-ink); }
.sg-page--seagull .sg-note--green { background: var(--sg-mint); color: #173d38; border-left-color: var(--sg-teal); }
.sg-page--seagull .sg-shot__btn { border-radius: 16px; background: #e9e1d4; }
.sg-page--seagull .sg-where { background: var(--sg-mint); color: var(--sg-teal); }

/* ── Hire: the flyer's sky-blue boxes instead of the gradient ── */
.sg-page--seagull .sg-hire { background: var(--sg-sky); }
.sg-page--seagull .sg-hire h2 { color: var(--sg-ink); }
.sg-page--seagull .sg-hire__text p { color: #243a4f; }
.sg-page--seagull .sg-hire .badge--white { background: #fff; color: var(--sg-purple); }
.sg-page--seagull .sg-hire__list li { background: #fff; color: var(--sg-ink); border: 2px solid var(--sg-purple); border-radius: 18px 12px 18px 12px; }
.sg-page--seagull .sg-hire__list li::before { border-color: var(--sg-purple); }
.sg-page--seagull p.sg-hire__note { color: #243a4f; }
.sg-page--seagull .sg-hire__card { border: 2px solid var(--sg-purple); border-radius: 24px 18px 26px 16px; box-shadow: 7px 7px 0 var(--sg-purple-soft); }
.sg-page--seagull .sg-hire :focus-visible { outline-color: var(--sg-purple); }
.sg-page--seagull .sg-video figcaption { color: #243a4f; }

/* ── What's on ───────────────────────────────────────────────── */
.sg-page--seagull #whats-on { background: #fff; }
.sg-page--seagull .sg-uses li { background: var(--sg-cream); border: 2px solid #eadfcd; }
.sg-page--seagull .sg-uses li:nth-child(3n+1) { background: var(--sg-mint); border-color: var(--sg-mint); color: var(--sg-teal); }
.sg-page--seagull .sg-uses li:nth-child(3n+2) { background: var(--sg-purple-soft); border-color: var(--sg-purple-soft); color: var(--sg-purple); }
.sg-page--seagull .sg-dropin { background: var(--sg-cream); border: 2px solid var(--sg-purple); border-radius: 22px 16px 24px 14px; box-shadow: 6px 6px 0 var(--sg-mint); }
.sg-page--seagull .sg-day { background: var(--sg-cream); border: 0; border-top: 6px solid var(--sg-purple); border-radius: 18px; }
.sg-page--seagull .sg-day:nth-child(even) { border-top-color: var(--sg-teal); }
.sg-page--seagull .sg-act { background: #fff; border: 0; border-radius: 12px; padding: .8rem 1rem; margin-bottom: .6rem; }
.sg-page--seagull .sg-act:first-child { padding-top: .8rem; }

/* ── Our story: the container-blue band ──────────────────────── */
.sg-page--seagull .sg-story { position: relative; background: var(--sg-blue); color: #fff; z-index: 1; }   /* contains the ribbing and the torn edges */
.sg-page--seagull .sg-story::before {   /* container corrugation */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 14px, rgba(0,0,0,.05) 14px 28px);
}
.sg-page--seagull .sg-story > .container { position: relative; }
.sg-page--seagull .sg-story .section__header h2,
.sg-page--seagull .sg-story .section__header p { color: #fff !important; }
.sg-page--seagull .sg-story .badge--red { background: rgba(207,238,230,.18); color: var(--sg-mint-strong); }
.sg-page--seagull .sg-story :focus-visible { outline-color: #fff; }
.sg-page--seagull .sg-need { background: var(--sg-cream); border: 0; border-radius: 24px 18px 26px 16px; box-shadow: 7px 7px 0 var(--sg-mint-strong); }
.sg-page--seagull .sg-timeline::before { background: none; border-left: 3px dotted rgba(255,255,255,.6); width: 0; }
.sg-page--seagull .sg-milestone { background: #fff; border-radius: 18px; padding: 1.2rem 1.4rem; margin-bottom: 1rem; }
.sg-page--seagull .sg-milestone::before { left: -2.55rem; top: 1.35rem; background: var(--sg-mint); border-color: var(--sg-mint); }
.sg-page--seagull .sg-milestone p { color: var(--sg-text); }
.sg-page--seagull .sg-quote { background: var(--sg-mint); color: var(--sg-ink); }
.sg-page--seagull .sg-quote blockquote p { font-family: var(--sg-display); font-weight: 500; font-size: 1.3rem; color: var(--sg-ink) !important; }
.sg-page--seagull .sg-quote figcaption span { color: var(--sg-teal); }
.sg-page--seagull .sg-story .card { border: 0; border-radius: 18px; }
.sg-page--seagull .sg-thanks { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); }
.sg-page--seagull .sg-thanks h3 { color: #fff; }
.sg-page--seagull .sg-thanks h4 { color: var(--sg-mint-strong); }
.sg-page--seagull .sg-thanks > p, .sg-page--seagull .sg-thanks__cta p { color: rgba(255,255,255,.92) !important; }
.sg-page--seagull .sg-thanks__cta { border-top-color: rgba(255,255,255,.2); }
.sg-page--seagull .sg-thanks .btn--outline { border-color: rgba(255,255,255,.8); color: #fff; }
.sg-page--seagull .sg-thanks .btn--outline:hover { background: rgba(255,255,255,.14); }

/* ── Community garden: mint ──────────────────────────────────── */
.sg-page--seagull .sg-garden { background: var(--sg-mint); padding-top: 6rem; }
.sg-page--seagull .sg-garden p, .sg-page--seagull .sg-garden li { color: #173d38; }
.sg-page--seagull .sg-garden .badge--red { background: #fff; color: var(--sg-teal); border: 2px dashed var(--sg-teal); }
.sg-page--seagull .sg-garden__plan { border: 0; border-radius: 18px; background: rgba(255,255,255,.65); }
.sg-page--seagull .sg-garden__fig { border: 0; border-radius: 20px; box-shadow: 8px 8px 0 rgba(15,94,85,.18); }

/* ── Visit us and closing banner ─────────────────────────────── */
.sg-page--seagull .sg-faq { border-color: #eadfcd; border-radius: 14px; }
.sg-page--seagull .sg-faq summary { font-family: var(--sg-display); font-size: 1.12rem; }
.sg-page--seagull .contact-item__icon { background: var(--sg-mint); }
.sg-page--seagull .contact-item__label { color: var(--sg-text); }   /* the site grey is only 4.4:1 on cream */
.sg-page--seagull .sg-closing { background: var(--sg-purple); }
.sg-page--seagull .sg-closing h2 { color: #fff; }
.sg-page--seagull .sg-closing p  { color: rgba(255,255,255,.9); }

@media (max-width: 900px) {
  .sg-hero__gulls { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sg-hero__gulls .sg-gull { animation: none; }
}
