:root {
  --paper: #f4efe5;
  --paper-2: #fffaf1;
  --ink: #1d211f;
  --muted: #68645d;
  --line: #d8cdbd;
  --rule: #251f1a;
  --accent: #a23a2b;
  --green: #2e7a5d;
  --gold: #c78c2d;
  --blue: #2d607c;
  --typewriter: "Courier Prime", "American Typewriter", "Nimbus Mono PS", "Courier New", Courier, monospace;
  --paper-drift-y: 0px;
  --paper-drift-y-inverse: 0px;
  font-family: var(--typewriter);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(37,31,26,.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(37,31,26,.035) 1px, transparent 1px),
    var(--paper);
  background-size: 3.5rem 3.5rem;
  background-position: 0 var(--paper-drift-y), 0 var(--paper-drift-y-inverse), 0 0;
  min-height: 100vh;
  font-family: var(--typewriter);
  font-size: 1rem;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .28;
  background:
    repeating-linear-gradient(0deg, transparent 0 7px, rgba(37,31,26,.025) 7px 8px),
    radial-gradient(circle at 18% 28%, rgba(162,58,43,.08) 0 1px, transparent 1.5px),
    radial-gradient(circle at 74% 63%, rgba(37,31,26,.07) 0 1px, transparent 1.5px);
  background-size: auto, 23px 29px, 31px 37px;
}
body > *:not(.paper-drift) { position: relative; z-index: 1; }
.paper-drift {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  width: 28rem;
  height: 38rem;
  border: 1px solid rgba(37,31,26,.13);
  background: rgba(255,250,241,.34);
  box-shadow: 10px 12px 0 rgba(37,31,26,.035);
  transform: translate3d(0, var(--parallax-y, 0), 0) rotate(var(--tilt, 0deg));
  will-change: transform;
}
.paper-drift-a { top: 14vh; left: -16rem; --tilt: -5deg; }
.paper-drift-b { right: -19rem; top: 48vh; --tilt: 7deg; }
::selection { background: rgba(162,58,43,.2); color: var(--ink); }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .16em; }
h1, h2, h3, h4, strong { font-family: var(--typewriter); }
.site-header {
  max-width: 1480px; margin: 0 auto;
  padding: 1.1rem clamp(1rem, 3vw, 2rem) .9rem;
  border-bottom: 3px double var(--rule);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: end;
}
.brand { text-decoration: none; display: block; }
.brand-title { display: block; font-size: 2.2rem; line-height: .9; font-weight: 700; letter-spacing: -.08em; text-shadow: 1px 0 rgba(162,58,43,.32); }
.brand-kicker { display: block; margin-top: .3rem; color: var(--muted); font: 700 .78rem/1.25 var(--typewriter); text-transform: uppercase; letter-spacing: .04em; overflow-wrap: anywhere; }
.site-nav { display: flex; gap: .38rem; flex-wrap: wrap; justify-content: flex-end; font: 700 .88rem/1 var(--typewriter); }
.site-nav a, .button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  background: var(--paper-2);
  color: var(--ink);
  padding: .58rem .78rem;
  border-radius: 1px;
  font: 700 .9rem/1 var(--typewriter);
  text-decoration: none;
  box-shadow: 2px 2px 0 var(--rule);
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
}
.button + .button { margin-left: .35rem; }
.site-nav a:hover, .button:hover, button:hover { transform: translate(-2px, -2px) rotate(-.35deg); box-shadow: 4px 4px 0 var(--rule); }
button { cursor: pointer; }
.menu-toggle { display: none; justify-self: end; }
.temporary-note {
  max-width: 1480px; margin: .8rem auto 0;
  padding: .75rem clamp(1rem, 3vw, 2rem);
  display: flex; gap: .8rem; align-items: center; flex-wrap: wrap;
  background: rgba(255,250,241,.84);
  border: 1px solid var(--line);
  color: var(--muted);
  font: 700 .88rem/1.35 var(--typewriter);
}
.temporary-note strong { color: var(--accent); text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; }
main { max-width: 1480px; margin: 0 auto; padding: clamp(1rem, 3vw, 2rem); }
.hero {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(18rem, .72fr); gap: 1.4rem;
  position: relative;
  min-height: min(68vh, 48rem);
  align-items: center;
  padding: 3.5rem 0 2.4rem;
  border-bottom: 1px solid var(--line);
  perspective: 900px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 2.2rem 38% 1.6rem -4vw;
  z-index: -1;
  border: 1px solid rgba(37,31,26,.18);
  background: rgba(255,250,241,.58);
  box-shadow: 8px 10px 0 rgba(37,31,26,.055);
  transform: rotate(-1.1deg);
}
.hero > *, .side-stack, .joke-card, .stat, .article-card, .band, .article-page, .rescue-grid, .rescue-panel, .goganochie-grid, .goganochie-side, .gogzilla-stage, .magic-mount { min-width: 0; max-width: 100%; }
.eyebrow { color: var(--accent); font: 700 .78rem/1.2 var(--typewriter); text-transform: uppercase; letter-spacing: .08em; }
h1 { font-size: 5.5rem; line-height: .92; margin: .55rem 0 1rem; letter-spacing: -.09em; text-wrap: balance; font-weight: 700; text-shadow: 1px 0 rgba(162,58,43,.22); }
.hero h1 span { display: block; }
.hero h1 span:last-child::after {
  content: "_";
  display: inline-block;
  margin-left: .08em;
  color: var(--accent);
  animation: typewriter-caret 1.05s steps(1, end) infinite;
}
.hero p { font-size: 1.38rem; line-height: 1.45; max-width: 48rem; margin: 0 0 1rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1rem; }
.mast-note { border-left: 5px solid var(--accent); background: rgba(255,250,241,.82); padding: 1rem; font-size: 1.05rem; line-height: 1.5; transform: rotate(-.65deg); box-shadow: 3px 4px 0 rgba(37,31,26,.08); }
.panel, .article-card, .joke-card, .topic-card {
  border: 1px solid var(--rule);
  background: rgba(255,250,241,.86);
  box-shadow: 4px 4px 0 rgba(37,31,26,.15);
}
.side-stack { display: grid; gap: 1rem; }
.joke-card { padding: 1rem; transform: rotate(.45deg); }
.joke-card h2 { margin: 0 0 .6rem; font: 700 .88rem/1.2 var(--typewriter); color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.joke-card p { font-size: 1rem; line-height: 1.45; margin: .5rem 0 1rem; }
.share-row { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.share-state { color: var(--muted); font: 700 .82rem/1.2 var(--typewriter); }
.band { margin: 2rem 0; }
.section-head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 1rem; align-items: end; padding-bottom: .65rem; border-bottom: 2px solid var(--rule); margin-bottom: 1rem; }
.section-head h1, .section-head h2 { margin: 0; font-size: 2.6rem; line-height: .95; letter-spacing: -.06em; }
.section-head p { color: var(--muted); line-height: 1.55; margin: 0; }
.featured-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(17rem, .72fr); gap: 1rem; align-items: start; }
.goganochie-home-grid { grid-template-columns: minmax(0, 1.52fr) minmax(22rem, .72fr); gap: 1.25rem; }
.feature-story { padding: 1.15rem; border-top: 6px solid var(--accent); }
.feature-story h3 { margin: .4rem 0; font-size: 2.3rem; line-height: .95; }
.feature-story p { font-size: 1.08rem; line-height: 1.55; color: #3e3d39; }
.article-list { display: grid; gap: .75rem; }
.article-row { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.article-row:nth-child(even) { margin-left: clamp(0rem, 3vw, 2.8rem); }
.article-row h3 { margin: .22rem 0; font-size: 1.45rem; line-height: 1.08; }
.article-row p { margin: 0; color: #4f4b44; line-height: 1.45; }
.article-row-meta, .article-meta, .article-page-meta { display: flex; gap: .45rem; flex-wrap: wrap; color: var(--muted); font: 700 .74rem/1.2 var(--typewriter); text-transform: uppercase; letter-spacing: .04em; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.article-card { padding: 1rem; min-height: 14rem; display: flex; flex-direction: column; }
.article-card h3 { font-size: 1.22rem; line-height: 1.08; margin: .65rem 0; }
.article-card p { color: #4f4b44; line-height: 1.48; flex: 1; overflow-wrap: anywhere; }
.article-meta span, .pill {
  border: 1px solid var(--line); border-radius: 1px; padding: .28rem .5rem; background: var(--paper-2);
}
.tag-row { display: flex; gap: .45rem; flex-wrap: wrap; }
.tag { color: #fff; background: var(--green); border-radius: 1px; padding: .32rem .55rem; font: 700 .78rem/1 var(--typewriter); text-decoration: none; }
.article-page { max-width: 820px; margin: 2.4rem auto; }
.article-page h1 { font-size: 4.4rem; line-height: .96; margin-bottom: .65rem; }
.article-hero-image {
  margin: 1rem 0 1.15rem;
  border: 1px solid var(--rule);
  background: var(--paper-2);
  box-shadow: 3px 3px 0 var(--rule);
}
.article-hero-image img {
  display: block;
  width: 100%;
  height: auto;
}
.article-hero-image figcaption {
  margin: 0;
  padding: .55rem .75rem;
  color: var(--muted);
  font: 700 .72rem/1.35 var(--typewriter);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.article-body { color: #25231f; font-size: 1.13rem; line-height: 1.78; overflow-wrap: anywhere; }
.article-body h2 { margin-top: 2.2rem; color: var(--ink); font-size: 1.7rem; line-height: 1.1; }
.article-body blockquote { border-left: 4px solid var(--accent); padding-left: 1rem; color: #4b3b31; background: rgba(255,250,241,.62); }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
code { overflow-wrap: anywhere; word-break: break-word; background: rgba(37,31,26,.08); padding: .08rem .22rem; border-radius: .2rem; }
.notice { padding: 1rem; border-left: 4px solid var(--gold); background: rgba(199,140,45,.13); color: #473316; margin: 1.25rem 0; }
.endmatter { margin-top: 2.2rem; padding: 1rem; border: 1px solid var(--line); background: rgba(255,250,241,.78); }
.share-panel {
  margin: 1.25rem 0 1.8rem;
  padding: 1rem;
  border: 1px solid var(--rule);
  background: rgba(255,250,241,.9);
  box-shadow: 4px 4px 0 rgba(37,31,26,.15);
}
.share-panel h2 { margin: .35rem 0 .45rem; font-size: 1.7rem; line-height: 1.05; }
.share-panel p { color: var(--muted); line-height: 1.45; }
.share-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin: .85rem 0; }
.share-actions .button + .button { margin-left: 0; }
.share-caption-box { display: grid; gap: .4rem; margin-top: .75rem; font: 700 .78rem/1.2 var(--typewriter); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.share-caption-box textarea {
  width: 100%;
  resize: vertical;
  min-height: 7rem;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  padding: .7rem;
  font: 700 .94rem/1.45 var(--typewriter);
}
.share-panel .share-state { margin: .65rem 0 0; }
.magic-mount {
  margin-top: 1rem;
  min-height: 7.5rem;
  border: 2px dashed rgba(37,31,26,.34);
  background:
    repeating-linear-gradient(135deg, rgba(46,122,93,.08) 0, rgba(46,122,93,.08) 8px, transparent 8px, transparent 16px),
    rgba(255,250,241,.62);
}
.magic-mount::before {
  content: attr(data-slot-label);
  display: block;
  padding: .75rem;
  color: var(--muted);
  font: 700 .75rem/1.25 var(--typewriter);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.reward-slot { min-height: 7.5rem; border-color: rgba(46,122,93,.55); background-color: #e6f1e7; }
.mount-ledger { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.mount-ledger article { padding: 1rem; }
.mount-ledger h3 { margin: 0 0 .55rem; font-size: 1.35rem; line-height: 1.08; }
.mount-ledger p { color: #4f4b44; line-height: 1.48; margin: 0; }
.goganochie-pet-mount, .goganochie-stray-mount {
  position: fixed;
  right: 1rem;
  z-index: 20;
  pointer-events: none;
}
.goganochie-pet-mount {
  bottom: 1rem;
  width: min(280px, calc(100vw - 2rem));
}
.goganochie-stray-mount { bottom: .75rem; width: min(220px, calc(100vw - 2rem)); }
.page-legacy-gogzilla .goganochie-stray-mount,
.page-legacy-cities-paris .goganochie-stray-mount,
.page-writing-who-wrote-it .goganochie-stray-mount { display: none; }
.goganochie-mobile-nudge { display: none; }
.goganochie-nudge-icon {
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
}
.goganochie-nudge-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(1px 1px 0 rgba(37,31,26,.45));
}
.rescue-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .8fr); gap: 1rem; align-items: start; }
.rescue-panel { padding: 1rem; }
.rescue-panel h3 { margin-top: 0; font-size: 1.5rem; }
.rescue-panel p, .rescue-panel li { color: #3e3d39; line-height: 1.55; }
.goganochie-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(22rem, .85fr);
  gap: 1.25rem;
  align-items: start;
}
.goganochie-main { padding: 1.15rem; }
.goganochie-main .magic-mount { min-height: 34rem; }
.goganochie-side { display: grid; gap: 1rem; }
.goganochie-side .magic-mount { min-height: 8rem; }
.goganochie-link-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin-top: .75rem; }
.goganochie-link-list a {
  display: block;
  padding: .6rem .7rem;
  border: 1px solid var(--line);
  background: rgba(244,239,229,.78);
  font: 700 .9rem/1.15 var(--typewriter);
  text-decoration: none;
}
.gogzilla-source { display: grid; gap: .8rem; }
.gogzilla-source-frame {
  position: relative;
  width: min(100%, 590px);
  aspect-ratio: 59 / 32;
  min-height: 0;
  border: 1px solid var(--rule);
  background: #0d1419;
  box-shadow: 4px 4px 0 rgba(37,31,26,.2);
  overflow: hidden;
}
.gogzilla-source-frame ruffle-player,
.gogzilla-source-frame ruffle-embed,
.gogzilla-source-frame object,
.gogzilla-source-frame embed {
  display: block;
  width: 100%;
  height: 100%;
}
.gogzilla-source-status {
  color: var(--muted);
  font: 700 .88rem/1.35 var(--typewriter);
}
.gogzilla-source-fallback {
  display: grid;
  place-items: center;
  min-height: 14rem;
  padding: 1rem;
  color: #fffaf1;
  background: #0d1419;
  text-align: center;
  font: 700 .95rem/1.35 var(--typewriter);
}
.topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.topic-card { padding: 1rem; min-height: 8rem; text-decoration: none; }
.topic-card strong { display: block; font-size: 1.25rem; margin-bottom: .5rem; }
.profile-links { display: flex; gap: .65rem; flex-wrap: wrap; margin: 1rem 0; }
.profile-links a { text-decoration: none; }
.two-up { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.signup-panel { padding: 1rem; border-top: 6px solid var(--green); }
.signup-panel h3, .city-card h3, .membership-card h3 { margin: .35rem 0 .65rem; font-size: 1.6rem; line-height: 1.05; }
.signup-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 1rem 0; }
.signup-choice {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .65rem;
  padding: .8rem; border: 1px solid var(--line); background: rgba(244,239,229,.78);
  font: 700 .92rem/1.3 var(--typewriter);
}
.fake-check { width: 1.1rem; height: 1.1rem; border: 2px solid var(--green); background: var(--paper-2); margin-top: .05rem; }
.small-muted { color: var(--muted); font: 700 .86rem/1.45 var(--typewriter); }
.city-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.city-card, .membership-card { padding: 1rem; min-height: 12rem; }
.city-card strong { display: block; color: var(--accent); font: 700 .74rem/1.2 var(--typewriter); text-transform: uppercase; letter-spacing: .08em; }
.city-card p, .membership-card p { color: #4f4b44; line-height: 1.48; }
.city-card.is-next { border-top: 5px solid var(--gold); }
.city-stage {
  min-height: 19rem;
  display: grid;
  align-content: end;
  padding: 1rem;
  color: #fffaf1;
  background:
    linear-gradient(135deg, rgba(29,33,31,.86), rgba(45,96,124,.76)),
    repeating-linear-gradient(90deg, rgba(255,250,241,.11) 0, rgba(255,250,241,.11) 1px, transparent 1px, transparent 2.5rem);
  border: 1px solid var(--rule);
  box-shadow: 4px 4px 0 rgba(37,31,26,.2);
}
.city-stage h3 { margin: .25rem 0; font: 700 3rem/.88 var(--typewriter); color: var(--gold); text-transform: uppercase; }
.city-stage p { max-width: 35rem; color: #fffaf1; line-height: 1.45; }
.city-photo { margin: 0; border: 1px solid var(--rule); background: #171511; box-shadow: 4px 4px 0 rgba(37,31,26,.18); }
.city-photo img { display: block; width: 100%; max-height: 42rem; object-fit: contain; background: #0f1211; }
.city-photo figcaption { padding: .75rem .9rem; color: #fffaf1; font: 700 .78rem/1.45 var(--typewriter); }
.city-dispatch { display: grid; gap: .8rem; margin-top: 1rem; }
.city-dispatch-card {
  border: 1px solid var(--line);
  background: rgba(244,239,229,.76);
  padding: .85rem;
}
.city-dispatch-card strong {
  display: block;
  margin-bottom: .35rem;
  color: var(--accent);
  font: 700 .78rem/1.2 var(--typewriter);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.city-dispatch-card p { margin: 0; color: #3e3d39; line-height: 1.48; }
.source-evidence { margin-top: .85rem; color: var(--muted); font: 700 .82rem/1.45 var(--typewriter); }
.source-checklist { display: grid; gap: .55rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.source-checklist li { padding: .65rem .75rem; border: 1px solid var(--line); background: rgba(255,250,241,.78); color: #3e3d39; }
.about-ledger { display: grid; gap: .85rem; margin-top: 1.2rem; }
.about-ledger article { padding: 1rem; border-left: 5px solid var(--accent); }
.house-banner {
  max-width: 1480px; margin: 1rem auto 0;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center;
  border-top: 3px double var(--rule);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(46,122,93,.12), rgba(199,140,45,.12));
}
.house-banner strong { display: block; font-size: 1.25rem; margin: .25rem 0; }
.house-banner p { margin: 0; color: var(--muted); max-width: 48rem; }
.house-banner-pill { align-self: center; text-decoration: none; }
.site-footer {
  max-width: 1480px; margin: 1rem auto 0;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.2rem clamp(1rem, 3vw, 2rem) 1.5rem;
  color: var(--muted); border-top: 3px double var(--rule);
}
[data-parallax] {
  transform: translate3d(0, var(--parallax-y, 0), 0) rotate(var(--tilt, 0deg));
  will-change: transform;
}
.motion-ready [data-reveal] {
  opacity: 0;
  translate: 0 1.6rem;
  transition: opacity .72s ease, translate .85s cubic-bezier(.2,.75,.25,1);
}
.motion-ready [data-reveal].is-visible { opacity: 1; translate: 0 0; }
.motion-ready .hero h1 span {
  clip-path: inset(0 100% 0 0);
  animation: typed-line .78s steps(12, end) forwards;
}
.motion-ready .hero h1 span:nth-child(2) { animation-delay: .48s; }
@keyframes typed-line { to { clip-path: inset(0 0 0 0); } }
@keyframes typewriter-caret { 0%, 48% { opacity: 1; } 49%, 100% { opacity: 0; } }
@media (max-width: 920px) {
  .site-header, .hero, .featured-grid, .goganochie-grid, .section-head, .rescue-grid { grid-template-columns: 1fr; }
  .site-nav { justify-content: flex-start; }
  h1 { font-size: 4.2rem; }
  .hero p { font-size: 1.18rem; }
  .article-grid, .mount-ledger, .signup-options, .city-grid, .two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .goganochie-pet-mount, .goganochie-stray-mount {
    position: static;
    width: auto;
    max-width: 1180px;
    margin: 1rem auto;
    padding: 0 1rem;
    pointer-events: auto;
  }
  .hero { min-height: auto; }
  .hero::before { inset: 2.2rem 18% 1.8rem -5vw; }
}
@media (max-width: 640px) {
  .site-header, main { width: 100%; max-width: 100%; }
  .site-header { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding-inline: 1rem; }
  .menu-toggle { display: inline-flex; width: auto; min-width: 5.6rem; }
  .site-nav { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; width: 100%; gap: .45rem; font-size: .78rem; }
  .site-header.nav-ready .site-nav { display: none; }
  .site-header.nav-ready.is-menu-open .site-nav { display: grid; }
  .site-nav a { display: block; width: 100%; text-align: center; padding-inline: .45rem; }
  main { padding: 1rem; }
  .brand-title { font-size: 1.9rem; }
  .brand-kicker { font-size: .68rem; letter-spacing: .04em; }
  h1 { font-size: 3.05rem; line-height: .92; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: .6rem; }
  .button, button { width: 100%; text-align: center; }
  .button + .button { margin-left: 0; margin-top: .55rem; }
  .share-actions { display: grid; grid-template-columns: 1fr; gap: .55rem; }
  .share-actions .button, .share-actions button { width: 100%; }
  .article-hero-image { margin-inline: 0; }
  .page-writing-who-wrote-it .goganochie-mobile-nudge {
    position: fixed;
    right: .7rem;
    bottom: .7rem;
    z-index: 80;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .38rem .55rem .38rem .42rem;
    max-width: calc(100vw - 1.4rem);
    border: 1px solid var(--rule);
    border-radius: 1px;
    background: var(--paper-2);
    color: var(--ink);
    box-shadow: 2px 2px 0 var(--rule);
    font: 700 .78rem/1 var(--typewriter);
    text-decoration: none;
  }
  .temporary-note { display: block; margin-top: .6rem; }
  .temporary-note span { display: block; margin-top: .35rem; }
  .house-banner { grid-template-columns: 1fr; }
  .article-page h1 { font-size: 2.75rem; }
  .section-head h1, .section-head h2 { font-size: 2rem; }
  .article-grid, .topic-grid, .mount-ledger, .signup-options, .city-grid, .two-up { grid-template-columns: 1fr; }
  .magic-mount .gg-root, .magic-mount .gg-panel, .magic-mount .gg-card, .magic-mount .gg-mode, .magic-mount .gg-reward { max-width: 100% !important; min-width: 0 !important; }
  .magic-mount .gg-picker, .magic-mount .gg-modes { grid-template-columns: 1fr !important; }
  .magic-mount .gg-pick, .magic-mount .gg-btn { width: 100% !important; min-width: 0 !important; overflow-wrap: anywhere !important; }
  .magic-mount .gg-reward, .magic-mount .gg-gog { display: grid !important; grid-template-columns: 1fr !important; }
  .gogzilla-source-frame { width: 100%; }
  .site-footer { display: block; }
  .paper-drift { opacity: .42; width: 18rem; height: 26rem; }
  .hero::before { inset: 2rem 4vw 1.4rem -4vw; }
  .article-row:nth-child(even) { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-parallax] { transform: none !important; }
  .motion-ready [data-reveal] { opacity: 1; translate: none; }
}


/* Ogham gallery and archive projection */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: clamp(.75rem, 1.5vw, 1.2rem);
  align-items: start;
}
.gallery-item {
  margin: 0;
  padding: .45rem;
  background: rgba(255, 252, 241, .9);
  border: 1px solid rgba(55, 45, 34, .2);
  box-shadow: 0 10px 24px rgba(45, 35, 25, .12);
  transform: rotate(var(--gallery-tilt, -.35deg));
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.gallery-item:nth-child(3n) { --gallery-tilt: .45deg; }
.gallery-item:nth-child(5n) { --gallery-tilt: -.7deg; }
.gallery-item:hover,
.gallery-item:focus-within {
  transform: translateY(-5px) rotate(0);
  box-shadow: 0 16px 32px rgba(45, 35, 25, .2);
}
.gallery-item a { display: block; overflow: hidden; background: #d9d0bf; }
.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(.92) contrast(1.03);
  transition: transform 420ms ease, filter 220ms ease;
}
.gallery-item:hover img,
.gallery-item:focus-within img { transform: scale(1.035); filter: saturate(1) contrast(1.04); }
.gallery-item figcaption {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  padding: .55rem .25rem .15rem;
  font-size: .78rem;
  color: var(--muted);
}
.archive-index { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.archive-index li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px dashed rgba(55, 45, 34, .22);
}
.archive-index span { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.magic-mount::before { display: none; }
.gg-stray {
  left: 1rem !important;
  right: auto !important;
  transform-origin: left bottom;
}
@media (max-width: 620px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-index li { grid-template-columns: 1fr; gap: .25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-item, .gallery-item img { transition: none; transform: none !important; }
}

/* Keep the feeding bubble centred while its scale animation runs. */
.gg-root .gg-burp {
  translate: -50% 0;
  transform: none;
}
@media (max-width: 920px) {
  .goganochie-pet-mount, .goganochie-stray-mount {
    inset: auto;
  }
}
