/* ==========================================================================
   THE BYUN LAB - shared styles
   ========================================================================== */

:root {
  --navy: #0B1F33;
  --teal: #1BA3A6;
  --amber: #F2A541;
  --graphite: #1F2933;
  --muted: #6B7280;
  --line: #E5E7EB;
  --bg: #FFFFFF;

  --navy-2: #12304D;
  --soft: #F6F8FA;
  --teal-ink: #0D7C7F;   /* teal with enough contrast for small text on white */
  --amber-ink: #8A5510;
  --radius: 10px;
  --shadow: 0 1px 4px rgba(15, 23, 42, .05);
  --max: 960px;
  --nav-h: 60px;
}

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

html { scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--graphite);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-ink); }
a:hover { color: var(--teal); }
h1, h2, h3 { line-height: 1.3; }
sub { line-height: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--amber); color: var(--navy); padding: 8px 12px; border-radius: 6px; font-weight: bold; }
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 31, 51, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.brand { color: #fff; font-weight: bold; letter-spacing: .1em; text-decoration: none; font-size: 15px; }
.brand:hover { color: #fff; }
.nav-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: #CFD8E3; text-decoration: none; font-size: 14px; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: #fff; }
.nav-links a[aria-current="page"] { color: #fff; border-bottom-color: var(--teal); }
.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,.25); border-radius: 6px;
  color: #fff; font: inherit; font-size: 13px; padding: 6px 10px; cursor: pointer;
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; gap: 0; background: var(--navy); padding: 6px 20px 14px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-links a[aria-current="page"] { border-bottom-color: rgba(255,255,255,.06); color: var(--teal); }
}

/* --------------------------------------------------------------------------
   Hero (home) and page header (other pages)
   -------------------------------------------------------------------------- */
.hero, .page-head {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 10% 105%, rgba(27, 163, 166, .34), transparent 52%),
    radial-gradient(circle at 92% -8%, rgba(242, 165, 65, .26), transparent 48%),
    var(--navy);
}
.hero canvas, .page-head canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero .wrap, .page-head .wrap { position: relative; z-index: 1; }
.hero::after, .page-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), rgba(27,163,166,.2) 45%, rgba(242,165,65,.2) 55%, var(--amber));
}

.hero { min-height: min(52vh, 540px); display: flex; align-items: center; }
.hero .wrap { width: 100%; padding-top: 36px; padding-bottom: 40px; }
.hero h1 { margin: 0 0 14px; font-size: clamp(34px, 6vw, 60px); letter-spacing: .08em; }
.hero .tagline { margin: 0 0 22px; max-width: 620px; font-size: clamp(16px, 2.1vw, 19px); color: #DCE4EC; }
.keywords { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.keywords li {
  font-size: 13px; font-weight: bold; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06);
}
.keywords .env { border-color: rgba(27,163,166,.8); color: #9BE3E4; }
.keywords .energy { border-color: rgba(242,165,65,.85); color: #FAD49F; }
.keywords .materials { border-color: rgba(255,255,255,.6); color: #fff; }

.page-head { padding: 40px 0 32px; }
.page-head h1 { margin: 0 0 8px; font-size: clamp(26px, 4vw, 34px); letter-spacing: .06em; }
.page-head p { margin: 0; max-width: 640px; color: #D5DEE8; }

@media (max-width: 720px) {
  .hero { min-height: 48vh; }
}

/* --------------------------------------------------------------------------
   Generic sections
   -------------------------------------------------------------------------- */
.section { padding: 44px 0; }
main > .section:nth-of-type(even) { background: var(--soft); }
.section-title { margin: 0 0 4px; font-size: 24px; }
.section-title::after {
  content: ""; display: block; width: 44px; height: 3px; margin-top: 8px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--amber));
}
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; }
.section-head .more-link { margin-top: 0; }
.eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: bold; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-ink); }
.lead { font-size: 18px; margin: 0 0 8px; }
.muted { color: var(--muted); }
.more-link { display: inline-block; margin-top: 16px; font-weight: bold; font-size: 14px; text-decoration: none; }
.more-link::after { content: " \2192"; }
.more-link:hover { text-decoration: underline; }

.card {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  box-shadow: var(--shadow); padding: 20px;
}
.lift { transition: transform .2s ease, box-shadow .2s ease; }
.lift:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15, 23, 42, .08); }

/* --------------------------------------------------------------------------
   Home
   -------------------------------------------------------------------------- */
.intro { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 28px; align-items: center; }
.intro .lead { margin: 0; }
/* Cover carousel: one cover at a time, cross-fade */
.cover-carousel { width: 210px; margin: 0 auto; text-align: center; outline: none; touch-action: pan-y; }
.cover-carousel:focus-visible .cc-stage { box-shadow: 0 0 0 3px var(--teal), 0 10px 26px rgba(11, 31, 51, .22); }
.cc-stage {
  position: relative; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden;
  background: var(--soft); box-shadow: 0 10px 26px rgba(11, 31, 51, .22);
}
.cc-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .7s ease, visibility 0s linear .7s;
}
.cc-slide.active { opacity: 1; visibility: visible; transition: opacity .7s ease, visibility 0s; }
.cc-slide img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.cc-caption { margin: 10px 0 6px; font-size: 13px; color: var(--muted); min-height: 1.6em; }
.cc-caption em { color: var(--graphite); font-style: italic; }
.cc-dots { display: flex; justify-content: center; gap: 4px; }
.cc-dots button {
  width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.cc-dots button::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #CBD2D9;
  transition: background .2s ease, transform .2s ease;
}
.cc-dots button[aria-current="true"]::before { background: var(--teal); transform: scale(1.25); }
.cc-dots button:hover::before { background: var(--muted); }
.cc-dots button:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; border-radius: 50%; }

.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.area { position: relative; overflow: hidden; }
.area::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--graphite); }
.area.env::before { background: var(--teal); }
.area.energy::before { background: var(--amber); }
.area .icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 12px; background: rgba(31,41,51,.08); color: var(--graphite); }
.area.env .icon { background: rgba(27,163,166,.12); color: var(--teal-ink); }
.area.energy .icon { background: rgba(242,165,65,.18); color: var(--amber-ink); }
.area .icon svg { width: 24px; height: 24px; }
.area h3 { margin: 0 0 8px; font-size: 18px; }
.area p { margin: 0; font-size: 15px; }
.area.energy .eyebrow { color: var(--amber-ink); }
.area.materials .eyebrow { color: var(--graphite); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px; }
.contact-grid address { font-style: normal; }
.join { border-left: 4px solid var(--amber); }
.join h3 { margin: 0 0 6px; font-size: 17px; }
.join p { margin: 0; }

@media (max-width: 760px) {
  .intro, .areas, .contact-grid { grid-template-columns: 1fr; }
  .cover-carousel { width: 150px; margin-top: 4px; }
}

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */
.pi { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: start; }
.pi img { border-radius: var(--radius); }
.pi h2 { margin: 0 0 4px; font-size: 24px; }
.pi .role { margin: 0 0 16px; color: var(--muted); }
.cv { list-style: none; margin: 0; padding: 0 0 0 4px; }
.cv li { position: relative; padding: 0 0 14px 22px; border-left: 2px solid var(--line); font-size: 15px; }
.cv li:last-child { border-left-color: transparent; padding-bottom: 0; }
.cv li::before {
  content: ""; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 2px solid var(--teal);
}
.cv li:first-child::before { background: var(--teal); }
.cv strong { display: inline; }
.cv .period { display: inline-block; margin-left: 8px; color: var(--muted); font-size: 13px; }

.members { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; margin-top: 24px; }
.member { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; background: var(--soft); }
.member .body { padding: 14px 16px 16px; }
.member h3 { margin: 0; font-size: 17px; }
.member .pos { margin: 2px 0 8px; font-size: 13px; font-weight: bold; color: var(--teal-ink); }
.member .focus { margin: 0; font-size: 14px; }
.member .aff { margin: 6px 0 0; font-size: 12px; color: var(--muted); }

.group-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.group-photos img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

.alumni { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 10px; }
.alumni li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 15px; }
.alumni strong { display: block; }
.alumni .role { display: inline-block; font-size: 11px; font-weight: bold; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-ink); background: rgba(27,163,166,.1); border-radius: 999px; padding: 1px 8px; margin-right: 6px; }
.alumni .period { font-size: 12px; color: var(--muted); }
.alumni .now { display: block; margin-top: 4px; font-size: 13px; color: var(--graphite); }

@media (max-width: 760px) {
  .pi, .group-photos { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .members { grid-template-columns: 1fr 1fr; gap: 12px; }
  .member .body { padding: 10px 12px 12px; }
  .member h3 { font-size: 15px; }
}

/* --------------------------------------------------------------------------
   News
   -------------------------------------------------------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.news-grid.home { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; }
.news-card p.clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
@media (max-width: 860px) { .news-grid.home { grid-template-columns: 1fr; } }
.news-card { padding: 12px; display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start; }
.news-card .thumb { width: 96px; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: var(--soft); }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .thumb.none {
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 15% 110%, rgba(27,163,166,.45), transparent 60%),
    radial-gradient(circle at 90% -10%, rgba(242,165,65,.35), transparent 55%),
    var(--navy);
  color: #fff; font-size: 11px; font-weight: bold; letter-spacing: .16em; text-transform: uppercase;
}
.news-card time { font-size: 12px; font-weight: bold; letter-spacing: .04em; color: var(--muted); }
.news-card p { margin: 2px 0 0; font-size: 14px; line-height: 1.5; }
@media (max-width: 400px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-card { grid-template-columns: 72px 1fr; gap: 12px; }
  .news-card .thumb { width: 72px; }
}

/* --------------------------------------------------------------------------
   Research (map band + topics)
   -------------------------------------------------------------------------- */
.band { padding-bottom: 40px; }
.tree { margin-top: 28px; }
.tree svg { width: 100%; height: auto; display: block; }
.tree .edge { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 2; }
.tree .flow { fill: none; stroke-width: 2.5; stroke-dasharray: 4 10; animation: flow 2.4s linear infinite; opacity: .9; }
.tree .flow.env { stroke: var(--teal); }
.tree .flow.energy { stroke: var(--amber); }
.tree .node { cursor: pointer; outline: none; }
.tree .node text, .tree .leaf text { font-family: Arial, Helvetica, sans-serif; pointer-events: none; }
.tree .node:focus-visible rect { stroke: #fff; stroke-width: 2; }
.tree .leaf text { font-size: 11px; fill: #B7C4D2; }
.tree .leaf circle { stroke-width: 2; fill: var(--navy); }
.tree g { transition: opacity .25s ease; }
.tree g.dim { opacity: .3; }
.tree .tree-narrow { display: none; }
@keyframes flow { to { stroke-dashoffset: -56; } }

.tip {
  margin-top: 16px; background: var(--navy-2); border: 1px solid rgba(255,255,255,.1);
  border-left: 4px solid #fff; border-radius: 8px; padding: 16px 18px; min-height: 132px;
}
.tip.env { border-left-color: var(--teal); }
.tip.energy { border-left-color: var(--amber); }
.tip h3 { margin: 0 0 6px; font-size: 16px; }
.tip p { margin: 0 0 8px; font-size: 14px; color: #D5DEE8; }
.tip .rep { font-size: 13px; color: #B7C4D2; }
.tip .rep a { color: #7FD6D8; font-weight: bold; }
.tip-hint { font-size: 12px; color: #93A3B5; margin: 8px 0 0; }

.topic { padding: 64px 0 24px; }
.topic + .topic { border-top: 1px solid var(--line); }
.topic-row { display: grid; grid-template-columns: 5fr 6fr; gap: 44px; align-items: center; }
.topic.flip .topic-row { grid-template-columns: 6fr 5fr; }
.topic.flip .topic-figure { order: 2; }
.topic .num { font-size: 56px; font-weight: bold; line-height: 1; margin: 0; }
.topic.energy .num { color: rgba(242,165,65,.45); }
.topic.env .num { color: rgba(27,163,166,.4); }
.topic .kw { display: inline-block; font-size: 12px; font-weight: bold; letter-spacing: .12em; text-transform: uppercase; margin: 6px 0 4px; }
.topic.energy .kw { color: var(--amber-ink); }
.topic.env .kw { color: var(--teal-ink); }
.topic h2 { margin: 0 0 14px; font-size: 24px; }
.topic-figure { background: var(--navy); border-radius: 14px; padding: 14px; box-shadow: 0 6px 24px rgba(11,31,51,.18); }
.topic-figure svg { width: 100%; height: auto; display: block; }

.papers { margin-top: 28px; display: grid; gap: 10px; }
.papers h3 { margin: 0 0 4px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.paper {
  display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow);
}
.topic.energy .paper { border-left: 4px solid var(--amber); }
.topic.env .paper { border-left: 4px solid var(--teal); }
.paper .yr { font-size: 20px; font-weight: bold; }
.paper a.title { font-weight: bold; color: var(--graphite); text-decoration: none; font-size: 14px; }
.paper a.title:hover { color: var(--teal-ink); text-decoration: underline; }
.paper .meta { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Schematic animations, started by main.js adding .in-view */
.ray { stroke-dasharray: 5 9; }
.in-view .ray { animation: flow 1.4s linear infinite; }
.bubble { opacity: 0; }
.in-view .bubble { animation: rise 3.4s ease-in infinite; }
.in-view .bubble.b2 { animation-delay: 1.1s; }
.in-view .bubble.b3 { animation-delay: 2.2s; }
@keyframes rise { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateY(-60px); } }
.ring { opacity: 0; transform-origin: center; transform-box: fill-box; }
.in-view .ring { animation: ring 2.8s ease-out infinite; }
@keyframes ring { 0% { opacity: .8; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.8); } }
.mol { opacity: .25; transition: opacity 1.2s ease, transform 1.8s cubic-bezier(.3,.7,.3,1); }
.in-view .mol { opacity: 1; transform: translate(var(--dx), var(--dy)); }
.in-view .mol:nth-of-type(2) { transition-delay: .25s; }
.in-view .mol:nth-of-type(3) { transition-delay: .5s; }
.in-view .mol:nth-of-type(4) { transition-delay: .75s; }

@media (max-width: 760px) {
  .topic-row, .topic.flip .topic-row { grid-template-columns: 1fr; gap: 24px; }
  .topic.flip .topic-figure { order: 0; }
  .paper { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 640px) {
  .tree .tree-wide { display: none; }
  .tree .tree-narrow { display: block; max-width: 420px; margin: 0 auto; }
}

/* --------------------------------------------------------------------------
   Publications
   -------------------------------------------------------------------------- */
.pub-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; font-size: 14px; color: var(--muted); }
.pub-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; padding: 0; list-style: none; }
.pub-stats li { background: var(--soft); border-radius: var(--radius); padding: 10px 16px; font-size: 13px; color: var(--muted); }
.pub-stats strong { display: block; font-size: 22px; color: var(--graphite); }
.year-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 6px; padding: 0; list-style: none; }
.year-nav a { display: inline-block; font-size: 13px; font-weight: bold; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--graphite); text-decoration: none; }
.year-nav a:hover { border-color: var(--teal); color: var(--teal-ink); }

.pub-year-group { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.pub-year-label { position: sticky; top: calc(var(--nav-h) + 14px); align-self: start; }
.pub-year-label h2 { margin: 0; font-size: 28px; line-height: 1; }
.pub-year-label span { font-size: 12px; color: var(--muted); }

.pub-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pub-item {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 10px 12px;
  border: 1px solid transparent; border-radius: 8px; transition: background .2s ease, border-color .2s ease;
}
.pub-item:hover { background: var(--soft); border-color: var(--line); }
.pub-num {
  align-self: start; text-align: center; font-size: 12px; font-weight: bold; color: var(--teal-ink);
  background: rgba(27,163,166,.1); border-radius: 6px; padding: 3px 0;
}
.pub-item p { margin: 0; }
.pub-authors { font-size: 13px; color: var(--muted); }
.pub-authors strong { color: var(--graphite); }
.pub-item .pub-title { margin: 2px 0; font-size: 15.5px; font-weight: bold; line-height: 1.4; }
.pub-title a { color: var(--graphite); text-decoration: none; }
.pub-title a:hover { color: var(--teal-ink); text-decoration: underline; }
.pub-source { font-size: 13px; color: var(--muted); }
.pub-source em { color: var(--graphite); }
.pub-items.compact { gap: 8px; margin-top: 16px; }
.pub-items.compact .pub-item { grid-template-columns: minmax(0, 1fr); background: #fff; border-color: var(--line); }

@media (max-width: 640px) {
  .pub-year-group { grid-template-columns: 1fr; gap: 6px; }
  .pub-year-label { position: static; display: flex; align-items: baseline; gap: 10px; }
  .pub-item { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 8px 4px; }
}

.cover-badge {
  display: inline-block; font-size: 11px; font-weight: bold; color: var(--amber-ink);
  background: rgba(242,165,65,.18); border-radius: 999px; padding: 1px 8px; text-decoration: none;
  margin-left: 6px; white-space: nowrap; vertical-align: 1px;
}
.cover-badge:hover { color: var(--amber-ink); text-decoration: underline; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #CFD8E3; padding: 40px 0 32px; margin-top: 56px; font-size: 14px; }
.site-footer a { color: #fff; }
.site-footer .cols { display: grid; grid-template-columns: 3fr 2fr 2fr; gap: 24px; }
.site-footer h2 { margin: 0 0 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.site-footer address { font-style: normal; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 4px; }
.site-footer .recruit { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); color: #E7EDF3; }
.site-footer .copy { margin-top: 12px; font-size: 12px; color: #8FA0B3; }

@media (max-width: 760px) {
  .site-footer .cols { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .bubble { opacity: 1; }
  .mol { opacity: 1; transform: translate(var(--dx), var(--dy)); }
}
