/* Melbourne campaign — zine layout; only loaded by melbourne/index.html */
:root {
  --mulch: #452717;
  --lime: #ccff00;
  --watermelon: #ff063c;
  --safety-orange: #ff6b00;
  --cobalt: #2e5bff;
  --potting-mix: #1a1a1b;
  --text-on-dark: #fbfbfb;
  --mulch-deep: #2a180f;
}

body.melbourne-page {
  margin: 0;
  background: #f2f0e9;
  color: var(--potting-mix);
  font-family: "Courier Prime", ui-monospace, monospace;
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

body.melbourne-page .hero,
body.melbourne-page .briefings,
body.melbourne-page .bag,
body.melbourne-page .android-net,
body.melbourne-page footer {
  position: relative;
  z-index: 20;
}

/* --- AI Studio weather simulation overlay --- */
@keyframes bg-pan-vertical {
  0% { background-position: 0% 0%; }
  100% { background-position: -50px 100vh; }
}

@keyframes bg-pan-horizontal {
  0% { background-position: 0% 0%; }
  100% { background-position: 100vw 20px; }
}

body.melbourne-page .weather-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.8s ease;
}

body.melbourne-page .weather-sun {
  background: radial-gradient(60vw 60vw at 90% 10%, rgba(255, 107, 0, 0.33) 0%, transparent 100%);
}

body.melbourne-page .weather-rain {
  background-image: repeating-linear-gradient(
    165deg,
    transparent,
    transparent 20px,
    rgba(46, 91, 255, 0.4) 20px,
    rgba(46, 91, 255, 0.4) 22px
  );
  background-size: 60px 60px;
  animation: bg-pan-vertical 1.2s linear infinite;
  mix-blend-mode: multiply;
}

body.melbourne-page .weather-wind {
  background-image: repeating-linear-gradient(
    95deg,
    transparent,
    transparent 40px,
    rgba(204, 255, 0, 0.3) 40px,
    rgba(204, 255, 0, 0.3) 44px
  );
  background-size: 150px 40px;
  animation: bg-pan-horizontal 0.3s linear infinite;
  mix-blend-mode: exclusion;
}

body.melbourne-page .weather-hail {
  background-image: radial-gradient(circle at center, #f2f0e9 2px, transparent 3px);
  background-size: 40px 40px;
  animation: bg-pan-vertical 0.3s linear infinite;
  background-color: rgba(26, 26, 27, 0.3);
}

body.melbourne-page .weather-widget {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 50;
  background: var(--potting-mix);
  color: #f2f0e9;
  padding: 8px 12px;
  border: 2px solid #f2f0e9;
  box-shadow: 4px 4px 0 #f41f41;
  transform: rotate(2deg);
}

body.melbourne-page .weather-widget-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  opacity: 0.75;
  margin-bottom: 4px;
}

body.melbourne-page .weather-widget-value {
  font-family: "Luckiest Guy", cursive;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

body.melbourne-page h1,
body.melbourne-page h2,
body.melbourne-page h3 {
  font-family: "Luckiest Guy", cursive;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

body.melbourne-page a {
  color: inherit;
  font-weight: 700;
}

body.melbourne-page .wordmark {
  display: block;
  text-align: center;
  font-family: "Luckiest Guy", cursive;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  color: var(--lime);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

body.melbourne-page .wordmark:hover {
  color: var(--safety-orange);
}

/* --- Hero --- */
body.melbourne-page .hero {
  padding: clamp(20px, 4vw, 40px) clamp(16px, 3vw, 28px) clamp(32px, 5vw, 56px);
  max-width: 980px;
  margin: 0 auto;
}

body.melbourne-page .hero-photo-wrap {
  position: relative;
  border: 4px solid var(--potting-mix);
  box-shadow: 8px 8px 0 var(--potting-mix);
  background: #3d2315;
  min-height: clamp(220px, 45vw, 380px);
  margin-bottom: 1.5rem;
}

body.melbourne-page .hero-photo-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #5c6b7a 0%, #2a3238 45%, #4a5560 100%);
  opacity: 0.95;
}

body.melbourne-page .hero-photo-placeholder::after {
  content: "Photo: muddy glove / grey sky (Heidi)";
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(251, 251, 251, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.melbourne-page .hero-stickers {
  position: absolute;
  right: clamp(8px, 2vw, 20px);
  bottom: 0;
  top: 16%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 8px;
  pointer-events: none;
  z-index: 2;
}

body.melbourne-page .hero-stickers img {
  width: clamp(72px, 18vw, 140px);
  height: auto;
  display: block;
  filter: drop-shadow(4px 4px 0 var(--potting-mix));
}

body.melbourne-page .hero-stickers .sticker-roots {
  transform: rotate(-4deg);
}

body.melbourne-page .hero-stickers .sticker-wiggo {
  transform: rotate(5deg);
}

body.melbourne-page .hero h1 {
  color: var(--potting-mix);
  font-size: clamp(2.2rem, 7vw, 4.6rem);
  line-height: 1.08;
  margin: 0 0 0.75rem;
  max-width: 20ch;
}

body.melbourne-page .hero-sub {
  font-weight: 700;
  color: var(--potting-mix);
  font-size: 1.12rem;
  max-width: 36rem;
  margin: 0 0 1.5rem;
  background: rgba(242, 240, 233, 0.8);
  padding: 8px 10px;
  border-left: 4px solid var(--potting-mix);
}

body.melbourne-page .urgent-cta {
  background: var(--safety-orange);
  color: var(--potting-mix);
  border: 4px solid var(--potting-mix);
  padding: clamp(18px, 3vw, 28px);
  box-shadow: 6px 6px 0 var(--potting-mix);
}

body.melbourne-page .urgent-cta p {
  margin: 0 0 1rem;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.45;
}

body.melbourne-page .btn-zine {
  display: inline-block;
  font-family: "Luckiest Guy", cursive;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.15rem;
  padding: 14px 24px;
  border: 4px solid var(--potting-mix);
  border-radius: 0;
  background: var(--lime);
  color: var(--potting-mix);
  text-decoration: none;
  box-shadow: 6px 6px 0 var(--watermelon);
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

body.melbourne-page .btn-zine:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--watermelon);
}

body.melbourne-page .btn-zine:active {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--watermelon);
}

body.melbourne-page .btn-zine-secondary {
  background: var(--text-on-dark);
  color: var(--potting-mix);
  box-shadow: 6px 6px 0 var(--potting-mix);
  font-family: "Courier Prime", monospace;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body.melbourne-page .btn-zine-secondary:hover {
  box-shadow: 8px 8px 0 var(--potting-mix);
}

/* --- Post-its --- */
body.melbourne-page .briefings {
  padding: clamp(32px, 5vw, 64px) clamp(16px, 3vw, 28px) clamp(48px, 6vw, 72px);
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

body.melbourne-page .post-it {
  border: 4px solid var(--potting-mix);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 8px 8px 0 var(--potting-mix);
  border-radius: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

body.melbourne-page .post-it:nth-child(odd) {
  transform: rotate(-1deg);
}

body.melbourne-page .post-it:nth-child(even) {
  transform: rotate(1deg);
}

body.melbourne-page .post-it img {
  width: 88px;
  height: auto;
  display: block;
}

body.melbourne-page .post-it-wiggo {
  background: var(--lime);
  color: var(--potting-mix);
}

body.melbourne-page .post-it-digby {
  background: var(--cobalt);
  color: var(--text-on-dark);
}

body.melbourne-page .post-it-rant {
  background: var(--watermelon);
  color: var(--text-on-dark);
}

body.melbourne-page .post-it h2 {
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  line-height: 1.15;
}

body.melbourne-page .post-it p {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
}

body.melbourne-page .post-it .post-it-actions {
  grid-column: 1 / -1;
  margin-top: 12px;
}

/* --- Bag / email --- */
body.melbourne-page .bag {
  background: var(--mulch-deep);
  border-top: 6px solid var(--potting-mix);
  border-bottom: 6px solid var(--potting-mix);
  padding: clamp(40px, 6vw, 72px) clamp(16px, 3vw, 28px);
}

body.melbourne-page .bag-inner {
  max-width: 560px;
  margin: 0 auto;
}

body.melbourne-page .bag h2 {
  color: var(--lime);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin: 0 0 0.75rem;
}

body.melbourne-page .bag .bag-copy {
  font-weight: 700;
  margin: 0 0 1.25rem;
  color: var(--text-on-dark);
}

body.melbourne-page .bag label {
  display: block;
  font-family: "Luckiest Guy", cursive;
  color: var(--lime);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

body.melbourne-page .bag input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  font-family: "Courier Prime", monospace;
  font-size: 1rem;
  border: 3px solid var(--potting-mix);
  border-radius: 0;
  margin-bottom: 12px;
  background: var(--text-on-dark);
  color: var(--potting-mix);
}

body.melbourne-page .bag .privacy-note {
  font-size: 0.85rem;
  margin: 0 0 14px;
  opacity: 0.9;
}

body.melbourne-page .bag .privacy-note a {
  color: var(--lime);
  text-decoration: underline;
}

body.melbourne-page .bag .form-message {
  min-height: 1.5rem;
  margin-bottom: 10px;
  font-weight: 700;
}

body.melbourne-page .bag .form-message.success {
  color: var(--lime);
}

body.melbourne-page .bag .form-message.error {
  color: var(--safety-orange);
}

body.melbourne-page .bag .btn-zine {
  width: 100%;
  text-align: center;
  border: 0;
  padding: 16px 20px;
}

/* --- Android --- */
body.melbourne-page .android-net {
  padding: 24px clamp(16px, 3vw, 28px) 32px;
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(26, 26, 27, 0.85);
  text-align: center;
}

body.melbourne-page .android-net a {
  color: var(--lime);
}

/* --- Footer --- */
body.melbourne-page footer {
  background: var(--mulch);
  color: rgba(251, 251, 251, 0.92);
  padding: 48px 20px 32px;
  border-top: 8px solid var(--potting-mix);
}

body.melbourne-page .footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

body.melbourne-page .footer-nav h4 {
  font-family: "Luckiest Guy", cursive;
  color: var(--lime);
  font-size: 1.25rem;
  margin: 0 0 10px;
}

body.melbourne-page .footer-nav a {
  color: var(--lime);
}

body.melbourne-page .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 40px;
  padding-top: 16px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.75;
}

@media (max-width: 520px) {
  body.melbourne-page .weather-widget {
    display: none;
  }

  body.melbourne-page .post-it {
    grid-template-columns: 1fr;
    text-align: left;
  }

  body.melbourne-page .post-it img {
    width: 72px;
  }
}
