@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700&family=Patrick+Hand&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:    #fdf8ec;
  --white:    #fffdf5;
  --ink:      #2c2010;
  --green:    #5a8a3c;
  --green-lt: #e4f0d8;
  --red:      #c0392b;
  --amber:    #d4820a;
  --orange:   #e07b3a;
  --muted:    #7a6a52;
  --border:   #2c2010;
  --rule:     #e0d4b8;
  --shadow:    4px 4px 0 #2c2010;
  --shadow-sm: 3px 3px 0 #2c2010;
}

html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Nunito', sans-serif; background: var(--cream); color: var(--ink); line-height: 1.7; font-weight: 400; overflow-x: hidden; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; display: block; }

.skip-link { position: absolute; left: -999px; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { left: 1rem; top: 1rem; width: auto; height: auto; background: var(--green); color: #fff; padding: 0.5rem 1rem; z-index: 9999; border-radius: 4px; }

/* ===== NAV ===== */
header { background: var(--white); border-bottom: 2.5px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: 1080px; margin: 0 auto; padding: 0 2rem; height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-mark { display: flex; align-items: center; gap: 0.55rem; flex-shrink: 0; }
.site-mark img { height: 32px; width: auto; }
.site-mark-text { line-height: 1.15; }
.site-mark-name { display: block; font-size: 0.88rem; font-weight: 700; color: var(--ink); }
.site-mark-sub  { display: block; font-size: 0.68rem; font-weight: 500; color: var(--muted); margin-top: 1px; }

nav ul { list-style: none; display: flex; gap: 0.4rem; }
nav a { display: block; padding: 0.38rem 0.9rem; font-size: 0.82rem; font-weight: 600; color: var(--muted); border: 1.5px solid transparent; border-radius: 6px; transition: all 0.12s; white-space: nowrap; }
nav a:hover { border-color: var(--border); color: var(--ink); background: var(--cream); }
nav a.active { background: var(--ink); color: var(--white); border-color: var(--border); box-shadow: var(--shadow-sm); }

/* ===== HERO ===== */
.hero {
  border-bottom: 2.5px solid var(--border);
  position: relative;
  /* NO overflow:hidden — lets deco SVGs show outside */
  height: 88vh; min-height: 560px; max-height: 860px;
}

/* All city layers use z-index carefully */
.city-sky { position: absolute; inset: 0; background: linear-gradient(180deg, #b8e0f8 0%, #cceebb 55%, #aad488 100%); z-index: 0; }
.city-sun { position: absolute; top: 7%; right: 8%; width: 85px; height: 85px; border-radius: 50%; background: radial-gradient(circle, #f9e84a 40%, #f5c832 100%); opacity: 0.75; z-index: 1; animation: sunpulse 6s ease-in-out infinite; }
@keyframes sunpulse { 0%,100% { opacity: 0.75; } 50% { opacity: 0.85; transform: scale(1.04); } }

.cloud { position: absolute; z-index: 2; pointer-events: none; }
.cloud-1 { top: 9%;  animation: drift 30s linear infinite; }
.cloud-2 { top: 16%; animation: drift 40s linear 10s infinite; opacity: 0.8; }
.cloud-3 { top: 5%;  animation: drift 34s linear 20s infinite; opacity: 0.7; }
@keyframes drift { from { left: -180px; } to { left: 110%; } }

.city-bldgs { position: absolute; bottom: 108px; left: 0; right: 0; z-index: 1; pointer-events: none; }
.city-ground { position: absolute; bottom: 0; left: 0; right: 0; height: 108px; background: #8ab860; z-index: 3; }
.city-road   { position: absolute; bottom: 0; left: 0; right: 0; height: 80px; background: #b0ac94; z-index: 4; }
.city-kerb   { position: absolute; bottom: 80px; left: 0; right: 0; height: 8px; background: #c8c4aa; z-index: 4; }
.city-grass  { position: absolute; bottom: 88px; left: 0; right: 0; height: 20px; background: #8ab860; z-index: 4; }
.road-marks  { position: absolute; bottom: 30px; left: 0; right: 0; height: 6px; z-index: 5; background: repeating-linear-gradient(to right, rgba(255,255,255,0.5) 0px, rgba(255,255,255,0.5) 60px, transparent 60px, transparent 110px); }

.city-tree { position: absolute; bottom: 88px; z-index: 5; pointer-events: none; }
.city-lamp { position: absolute; bottom: 88px; z-index: 5; pointer-events: none; }

/* Animated objects */
.city-bus  { position: absolute; bottom: 82px; z-index: 6; animation: busmove 20s linear infinite; }
.city-bike { position: absolute; bottom: 90px; z-index: 6; animation: bikemove 25s linear 5s infinite; }
.city-walk { position: absolute; bottom: 90px; z-index: 6; animation: walkmove 28s linear 2s infinite; }
@keyframes busmove  { from { left: -160px; } to { left: 110%; } }
@keyframes bikemove { from { left: -90px;  } to { left: 110%; } }
@keyframes walkmove { from { right: -80px; } to { right: 110%; } }

/* Center content — flex column, glass card then buttons */
.hero-center {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 108px; /* above ground */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  z-index: 8;
  padding: 0 1.5rem;
}

/* Frosted glass hero card — translucent, shrinks to fit its text */
.hero-glass {
  width: fit-content;
  max-width: min(760px, 92vw);
  background: rgba(255,253,245,0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-radius: 20px;
  padding: 2rem 2.5rem 1.75rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(44,32,16,0.13);
}

.hero-kicker { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green); margin-bottom: 0.85rem; text-shadow: 0 1px 12px rgba(255,253,245,0.9), 0 1px 3px rgba(255,253,245,0.9); }

.hero-h1 {
  font-size: clamp(1.1rem, 2.2vw, 1.9rem);
  font-weight: 700; color: var(--ink); line-height: 1.25;
  opacity: 0;
  text-shadow: 0 1px 16px rgba(255,253,245,0.95), 0 1px 4px rgba(255,253,245,0.95);
  animation: fadein 0.6s ease 0.2s forwards;
}

.hero-subtitle { font-size: 1.05rem; font-weight: 500; color: var(--muted); margin-top: 0.5rem; opacity: 0; text-shadow: 0 1px 10px rgba(255,253,245,0.9); animation: fadein 0.6s ease 0.45s forwards; }
.hero-byline   { font-size: 0.82rem; font-weight: 500; color: var(--muted); margin-top: 0.25rem; opacity: 0; text-shadow: 0 1px 10px rgba(255,253,245,0.9); animation: fadein 0.6s ease 0.65s forwards; }
.hero-byline strong { color: var(--muted); font-weight: 500; }

@keyframes fadein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.hero-buttons {
  display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center;
  width: min(900px, 94vw);
  opacity: 0; animation: fadein 0.5s ease 0.9s forwards;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.38rem;
  padding: 0.58rem 1.15rem;
  font-family: 'Nunito', sans-serif; font-size: 0.81rem; font-weight: 700;
  border: 2px solid var(--border); border-radius: 8px;
  box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s; white-space: nowrap;
}
.btn:hover { transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--border); text-decoration: none; }
.btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--border); }
.btn i { font-size: 0.88rem; line-height: 1; }
.btn-green { background: var(--green); color: #fff; }
.btn-red   { background: var(--red);   color: #fff; }
.btn-amber { background: var(--amber); color: #fff; }
.btn-ghost { background: rgba(255,253,245,0.92); color: var(--ink); }

/* ===== DECO SVGs — fixed to viewport sides ===== */
.deco-left, .deco-right {
  position: fixed; top: 50%; transform: translateY(-50%);
  z-index: 50; pointer-events: none; opacity: 0.35;
  display: none;
}
@media (min-width: 1100px) {
  .deco-left, .deco-right { display: block; }
}
.deco-left  { left: 4px; }
.deco-right { right: 4px; }

/* ===== PAGE WRAP ===== */
.page-wrap { max-width: 1060px; margin: 0 auto; padding: 3.5rem 2rem 5rem; display: flex; flex-direction: column; gap: 2rem; }

/* ===== RETRO WINDOW ===== */
.window { background: var(--white); border: 2.5px solid var(--border); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.window-bar { display: flex; align-items: center; padding: 0.5rem 0.9rem; border-bottom: 2.5px solid var(--border); }
.window-bar-title { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; flex: 1; text-align: center; color: inherit; }
.window-green .window-bar { background: var(--green); color: #fff; }
.window-red   .window-bar { background: var(--red);   color: #fff; }
.window-amber .window-bar { background: var(--amber); color: #fff; }
.window-ink   .window-bar { background: var(--ink);   color: #fff; }
.window-cream .window-bar { background: #e8d8a0; color: var(--ink); }
.window-body { padding: 1.75rem 2rem; }

/* ===== TYPE SCALE ===== */
.label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); margin-bottom: 0.35rem; }
h2.sh  { font-size: 1.45rem; font-weight: 700; color: var(--ink); line-height: 1.2; margin-bottom: 1.25rem; }
p { margin-bottom: 1rem; font-weight: 400; }
p:last-child { margin-bottom: 0; }
p.muted { color: var(--muted); font-size: 0.9rem; }

.abstract p { font-size: 0.97rem; line-height: 1.85; color: var(--ink); margin: 0; }

/* ===== CARDS ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; align-items: stretch; }
.card { display: flex; flex-direction: column; background: var(--cream); border: 2px solid var(--border); border-radius: 8px; padding: 1.25rem 1.35rem; box-shadow: var(--shadow-sm); transition: transform 0.12s, box-shadow 0.12s; }
.card:hover { transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--border); }
.card-badge { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 2px solid var(--border); border-radius: 6px; margin-bottom: 0.85rem; box-shadow: 2px 2px 0 var(--border); font-size: 0.92rem; flex-shrink: 0; }
.badge-green  { background: var(--green-lt); color: var(--green); }
.badge-red    { background: #fce8e6; color: var(--red); }
.badge-amber  { background: #fdf0d5; color: var(--amber); }
.badge-orange { background: #fde8d5; color: var(--amber); }
.card h3 { font-size: 0.84rem; font-weight: 700; color: var(--ink); margin-bottom: 0.3rem; flex-shrink: 0; }
.card p  { font-size: 0.82rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* ===== META TABLE ===== */
.meta-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.meta-table tr { border-bottom: 1.5px solid var(--rule); }
.meta-table tr:last-child { border-bottom: none; }
.meta-table th { text-align: left; padding: 0.75rem 1rem 0.75rem 0; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); width: 36%; vertical-align: top; }
.meta-table td { padding: 0.75rem 0; color: var(--ink); font-weight: 500; }

/* ===== AUTHOR ===== */
.author-layout { display: flex; align-items: flex-start; gap: 1.5rem; }
.author-avatar { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--border); background: linear-gradient(135deg, #5a8a3c, #c0392b); display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; color: #fff; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.author-info h3 { font-size: 0.95rem; font-weight: 700; color: var(--ink); margin-bottom: 0.2rem; }
.author-info p  { font-size: 0.84rem; color: var(--muted); line-height: 1.65; margin-bottom: 0.7rem; }
.author-socials { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.social-chip { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.26rem 0.7rem; font-size: 0.73rem; font-weight: 600; border: 2px solid var(--border); border-radius: 4px; color: var(--ink); background: var(--cream); box-shadow: 2px 2px 0 var(--border); transition: transform 0.1s, box-shadow 0.1s; }
.social-chip:hover { transform: translate(-1px,-1px); box-shadow: 3px 3px 0 var(--border); text-decoration: none; color: var(--ink); }
.social-chip i { font-size: 0.82rem; }

/* ===== LINK CARDS ===== */
.link-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.link-card { display: flex; align-items: flex-start; gap: 1rem; background: var(--cream); border: 2px solid var(--border); border-radius: 8px; padding: 1.2rem 1.3rem; box-shadow: var(--shadow-sm); color: var(--ink); transition: transform 0.12s, box-shadow 0.12s; }
.link-card:hover { transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--border); text-decoration: none; color: var(--ink); }
.link-icon { width: 38px; height: 38px; border-radius: 6px; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; box-shadow: 2px 2px 0 var(--border); }
.icon-green { background: var(--green-lt); color: var(--green); }
.icon-red   { background: #fce8e6; color: var(--red); }
.link-card-body { flex: 1; }
.link-card-body strong { display: block; font-size: 0.86rem; font-weight: 700; margin-bottom: 0.2rem; }
.link-card-body span  { font-size: 0.77rem; color: var(--muted); line-height: 1.5; }
.link-arr { color: var(--muted); align-self: center; padding-left: 0.5rem; }

/* ===== DOWNLOADS ===== */
.dl-list { list-style: none; }
.dl-list li { display: flex; align-items: center; gap: 1rem; padding: 0.88rem 0; border-bottom: 1.5px dashed var(--rule); }
.dl-list li:last-child { border-bottom: none; }
.dl-icon { width: 38px; height: 38px; border-radius: 6px; border: 2px solid var(--border); background: var(--green-lt); display: flex; align-items: center; justify-content: center; font-size: 0.95rem; color: var(--green); flex-shrink: 0; box-shadow: 2px 2px 0 var(--border); }
.dl-info { flex: 1; }
.dl-info strong { display: block; font-size: 0.87rem; font-weight: 700; color: var(--ink); }
.dl-info span   { font-size: 0.74rem; color: var(--muted); }
.dl-link { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.74rem; font-weight: 700; color: var(--ink); padding: 0.36rem 0.85rem; border: 2px solid var(--border); border-radius: 4px; background: var(--cream); box-shadow: 2px 2px 0 var(--border); white-space: nowrap; transition: transform 0.1s, box-shadow 0.1s; }
.dl-link:hover { transform: translate(-1px,-1px); box-shadow: 3px 3px 0 var(--border); text-decoration: none; color: var(--ink); }

/* ===== PAGE BANNER ===== */
.page-banner { border-bottom: 2.5px solid var(--border); padding: 3rem 2rem 2.5rem; text-align: center; background: var(--cream); }
.page-banner-inner { max-width: 1060px; margin: 0 auto; }
.page-banner h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 700; color: var(--ink); line-height: 1.15; margin-bottom: 0.45rem; }
.page-banner p  { font-size: 0.9rem; color: var(--muted); margin: 0; }
.page-banner-btn { margin-top: 1.25rem; }

/* ===== PARTNERS ===== */
.partners { background: var(--white); border-top: 2.5px solid var(--border); padding: 2.25rem 2rem; }
.partners-inner { max-width: 1060px; margin: 0 auto; }
.partners-label { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 1.4rem; }
.logos-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem 2.5rem; }
.logos-row a { display: flex; align-items: center; }
.logos-row img { height: 38px; width: auto; object-fit: contain; opacity: 0.82; transition: opacity 0.2s, transform 0.2s; }
.logos-row img:hover { opacity: 1; transform: scale(1.05); }

/* ===== BACKGROUND PHOTO COLLAGE ===== */
.bg-photo-strip { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.5rem; justify-content: center; }
.bg-photo-strip figure {
  width: 160px; background: var(--white); border: 2px solid var(--border);
  border-radius: 8px; padding: 0.35rem 0.35rem 0.45rem; box-shadow: var(--shadow-sm);
  transition: transform 0.18s, z-index 0s; position: relative;
}
.bg-photo-strip figure:nth-child(1) { transform: rotate(-4deg) translateX(6px); z-index: 1; }
.bg-photo-strip figure:nth-child(2) { transform: rotate(3deg) translateY(-8px); z-index: 2; }
.bg-photo-strip figure:nth-child(3) { transform: rotate(-2deg) translateX(-8px) translateY(4px); z-index: 1; }
.bg-photo-strip figure:nth-child(4) { transform: rotate(2deg) translateX(8px) translateY(2px); z-index: 1; }
.bg-photo-strip figure:nth-child(5) { transform: rotate(-3deg) translateY(-6px); z-index: 2; }
.bg-photo-strip figure:nth-child(6) { transform: rotate(4deg) translateX(-6px); z-index: 1; }
.bg-photo-strip figure:hover { transform: rotate(0deg) translateY(-8px) scale(1.08); z-index: 5; }
.bg-photo-strip img { width: 100%; height: 130px; object-fit: cover; border-radius: 4px; display: block; }
@media (max-width: 700px) {
  .bg-photo-strip figure { width: 42%; transform: rotate(0deg) !important; }
}

/* ===== SCORE LEGEND (plain text) ===== */
.score-legend { margin: 1rem 0 0.3rem; font-size: 0.85rem; color: var(--ink); line-height: 2; }
.score-legend .score-item { margin-right: 1.3rem; white-space: nowrap; }
.score-legend strong { font-weight: 700; }
.score-legend .score-range { color: var(--muted); font-weight: 500; }

/* ===== SWIPEABLE MAP CAROUSEL ===== */
.map-carousel { margin-top: 1.1rem; max-width: 460px; margin-left: auto; margin-right: auto; }
.map-carousel-viewport {
  position: relative; overflow: hidden; border: 2px solid var(--border);
  border-radius: 10px; box-shadow: var(--shadow); background: var(--cream);
  touch-action: pan-y;
}
.map-carousel-track { display: flex; transition: transform 0.35s ease; }
.map-carousel-slide { flex: 0 0 100%; aspect-ratio: 6 / 5; }
.map-carousel-slide img { width: 100%; height: 100%; object-fit: contain; display: block; user-select: none; -webkit-user-drag: none; }
.map-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--border); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: transform 0.1s;
}
.map-carousel-arrow:hover { transform: translateY(-50%) translateX(0) scale(1.06); }
.map-carousel-prev { left: 0.5rem; }
.map-carousel-next { right: 0.5rem; }
.map-carousel-dots { display: flex; justify-content: center; gap: 0.4rem; margin-top: 0.75rem; }
.map-carousel-dot {
  width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--border);
  background: var(--rule); cursor: pointer; padding: 0; transition: background 0.15s, transform 0.15s;
}
.map-carousel-dot.active { background: var(--green); transform: scale(1.2); }

/* ===== GALLERY ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.gallery-item { border: 2px solid var(--border); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; display: block; }
.gallery-caption { padding: 0.6rem 0.85rem; font-size: 0.78rem; color: var(--muted); background: var(--white); }
.gallery-placeholder {
  border: 2px dashed var(--rule); border-radius: 8px; height: 180px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; color: var(--muted); font-size: 0.8rem; background: var(--white);
}
.gallery-placeholder i { font-size: 2rem; opacity: 0.4; }

/* ===== RESPONSIVE ===== */
@media (max-width: 760px) {
  .header-inner { padding: 0 1rem; gap: 0.75rem; }
  nav a { padding: 0.32rem 0.6rem; font-size: 0.76rem; }
  .hero-glass { padding: 1.4rem 1.25rem 1.2rem; }
  .hero-h1 { font-size: 1.15rem; }
  .page-wrap { padding: 2rem 1.25rem 4rem; gap: 1.5rem; }
  .page-banner { padding: 2rem 1.25rem 1.75rem; }
  .window-body { padding: 1.25rem; }
  .author-layout { flex-direction: column; gap: 1rem; }
  .footer-socials { justify-content: center; }
}

/* Small phones: header can't fit logo + full nav on one fixed-height row —
   let it wrap onto a second line instead of pushing nav off-screen. */
@media (max-width: 480px) {
  .header-inner {
    height: auto;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.6rem 0.75rem;
    gap: 0.4rem;
  }
  .site-mark-sub { display: none; }
  nav ul { flex-wrap: wrap; justify-content: center; gap: 0.3rem; }
  nav a { padding: 0.3rem 0.55rem; font-size: 0.72rem; }
}

/* ===== CARD LINK BUTTON ===== */
.card-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  margin-top: auto; align-self: flex-start;
  font-size: 0.75rem; font-weight: 700;
  color: var(--green); border: 1.5px solid var(--green);
  border-radius: 4px; padding: 0.28rem 0.7rem;
  transition: background 0.12s, color 0.12s;
}
.card-link:hover { background: var(--green); color: #fff; text-decoration: none; }
.card-link i { font-size: 0.78rem; }

/* ===== QUOTE CLOUD (sophisticated cloud shape, animation clipped safely inside) ===== */
.quote-banner { position: relative; display: flex; justify-content: center; align-items: center; padding: 1rem 2rem 2rem; margin: -2.5rem 0 -0.5rem; z-index: 2; min-height: 200px; overflow: hidden; }
.quote-bg-scene { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.45; z-index: 0; pointer-events: none; display: none; }
@media (min-width: 860px) { .quote-bg-scene { display: block; } }
.quote-card {
  position: relative;
  z-index: 1;
  width: min(460px, 88vw);
  aspect-ratio: 2 / 1.15;
  overflow: hidden;
}
.quote-cloud-bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; filter: drop-shadow(0 6px 14px rgba(44,32,16,0.16)); }
.quote-content {
  position: absolute; inset: 26% 20% 16%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.quote-text {
  font-family: 'Patrick Hand', cursive; font-size: clamp(0.72rem, 2.6vw, 0.95rem); line-height: 1.3; font-style: normal; font-weight: 400; color: var(--ink);
  text-align: center; margin: 0;
}
.quote-text cite { display: block; margin-top: 0.3rem; font-size: 0.7rem; font-style: normal; font-weight: 700; color: var(--green); font-family: 'Patrick Hand', cursive; }

/* Motion strip — contained inside the cloud's body, right underneath the quote */
.quote-motion { width: 100%; margin-top: 0.4rem; height: 26px; position: relative; overflow: hidden; flex-shrink: 0; }
.quote-motion .qm-icon { position: absolute; bottom: 2px; transform-origin: bottom center; }
.qm-bike  { animation: qm-right 9s linear infinite; }
.qm-scoot { animation: qm-right 13s linear 3s infinite; }
.qm-walk  { animation: qm-left  11s linear 5.5s infinite; }
@keyframes qm-right { from { left: -30px; } to { left: 100%; } }
@keyframes qm-left  { from { left: 100%; transform: scaleX(-1); } to { left: -30px; transform: scaleX(-1); } }

/* ===== FOOTER (plain, white — logos are jpegs so it needs to stay light) ===== */
.site-footer { background: var(--white); border-top: 2.5px solid var(--border); }

.footer-bar {
  width: 100%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1.1rem 2.5rem;
}

.footer-left { display: flex; align-items: center; gap: 0.85rem; flex-shrink: 0; }
.footer-name  { font-size: 0.85rem; font-weight: 700; color: var(--ink); white-space: nowrap; line-height: 1; margin: 0; }
.footer-socials { display: flex; gap: 0.4rem; }
.footer-social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--border); color: var(--ink); font-size: 0.85rem;
  background: var(--white); box-shadow: 2px 2px 0 var(--border);
  transition: transform 0.12s, background 0.12s, color 0.12s;
}
.footer-social:hover { background: var(--green); color: #fff; border-color: var(--green); text-decoration: none; transform: translate(-1px,-1px); }

.footer-logos-row {
  display: flex; flex-wrap: nowrap; align-items: center;
  gap: 0.6rem; justify-content: center;
  overflow-x: auto; scrollbar-width: none;
}
.footer-logos-row::-webkit-scrollbar { display: none; }
.footer-logos-row a { display: flex; align-items: center; flex-shrink: 0; }
.footer-logos-row img {
  height: 26px; width: auto; object-fit: contain;
  transition: opacity 0.2s;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-bar { justify-content: center; text-align: center; padding: 1.25rem 1.25rem; gap: 0.9rem; }
  .footer-left { display: flex; flex-direction: column; align-items: center; }
  .footer-socials { justify-content: center; }
  .footer-logos-row { justify-content: center; }
}
