/* ============================================
   周姍姍 Shan-Shan Chou — Academic Site
   Palette echoes the author's existing "研究產出
   與升等追蹤儀表板" artifact: warm paper tones,
   garnet / brass / pine accents, serif display type.
   ============================================ */

:root{
  --ink: #1c2430;
  --ink-soft: #3a4453;
  --paper: #f3f1ea;
  --paper-raised: #fdfcf9;
  --rule: #ddd6c5;
  --rule-strong: #c7bda5;
  --garnet: #8c2f26;
  --garnet-soft: #f3e2df;
  --brass: #8a6423;
  --brass-soft: #f0e6d2;
  --pine: #47654f;
  --pine-soft: #e2ebe3;
  --slate: #5a6472;
  --white: #FFFFFF;

  --font-display: "Noto Serif TC", ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", "Segoe UI", sans-serif;

  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 10px 30px rgba(28, 36, 48, 0.09);
  --shadow-sm: 0 2px 10px rgba(28, 36, 48, 0.07);
  --max: 1080px;
}

@media (prefers-color-scheme: dark){
  :root{
    --ink: #eae6db;
    --ink-soft: #c3bdae;
    --paper: #14171c;
    --paper-raised: #1b1f26;
    --rule: #333a45;
    --rule-strong: #454e5c;
    --garnet: #e08a7d;
    --garnet-soft: #3a2321;
    --brass: #d9b567;
    --brass-soft: #362c17;
    --pine: #93b79c;
    --pine-soft: #1f2c22;
    --slate: #9aa4b2;
    --white: #1b1f26;
  }
}

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

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--font-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }

a{ color: var(--garnet); text-decoration: none; }
a:hover{ color: var(--brass); }

h1, h2, h3, h4{
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.32;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1{ font-size: clamp(2rem, 4vw, 2.75rem); }
h2{ font-size: clamp(1.5rem, 3vw, 2rem); }
h3{ font-size: 1.2rem; }

p{ margin: 0 0 1em; color: var(--ink-soft); }

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow{
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--garnet);
  font-weight: 600;
  margin-bottom: 0.6em;
}

/* ---------- Language toggle logic ---------- */
[data-en]{ display: none; }
html[data-lang="en"] [data-zh]{ display: none; }
html[data-lang="en"] [data-en]{ display: block; }
html[data-lang="en"] span[data-en],
html[data-lang="en"] a[data-en]{ display: inline; }
html[data-lang="zh"] span[data-zh],
html[data-lang="zh"] a[data-zh]{ display: inline; }
html[data-lang="en"] span[data-zh],
html[data-lang="en"] a[data-zh]{ display: none; }

/* ---------- Header / Nav ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 241, 234, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
@media (prefers-color-scheme: dark){
  .site-header{ background: rgba(20, 23, 28, 0.88); }
}

.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max);
  margin: 0 auto;
  gap: 16px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.08rem;
  white-space: nowrap;
}
.brand:hover{ color: var(--ink); }
.brand .dot{
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--garnet);
  flex-shrink: 0;
}

.nav-right{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
  flex-wrap: wrap;
}

.nav-links a{
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active{
  background: var(--ink);
  color: var(--paper-raised);
}

.lang-toggle{
  display: flex;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}
.lang-toggle button{
  border: none;
  background: transparent;
  padding: 7px 13px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink-soft);
  font-family: var(--font-body);
}
.lang-toggle button.active{
  background: var(--garnet);
  color: var(--white);
}

.nav-toggle{
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span{
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero{ padding: 64px 0 56px; }
.hero-grid{
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: center;
}
.hero-photo{
  width: 220px; height: 220px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid var(--paper-raised);
  outline: 2px solid var(--rule);
}
.hero-photo img{ width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }

.hero-name{ margin-bottom: 0.15em; }
.hero-title{
  font-size: 1.05rem;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 1em;
}
.hero-tagline{ font-size: 1.05rem; max-width: 60ch; }

.hero-actions{
  display: flex;
  gap: 12px;
  margin-top: 1.4em;
  flex-wrap: wrap;
}

.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary{ background: var(--ink); color: var(--paper-raised); }
.btn-primary:hover{ background: var(--garnet); border-color: var(--garnet); color: var(--white); }
.btn-ghost{ background: transparent; color: var(--ink); }
.btn-ghost:hover{ background: var(--ink); color: var(--paper-raised); }

/* ---------- Sections ---------- */
section{ padding: 56px 0; }
section.alt{ background: var(--paper-raised); }
.section-head{ max-width: 70ch; margin-bottom: 2rem; }

.tags{ display: flex; flex-wrap: wrap; gap: 10px; margin: 1rem 0 0; }
.tag{
  background: var(--paper-raised);
  color: var(--ink);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--rule-strong);
}

/* ---------- Cards / grid ---------- */
.grid{ display: grid; gap: 20px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }

.card{
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.card h3{ margin-bottom: 0.4em; }
.card .icon{
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--pine-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.stat-row{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 2rem 0;
}
.stat{
  text-align: center;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 20px 10px;
}
.stat .num{
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--garnet);
  display: block;
}
.stat .label{ font-size: 0.8rem; color: var(--ink-soft); font-weight: 600; }

/* ---------- Timeline ---------- */
.timeline{ position: relative; padding-left: 28px; }
.timeline::before{
  content: "";
  position: absolute; left: 6px; top: 6px; bottom: 6px;
  width: 2px; background: var(--rule);
}
.tl-item{ position: relative; padding-bottom: 30px; }
.tl-item:last-child{ padding-bottom: 0; }
.tl-item::before{
  content: "";
  position: absolute; left: -28px; top: 5px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--paper-raised);
  border: 2.5px solid var(--garnet);
}
.tl-date{
  font-family: var(--font-display);
  font-size: 0.82rem; font-weight: 700; color: var(--garnet);
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}
.tl-title{ font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.tl-sub{ color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- Publications ---------- */
.pub-group{ margin-bottom: 2.6rem; }
.pub-group h3{
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 10px;
  margin-bottom: 1.2rem;
}
.pub-list{ list-style: none; margin: 0; padding: 0; }
.pub-item{
  padding: 16px 0;
  border-bottom: 1px dashed var(--rule);
  display: flex;
  gap: 14px;
}
.pub-item:last-child{ border-bottom: none; }
.pub-num{
  color: var(--slate);
  font-weight: 700;
  font-family: var(--font-display);
  flex-shrink: 0;
  width: 26px;
}
.pub-badges{ margin-top: 6px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge{
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--pine-soft);
  color: var(--pine);
}
.badge.alt{ background: var(--garnet-soft); color: var(--garnet); }
.badge.gold{ background: var(--brass-soft); color: var(--brass); }
.badge.outline{ background: transparent; border: 1px solid var(--rule-strong); color: var(--ink-soft); }

/* ---------- Tables ---------- */
table{
  width: 100%;
  border-collapse: collapse;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
th, td{
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
  font-size: 0.94rem;
}
th{
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
tr:last-child td{ border-bottom: none; }

/* ---------- Bio / prose ---------- */
.prose{ max-width: 72ch; }
.prose p{ margin-bottom: 1.1em; }

.pull-quote{
  border-left: 3px solid var(--garnet);
  padding: 4px 0 4px 20px;
  font-style: italic;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 1.6rem 0;
}

/* ---------- Contact ---------- */
.contact-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-item{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.contact-item .icon{
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--garnet-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-item h3{ font-size: 1rem; margin-bottom: 2px; }
.contact-item p{ margin: 0; font-size: 0.92rem; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--ink);
  color: rgba(243, 241, 234, 0.72);
  padding: 36px 0;
  margin-top: 40px;
  text-align: center;
  font-size: 0.85rem;
}
.site-footer a{ color: var(--brass); }

/* ---------- Utility ---------- */
.center{ text-align: center; }
.mt-0{ margin-top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px){
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .stat-row{ grid-template-columns: repeat(2, 1fr); }
  .contact-grid{ grid-template-columns: 1fr; }
  .hero-grid{ grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (max-width: 720px){
  .nav-toggle{ display: block; }
  .nav-links{
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow);
  }
  .nav-links.open{ display: flex; }
  .nav-links a{ padding: 12px 14px; }
  .hero-photo{ width: 170px; height: 170px; }
}

/* ============================================
   Homepage redesign
   ============================================ */

/* ---------- Reveal on scroll ---------- */
html.js .reveal{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
html.js .reveal.in{ opacity: 1; transform: none; }
html.js .home-hero-text .reveal:nth-child(2){ transition-delay: .08s; }
html.js .home-hero-text .reveal:nth-child(3){ transition-delay: .16s; }
html.js .home-hero-text .reveal:nth-child(4){ transition-delay: .24s; }
html.js .home-hero-text .reveal:nth-child(5){ transition-delay: .32s; }
html.js .home-hero-text .reveal:nth-child(6){ transition-delay: .40s; }
@media (prefers-reduced-motion: reduce){
  html.js .reveal{ opacity: 1; transform: none; transition: none; }
  .float-chip, .blob{ animation: none !important; }
}

/* ---------- Hero ---------- */
.home-hero{
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
  background:
    radial-gradient(900px 500px at 85% 10%, var(--brass-soft), transparent 60%),
    radial-gradient(700px 480px at 5% 90%, var(--pine-soft), transparent 60%),
    var(--paper);
}
.blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  pointer-events: none;
  animation: drift 16s ease-in-out infinite alternate;
}
.blob.b1{ width: 320px; height: 320px; background: var(--garnet-soft); top: -80px; right: 8%; }
.blob.b2{ width: 240px; height: 240px; background: var(--pine-soft); bottom: -60px; left: 30%; animation-delay: -6s; }
.blob.b3{ width: 180px; height: 180px; background: var(--brass-soft); top: 40%; left: -40px; animation-delay: -11s; }
@keyframes drift{
  from{ transform: translate(0,0) scale(1); }
  to{ transform: translate(24px,-18px) scale(1.08); }
}

.home-hero-grid{
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.pill{
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--paper-raised);
  border: 1px solid var(--rule-strong);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.home-name{
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--garnet);
  letter-spacing: .12em;
  margin: 0 0 6px;
}
.home-hook{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 18px;
}
.home-hook mark{
  background: linear-gradient(transparent 62%, var(--brass-soft) 62%, var(--brass-soft) 92%, transparent 92%);
  color: var(--garnet);
  padding: 0 .08em;
}
html[data-lang="en"] .home-hook{ font-size: clamp(2rem, 4.4vw, 3.1rem); }
.home-title{
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .6em;
}
.home-tagline{ font-size: 1.05rem; max-width: 56ch; }

.home-hero-visual{
  position: relative;
  justify-self: center;
  width: min(100%, 360px);
  aspect-ratio: 1;
}
.photo-frame{
  position: absolute; inset: 0;
  border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%;
  overflow: hidden;
  border: 7px solid var(--paper-raised);
  box-shadow: var(--shadow);
  z-index: 2;
}
.photo-frame img{ width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.home-hero-visual::before,
.home-hero-visual::after{
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}
.home-hero-visual::before{
  width: 78%; height: 78%;
  background: var(--garnet-soft);
  right: -9%; bottom: -8%;
}
.home-hero-visual::after{
  width: 44%; height: 44%;
  background: var(--brass-soft);
  left: -10%; top: -6%;
}
.float-chip{
  position: absolute;
  z-index: 3;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  color: var(--ink);
  white-space: nowrap;
  animation: bob 5s ease-in-out infinite alternate;
}
.float-chip.c1{ top: 6%; right: -8%; }
.float-chip.c2{ bottom: 22%; left: -14%; animation-delay: -1.6s; }
.float-chip.c3{ bottom: -2%; right: 6%; animation-delay: -3.2s; }
@keyframes bob{
  from{ transform: translateY(0); }
  to{ transform: translateY(-9px); }
}

.btn-cta{
  background: #fff;
  color: #8c2f26;
  border-color: #fff;
}
.btn-cta:hover{ background: #f3e2df; color: #8c2f26; border-color: #f3e2df; }

/* ---------- Stats band ---------- */
.stats-band{ padding: 0; margin-top: -44px; position: relative; z-index: 4; background: transparent; }
.stats-band .stat-row{ margin: 0; }
.stats-band .stat{
  box-shadow: var(--shadow);
  padding: 24px 10px;
  transition: transform .25s ease;
}
.stats-band .stat:hover{ transform: translateY(-4px); }
.stats-band .stat .num{ font-size: 2.3rem; }

/* ---------- Section headings ---------- */
.center{ text-align: center; }
.center .eyebrow{ display: block; }
.center h2{ max-width: 24ch; margin-left: auto; margin-right: auto; }
.tags-center{ justify-content: center; }
section .center + .grid,
section .center + .journey{ margin-top: 2.2rem; }

/* ---------- Two tracks ---------- */
.track-grid{ margin-top: 2.2rem; }
.track{
  display: block;
  border-radius: 22px;
  padding: 34px 32px 30px;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.track:hover{ transform: translateY(-6px); box-shadow: var(--shadow); color: var(--ink-soft); }
.track-a{ background: linear-gradient(160deg, var(--garnet-soft), var(--paper-raised) 75%); }
.track-b{ background: linear-gradient(160deg, var(--pine-soft), var(--paper-raised) 75%); }
.track-icon{
  width: 64px; height: 64px;
  border-radius: 20px;
  background: var(--paper-raised);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin-bottom: 18px;
}
.track h3{ font-size: 1.45rem; }
.track-more{ display: inline-block; margin-top: .4em; font-weight: 700; color: var(--garnet); }
.track:hover .track-more{ color: var(--brass); }

/* ---------- Journey ---------- */
.journey{
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.journey::before{
  content: "";
  position: absolute;
  top: 27px; left: 12%; right: 12%;
  border-top: 2px dashed var(--rule-strong);
}
.journey li{
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  gap: 4px;
}
.j-dot{
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--garnet);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 8px;
  position: relative; z-index: 1;
}
.j-when{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  color: var(--garnet);
}
.journey li strong{
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
}
.j-desc{ font-size: .9rem; color: var(--ink-soft); max-width: 22ch; }

/* ---------- About ---------- */
.about-grid{
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.about-grid .pull-quote{ margin-top: 1.4rem; }
details.more summary{
  cursor: pointer;
  list-style: none;
  display: inline-block;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  font-weight: 700;
  font-size: .9rem;
  color: var(--ink);
  margin: 4px 0 18px;
  transition: background .2s, color .2s;
}
details.more summary::-webkit-details-marker{ display: none; }
details.more summary:hover{ background: var(--ink); color: var(--paper-raised); }
details.more summary::after{ content: " ▾"; }
details.more[open] summary::after{ content: " ▴"; }

/* ---------- Explore cards ---------- */
.explore-grid{ margin-top: 2.2rem; }
.explore{
  position: relative;
  display: block;
  color: var(--ink-soft);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.explore:hover{
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--garnet);
  color: var(--ink-soft);
}
.explore .arrow{
  position: absolute;
  right: 22px; bottom: 18px;
  font-weight: 700;
  color: var(--garnet);
  transition: transform .25s ease;
}
.explore:hover .arrow{ transform: translateX(5px); }
.ic-garnet{ background: var(--garnet-soft) !important; }
.ic-pine{ background: var(--pine-soft) !important; }
.ic-brass{ background: var(--brass-soft) !important; }

/* ---------- CTA band ---------- */
.cta-band{
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(255,255,255,.12), transparent 60%),
    #8c2f26;
  padding: 72px 0;
  margin-bottom: -40px;
}
.cta-band h2{ color: #fff; max-width: 28ch; }
.cta-band p{ color: rgba(255,255,255,.85); margin-bottom: 1.4em; }

/* ---------- Homepage responsive ---------- */
@media (max-width: 860px){
  .home-hero{ padding: 48px 0 72px; }
  .home-hero-grid{ grid-template-columns: 1fr; gap: 40px; }
  .home-hero-visual{ order: -1; width: min(70%, 280px); }
  .float-chip.c1{ right: -14%; }
  .float-chip.c2{ left: -18%; }
  .journey{ grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .journey::before{ display: none; }
  .about-grid{ grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 480px){
  .journey{ grid-template-columns: 1fr; }
  .float-chip{ font-size: .78rem; padding: 6px 12px; }
  .stats-band{ margin-top: -32px; }
}

/* About title */
.about-title{
  font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  line-height: 1.35;
  margin-bottom: .6em;
}
.about-title br{ display: block; content: ""; }
.about-grid .pull-quote{
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 1.2rem;
  text-wrap: balance;
}
h1, h2, h3{ text-wrap: balance; }

/* Keep long Chinese section titles on one line on wide screens */
.section-head-wide{ max-width: none; }
@media (min-width: 880px){
  html[data-lang="zh"] h2.oneline{ white-space: nowrap; }
}
