﻿/* style.css */
:root{
  --bg: #f6f2ea;          /* 餈???*/
  --fg: #1a1a1a;          /* 銝餅?摮?*/
  --muted: #5a5a5a;       /* 甈⊥?摮?*/
  --line: rgba(0,0,0,.10);
  --mark: rgba(255, 230, 120, .85); /* marker 擃漁 */
  --accent: #2a2a2a;
  --radius: 14px;
  --w: 960px;             /* ?批捆甈祝 */
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  line-height: 1.7;
  letter-spacing: .1px;
}

a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .18em;
  text-decoration-thickness: 1px;
}
a:hover{ opacity: .85; }

.skip{
  position: absolute;
  left: -999px;
  top: 12px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.skip:focus{ left: 12px; z-index: 99; }

.container{
  max-width: min(var(--w), calc(100vw - 40px));
  margin: 0 auto;
  padding: 0 20px;
}

/* Top */
.top{
  padding: 28px 0 8px;
}
.topbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.top-left{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  color: var(--muted);
}
.mobile-badge{
  display: none;
}
.dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  background: #3aa76d;
  box-shadow: 0 0 0 4px rgba(58,167,109,.15);
}
.lang-switch{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.28);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.lang-switch:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.lang,
.lang-sep{
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  color: var(--muted);
}
.lang{
  text-decoration: none;
  padding: 2px 0;
}
.lang:hover{
  color: var(--fg);
  opacity: 1;
}
.lang.current{
  color: var(--fg);
  font-weight: 600;
  pointer-events: none;
  cursor: default;
}
.lang-sep{
  opacity: .6;
}

.nav{
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  color: var(--muted);
}
.nav a{ text-decoration: none; padding: 8px 10px; border-radius: 10px; }
.nav a:hover{ background: rgba(0,0,0,.04); opacity: 1; }
.nav-cta{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.35);
}

.page-loader{
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(246,242,234,.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 120;
}
.page-loader.is-visible{
  opacity: 1;
}
.spinner{
  width: 24px;
  height: 24px;
  border: 2px solid rgba(0,0,0,.2);
  border-top-color: rgba(0,0,0,.75);
  border-radius: 999px;
  animation: spin .7s linear infinite;
}
body.is-loading{
  cursor: progress;
}
body.is-loading .lang-switch{
  transform: scale(.97);
  opacity: .85;
}

@media (min-width: 1280px){
  :root{
    --w: 1080px;
  }
}

/* Hero */
.hero{
  position: relative;
  padding: 34px 0 26px;
  isolation: isolate;
}
.kicker{
  margin: 0 0 12px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.title{
  margin: 0;
  line-height: 1.1;
}
.name{
  display: block;
  font-size: 56px;
  font-weight: 700;
}
.role{
  display: block;
  font-size: 18px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--muted);
  margin-top: 10px;
}
.lead{
  margin: 18px 0 0;
  font-size: 18px;
  color: var(--accent);
  position: relative;
  z-index: 2;
}
.headline{
  position: fixed;
  right: 12px;
  top: 12px;
  left: auto;
  margin: 0;
  max-width: min(92vw, 980px);
  text-align: right;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(34px, 10.8vw, 168px);
  line-height: .9;
  letter-spacing: -0.025em;
  color: rgba(104, 104, 104, 0.09);
  transform: translateY(var(--headline-shift, 0px));
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.hero .kicker,
.hero .title,
.hero .hero-actions,
.hero .meta{
  position: relative;
  z-index: 2;
}
.mark{
  background: linear-gradient(transparent 55%, var(--mark) 55%);
  padding: 0 .12em;
}

.hero-actions{
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.btn{
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  background: rgba(255,255,255,.40);
}
.btn:hover{ background: rgba(255,255,255,.65); opacity: 1; }
.btn.ghost{ background: transparent; }

.meta{
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill{
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,.25);
}

/* Background carousel */
.bg-carousel{
  padding: 8px 0 22px;
}
.bg-carousel-viewport{
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.2);
}
.bg-carousel-viewport::before,
.bg-carousel-viewport::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 68px;
  z-index: 2;
  pointer-events: none;
}
.bg-carousel-viewport::before{
  left: 0;
  background: linear-gradient(to right, var(--bg), rgba(246,242,234,0));
}
.bg-carousel-viewport::after{
  right: 0;
  background: linear-gradient(to left, var(--bg), rgba(246,242,234,0));
}
.bg-carousel-track{
  display: flex;
  gap: 12px;
  width: max-content;
  padding: 8px;
  animation: bg-slide 16s linear infinite;
}
.bg-carousel-viewport:hover .bg-carousel-track{
  animation-play-state: paused;
}
.bg-carousel-group{
  display: flex;
  gap: 12px;
}
.carousel-item{
  position: relative;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
}
.bg-carousel-group img{
  width: 208px;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  opacity: .72;
  filter: saturate(.8) contrast(.92);
  transition: transform .22s ease, opacity .22s ease, filter .22s ease;
}
.carousel-item:hover img{
  transform: scale(1.045);
  opacity: .9;
  filter: saturate(.9) contrast(.98);
}
.carousel-caption{
  position: absolute;
  left: 8px;
  bottom: 8px;
  margin: 0;
  padding: 2px 8px;
  border-radius: 999px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 11px;
  line-height: 1.2;
  color: rgba(255,255,255,.94);
  background: rgba(55,55,55,.62);
  opacity: 0;
  transform: translateY(3px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.carousel-item:hover .carousel-caption{
  opacity: 1;
  transform: translateY(0);
}
@keyframes bg-slide{
  from{ transform: translateX(0); }
  to{ transform: translateX(calc(-50% - 6px)); }
}

/* Stack showcase */
.stack-showcase{
  position: relative;
  margin: 18px 0 34px;
  padding: 10px 0 18px;
  overflow: visible;
}
.stack-showcase .container{
  max-width: min(1360px, calc(100vw - 56px));
  padding: 0 28px;
  position: relative;
  z-index: 1;
}
.stack-noise{
  position: absolute;
  inset: 6% 1.5%;
  background:
    radial-gradient(circle at 12% 24%, rgba(156,140,112,.14), transparent 34%),
    radial-gradient(circle at 84% 60%, rgba(128,118,98,.10), transparent 32%),
    repeating-linear-gradient(
      -16deg,
      rgba(0,0,0,.035) 0 1px,
      rgba(255,255,255,.0) 1px 11px
    );
  mix-blend-mode: multiply;
  opacity: .34;
  animation: stack-noise-shift 18s linear infinite alternate;
  border-radius: 28px;
  pointer-events: none;
}
.stack-stage{
  position: relative;
  --stack-shift-x: -10%;
  min-height: clamp(260px, 33vw, 430px);
  aspect-ratio: 30 / 9;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}
.stack-stage::before,
.stack-stage::after{
  content: "";
  position: absolute;
  pointer-events: none;
}
.stack-stage::before{
  inset: 5% 18% 7% 18%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(186,170,138,.2), rgba(186,170,138,0) 72%);
  filter: blur(22px);
  animation: stack-glow 10s ease-in-out infinite alternate;
  z-index: 0;
}
.stack-stage::after{
  inset: 12% 8%;
  background-image: radial-gradient(circle, rgba(0,0,0,.08) .8px, transparent 1px);
  background-size: 20px 20px;
  opacity: .16;
  z-index: 0;
}
.stack-note{
  position: absolute;
  top: var(--active-top, var(--top, 0%));
  left: calc(var(--active-left, var(--left, 0%)) + var(--stack-shift-x));
  width: clamp(128px, var(--w, 13vw), 240px);
  padding: 11px 12px 12px;
  border: 1px solid var(--note-line, rgba(0,0,0,.14));
  border-radius: 12px;
  background: var(--note-bg, rgba(255,255,255,.92));
  box-shadow: 0 10px 26px rgba(10,24,48,.14), 0 1px 0 rgba(255,255,255,.55) inset;
  backdrop-filter: blur(3px);
  transform: translate3d(0, 0, 0) rotate(var(--rot, 0deg));
  transition: transform .24s ease, box-shadow .24s ease, filter .24s ease, top 1.1s cubic-bezier(.2,.72,.26,1), left 1.1s cubic-bezier(.2,.72,.26,1);
  will-change: transform, top, left;
  animation-name: stack-in, stack-float-a;
  animation-duration: var(--stack-in-dur, .9s), var(--float-dur, 10s);
  animation-timing-function: cubic-bezier(.2,.72,.26,1), ease-in-out;
  animation-delay: var(--delay, 0s), calc(var(--delay, 0s) + .86s);
  animation-fill-mode: both, both;
  animation-iteration-count: 1, infinite;
  animation-play-state: paused, paused;
}
.stack-showcase.is-inview .stack-note{
  animation-play-state: running, running;
}
.stack-note::before{
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--note-line, rgba(0,0,0,.2)), transparent);
  opacity: .72;
}
.stack-note:nth-child(2n){
  animation-name: stack-in, stack-float-b;
}
.stack-note:nth-child(3n){
  animation-name: stack-in, stack-float-c;
}
.stack-note h3{
  margin: 0 0 6px;
  font-family: "Impact", "Arial Black", "Segoe UI", sans-serif;
  font-size: clamp(13px, 1.25vw, 20px);
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--note-title, #1f1f1f);
}
.stack-note p{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(11px, .95vw, 14px);
  color: var(--note-text, rgba(26,26,26,.82));
  line-height: 1.35;
}
.stack-note:hover{
  transform: translateY(-10px) scale(1.04) rotate(calc(var(--rot, 0deg) - 1deg));
  box-shadow: 0 18px 34px rgba(10,24,48,.22), 0 1px 0 rgba(255,255,255,.62) inset;
  filter: saturate(1.05);
  z-index: 30;
  animation-play-state: paused, paused;
}

.stack-note:nth-child(1){  --top: 9%;  --left: 8%;  --w: 12vw; --rot: -6deg; --z: 6;  --delay: .02s; --float-dur: 10.2s; --note-bg:#f3efe7; --note-line:#9f8f74; --note-title:#423629; --note-text:#5b4e3d; }
.stack-note:nth-child(2){  --top: 18%; --left: 19%; --w: 11vw; --rot: 5deg;  --z: 8;  --delay: .08s; --float-dur: 8.6s;  --note-bg:#f0ede6; --note-line:#8f9a8a; --note-title:#334036; --note-text:#4d5b50; }
.stack-note:nth-child(3){  --top: 8%;  --left: 31%; --w: 11vw; --rot: -4deg; --z: 10; --delay: .14s; --float-dur: 9.4s;  --note-bg:#f5efe5; --note-line:#a6937d; --note-title:#45392b; --note-text:#5f5241; }
.stack-note:nth-child(4){  --top: 18%; --left: 42%; --w: 12vw; --rot: 7deg;  --z: 12; --delay: .2s;  --float-dur: 8.9s;  --note-bg:#efede4; --note-line:#8a9884; --note-title:#344133; --note-text:#505d4f; }
.stack-note:nth-child(5){  --top: 7%;  --left: 53%; --w: 11vw; --rot: -5deg; --z: 13; --delay: .26s; --float-dur: 10.6s; --note-bg:#f4eee7; --note-line:#9a8d81; --note-title:#40362e; --note-text:#5a4f45; }
.stack-note:nth-child(6){  --top: 18%; --left: 65%; --w: 11vw; --rot: 5deg;  --z: 9;  --delay: .32s; --float-dur: 9.1s;  --note-bg:#f5efe4; --note-line:#a08f78; --note-title:#45382a; --note-text:#5e5140; }
.stack-note:nth-child(7){  --top: 34%; --left: 13%; --w: 11vw; --rot: 6deg;  --z: 11; --delay: .38s; --float-dur: 10.9s; --note-bg:#eeece6; --note-line:#8a8f9e; --note-title:#343949; --note-text:#4f5566; }
.stack-note:nth-child(8){  --top: 41%; --left: 24%; --w: 11vw; --rot: -6deg; --z: 10; --delay: .44s; --float-dur: 8.4s;  --note-bg:#f4ede7; --note-line:#a09286; --note-title:#433730; --note-text:#5d5048; }
.stack-note:nth-child(9){  --top: 35%; --left: 36%; --w: 12vw; --rot: 4deg;  --z: 14; --delay: .5s;  --float-dur: 9.7s;  --note-bg:#efede5; --note-line:#8b968f; --note-title:#33403a; --note-text:#4d5a53; }
.stack-note:nth-child(10){ --top: 44%; --left: 47%; --w: 11vw; --rot: -7deg; --z: 15; --delay: .56s; --float-dur: 10.1s; --note-bg:#f5efe4; --note-line:#a1947a; --note-title:#463b2a; --note-text:#60523f; }
.stack-note:nth-child(11){ --top: 35%; --left: 59%; --w: 11vw; --rot: 6deg;  --z: 12; --delay: .62s; --float-dur: 8.8s;  --note-bg:#eeece7; --note-line:#8d90a0; --note-title:#363948; --note-text:#505566; }
.stack-note:nth-child(12){ --top: 45%; --left: 70%; --w: 11vw; --rot: -6deg; --z: 9;  --delay: .68s; --float-dur: 9.3s;  --note-bg:#f4ede8; --note-line:#9e9187; --note-title:#433831; --note-text:#5d514a; }
.stack-note:nth-child(13){ --top: 60%; --left: 29%; --w: 12vw; --rot: 5deg;  --z: 13; --delay: .74s; --float-dur: 9.9s;  --note-bg:#efede6; --note-line:#8f9598; --note-title:#363d41; --note-text:#51595e; }
.stack-note:nth-child(14){ --top: 59%; --left: 52%; --w: 12vw; --rot: -5deg; --z: 11; --delay: .8s;  --float-dur: 10.4s; --note-bg:#f1eee7; --note-line:#959486; --note-title:#3d3b33; --note-text:#57544a; }

@keyframes stack-noise-shift{
  from{ transform: translate3d(-1.2%, -1%, 0) scale(1.02); }
  to{ transform: translate3d(1%, 1.2%, 0) scale(1.05); }
}
@keyframes stack-glow{
  from{ opacity: .24; transform: translateY(3px) scale(.96); }
  to{ opacity: .52; transform: translateY(-4px) scale(1.04); }
}
@keyframes stack-in{
  from{
    opacity: 0;
    transform: translate3d(var(--from-x, 0px), var(--from-y, 22px), 0) rotate(calc(var(--rot, 0deg) - 3deg)) scale(.96);
    filter: blur(3px);
  }
  to{
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(var(--rot, 0deg)) scale(1);
    filter: blur(0);
  }
}
@keyframes stack-float-a{
  0%,100%{ transform: translate3d(0, 0, 0) rotate(var(--rot, 0deg)); }
  50%{ transform: translate3d(0, -7px, 0) rotate(calc(var(--rot, 0deg) + 1.1deg)); }
}
@keyframes stack-float-b{
  0%,100%{ transform: translate3d(0, 0, 0) rotate(var(--rot, 0deg)); }
  50%{ transform: translate3d(0, 8px, 0) rotate(calc(var(--rot, 0deg) - 1deg)); }
}
@keyframes stack-float-c{
  0%,100%{ transform: translate3d(0, 0, 0) rotate(var(--rot, 0deg)); }
  50%{ transform: translate3d(0, -5px, 0) rotate(calc(var(--rot, 0deg) + .6deg)); }
}

/* Sections */
.section{
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.section h2{
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
}
.section-desc{
  margin: 10px 0 18px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
}

.cards{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.card{
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.25);
}
.card-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.card h3{
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}
.links{
  display: flex;
  gap: 10px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  color: var(--muted);
}
.links a{ text-decoration: none; border-bottom: 1px solid rgba(0,0,0,.18); }
.one-liner{
  margin: 10px 0 10px;
  color: var(--accent);
}
.card ul{
  margin: 0;
  padding-left: 18px;
  color: var(--fg);
}
.more{
  margin-top: 10px;
}
.more summary{
  cursor: pointer;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--muted);
}
.cards .more summary{
  float: right;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.28);
  font-size: 11px;
  line-height: 1.25;
  color: var(--muted);
  opacity: .85;
}
.cards .more[open] summary{
  background: rgba(255,255,255,.46);
  color: var(--fg);
  opacity: 1;
}
.cards .more::after{
  content: "";
  display: block;
  clear: both;
}
.more-body{
  margin-top: 8px;
  color: var(--fg);
}

.prose p{ margin: 0 0 10px; }
.prose ul{
  margin: 0;
  padding-left: 18px;
}

.timeline{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.timeline > li{
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(0,0,0,.08);
}
.timeline > li:first-child{
  border-top: 0;
  padding-top: 4px;
}
.when{
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .88;
  padding-top: 6px;
}
.what{
  padding: 0;
}
.what strong{
  display: block;
  font-size: 30px;
  line-height: 1.35;
  margin-bottom: 3px;
  color: var(--fg);
}
.desc{
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  margin-top: 8px;
  line-height: 1.6;
}
.timeline .more{
  margin-top: 8px;
}
.timeline .more summary{
  float: right;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.28);
  font-size: 11px;
  line-height: 1.25;
  color: var(--muted);
  opacity: .85;
}
.timeline .more[open] summary{
  background: rgba(255,255,255,.46);
  color: var(--fg);
  opacity: 1;
}
.timeline .more::after{
  content: "";
  display: block;
  clear: both;
}
.timeline .more .more-body{
  margin-top: 8px;
  padding: 6px 0 0 12px;
  border-left: 2px solid rgba(0,0,0,.10);
  background: transparent;
}
.timeline .more > ul{
  margin: 8px 0 0;
  padding: 6px 0 0 18px;
  border-left: 2px solid rgba(0,0,0,.10);
  background: transparent;
}
.timeline .more[open] > ul,
.timeline .more[open] .more-body{
  animation: details-reveal .6s cubic-bezier(.22,.76,.19,1);
}
@keyframes details-reveal{
  from{
    opacity: .0;
    transform: translateY(-8px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}
.timeline .more .more-body ul{
  margin: 0;
  padding-left: 18px;
}
.timeline .more > ul li,
.timeline .more .more-body li{
  display: list-item;
  margin: 0 0 4px;
  color: rgba(26,26,26,.86);
  font-size: 12px;
  line-height: 1.55;
  writing-mode: horizontal-tb;
}
.timeline .more > ul li:last-child,
.timeline .more .more-body li:last-child{
  margin-bottom: 0;
}

.contact{
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: rgba(255,255,255,.20);
}
.contact-row{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  align-items: center;
}
.label{
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--muted);
  font-size: 13px;
}

.footer{
  margin-top: 18px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
}
.sep{ opacity: .6; }

.lang-fab{
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--fg);
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
  z-index: 140;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.lang-fab:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,.2);
  opacity: 1;
}
body.is-loading .lang-fab{
  transform: scale(.95);
  opacity: .82;
}

@media (min-width: 641px){
  .lang-fab{ display: none; }
}

/* Responsive */
@media (max-width: 640px){
  .container{ padding: 0 16px; }
  .topbar .badge{ display: none; }
  .mobile-badge{
    display: inline-flex;
    position: absolute;
    right: 0;
    top: 58px;
    z-index: 3;
  }
  .headline{
    top: 12px;
    right: 12px;
    max-width: 94vw;
    font-size: clamp(22px, 12.5vw, 70px);
    line-height: 1.02;
  }
  .bg-carousel-group img{ width: 156px; }
  .carousel-caption{
    font-size: 10px;
    bottom: 6px;
    left: 6px;
  }
  .topbar{ align-items: flex-start; }
  .top-left{ width: 100%; }
  .lang-switch{ display: none; }
  .lang-fab{ display: grid; }
  .nav{
    width: 100%;
    justify-content: flex-start;
    padding-top: 8px;
    border-top: 1px dashed rgba(0,0,0,.08);
  }
  .name{ font-size: 44px; }
  .lead{ font-size: 16px; }
  .timeline > li{
    grid-template-columns: 1fr;
    gap: 8px;
    border-top: 1px dashed rgba(0,0,0,.10);
  }
  .timeline > li:first-child{
    border-top: 0;
  }
  .when{
    padding-top: 0;
    font-size: 11px;
  }
  .what{
    padding-right: 0;
  }
  .timeline .more{
    margin-top: 6px;
  }
  .timeline .more summary{
    float: none;
    margin-left: 0;
  }
  .timeline .more .more-body{
    margin-top: 8px;
  }
  .timeline .more > ul{
    margin-top: 8px;
  }
  .contact-row{ grid-template-columns: 1fr; }
  .stack-showcase{
    margin: 8px 0 22px;
    padding: 10px 0 12px;
  }
  .stack-showcase .container{
    max-width: min(100vw, calc(100vw - 10px));
    padding: 0 6px;
  }
  .stack-stage{
    --stack-shift-x: 0%;
    aspect-ratio: auto;
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 6px 0 2px;
  }
  .stack-note{
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    min-height: 66px;
    animation-duration: .7s, calc(var(--float-dur, 10s) * .95);
  }
  .stack-note:nth-child(2n){ --rot: 2deg; }
  .stack-note:nth-child(3n){ --rot: -2deg; }
}

@media (prefers-reduced-motion: reduce){
  .stack-noise,
  .stack-stage::before,
  .stack-note{
    animation: none !important;
  }
  .stack-note{
    transition: none;
  }
}




