/* Bonnie's blog, Leonida edition: 80s neon beach-town glam.
   Sunset pinks, teal neon, palm silhouettes, a striped retro sun. */
@import url("https://fonts.googleapis.com/css2?family=Yellowtail&family=Righteous&display=swap");
:root {
  --night: #170a2b;
  --night-2: #261048;
  --pink: #ff2d95;
  --pink-soft: #ff8cc6;
  --teal: #1fe5d6;
  --orange: #ff9a3c;
  --yellow: #ffd84a;
  --text: #fbefff;
  --muted: #cdb7e3;
  --panel: rgba(255, 255, 255, .06);
  --script: "Yellowtail", "Pacifico", "Brush Script MT", cursive;
  --display: "Righteous", "Trebuchet MS", Arial, sans-serif;
  --body: "Nunito", "Trebuchet MS", Arial, sans-serif;
  --glow-pink: 0 0 6px rgba(255, 45, 149, .9), 0 0 18px rgba(255, 45, 149, .6), 0 0 36px rgba(255, 45, 149, .35);
  --glow-teal: 0 0 6px rgba(31, 229, 214, .9), 0 0 18px rgba(31, 229, 214, .5);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(255, 45, 149, .22), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(31, 229, 214, .12), transparent 60%),
    linear-gradient(180deg, var(--night-2), var(--night) 60%);
  background-attachment: fixed;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.wrap { max-width: 1080px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }

/* Header */
.site-header { background: rgba(14, 5, 28, .85); backdrop-filter: blur(6px); position: relative; z-index: 2; }
.site-header::after { content: ""; display: block; height: 3px; background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow), var(--teal)); box-shadow: 0 0 14px rgba(255, 45, 149, .7); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; }
.logo { font-family: var(--script); font-size: 40px; color: #fff; text-decoration: none; line-height: 1.1; text-shadow: var(--glow-pink); }
.logo span { color: var(--teal); text-shadow: var(--glow-teal); }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
nav a, nav .soon { display: inline-block; padding: 6px 14px; border-radius: 999px; text-decoration: none; font-family: var(--display); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
nav a { color: var(--text); border: 1px solid transparent; }
nav a:hover, nav a[aria-current="page"] { color: #fff; border-color: var(--pink); box-shadow: 0 0 10px rgba(255, 45, 149, .6), inset 0 0 10px rgba(255, 45, 149, .35); }
nav .soon { color: var(--muted); opacity: .55; cursor: default; }

/* Ticker */
.ticker { background: linear-gradient(90deg, var(--pink), var(--orange)); color: #2a0820; font-family: var(--display); font-size: 15px; letter-spacing: .05em; text-transform: uppercase; text-align: center; padding: 7px 16px; }

/* Hero: sunset, striped sun, palms */
.hero {
  position: relative;
  padding-block: 56px 72px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(23, 10, 43, 0) 0%, rgba(255, 45, 149, .28) 62%, rgba(255, 154, 60, .45) 82%, rgba(23, 10, 43, .95) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  right: -60px; bottom: -190px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--yellow) 0%, var(--orange) 45%, var(--pink) 85%);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% 48% no-repeat, repeating-linear-gradient(180deg, #000 0 16px, transparent 16px 24px);
  mask: linear-gradient(#000 0 0) top / 100% 48% no-repeat, repeating-linear-gradient(180deg, #000 0 16px, transparent 16px 24px);
  opacity: .9;
  filter: drop-shadow(0 0 30px rgba(255, 154, 60, .6));
}
.hero::after {
  content: "";
  position: absolute; inset: auto 0 0 0;
  height: 260px;
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 260'%3E%3Cg fill='%23120621'%3E%3Cpath d='M98 260c4-60 8-120 22-176l6 2c-12 56-16 116-18 174z'/%3E%3Cpath d='M122 86c-20-16-50-18-76-6 26-4 50 0 72 12zM122 86c-8-26-30-44-58-50 24 12 40 28 52 52zM122 86c10-24 32-38 60-40-26 8-44 22-56 42zM122 86c22-10 50-6 72 10-24-8-48-8-70-6zM122 86c18 8 32 26 36 50-10-20-24-34-40-44zM122 86c-18 4-34 20-40 44 10-18 24-32 42-40z'/%3E%3C/g%3E%3C/svg%3E") left -30px bottom / 200px 260px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 260'%3E%3Cg fill='%23120621'%3E%3Cpath d='M102 260c-4-60-8-120-22-176l-6 2c12 56 16 116 18 174z'/%3E%3Cpath d='M78 86c20-16 50-18 76-6-26-4-50 0-72 12zM78 86c8-26 30-44 58-50-24 12-40 28-52 52zM78 86c-10-24-32-38-60-40 26 8 44 22 56 42zM78 86c-22-10-50-6-72 10 24-8 48-8 70-6zM78 86c-18 8-32 26-36 50 10-20 24-34 40-44zM78 86c18 4 34 20 40 44-10-18-24-32-42-40z'/%3E%3C/g%3E%3C/svg%3E") right -20px bottom / 160px 208px no-repeat;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.hero h1 { font-family: var(--script); font-weight: 400; font-size: clamp(44px, 6.6vw, 72px); line-height: 1.08; margin: 0 0 14px; color: #fff; text-shadow: var(--glow-pink); text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--teal); text-shadow: var(--glow-teal); }
.hero p { font-size: 20px; margin: 0 0 18px; }

.polaroid { background: #fff; padding: 12px 12px 8px; transform: rotate(2deg); position: relative; box-shadow: 0 0 0 2px var(--pink), 0 0 26px rgba(255, 45, 149, .65), 0 18px 40px rgba(0, 0, 0, .45); }
.polaroid figcaption { margin-top: 6px; line-height: 1.25; text-align: center; font-family: var(--script); font-size: 26px; color: #c2186b; }
.polaroid.left { transform: rotate(-2deg); box-shadow: 0 0 0 2px var(--teal), 0 0 26px rgba(31, 229, 214, .55), 0 18px 40px rgba(0, 0, 0, .45); }
.tape { position: absolute; top: -14px; left: 50%; width: 110px; height: 30px; margin-left: -55px; background: rgba(255, 216, 74, .85); transform: rotate(-4deg); }

.btn { display: inline-block; background: linear-gradient(135deg, var(--pink), #ff5fb7); color: #fff; font-family: var(--display); font-size: 16px; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; padding: 12px 24px; border-radius: 999px; box-shadow: 0 0 16px rgba(255, 45, 149, .6); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 26px rgba(255, 45, 149, .9); }
.btn.alt { background: linear-gradient(135deg, #13b8ab, var(--teal)); color: #0d1a2a; box-shadow: 0 0 16px rgba(31, 229, 214, .55); }
.btn.alt:hover { box-shadow: 0 0 26px rgba(31, 229, 214, .85); }

/* Sections */
section { padding-block: 36px; }
h2 { font-family: var(--script); font-weight: 400; font-size: clamp(36px, 5vw, 52px); line-height: 1.15; margin: 0 0 16px; color: #fff; text-shadow: var(--glow-pink); text-wrap: balance; }
.card { background: var(--panel); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 28px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.note { border: 2px solid var(--pink); box-shadow: 0 0 18px rgba(255, 45, 149, .45), inset 0 0 18px rgba(255, 45, 149, .15); }
.signature { font-family: var(--script); font-size: 34px; color: var(--yellow); text-shadow: 0 0 10px rgba(255, 216, 74, .6); margin: 8px 0 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 > *, .grid-3 > * { min-width: 0; }

.post { background: var(--panel); border: 1px solid rgba(31, 229, 214, .35); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.post:hover { transform: translateY(-3px); box-shadow: 0 0 22px rgba(31, 229, 214, .45); }
.post img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center 20%; width: 100%; height: auto; }
.post .body { padding: 18px 20px 22px; }
.post .tag { display: inline-block; color: var(--teal); border: 1px solid var(--teal); font-family: var(--display); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 10px; border-radius: 999px; box-shadow: 0 0 8px rgba(31, 229, 214, .45); }
.post h3 { font-size: 20px; margin: 12px 0 6px; line-height: 1.3; color: #fff; }
.post p { margin: 0; font-size: 16px; color: var(--muted); }

.video-box { aspect-ratio: 16 / 9; border-radius: 16px; display: grid; place-items: center; text-align: center; padding: 24px; border: 2px solid var(--teal); box-shadow: 0 0 20px rgba(31, 229, 214, .45);
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 4px), linear-gradient(160deg, #2b0f4f, #12061f); }
.video-box p { margin: 6px 0 0; color: var(--pink-soft); }
.video-box .big { font-family: var(--script); font-size: 44px; color: #fff; text-shadow: var(--glow-teal); }

.audio { margin-top: 16px; }
.audio strong { font-family: var(--display); letter-spacing: .05em; text-transform: uppercase; color: var(--teal); }
.audio audio { width: 100%; margin-top: 8px; }

/* Story page */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.timeline li { display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: start; }
.timeline .year { font-family: var(--script); font-size: 34px; color: var(--teal); text-shadow: var(--glow-teal); text-align: right; line-height: 1.2; }
.timeline .card { border-left: 3px solid var(--pink); }
.timeline .card h3 { margin: 0 0 6px; font-size: 21px; color: #fff; }
.timeline .card p { margin: 0; color: var(--text); }
blockquote { margin: 0; font-family: var(--script); font-size: clamp(30px, 4vw, 40px); line-height: 1.3; color: #fff; text-shadow: var(--glow-pink); text-align: center; }

/* Footer */
.site-footer { margin-top: 40px; background: #0d0519; color: var(--muted); font-size: 15px; }
.site-footer::before { content: ""; display: block; height: 3px; background: linear-gradient(90deg, var(--teal), var(--yellow), var(--orange), var(--pink)); }
.site-footer .wrap { padding-block: 28px; display: grid; gap: 8px; }
.site-footer a { color: var(--pink-soft); }
.site-footer .fine { color: #8f7aa6; font-size: 13px; }

@media (max-width: 780px) {
  body { font-size: 17px; background-attachment: scroll; }
  .hero { padding-block: 40px 140px; }
  .hero::before { width: 340px; height: 340px; right: -80px; bottom: -120px; }
  .polaroid figcaption { font-size: 22px; }
  .hero::after { height: 200px; background-size: 150px 195px, 120px 156px; }
  .hero .wrap, .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .timeline .year { text-align: left; }
  .polaroid, .polaroid.left { transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .post { transition: none; } }

/* Home feature cards */
a.feature { display: block; text-decoration: none; color: var(--text); border: 2px solid var(--pink); box-shadow: 0 0 18px rgba(255, 45, 149, .4); transition: transform .2s, box-shadow .2s; }
a.feature.teal { border-color: var(--teal); box-shadow: 0 0 18px rgba(31, 229, 214, .4); }
a.feature:hover { transform: translateY(-3px); box-shadow: 0 0 28px rgba(255, 45, 149, .7); }
a.feature.teal:hover { box-shadow: 0 0 28px rgba(31, 229, 214, .7); }
a.feature h3 { font-family: var(--script); font-weight: 400; font-size: 38px; line-height: 1.15; margin: 10px 0 6px; color: #fff; text-shadow: var(--glow-pink); }
a.feature.teal h3 { text-shadow: var(--glow-teal); }
a.feature p { margin: 0 0 10px; color: var(--muted); }
a.feature .more { font-family: var(--display); font-size: 15px; letter-spacing: .05em; text-transform: uppercase; color: var(--yellow); }
.tag { display: inline-block; color: var(--teal); border: 1px solid var(--teal); font-family: var(--display); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 10px; border-radius: 999px; box-shadow: 0 0 8px rgba(31, 229, 214, .45); }

/* Postcards page */
.postcards { display: grid; gap: 44px; }
.postcard { display: grid; grid-template-columns: 1fr 1fr; background: #fff8ec; color: #3a2440; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 2px var(--teal), 0 0 26px rgba(31, 229, 214, .45), 0 18px 40px rgba(0, 0, 0, .45); }
.postcard:nth-child(even) { box-shadow: 0 0 0 2px var(--pink), 0 0 26px rgba(255, 45, 149, .5), 0 18px 40px rgba(0, 0, 0, .45); }
.pc-photo { position: relative; min-height: 300px; }
.pc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.pc-greeting { position: absolute; left: 12px; right: 12px; bottom: 14px; font-family: var(--script); font-size: clamp(30px, 4vw, 44px); line-height: 1.1; color: #fff; text-align: center; text-shadow: 0 2px 0 #c2186b, 0 0 14px rgba(255, 45, 149, .9), 0 0 4px #000; }
.pc-back { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; padding: 24px; background: repeating-linear-gradient(135deg, var(--pink) 0 10px, #fff8ec 10px 20px, var(--teal) 20px 30px, #fff8ec 30px 40px) top / 100% 8px no-repeat, #fff8ec; padding-top: 30px; }
.pc-message { border-right: 2px solid #e2cfd8; padding-right: 18px; min-width: 0; }
.pc-message .tag { color: #0f8f86; border-color: #0f8f86; box-shadow: none; }
.pc-message h3 { margin: 10px 0 8px; font-size: 22px; line-height: 1.3; color: #2a0f3a; }
.pc-message p { margin: 0 0 10px; font-size: 16px; }
.pc-message .signature { color: #c2186b; text-shadow: none; font-size: 30px; }
.pc-address { position: relative; min-width: 0; padding-top: 112px; font-size: 15px; }
.pc-stamp { position: absolute; top: 0; right: 0; width: 76px; height: 92px; display: grid; place-items: center; align-content: center; background: linear-gradient(180deg, #ffd84a, #ff9a3c 55%, #ff2d95); outline: 3px dashed #fff8ec; outline-offset: -6px; border: 2px solid #ff2d95; transform: rotate(4deg); }
.pc-stamp span { font-size: 34px; line-height: 1; }
.pc-stamp small { font-family: var(--display); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #2a0820; }
.pc-postmark { position: absolute; top: 18px; right: 58px; width: 92px; height: 92px; border: 2px solid rgba(58, 36, 64, .45); border-radius: 50%; display: grid; place-items: center; text-align: center; font-family: var(--display); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: rgba(58, 36, 64, .6); transform: rotate(-12deg); line-height: 1.3; }
.pc-to { margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid #e2cfd8; font-family: var(--script); font-size: 22px; line-height: 1.3; color: #3a2440; }
.pc-snap { margin: 0; font-size: 14px; color: #6b4f74; }
.pc-next h2 { font-size: clamp(30px, 4vw, 42px); }

/* Guidebook page */
.joke-badge { display: inline-block; background: rgba(255, 216, 74, .12); border: 2px dashed var(--yellow); border-radius: 12px; padding: 10px 14px; font-size: 16px; color: #fff3c4; }
.joke-badge strong { font-family: var(--display); letter-spacing: .05em; text-transform: uppercase; color: var(--yellow); }
.guide { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.guide > * { min-width: 0; }
.place { border-top: 3px solid var(--teal); }
.place:nth-child(4n+2), .place:nth-child(4n+3) { border-top-color: var(--pink); }
.place h3 { font-family: var(--script); font-weight: 400; font-size: 36px; line-height: 1.15; margin: 8px 0 2px; color: #fff; text-shadow: var(--glow-pink); }
.palms { font-size: 26px; letter-spacing: 2px; filter: drop-shadow(0 0 6px rgba(31, 229, 214, .6)); }
.palms .dim { opacity: .25; filter: grayscale(1); }
.place p { margin: 12px 0; }
.joke-stats { margin: 0; padding: 12px 14px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(31, 229, 214, .3); border-radius: 12px; display: grid; gap: 8px; font-size: 16px; }
.joke-stats::before { content: "Joke stats"; font-family: var(--display); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.joke-stats div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed rgba(255, 255, 255, .12); padding-bottom: 6px; }
.joke-stats div:last-child { border-bottom: 0; padding-bottom: 0; }
.joke-stats dt { color: var(--muted); }
.joke-stats dd { margin: 0; text-align: right; font-weight: 800; color: var(--teal); }
.joke-stats small { display: block; font-weight: 400; color: var(--pink-soft); }
.verdict { margin-bottom: 0; font-size: 16px; }
.verdict strong { color: var(--yellow); }

@media (max-width: 780px) {
  .postcard, .pc-back, .guide { grid-template-columns: 1fr; }
  .pc-photo { min-height: 0; aspect-ratio: 3 / 2; }
  .pc-message { border-right: 0; padding-right: 0; border-bottom: 2px solid #e2cfd8; padding-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) { a.feature { transition: none; } }

/* San Andreas farewell tour */
.sa-intro { max-width: 760px; margin: 0 0 24px; }
.sa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.sa-grid > * { min-width: 0; }
.sa-card { margin: 0; background: #fff; padding: 10px 10px 12px; transform: rotate(-1.5deg); box-shadow: 0 0 0 2px var(--teal), 0 0 18px rgba(31, 229, 214, .45), 0 12px 28px rgba(0, 0, 0, .45); transition: transform .2s; }
.sa-card:nth-child(even) { transform: rotate(1.5deg); box-shadow: 0 0 0 2px var(--pink), 0 0 18px rgba(255, 45, 149, .5), 0 12px 28px rgba(0, 0, 0, .45); }
.sa-card:hover { transform: rotate(0) scale(1.02); }
.sa-card img { aspect-ratio: 900 / 604; object-fit: cover; width: 100%; }
.sa-card figcaption { margin-top: 8px; color: #3a2440; font-size: 15px; line-height: 1.4; }
.sa-card figcaption strong { display: block; font-family: var(--script); font-weight: 400; font-size: 26px; color: #c2186b; line-height: 1.2; }
@media (max-width: 900px) { .sa-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sa-grid { grid-template-columns: 1fr; } .sa-card, .sa-card:nth-child(even) { transform: none; } }
@media (prefers-reduced-motion: reduce) { .sa-card { transition: none; } }

/* Guidebook entries and photos */
.gb-entry { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.gb-entry > * { min-width: 0; }
.gb-entry h2 { margin: 12px 0; }
.gb-entry-photo, .place-photo { margin: 0; }
.gb-entry-photo img { border-radius: 12px; box-shadow: 0 0 0 2px var(--teal), 0 0 18px rgba(31, 229, 214, .45); }
.place-photo { margin: -28px -28px 16px; }
.place-photo img { width: 100%; aspect-ratio: 1000 / 671; object-fit: cover; border-radius: 17px 17px 0 0; }
.gb-entry-photo figcaption, .place-photo figcaption { margin-top: 6px; font-family: var(--display); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.place-photo figcaption { padding: 0 28px; }
.gb-next { border: 2px dashed var(--teal); text-align: center; }
.gb-next h2 { margin-top: 10px; text-shadow: var(--glow-teal); }
.gb-next p { margin: 0 auto; max-width: 640px; }
@media (max-width: 780px) { .gb-entry { grid-template-columns: 1fr; } }