/* =========================================================
   口袋營養獅 Co-Dare — 營養師的日常健康讀本
   Warm cream + lake blue, rounded type, dotted outlines,
   waves and gentle motion.
   ========================================================= */

:root {
  --bg: #FFFAF2;
  --alt: #FDF3E4;
  --card: #FFFEFB;
  --pale: #E6F4F2;
  --ph: #EFE6D8;
  --lake: #066D7B;
  --lake-dark: #055864;
  --water: #1B959D;
  --light: #80D5CE;
  --deep: #0A4F59;
  --sand: #E4D3B4;
  --ink: #3A3A36;
  --body: #5B5750;
  --muted: #6F6A61;
  --line: #E5DCCB;
  --dot: #A9D8D1;
  --on-deep: #E8EFEC;

  --round: "Huninn", "Noto Sans TC", "PingFang TC", sans-serif;
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --en: "Quicksand", "Noto Sans TC", sans-serif;

  --radius-lg: 40px;
  --radius: 28px;
  --radius-sm: 18px;
  --shadow: 0 10px 30px rgba(120, 100, 70, 0.08);
  --shadow-hover: 0 16px 36px rgba(120, 100, 70, 0.14);
  --dotted: 2px dotted var(--dot);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .02em;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lake); }
h1, h2, h3 { font-family: var(--round); font-weight: 400; margin: 0; line-height: 1.4; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
b, strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--water); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 780px; }
.center { text-align: center; }
.center-row { justify-content: center; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lake); color: #fff; padding: 8px 16px; border-radius: 999px; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons & tags ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--round); font-size: 16px; letter-spacing: .08em; text-decoration: none;
  padding: 12px 26px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  cursor: pointer; white-space: nowrap;
}
.btn .arrow { display: inline-block; transition: transform .3s var(--ease); font-family: var(--en); font-weight: 700; }
.btn:hover { transform: translateY(-2px) scale(1.03); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-primary { background: var(--lake); color: #FFF8EE; box-shadow: 0 6px 18px rgba(6, 109, 123, .22); }
.btn-primary:hover { background: var(--lake-dark); }
.btn-soft { background: var(--card); color: var(--lake); border: var(--dotted); }
.btn-soft:hover { box-shadow: var(--shadow); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }

.tag {
  display: inline-block; font-size: 13px; line-height: 1.6; font-weight: 500;
  color: var(--lake); background: var(--pale); padding: 2px 12px; border-radius: 999px; text-decoration: none;
}
.tag-soft { background: var(--card); border: var(--dotted); }
.eyebrow { font-family: var(--en); font-weight: 700; font-size: 14px; letter-spacing: .3em; color: var(--lake); text-transform: uppercase; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 242, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px dotted rgba(169, 216, 209, .6);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand img { width: 140px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; list-style: none; }
.site-nav a:not(.btn) {
  font-family: var(--round); font-size: 16px; color: var(--ink); text-decoration: none; letter-spacing: .06em;
  padding: 6px 0; background: linear-gradient(var(--light), var(--light)) left bottom / 0 3px no-repeat;
  transition: background-size .3s var(--ease), color .2s;
}
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--lake); background-size: 100% 3px; }
.site-nav .nav-runwith { color: var(--lake) !important; }
.btn-line { padding: 8px 20px; font-size: 15px; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }
.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block; width: 22px; height: 2px; background: var(--lake); border-radius: 2px; margin: 0 auto; position: relative; transition: transform .3s, background .3s;
}
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }
.menu-open .menu-icon { background: transparent; }
.menu-open .menu-icon::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-icon::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Waves ---------- */
.wave { position: absolute; left: 0; right: 0; height: 60px; overflow: hidden; pointer-events: none; line-height: 0; }
.wave svg { width: 200%; height: 100%; animation: wave-flow 22s linear infinite; }
.wave-flip { transform: scaleY(-1); }
@keyframes wave-flow { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 80px 0; }
.section-tight { padding: 32px 0 80px; }
.section-alt { background: var(--alt); }
.section-alt > .wave-flip { top: -59px; }
.section-alt > .wave:not(.wave-flip) { bottom: -1px; }
.section-head { text-align: center; margin-bottom: 44px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--lake); letter-spacing: .08em; }
.section-sub { color: var(--body); font-weight: 300; font-size: 17px; }
.dots { display: inline-flex; gap: 8px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--light); }
.dots i:nth-child(2) { background: var(--sand); }
.dots i:nth-child(3) { background: var(--lake); }
.page-head { padding: 56px 0 8px; }
.center > .btn, p.center { margin-top: 40px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--pale); padding: 56px 0 110px; overflow: hidden; }
.hero > .wave { bottom: -1px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero-title { font-size: clamp(30px, 4.4vw, 52px); color: var(--lake); letter-spacing: .06em; line-height: 1.45; }
.hero-lead { font-size: 18px; font-weight: 300; color: var(--body); max-width: 34em; }
.hero-author { font-size: 14px; color: var(--muted); }
.hero-visual { position: relative; justify-self: center; width: min(100%, 440px); }
.hero-ring { aspect-ratio: 1; border: 3px dotted var(--dot); border-radius: 50%; padding: 18px; }
.hero-circle { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: var(--card); box-shadow: var(--shadow); display: grid; place-items: center; }
.hero-circle img { width: 100%; height: 100%; object-fit: cover; }
.hero-circle.is-empty img.hero-logo { width: 72%; height: auto; object-fit: contain; }
.buddy.hero-buddy { position: absolute; right: -20px; bottom: -64px; width: 170px; }
@media (min-width: 1260px) { .buddy.hero-buddy { right: -76px; } }
.hero-buddy .buddy-img { height: 220px; width: auto; }
/* bubble sits to the left of the illustration, in the empty lower part of the circle, never over the logo */
.hero-buddy .bubble { position: absolute; right: calc(100% - 16px); top: 28px; margin: 0; }
.hero-buddy .bubble::after { left: auto; right: -8px; top: 50%; bottom: auto; transform: translateY(-50%) rotate(-45deg); }

.sparkle { position: absolute; width: 22px; height: 22px; background: var(--sand);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: twinkle 3.2s ease-in-out infinite; }
.sparkle.s1 { left: -10px; top: 12%; }
.sparkle.s2 { right: 12%; top: -4px; width: 16px; height: 16px; background: var(--light); animation-delay: 1s; }
.sparkle.s3 { left: 14%; bottom: 2%; width: 14px; height: 14px; background: var(--water); animation-delay: 2s; }
@keyframes twinkle { 0%, 100% { transform: scale(.7) rotate(0); opacity: .6; } 50% { transform: scale(1.1) rotate(20deg); opacity: 1; } }

/* ---------- Buddy (team member illustration) ---------- */
.buddy { position: relative; display: flex; flex-direction: column; align-items: center; }
.buddy-img { transform-origin: 50% 100%; animation: sway 4.5s ease-in-out infinite; }
.buddy:hover .buddy-img, .member-card:hover .buddy-img { animation: hop .7s var(--ease); }
@keyframes sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-14px) rotate(-2deg); } 70% { transform: translateY(0) rotate(1deg); } }
.bubble {
  position: relative; margin-bottom: 12px; font-family: var(--round); font-size: 15px; color: var(--lake);
  background: var(--card); border: var(--dotted); border-radius: 20px; padding: 8px 16px; text-align: center; white-space: nowrap;
  box-shadow: var(--shadow); animation: bubble 4.5s ease-in-out infinite;
}
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 14px; height: 14px; background: var(--card);
  border-right: var(--dotted); border-bottom: var(--dotted); transform: translateX(-50%) rotate(45deg); }
@keyframes bubble { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.card {
  background: var(--card); border: var(--dotted); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card-link, .event-card { display: block; color: inherit; text-decoration: none; height: 100%; }
.card-cover { margin: 12px 12px 0; aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden; background: var(--ph); }
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-cover img { transform: scale(1.05); }
.card-cover.is-empty { display: grid; place-items: center; }
.card-cover.is-empty .cover-mark { width: 30%; height: auto; object-fit: contain; opacity: .55; }
.card-body { padding: 16px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.card-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); font-family: var(--en); }
.card-title { font-size: 19px; color: var(--ink); line-height: 1.55; letter-spacing: .04em; }
.card:hover .card-title { color: var(--lake); }
.card-excerpt { font-size: 15px; font-weight: 300; color: var(--body); }
.card-author { font-size: 13px; color: var(--muted); }

/* ---------- Topics ---------- */
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 28px; }
.topic { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: inherit; text-align: center; }
.topic-ring { width: 156px; height: 156px; border: 3px dotted var(--dot); border-radius: 50%; padding: 10px; transition: transform .4s var(--ease); }
.topic-circle { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; font-family: var(--round); font-size: 48px; color: var(--lake); }
.topic-0 { background: var(--pale); }
.topic-1 { background: #F4E8D3; }
.topic-2 { background: #DDEFEA; }
.topic:hover .topic-ring { transform: rotate(-6deg) scale(1.05); }
.topic-name { font-family: var(--round); font-size: 21px; color: var(--lake); letter-spacing: .08em; }
.topic-desc { font-size: 14px; font-weight: 300; color: var(--body); border: var(--dotted); background: var(--card); border-radius: 999px; padding: 2px 16px; }
.topic-count { font-size: 13px; color: var(--muted); font-family: var(--en); }

/* ---------- Team ---------- */
.team-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member-card { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: inherit; }
.member-stage {
  width: 100%; max-width: 220px; height: 230px; display: flex; align-items: flex-end; justify-content: center;
  background: var(--pale); border-radius: 110px 110px 32px 32px; border: var(--dotted); overflow: hidden;
}
.member-stage img { height: 210px; width: auto; }
.member-name { font-family: var(--round); font-size: 20px; color: var(--lake); letter-spacing: .06em; }
.member-greet { font-size: 14px; color: var(--muted); }

/* ---------- Run-with-you band (home) ---------- */
.runwith-band {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end;
  background: var(--pale); border-radius: var(--radius-lg); padding: 44px 56px 0;
}
.runwith-band-text { display: flex; flex-direction: column; gap: 16px; padding-bottom: 44px; }
.runwith-band h2 { font-size: clamp(26px, 3vw, 36px); color: var(--lake); letter-spacing: .08em; }
.runwith-band-text > p:not(.eyebrow) { font-weight: 300; color: var(--body); font-size: 17px; }
.runwith-band .buddy-img { height: 230px; width: auto; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip {
  font-family: var(--round); font-size: 15px; color: var(--lake); background: var(--card); border: var(--dotted);
  border-radius: 999px; padding: 6px 18px; text-decoration: none; cursor: pointer; transition: background .2s, color .2s;
}
.chip:hover { background: var(--pale); }
.chip[aria-current="page"], .chip[aria-pressed="true"] { background: var(--lake); color: #FFF8EE; border-color: var(--lake); border-style: solid; }

/* ---------- Article ---------- */
.article { padding-bottom: 96px; }
.article-head { padding: 40px 0 12px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--lake); }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.article-title { font-size: clamp(28px, 4vw, 42px); color: var(--lake); letter-spacing: .05em; line-height: 1.45; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-bottom: 22px; border-bottom: var(--dotted); }
.byline-avatar { width: 56px; height: 56px; flex: none; border-radius: 50%; background: var(--pale); overflow: hidden; display: grid; place-items: center; }
.byline-avatar img { height: 50px; width: auto; }
.byline p { display: flex; flex-direction: column; line-height: 1.6; }
.byline-name { font-weight: 500; }
.byline-name a { text-decoration: none; }
.byline-meta { font-size: 13px; color: var(--muted); }
.article-cover { margin: 24px auto 0; }
.article-cover img { border-radius: var(--radius); width: 100%; }
.article-cover figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }

.prose { font-size: 17px; line-height: 2; color: var(--ink); padding-top: 28px; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: 24px; color: var(--lake); margin-top: 2em; padding-left: 16px; border-left: 4px solid var(--light); letter-spacing: .05em; }
.prose h3 { font-size: 20px; color: var(--lake); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose img { border-radius: var(--radius-sm); }
.prose blockquote { margin: 1.5em 0; padding: 18px 24px; background: var(--pale); border-radius: var(--radius-sm); color: var(--lake); font-family: var(--round); }
.prose a { text-decoration-color: var(--light); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.references { margin-top: 2.4em; padding-top: 1.2em; border-top: var(--dotted); font-size: 14px; color: var(--muted); }
.references h2 { font-size: 17px; border: 0; padding: 0; margin: 0 0 .6em; }
.invite {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 3em !important; padding: 26px 30px; background: var(--pale); border-radius: var(--radius);
}
.invite-title { font-family: var(--round); font-size: 19px; color: var(--lake); }
.invite p:not(.invite-title) { font-size: 15px; font-weight: 300; color: var(--body); line-height: 1.7; }
.disclaimer { font-size: 13px; color: var(--muted); line-height: 1.7; padding: 14px 18px; border: var(--dotted); border-radius: var(--radius-sm); }

/* ---------- About / events / profile ---------- */
.about-lead { max-width: 40em; margin: 0 auto; text-align: center; font-size: 19px; font-weight: 300; line-height: 2; color: var(--body); }
.partner-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.partner { height: 96px; background: var(--card); border-radius: 22px; box-shadow: var(--shadow); display: grid; place-items: center; padding: 14px; }
.partner a { display: grid; place-items: center; width: 100%; height: 100%; color: var(--ink); text-decoration: none; }
.partner img { max-height: 60px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.partner:hover img { filter: none; opacity: 1; }
.collab {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 48px; padding: 32px 40px; background: var(--pale); border-radius: 32px;
}
.section-alt .collab { background: var(--card); border: var(--dotted); }
.collab h3 { font-size: 24px; color: var(--lake); letter-spacing: .06em; margin-bottom: 6px; }
.collab p { font-weight: 300; color: var(--body); }
.collab .collab-mail { margin-top: 6px; font-weight: 400; }
.collab-mail a { font-weight: 500; text-decoration-color: var(--light); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 20px 0; }
.empty .buddy-img { height: 240px; width: auto; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 32px; }
.gallery { align-items: start; }
.gallery img { border-radius: var(--radius-sm); width: 100%; height: auto; }
.gallery figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.profile { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.profile-stage { background: var(--pale); border-radius: 150px 150px 40px 40px; border: var(--dotted); padding: 36px 20px 0; display: flex; justify-content: center; }
.profile-stage .buddy-img { height: 280px; width: auto; }
.profile-text { display: flex; flex-direction: column; gap: 10px; }
.profile-text h1 { font-size: clamp(30px, 4vw, 42px); color: var(--lake); letter-spacing: .08em; }
.profile-role { color: var(--muted); }
.profile-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-text .prose { padding-top: 6px; }

/* ---------- Run with you page ---------- */
.runwith-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.runwith-lead { font-size: 20px; font-weight: 300; line-height: 1.9; color: var(--body); margin-bottom: 28px; }
.steps { list-style: none; display: grid; gap: 16px; }
.step { display: flex; gap: 20px; align-items: center; background: var(--card); border: var(--dotted); border-radius: 26px; padding: 20px 24px; box-shadow: var(--shadow); }
.step-num { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--lake); color: #FFF8EE; font-family: var(--en); font-weight: 700; display: grid; place-items: center; }
.step h3 { font-size: 20px; color: var(--lake); letter-spacing: .06em; }
.step p { font-weight: 300; color: var(--body); font-size: 15px; }
.contact-card { position: relative; background: var(--pale); border-radius: 36px; padding: 40px 32px 32px; display: flex; flex-direction: column; gap: 14px; margin-top: 70px; }
.contact-card h2 { font-size: 24px; color: var(--lake); letter-spacing: .06em; }
.contact-card > p { font-weight: 300; color: var(--body); }
.buddy.contact-buddy { position: absolute; right: 16px; top: -150px; }
.contact-buddy .buddy-img { height: 150px; width: auto; }
.contact-list { margin: 6px 0 10px; }
.contact-list div { display: flex; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.contact-list dt { width: 56px; color: var(--muted); flex: none; }
.contact-list dd { margin: 0; word-break: break-all; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: var(--dotted); border-radius: 22px; padding: 0 22px; }
.faq summary { font-family: var(--round); font-size: 18px; color: var(--lake); padding: 18px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--en); font-weight: 700; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; font-weight: 300; color: var(--body); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--deep); color: var(--on-deep); padding: 100px 0 40px; margin-top: 40px; }
.footer-wave { position: absolute; top: 0; left: 0; width: 100%; height: 60px; }
.footer-top { display: grid; grid-template-columns: 240px 1fr; gap: 48px; }
.footer-logo { display: inline-block; background: var(--pale); border-radius: 26px; padding: 10px 16px; }
.footer-logo img { width: 170px; }
.footer-title { font-family: var(--round); font-size: 20px; margin-top: 16px; letter-spacing: .08em; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-head { font-family: var(--round); color: var(--light); letter-spacing: .12em; margin-bottom: 10px; }
.footer-cols ul { list-style: none; display: grid; gap: 6px; font-size: 14px; }
.footer-cols a { color: var(--on-deep); text-decoration: none; }
.footer-cols a:hover { color: var(--light); }
.footer-note { margin-top: 44px; padding-top: 20px; border-top: 1px dashed rgba(128, 213, 206, .35); font-size: 13px; color: #B8D3D2; }
.footer-copy { font-size: 13px; color: #B8D3D2; margin-top: 6px; font-family: var(--en); }

.float-line {
  display: none; position: fixed; right: 16px; bottom: 18px; z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  background: var(--lake); color: #FFF8EE; font-family: var(--en); font-weight: 700; font-size: 14px; text-decoration: none;
  place-items: center; box-shadow: 0 8px 20px rgba(6, 109, 123, .35); animation: bob 3.2s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 14px;
    background: var(--bg); padding: 16px 20px 24px; border-bottom: var(--dotted);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .menu-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav a:not(.btn) { display: block; padding: 10px 4px; font-size: 17px; }
  .hero-grid, .runwith-grid, .profile { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .hero-visual { width: min(80%, 360px); margin-top: 8px; }
  .hero { padding-bottom: 170px; }
  .buddy.hero-buddy { right: -4px; bottom: -118px; }
  .hero-buddy .buddy-img { height: 140px; }
  .hero-buddy .bubble { top: 34px; font-size: 13px; padding: 6px 12px; white-space: nowrap !important; max-width: none !important; }
  .team-row { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .float-line { display: grid; }
  .profile-stage { max-width: 300px; margin: 0 auto; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .section { padding: 64px 0; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 12px; }
  .topic-ring { width: 124px; height: 124px; }
  .topic-circle { font-size: 38px; }
  .topic-desc { font-size: 12px; padding: 2px 10px; }
  .member-stage { height: 190px; }
  .member-stage img { height: 172px; }
  .runwith-band { grid-template-columns: 1fr; padding: 32px 24px 0; }
  .runwith-band .buddy { justify-self: center; }
  .runwith-band .buddy-img { height: 180px; }
  .runwith-band-text { padding-bottom: 0; }
  .collab, .invite { padding: 24px; }
  .prose { font-size: 16px; }
  .bubble { white-space: normal; max-width: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Promotion (活動宣傳) ---------- */
.section-promo { padding: 8px 0 24px; }
.promo-banner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: center;
  background: #F4E8D3; border: var(--dotted); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow);
}
.promo-banner.no-image { grid-template-columns: 1fr; padding: 36px 44px; }
.promo-banner-img img { width: 100%; height: auto; max-height: 460px; object-fit: contain; border-radius: var(--radius); }
.promo-banner-body, .promo-pop-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.promo-label { font-family: var(--round); font-size: 14px; color: #FFF8EE; background: var(--water); padding: 2px 14px; border-radius: 999px; letter-spacing: .1em; }
.promo-title { font-size: clamp(24px, 3vw, 32px); color: var(--lake); letter-spacing: .05em; }
.promo-date { font-family: var(--round); color: var(--ink); }
.promo-text { font-weight: 300; color: var(--body); }
.promo-banner .btn, .promo-pop .btn { margin-top: 8px; }

.promo-pop {
  width: min(92vw, 440px); max-height: 90vh; overflow: auto; padding: 0; border: var(--dotted); border-radius: 32px;
  background: var(--card); color: var(--ink); box-shadow: var(--shadow-hover);
}
.promo-pop[open] { animation: pop-in .45s var(--ease); }
.promo-pop::backdrop { background: rgba(10, 79, 89, .35); backdrop-filter: blur(2px); }
.promo-pop-img { width: 100%; height: auto; max-height: 55vh; object-fit: contain; background: var(--alt); }
.promo-pop-body { padding: 24px 28px 28px; }
.promo-close {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 254, 251, .92); color: var(--lake); font-size: 24px; line-height: 1; box-shadow: var(--shadow);
}
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .promo-banner { grid-template-columns: 1fr; padding: 18px; }
  .promo-banner.no-image { padding: 28px 24px; }
}

/* Keep the line breaks editors type into plain-text fields (Enter = new line) */
.promo-text, .about-lead, .collab p, .faq details p, .runwith-lead, .runwith-band-text > p:not(.eyebrow), .card-excerpt, .hero-lead { white-space: pre-line; }

/* ---------- Top announcement bar (vertical ticker) ---------- */
.topbar { background: var(--lake); color: #FFF8EE; position: relative; z-index: 51; }
.ticker { list-style: none; position: relative; height: 42px; overflow: hidden; max-width: 1180px; margin: 0 auto; }
.ticker-item { position: absolute; inset: 0; transform: translateY(100%); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease); }
.ticker-item.is-active { transform: translateY(0); opacity: 1; }
.ticker-item.is-leaving { transform: translateY(-100%); opacity: 0; }
.topbar-inner {
  display: flex; align-items: center; justify-content: center; gap: 12px; height: 100%;
  padding: 0 20px; color: inherit; text-decoration: none; font-size: 15px; white-space: nowrap;
}
.topbar-label { flex: none; font-family: var(--round); font-size: 13px; background: var(--sand); color: var(--deep); padding: 1px 12px; border-radius: 999px; }
.topbar-title { font-family: var(--round); font-size: 15px; letter-spacing: .05em; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.topbar-cta { flex: none; font-weight: 700; text-decoration: underline; text-decoration-color: var(--light); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.topbar-cta .arrow { display: inline-block; transition: transform .3s var(--ease); font-family: var(--en); }
a.topbar-inner:hover .topbar-cta .arrow { transform: translateX(4px); }
@media (max-width: 640px) {
  .ticker { height: 38px; }
  .topbar-inner { font-size: 13px; padding: 0 12px; gap: 8px; justify-content: flex-start; }
  .topbar-title { font-size: 13px; }
  .topbar-cta { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .ticker-item { transition: none; } }

/* ---------- Follow strip (IG / Podcast) ---------- */
.follow-strip { padding: 8px 0 72px; }
.follow-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px; }
.follow-title { font-family: var(--round); font-size: 18px; color: var(--lake); letter-spacing: .1em; }
.follow-links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.follow-links a {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 16px 5px 6px; border-radius: 999px;
  background: var(--card); border: var(--dotted); color: var(--ink); text-decoration: none; font-size: 14px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.follow-links a:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--lake); }
.follow-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--pale); color: var(--lake); display: grid; place-items: center; flex: none; }
.follow-icon svg { width: 17px; height: 17px; }
