/* ThinkVibes culture site
   Radius system: buttons/chips = pill, cards = 18px, photos = 12px
   One accent: brand sky blue #21A9EC, locked across the page. */

:root {
  --brand: #21A9EC;
  --brand-deep: #1488C8;
  --tint: #E8F6FE;
  --tint-2: #D2EDFD;
  --coral: #FF6B4A;
  --coral-tint: #FFEDE8;
  --green: #2FBF71;
  --green-tint: #E6F8EE;
  --sun: #FFB627;
  --sun-tint: #FFF4DE;
  --ink: #0D1B24;
  --ink-2: #3E5665;
  --bg: #FAFCFE;
  --surface: #FFFFFF;
  --line: #E2EBF2;
  --r-card: 22px;
  --r-photo: 14px;
  --shadow: 0 16px 44px rgba(20, 90, 130, 0.13);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--bg); overflow-x: clip; }
body {
  font-family: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: transparent;
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
/* Aurora background: large soft colour washes drifting slowly */
body::before {
  content: ""; position: fixed; inset: -22%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(46% 38% at 18% 22%, rgba(33, 169, 236, 0.12) 0%, transparent 70%),
    radial-gradient(40% 34% at 82% 16%, rgba(255, 107, 74, 0.09) 0%, transparent 70%),
    radial-gradient(44% 40% at 78% 82%, rgba(47, 191, 113, 0.10) 0%, transparent 70%),
    radial-gradient(36% 32% at 16% 84%, rgba(255, 182, 39, 0.09) 0%, transparent 70%);
}
@media (prefers-reduced-motion: no-preference) {
  body::before { animation: aurora 34s ease-in-out infinite alternate; }
}
@keyframes aurora {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(3%, -2%) scale(1.06); }
  100% { transform: translate(-3%, 2%) scale(1.02); }
}
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(245, 249, 252, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220, 232, 240, 0.7);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
}
.wordmark { font-weight: 800; font-size: 1.15rem; letter-spacing: 0.01em; text-decoration: none; }
.wm-think { color: var(--brand); }
.wm-vibes { color: var(--ink); }
.wm-vibes-light { color: #fff; }
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 0.92rem;
  padding: 8px 14px; border-radius: 999px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--tint); }
.nav-links a.is-active { color: var(--brand-deep); background: var(--tint); }
.nav-toggle { display: none; }
.nav-links .nav-cta {
  background: var(--ink); color: #fff; margin-left: 6px;
}
.nav-links .nav-cta:hover { background: var(--brand-deep); color: #fff; }
.nav-links .nav-cta.is-here { background: var(--brand); color: #fff; }

/* ---------- Hero (centered manifesto, floating photo cards) ---------- */
.hero {
  min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  padding: 96px 24px 60px;
  background:
    radial-gradient(700px 520px at 8% 12%, rgba(33, 169, 236, 0.14) 0%, transparent 66%),
    radial-gradient(560px 460px at 92% 20%, rgba(255, 107, 74, 0.12) 0%, transparent 68%),
    radial-gradient(620px 520px at 80% 92%, rgba(47, 191, 113, 0.12) 0%, transparent 70%),
    radial-gradient(480px 400px at 14% 88%, rgba(255, 182, 39, 0.12) 0%, transparent 70%);
  overflow: hidden;
}
.hero-inner {
  max-width: 900px; margin: 0 auto; width: 100%;
  text-align: center; position: relative; z-index: 2;
}
.eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--brand-deep); margin-bottom: 14px;
}
.hero .eyebrow {
  display: inline-flex; padding: 9px 20px; border-radius: 999px;
  background: var(--surface); border: 1.5px solid var(--line); margin-bottom: 26px;
  box-shadow: 0 4px 14px rgba(20, 90, 130, 0.08);
}
.hero h1 {
  font-size: clamp(3rem, 8.4vw, 6.4rem); font-weight: 800; letter-spacing: -0.04em;
  line-height: 1.02;
}
.hero h1 .hl-b { color: var(--brand); }
.hero-sub {
  margin: 26px auto 34px; color: var(--ink-2); font-size: clamp(1.02rem, 1.4vw, 1.25rem);
  max-width: 46ch;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* Floating photo cards around the hero */
.hf {
  position: absolute; border-radius: var(--r-photo); object-fit: cover;
  border: 5px solid #fff; box-shadow: var(--shadow); z-index: 1;
}
.hf-1 { width: clamp(150px, 17vw, 255px); aspect-ratio: 1 / 1;  left: 6%;  top: 17%;  rotate: -8deg; }
.hf-2 { width: clamp(160px, 19vw, 285px); aspect-ratio: 4 / 3;  right: 5%; top: 20%;  rotate: 7deg; }
.hf-3 { width: clamp(140px, 16vw, 240px); aspect-ratio: 3 / 2;  left: 10%; bottom: 13%; rotate: 6deg; }
.hf-4 { width: clamp(150px, 18vw, 270px); aspect-ratio: 4 / 3;  right: 8%; bottom: 10%; rotate: -6deg; }
@media (prefers-reduced-motion: no-preference) {
  .hf { animation: hf-float 7s ease-in-out infinite alternate; }
  .hf-2 { animation-delay: -2s; }
  .hf-3 { animation-delay: -4.2s; }
  .hf-4 { animation-delay: -5.6s; }
}
@keyframes hf-float { to { translate: 0 -16px; } }
.hero-floats { display: contents; }

/* Colored word emphasis inside headlines */
.hl-b { color: var(--brand); }
.hl-c { color: var(--coral); }
.hl-g { color: var(--green); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px;
  font-family: inherit; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; cursor: pointer; border: none; white-space: nowrap;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 26px rgba(33, 169, 236, 0.35); }
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-deep); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }


@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .masonry .card img.par { animation: photo-rise linear both; animation-timeline: view(); }
  }
}
@keyframes photo-rise { from { transform: translateY(14px) scale(1.04); } to { transform: translateY(-10px) scale(1.04); } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink); color: #fff; overflow: hidden;
  padding: 22px 0; white-space: nowrap;
  position: relative; z-index: 3;
  box-shadow: 0 14px 34px rgba(13, 27, 36, 0.18);
}
.marquee-track { display: inline-flex; align-items: center; gap: 30px; animation: marquee 34s linear infinite; }
.marquee span { font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em; }
.marquee i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.marquee i:nth-of-type(4n + 1) { background: var(--brand); }
.marquee i:nth-of-type(4n + 2) { background: var(--coral); }
.marquee i:nth-of-type(4n + 3) { background: var(--sun); }
.marquee i:nth-of-type(4n + 4) { background: var(--green); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Sections ---------- */
.section { max-width: 1200px; margin: 0 auto; padding: 78px 24px; }
.section-tint {
  max-width: none;
  background: linear-gradient(180deg, transparent 0%, rgba(33, 169, 236, 0.09) 55%, transparent 100%);
}
#culture.section-tint {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 107, 74, 0.08) 55%, transparent 100%);
}
.section-tint > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 34px; }
.section-head h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 800; max-width: 22ch; letter-spacing: -0.03em; }
.section-sub { color: var(--ink-2); margin-top: 12px; max-width: 52ch; }
.head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 34px;
}
.head-row .section-head { margin-bottom: 0; }
.head-row .filters { margin-bottom: 6px; }

/* ---------- Filters ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink-2);
  font-family: inherit; font-weight: 600; font-size: 0.88rem; cursor: pointer;
  transition: all 0.2s var(--ease);
}
.chip:hover { border-color: var(--brand); color: var(--brand-deep); transform: translateY(-2px); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[data-filter="culture"].is-active { background: var(--coral); border-color: var(--coral); }
.chip[data-filter="tech"].is-active { background: var(--brand); border-color: var(--brand); }
.chip[data-filter="fun"].is-active { background: var(--green); border-color: var(--green); }

/* ---------- Masonry gallery ---------- */
.masonry { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; perspective: 900px; }
.card {
  display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--r-card);
  overflow: hidden; cursor: pointer; border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), opacity 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card.is-hidden { display: none; }
.card-photo { overflow: hidden; aspect-ratio: 4 / 3; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card:hover .card-photo img { transform: scale(1.05); }
.card-info { padding: 16px 18px 18px; flex: 1; }
.card-info h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.card-meta { font-size: 0.8rem; color: var(--ink-2); font-weight: 500; }
.card-meta b {
  font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-right: 6px;
}
.card[data-cat="culture"] .card-meta b { background: var(--coral-tint); color: var(--coral); }
.card[data-cat="tech"]    .card-meta b { background: var(--tint); color: var(--brand-deep); }
.card[data-cat="fun"]     .card-meta b { background: var(--green-tint); color: var(--green); }

/* ---------- Tech rail ---------- */
/* Paged like the Moments gallery: 3 cards a page, book-page turns between. */
.rail-wrap { position: relative; perspective: 1600px; }
.rail {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 6px 4px 8px;
  transform-style: preserve-3d;
}
@media (max-width: 900px) { .rail { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .rail { grid-template-columns: 1fr; } }
.rail-card {
  background: var(--surface); border-radius: var(--r-card); overflow: hidden;
  border: 1px solid var(--line); cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.rail-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.rail-card img { height: 200px; width: 100%; object-fit: cover; }
.rail-card .card-info { padding: 18px 20px 20px; }
.rail-card p { font-size: 0.88rem; color: var(--ink-2); margin-top: 8px; }

/* ---------- Calendar ---------- */
.cal-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; }
.cal-card {
  background: var(--surface); border-radius: var(--r-card); border: 1px solid var(--line);
  padding: 26px; box-shadow: 0 8px 30px rgba(20, 90, 130, 0.07);
}
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.cal-head h3 { font-size: 1.25rem; font-weight: 800; }
.cal-nav {
  width: 40px; height: 40px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--surface); cursor: pointer; font-size: 1rem; color: var(--ink);
  transition: all 0.2s var(--ease);
}
.cal-nav:hover { background: var(--tint); border-color: var(--brand); color: var(--brand-deep); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { margin-bottom: 8px; }
.cal-dow span {
  text-align: center; font-size: 0.72rem; font-weight: 700; color: var(--ink-2);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.day {
  aspect-ratio: 1; border-radius: 10px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  font-size: 0.86rem; font-weight: 500; color: var(--ink-2);
  position: relative; background: transparent;
}
.day.pad { visibility: hidden; }
.day.today { outline: 2px solid var(--brand); outline-offset: -2px; font-weight: 800; color: var(--brand-deep); }
.day.has-event {
  background: var(--tint); color: var(--ink); font-weight: 700; cursor: pointer;
  transition: all 0.2s var(--ease);
}
.day.has-event:hover { background: var(--tint-2); transform: scale(1.06); }
.day.has-event::after {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}
.day.cat-culture::after { background: var(--coral); }
.day.cat-culture.has-event { background: var(--coral-tint); }
.day.cat-culture.has-event:hover { background: #FFDCD2; }
.day.cat-fun::after { background: var(--green); }
.day.cat-fun.has-event { background: var(--green-tint); }
.day.cat-fun.has-event:hover { background: #D2F1E0; }
.cal-side h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 16px; }
.cal-list { display: flex; flex-direction: column; gap: 12px; }
.cal-item {
  display: flex; gap: 14px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px; cursor: pointer; text-align: left; font-family: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.cal-item:hover { transform: translateX(5px); box-shadow: 0 8px 22px rgba(20, 90, 130, 0.1); }
.cal-item img { width: 58px; height: 58px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.cal-item .t { font-weight: 700; font-size: 0.92rem; line-height: 1.3; }
.cal-item .d { font-size: 0.78rem; color: var(--ink-2); margin-top: 2px; }
.cal-empty { color: var(--ink-2); font-size: 0.92rem; padding: 14px 4px; }

/* ---------- Story statements (challenge page) ---------- */
.statement, .closing { max-width: 1200px; margin: 0 auto; padding: 60px 24px 0; position: relative; }
.closing { padding: 28px 24px 84px; }
.statement p, .closing p {
  font-size: clamp(1.5rem, 3.2vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.25; color: var(--ink); max-width: 26ch;
}
.statement p span, .closing p span { color: var(--brand-deep); }

/* ---------- Intro: statement + stat tiles ---------- */
.intro {
  max-width: 1200px; margin: 0 auto; padding: 84px 24px 6px;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center;
}
.intro-line {
  font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.22; color: var(--ink);
}
.intro-line span { color: var(--brand-deep); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat {
  border-radius: var(--r-card); border: 1px solid transparent;
  padding: 20px 18px 17px; text-align: left;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.stat:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: 0 14px 30px rgba(20, 90, 130, 0.14); }
.stat b { display: block; font-size: 2.1rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.stat span { font-size: 0.8rem; font-weight: 700; color: var(--ink-2); }
.stat:nth-child(6n + 1) { background: var(--tint); }       .stat:nth-child(6n + 1) b { color: var(--brand-deep); }
.stat:nth-child(6n + 2) { background: var(--coral-tint); } .stat:nth-child(6n + 2) b { color: var(--coral); }
.stat:nth-child(6n + 3) { background: var(--green-tint); } .stat:nth-child(6n + 3) b { color: var(--green); }
.stat:nth-child(6n + 4) { background: var(--sun-tint); }   .stat:nth-child(6n + 4) b { color: #E29A0C; }
.stat:nth-child(6n + 5) { background: var(--green-tint); } .stat:nth-child(6n + 5) b { color: var(--green); }
.stat:nth-child(6n + 6) { background: var(--coral-tint); } .stat:nth-child(6n + 6) b { color: var(--coral); }

/* Floating photo stickers beside statements */
.stk {
  position: absolute; border: 4px solid #fff; border-radius: var(--r-photo);
  box-shadow: var(--shadow); object-fit: cover; z-index: 1;
}
.statement .stk-1 { width: 168px; aspect-ratio: 4 / 3; right: 7%; top: 6px; rotate: -5deg; }
.statement .stk-2 { width: 128px; aspect-ratio: 1 / 1; right: 24%; top: 84px; rotate: 6deg; }
.closing .stk-1 { width: 168px; aspect-ratio: 3 / 2; right: 9%; top: 10px; rotate: 5deg; }
.closing .stk-2 { width: 122px; aspect-ratio: 4 / 3; right: 26%; top: 96px; rotate: -6deg; }
.page-hero .stk-1 { width: 180px; aspect-ratio: 3 / 2; right: 6%; top: 150px; rotate: 4deg; }
.page-hero .stk-2 { width: 132px; aspect-ratio: 4 / 3; right: 20%; top: 260px; rotate: -6deg; }
@media (prefers-reduced-motion: no-preference) {
  .stk { animation: stk-float 6.5s ease-in-out infinite alternate; }
  .stk-2 { animation-delay: -3.2s; }
}
@keyframes stk-float { to { translate: 0 -14px; } }
@media (max-width: 1080px) { .stk { display: none; } }

/* Fun stats strip */
.fun-stats {
  max-width: 1200px; margin: 0 auto; padding: 26px 24px 0;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.fun-stats .track { font-size: 0.88rem; padding: 9px 18px; background: var(--surface); border: 1px solid var(--line); }
.fun-stats .track b { color: var(--brand-deep); margin-right: 5px; }

/* ---------- Certification program (dark panel) ---------- */
.cert {
  margin-top: 52px; background: var(--ink); border-radius: 24px;
  padding: 48px; color: #fff; box-shadow: 0 24px 60px rgba(13, 27, 36, 0.25);
  position: relative; overflow: hidden;
}
.cert::before {
  content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 169, 236, 0.22) 0%, transparent 70%);
  top: -180px; right: -120px; pointer-events: none;
}
.cert-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; flex-wrap: wrap; margin-bottom: 40px; position: relative;
}
.cert-badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--brand); color: #fff;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 16px;
}
.cert-cta { margin-top: 36px; position: relative; }
.cert-copy h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; max-width: 22ch; letter-spacing: -0.02em; }
.cert-copy p { color: rgba(255, 255, 255, 0.72); margin-top: 12px; max-width: 52ch; }
.cert-tracks { display: flex; flex-wrap: wrap; gap: 8px; max-width: 320px; justify-content: flex-end; }
.track {
  padding: 7px 15px; border-radius: 999px; background: var(--tint);
  color: var(--brand-deep); font-weight: 600; font-size: 0.82rem;
}
.cert .track { background: rgba(33, 169, 236, 0.16); color: #7FCBF4; }
.flow {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 28px; position: relative;
}
.flow-step { display: flex; flex-direction: column; gap: 12px; position: relative; }
.flow-step + .flow-step { border-left: 1px solid rgba(255, 255, 255, 0.12); padding-left: 28px; }
.flow-dot {
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
}
.flow-step h4 { font-size: 1rem; font-weight: 700; color: #fff; }
.flow-step p { color: rgba(255, 255, 255, 0.64); font-size: 0.86rem; margin-top: 2px; }

/* ---------- Movement challenge ---------- */
.move-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; }
.move-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 28px; box-shadow: 0 8px 30px rgba(20, 90, 130, 0.07);
}
.move-progress { grid-row: span 2; display: flex; flex-direction: column; }
.move-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.move-card h3 { font-size: 1.05rem; font-weight: 800; }
.tag {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--tint); color: var(--brand-deep); padding: 5px 11px; border-radius: 999px; white-space: nowrap;
}
.move-big { color: var(--ink-2); font-size: 0.95rem; margin: 6px 0 46px; }
.move-big b { color: var(--ink); font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; margin-right: 6px; }
.bar { position: relative; height: 16px; border-radius: 999px; background: var(--tint); margin: 0 8px 74px; }
.bar-fill {
  position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-deep) 100%);
  transition: width 1.4s var(--ease) 0.3s;
}
.reveal.in .bar-fill, .in .bar .bar-fill { width: var(--pct); }
.move-grid.in .bar-fill { width: var(--pct); }
.ms { position: absolute; left: var(--x); top: 50%; transform: translate(-50%, -50%); }
.ms i {
  display: block; width: 26px; height: 26px; border-radius: 999px; border: 3px solid var(--surface);
  background: var(--tint-2); box-shadow: 0 2px 8px rgba(20, 90, 130, 0.18);
}
.ms[data-state="done"] i { background: var(--brand-deep); }
.ms[data-state="next"] i { background: var(--surface); border-color: var(--brand); }
.ms em {
  position: absolute; top: 34px; left: 50%; transform: translateX(-50%);
  font-style: normal; font-size: 0.72rem; font-weight: 700; white-space: nowrap;
  color: var(--ink-2);
}
.ms[data-state="done"] em { color: var(--brand-deep); }
.move-note { color: var(--ink-2); font-size: 0.85rem; margin-top: auto; }
.lb { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 14px 0 16px; }
.lb li {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg); border-radius: 14px; padding: 10px 14px;
}
.lb-rank { font-weight: 800; color: var(--ink-2); width: 16px; }
.lb-av {
  width: 38px; height: 38px; border-radius: 999px; flex-shrink: 0;
  background: hsl(var(--h), 62%, 90%); color: hsl(var(--h), 45%, 32%);
  font-weight: 800; font-size: 0.8rem; display: flex; align-items: center; justify-content: center;
}
.lb-name { font-weight: 700; font-size: 0.95rem; }
.lb-val { margin-left: auto; font-weight: 700; color: var(--brand-deep); font-size: 0.92rem; }
.how-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.how-list li { color: var(--ink-2); font-size: 0.92rem; padding-left: 24px; position: relative; }
.how-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px;
  border-radius: 999px; background: var(--brand);
}
.move-disclaimer { color: var(--ink-2); font-size: 0.8rem; margin-top: 20px; }

/* ---------- Challenge teaser band (energetic green gradient) ---------- */
.teaser { background: linear-gradient(120deg, #1E9E5C 0%, var(--green) 55%, #55D48E 100%); }
.teaser-inner {
  max-width: 1200px; margin: 0 auto; padding: 68px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.teaser h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; max-width: 22ch; letter-spacing: -0.02em; }
.teaser p { color: rgba(255, 255, 255, 0.86); margin-top: 10px; max-width: 50ch; }
.teaser .btn-primary {
  flex-shrink: 0; background: #fff; color: #1E9E5C;
  box-shadow: 0 12px 30px rgba(13, 27, 36, 0.22);
}
.teaser .btn-primary:hover { background: var(--green-tint); }

/* ---------- Finale ---------- */
.finale { background: var(--ink); overflow: hidden; position: relative; }
.finale::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 60% at 12% 20%, rgba(33, 169, 236, 0.16) 0%, transparent 70%),
    radial-gradient(36% 52% at 88% 30%, rgba(255, 107, 74, 0.13) 0%, transparent 70%),
    radial-gradient(42% 58% at 70% 90%, rgba(47, 191, 113, 0.12) 0%, transparent 70%);
}
.finale-inner {
  max-width: 1200px; margin: 0 auto; padding: 96px 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.finale-copy h2 { color: #fff; font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 800; letter-spacing: -0.03em; }
.finale-copy p { color: rgba(255, 255, 255, 0.72); margin: 16px 0 28px; max-width: 44ch; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--tint); color: var(--brand-deep); transform: translateY(-2px); }
.fan { position: relative; height: 380px; }
.fan-p {
  position: absolute; border-radius: var(--r-photo); object-fit: cover;
  border: 4px solid #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s var(--ease);
}
.fan-1 { width: 44%; aspect-ratio: 4 / 3; left: 2%; top: 6%; rotate: -7deg; z-index: 1; }
.fan-2 { width: 42%; aspect-ratio: 3 / 2; left: 26%; top: 34%; rotate: 3deg; z-index: 3; }
.fan-3 { width: 38%; aspect-ratio: 1 / 1; right: 4%; top: 0; rotate: 6deg; z-index: 2; }
.fan-4 { width: 34%; aspect-ratio: 4 / 3; left: 0; bottom: 2%; rotate: 5deg; z-index: 2; }
.fan-5 { width: 40%; aspect-ratio: 4 / 3; right: 0; bottom: 4%; rotate: -4deg; z-index: 1; }
.fan-p:hover { transform: scale(1.06); z-index: 5; }
.finale + .footer { border-top: 1px solid rgba(255, 255, 255, 0.1); }

/* ---------- Challenge page ---------- */
.page-hero { padding: 140px 24px 30px; max-width: 1200px; margin: 0 auto; position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; max-width: 18ch; }
.page-hero .section-sub { margin-top: 14px; }
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; }
.stage {
  border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface);
  padding: 22px; position: relative; overflow: hidden;
}
.stage[data-state="done"] { background: var(--tint); border-color: var(--tint-2); }
.stage[data-state="next"] { border-color: var(--brand); }
.stage-pct { font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em; color: var(--ink); }
.stage[data-state="done"] .stage-pct { color: var(--brand-deep); }
.stage-amt { font-weight: 700; color: var(--ink); margin-top: 2px; }
.stage-note { color: var(--ink-2); font-size: 0.82rem; margin-top: 8px; }
.stage-state {
  display: inline-block; margin-top: 14px; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2);
}
.stage[data-state="done"] .stage-state { color: var(--brand-deep); }
.challenge-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
@media (max-width: 900px) {
  .stages { grid-template-columns: 1fr 1fr; }
  .challenge-cols { grid-template-columns: 1fr; }
  .teaser-inner { padding: 48px 24px; }
}

/* ---------- Detailed calendar page ---------- */
.calpage { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; align-items: start; }
.bigcal-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 26px; box-shadow: 0 8px 30px rgba(20, 90, 130, 0.07);
}
.bigcal-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.bigcal-head h2 { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.bigcal-nav { display: flex; gap: 8px; align-items: center; }
.bigcal-dow { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 6px; }
.bigcal-dow span {
  text-align: center; font-size: 0.7rem; font-weight: 700; color: var(--ink-2);
  text-transform: uppercase; letter-spacing: 0.06em; padding: 6px 0;
}
.bigcal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.bc-cell {
  min-height: 74px; min-width: 0; max-width: 100%; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); padding: 8px; text-align: left;
  display: flex; flex-direction: column; gap: 5px; align-items: flex-start;
  font-family: inherit; cursor: pointer; position: relative;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.bc-dots { display: flex; gap: 4px; margin-top: auto; }
.bc-dots i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.bc-cell[data-tip]:hover::after {
  content: attr(data-tip);
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff;
  padding: 7px 13px; border-radius: 9px;
  font-size: 0.74rem; font-weight: 600; line-height: 1.35;
  width: max-content; max-width: 200px; text-align: center;
  box-shadow: 0 10px 26px rgba(13, 27, 36, 0.28);
  pointer-events: none; z-index: 6;
}
.bc-cell[data-tip]:hover::before {
  content: ""; position: absolute; bottom: calc(100% + 2px); left: 50%; transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: var(--ink);
  pointer-events: none; z-index: 6;
}
.bc-cell:hover { border-color: var(--brand); transform: translateY(-2px); }
.bc-pad { visibility: hidden; cursor: default; }
.bc-num { font-size: 0.82rem; font-weight: 700; color: var(--ink-2); }
.bc-today .bc-num {
  background: var(--ink); color: #fff; width: 24px; height: 24px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
}
.bc-selected { border: 2px solid var(--brand); box-shadow: 0 8px 22px rgba(33, 169, 236, 0.18); background: var(--surface); }
.bigcal-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; }
.lg { display: inline-flex; align-items: center; gap: 7px; font-size: 0.76rem; font-weight: 600; color: var(--ink-2); }
.lg i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-culture { background: var(--coral); }
.dot-tech { background: var(--brand); }
.dot-fun { background: var(--green); }
.day-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 26px; box-shadow: 0 8px 30px rgba(20, 90, 130, 0.07);
  position: sticky; top: 88px;
}
.day-panel h3 { font-size: 1.15rem; font-weight: 800; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.panel-event { margin-bottom: 20px; }
.panel-event:last-child { margin-bottom: 0; }
.panel-event h4 { font-size: 1.02rem; font-weight: 800; margin: 8px 0 2px; }
.ptime { font-size: 0.82rem; font-weight: 700; color: var(--brand-deep); margin-bottom: 6px; }
.pblurb { font-size: 0.88rem; color: var(--ink-2); margin-bottom: 12px; }
.ptag {
  display: inline-block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.ptag.story { background: var(--tint); color: var(--brand-deep); }
.ptag.sample { background: var(--sun-tint); color: #B57F0B; }
.panel-empty { color: var(--ink-2); font-size: 0.9rem; }
.cal-footnote { font-size: 0.78rem; color: var(--ink-2); margin-top: 16px; }
.month-list { display: flex; flex-direction: column; }
.ml-row {
  display: flex; align-items: center; gap: 20px; text-align: left;
  padding: 18px 6px; border-bottom: 1px solid var(--line);
  background: none; border-top: none; border-left: none; border-right: none;
  font-family: inherit; cursor: pointer; transition: background 0.2s var(--ease);
}
.ml-row:first-child { border-top: 1px solid var(--line); }
.ml-row:hover { background: var(--tint); }
.ml-date { text-align: center; min-width: 46px; font-size: 0.66rem; font-weight: 700; color: var(--ink-2); letter-spacing: 0.06em; }
.ml-date b { display: block; font-size: 1.4rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; }
.ml-main { flex: 1; min-width: 0; }
.ml-title { display: block; font-weight: 800; font-size: 1rem; color: var(--ink); }
.ml-meta { display: block; font-size: 0.8rem; color: var(--ink-2); margin-top: 2px; }
@media (max-width: 900px) {
  .calpage { grid-template-columns: 1fr; }
  .day-panel { position: static; }
  .bc-cell { min-height: 52px; padding: 6px; }
  .bc-dots i { width: 8px; height: 8px; }
}

/* ---------- Leadership team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (min-width: 1050px) {
  .team-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .cols-4 .tm-info { padding: 15px 16px 17px; }
  .cols-4 .tm-info h3 { font-size: 1.05rem; }
  .cols-4 .tm-pill { font-size: 0.72rem; padding: 5px 11px; }
}
.tm-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  overflow: hidden; cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.tm-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tm-photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.tm-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.tm-card:hover .tm-photo img { transform: scale(1.04); }
.tm-avatar {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 3.4rem; font-weight: 800; letter-spacing: 0.02em;
}
.tm-avatar-coral { background: var(--coral-tint); color: var(--coral); }
.tm-avatar-blue { background: var(--tint); color: var(--brand-deep); }
.tm-avatar-green { background: var(--green-tint); color: var(--green); }
/* Team modal in the founders-slide format: round photo, name, role, pill, bio */
.tm-modal .modal-card { max-width: 460px; text-align: center; }
.tm-modal .modal-photos { display: flex; justify-content: center; padding: 40px 0 0; }
.tm-mphoto {
  width: 176px; height: 176px; border-radius: 50%; overflow: hidden; display: block;
  border: 5px solid #fff; box-shadow: 0 16px 40px rgba(20, 90, 130, 0.22);
  background: var(--tint); flex-shrink: 0;
}
.tm-modal .modal-photos .tm-mphoto img { width: 100%; height: 100%; object-fit: cover; }
.tm-mphoto.tm-avatar { font-size: 3rem; display: flex; align-items: center; justify-content: center; }
.tm-modal .modal-body { padding: 20px 34px 34px; display: flex; flex-direction: column; align-items: center; }
.tm-modal .modal-body h3 { order: -2; font-size: 1.55rem; margin-bottom: 4px; }
.tm-modal .modal-meta {
  order: -1; margin-bottom: 0; letter-spacing: 0.14em; font-size: 0.76rem;
}
.tm-modal .modal-meta[data-cat="tech"] { color: var(--brand-deep); }
.tm-modal .modal-meta[data-cat="culture"] { color: var(--coral); }
.tm-modal .modal-meta[data-cat="fun"] { color: var(--green); }
.tm-mpill {
  display: inline-block; margin: 14px 0 4px; padding: 8px 18px; border-radius: 999px;
  background: var(--tint); color: var(--ink-2); font-size: 0.84rem; font-weight: 700;
}
.tm-mbio { display: block; margin-top: 10px; color: var(--ink-2); max-width: 40ch; }
.tm-modal .modal-body p#modalText { margin-bottom: 22px; }
.tm-in {
  position: absolute; right: 12px; bottom: 12px;
  width: 40px; height: 40px; border-radius: 11px;
  background: #0A66C2; color: #fff; text-decoration: none;
  font-weight: 800; font-size: 1rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(10, 102, 194, 0.4);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.tm-in:hover { transform: scale(1.12); background: #0857A6; }
.tm-info { padding: 18px 20px 20px; }
.tm-info h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; }
.tm-role { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; }
.tm-role[data-cat="tech"] { color: var(--brand-deep); }
.tm-role[data-cat="culture"] { color: var(--coral); }
.tm-role[data-cat="fun"] { color: var(--green); }
.tm-pill {
  display: inline-block; margin-top: 12px; padding: 6px 13px; border-radius: 999px;
  background: var(--tint); color: var(--ink-2); font-size: 0.78rem; font-weight: 600;
}
@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .tm-info { padding: 14px 14px 16px; }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ---------- Employee space ---------- */
.emp { padding-top: 34px; }
.emp-card {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center;
  background: var(--tint); border-radius: 24px; padding: 56px;
}
.emp-badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--surface); color: var(--brand-deep);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 18px;
}
.emp-left h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; }
.emp-left p { color: var(--ink-2); margin: 14px 0 24px; max-width: 42ch; }
.emp-note { font-size: 0.8rem; color: var(--ink-2); margin-top: 18px; }
.plist { list-style: none; }
.plist li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 4px; border-bottom: 1px solid rgba(20, 90, 130, 0.14);
  font-weight: 700; color: var(--ink);
}
.plist li:first-child { border-top: 1px solid rgba(20, 90, 130, 0.14); }
.plock {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand-deep); background: var(--surface); padding: 5px 11px; border-radius: 999px;
}
.emp-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  flex-wrap: wrap; margin-bottom: 30px;
}
.emp-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; }
.emp-who { color: var(--ink-2); font-size: 0.88rem; margin-top: 6px; }
.ob-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--brand-deep) 0%, var(--brand) 60%, #45BAF1 100%);
  border-radius: var(--r-card); padding: 28px 32px; margin-bottom: 26px; color: #fff;
}
.ob-banner h3 { font-size: 1.25rem; font-weight: 800; }
.ob-banner p { color: rgba(255, 255, 255, 0.85); margin-top: 6px; max-width: 52ch; font-size: 0.92rem; }
.ob-banner .btn-primary { background: #fff; color: var(--brand-deep); flex-shrink: 0; }
.ob-banner .btn-primary:hover { background: var(--tint); }
.pol-grid { display: flex; flex-direction: column; gap: 14px; }
.pol {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  overflow: hidden;
}
.pol summary {
  cursor: pointer; list-style: none; padding: 20px 26px;
  font-weight: 800; font-size: 1.05rem; position: relative;
  transition: background 0.2s var(--ease);
}
.pol summary::-webkit-details-marker { display: none; }
.pol summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-size: 1.3rem; font-weight: 700; color: var(--brand-deep);
  transition: transform 0.25s var(--ease);
}
.pol[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.pol summary:hover { background: var(--tint); }
.pol-body { padding: 4px 26px 22px; }
.pol-body p { color: var(--ink-2); font-size: 0.95rem; margin-bottom: 12px; }
.pol-body b { color: var(--ink); }
.pol-note { font-size: 0.78rem; color: var(--ink-2); opacity: 0.8; }

/* ---------- Onboarding wizard ---------- */
.ob-body { min-height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.ob-exit { color: var(--ink-2); font-weight: 600; font-size: 0.88rem; text-decoration: none; }
.ob-exit:hover { color: var(--brand-deep); }
.ob-progress {
  position: fixed; top: 68px; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; gap: 14px;
  max-width: 760px; margin: 0 auto; padding: 18px 24px 0;
}
.ob-count { font-size: 0.76rem; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.ob-bar { flex: 1; height: 6px; border-radius: 999px; background: var(--tint-2); overflow: hidden; }
.ob-bar-fill { height: 100%; border-radius: 999px; background: var(--brand); transition: width 0.5s var(--ease); width: 0; }
.ob-wrap { flex: 1; display: flex; flex-direction: column; overflow: hidden; padding-top: 68px; }
.ob-track {
  flex: 1; display: flex; align-items: stretch;
  transition: transform 0.6s var(--ease);
}
@media (prefers-reduced-motion: reduce) { .ob-track { transition: none; } }
.ob-step {
  flex: 0 0 100%; max-width: 100%; overflow-y: auto;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 40px 24px 90px; gap: 0;
  opacity: 0.25; transition: opacity 0.5s var(--ease);
}
.ob-step.is-current { opacity: 1; }
.ob-step h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.04; }
.ob-step h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; max-width: 22ch; }
.ob-tagline { font-size: 1.2rem; font-weight: 700; color: var(--brand-deep); margin-top: 16px; letter-spacing: 0.02em; }
.ob-sub { color: var(--ink-2); margin: 14px auto 30px; max-width: 52ch; }
.ob-start { padding: 16px 34px; font-size: 1.05rem; }
.ob-mins { font-size: 0.78rem; color: var(--ink-2); margin-top: 14px; }
.ob-note { font-size: 0.85rem; color: var(--ink-2); margin-top: 26px; }
.ob-note a { color: var(--brand-deep); font-weight: 700; }
.ob-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  display: flex; justify-content: space-between; gap: 12px;
  max-width: 760px; margin: 0 auto; padding: 14px 24px 22px;
}
.ob-nav .btn:disabled { opacity: 0.4; cursor: default; }

/* Horizontal journey timeline */
.htl {
  display: flex; align-items: center; justify-content: center;
  position: relative; width: 100%; max-width: 1040px; padding: 10px 0;
}
.htl::before {
  content: ""; position: absolute; left: 2%; right: 2%; top: 50%;
  height: 2px; background: var(--tint-2); transform: translateY(-1px);
}
.htl-item {
  flex: 1; position: relative; z-index: 1;
  display: grid; grid-template-rows: 58px 14px auto 14px 58px;
  justify-items: center; align-items: center;
}
.htl-item[data-side="top"] .htl-label { grid-row: 1; align-self: end; }
.htl-item[data-side="top"] .htl-stem-top { grid-row: 2; }
.htl-item[data-side="bottom"] .htl-stem-bottom { grid-row: 4; }
.htl-item[data-side="bottom"] .htl-label { grid-row: 5; align-self: start; }
.htl-year {
  grid-row: 3; padding: 11px 24px; border-radius: 999px;
  background: var(--surface); border: 1.5px solid var(--tint-2);
  font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em;
  box-shadow: 0 6px 18px rgba(20, 90, 130, 0.1);
}
.htl-now .htl-year { background: var(--brand); border-color: var(--brand); color: #fff; }
.htl-stem { width: 2px; height: 100%; background: var(--tint-2); display: block; }
.htl-label { font-size: 0.78rem; font-weight: 600; color: var(--ink-2); line-height: 1.45; text-align: center; padding: 0 6px; }
@media (max-width: 760px) {
  .htl { flex-direction: column; align-items: stretch; gap: 4px; max-width: 420px; padding: 0; }
  .htl::before { left: 55px; right: auto; top: 4%; bottom: 4%; width: 2px; height: auto; transform: none; }
  .htl-item { display: flex; flex-direction: row; gap: 16px; align-items: center; padding: 8px 0; }
  .htl-stem { display: none; }
  .htl-year { font-size: 0.92rem; padding: 8px 16px; min-width: 78px; text-align: center; }
  .htl-item[data-side="top"] .htl-label { order: 2; }
  .htl-label { text-align: left; padding: 0; }
  .htl-item[data-side="top"] { flex-direction: row; }
  .htl-item[data-side="top"] .htl-year { order: 1; }
}

.ob-founders { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.ob-founder {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 24px 28px; font-family: inherit; cursor: default; width: 200px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.ob-founder:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ob-fphoto {
  display: block; width: 110px; height: 110px; border-radius: 50%; overflow: hidden;
  margin: 0 auto 14px; border: 4px solid #fff; box-shadow: 0 10px 26px rgba(20, 90, 130, 0.18);
}
.ob-fphoto img { width: 100%; height: 100%; object-fit: cover; }
.ob-founder h4 { font-size: 1.02rem; font-weight: 800; }
.ob-founder p { font-size: 0.78rem; font-weight: 700; margin-top: 3px; }
.ob-founder[data-cat="tech"] p { color: var(--brand-deep); }
.ob-founder[data-cat="culture"] p { color: var(--coral); }
.ob-founder[data-cat="fun"] p { color: var(--green); }

/* Induction overview list */
.ob-over { list-style: none; max-width: 540px; width: 100%; text-align: left; display: flex; flex-direction: column; gap: 18px; }
.ob-over li { display: flex; gap: 18px; align-items: flex-start; }
.ob-onum {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.05rem; color: #fff;
}
.n-blue { background: var(--brand); }
.n-coral { background: var(--coral); }
.n-green { background: var(--green); }
.n-sun { background: var(--sun); }
.ob-over h4 { font-size: 1.08rem; font-weight: 800; padding-top: 2px; }
.ob-over p { color: var(--ink-2); font-size: 0.88rem; margin-top: 2px; }

/* Departments grid */
.ob-deptgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; width: 100%; }
.ob-dept {
  display: flex; gap: 18px; align-items: flex-start; text-align: left;
  border-radius: var(--r-card); padding: 24px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(20, 90, 130, 0.07);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.ob-dept:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ob-dmark {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.05rem; color: #fff; letter-spacing: 0.01em;
}
.ob-dept h4 { font-weight: 800; font-size: 1.05rem; }
.ob-dept p { color: var(--ink-2); font-size: 0.88rem; margin-top: 5px; }
.d-blue .ob-dmark { background: var(--brand); }
.d-coral .ob-dmark { background: var(--coral); }
.d-green .ob-dmark { background: var(--green); }
.d-sun .ob-dmark { background: var(--sun); }
@media (max-width: 640px) { .ob-deptgrid { grid-template-columns: 1fr; } }

.ob-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 640px; width: 100%; }
.ob-tile { border-radius: var(--r-card); padding: 20px 22px; text-align: left; }
.ob-tile h4 { font-weight: 800; font-size: 1rem; }
.ob-tile p { color: var(--ink-2); font-size: 0.86rem; margin-top: 5px; }
.t-blue { background: var(--tint); }
.t-coral { background: var(--coral-tint); }
.t-green { background: var(--green-tint); }
.t-sun { background: var(--sun-tint); }
.ob-depts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }

.ob-ess { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 640px; width: 100%; }
.ob-ess-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ob-ess-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 20px 22px; text-align: left;
}
.ob-ess-item h4 { font-weight: 800; font-size: 1rem; color: var(--brand-deep); }
.ob-ess-item p { color: var(--ink-2); font-size: 0.86rem; margin-top: 5px; }
.ob-ess-item b { color: var(--ink); }

/* Software-track career ladder (grow slide) */
.ob-ladder {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto);
  grid-auto-flow: column; gap: 10px 16px;
  width: 100%; max-width: 880px; text-align: left; margin-bottom: 18px;
}
.ob-lvl {
  display: flex; align-items: center; gap: 11px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 14px;
}
.ob-lbadge {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.78rem;
}
.lb-a { background: var(--tint); color: var(--brand-deep); }
.lb-b { background: var(--green-tint); color: var(--green); }
.lb-c { background: var(--sun-tint); color: #B57F0B; }
.lb-d { background: var(--coral-tint); color: var(--coral); }
.ob-lyrs {
  font-size: 0.68rem; font-weight: 700; color: var(--ink-2);
  background: var(--bg); border-radius: 999px; padding: 3px 9px; flex-shrink: 0; white-space: nowrap;
}
.ob-lrole { font-weight: 700; font-size: 0.84rem; line-height: 1.3; }

/* Moments teaser slide */
.ob-gal {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  width: 100%; max-width: 780px; margin-bottom: 24px;
}
.ob-gal img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 12px; border: 3px solid #fff; box-shadow: 0 8px 22px rgba(20, 90, 130, 0.12);
}

.ob-road { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 26px; }
.ob-road li {
  padding: 10px 18px; border-radius: 999px; background: var(--surface);
  border: 1.5px solid var(--line); font-weight: 700; font-size: 0.88rem;
  display: flex; align-items: center; gap: 8px;
}
.ob-road li:last-child { background: var(--brand); border-color: var(--brand); color: #fff; }
.ob-road li + li::before { content: "\2192"; color: var(--ink-2); margin-right: 8px; }
.ob-life { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.ob-life figure { width: min(280px, 44%); }
.ob-life img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-photo); border: 4px solid #fff; box-shadow: var(--shadow); }
.ob-life figcaption { font-size: 0.8rem; font-weight: 700; color: var(--ink-2); margin-top: 8px; }
.ob-quote { color: var(--ink-2); font-style: normal; max-width: 52ch; margin: 18px auto 30px; font-size: 1.05rem; }
@media (max-width: 640px) {
  .ob-tiles, .ob-ess { grid-template-columns: 1fr; }
  .ob-ladder { grid-template-columns: 1fr; grid-auto-flow: row; }
  .ob-gal { grid-template-columns: 1fr 1fr; }
  .ob-step { justify-content: flex-start; padding-top: 70px; }
  .ob-timeline li { flex-direction: column; gap: 2px; }
}

/* ---------- Login page ---------- */
.login-body { min-height: 100dvh; display: flex; flex-direction: column; }
.login-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.login-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  padding: 44px 40px; max-width: 420px; width: 100%; text-align: center;
  box-shadow: var(--shadow);
}
.login-card .wordmark { display: inline-block; margin-bottom: 26px; }
.login-card h1 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.login-sub { color: var(--ink-2); font-size: 0.92rem; margin: 8px 0 26px; }
.google-btn { display: flex; justify-content: center; margin-bottom: 8px; }
.login-divider {
  display: flex; align-items: center; gap: 12px; color: var(--ink-2);
  font-size: 0.78rem; font-weight: 600; margin: 16px 0;
}
.login-divider::before, .login-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.login-card form { text-align: left; display: flex; flex-direction: column; gap: 8px; }
.login-card label { font-weight: 700; font-size: 0.85rem; }
.login-card input {
  padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  font-family: inherit; font-size: 0.95rem; color: var(--ink); background: var(--bg);
  transition: border-color 0.2s;
}
.login-card input:focus { outline: none; border-color: var(--brand); }
.login-card input::placeholder { color: #8AA3B2; }
.login-error { color: #D6412B; font-size: 0.84rem; font-weight: 600; }
.login-btn { margin-top: 8px; width: 100%; }
.login-note { font-size: 0.76rem; color: var(--ink-2); margin-top: 18px; }
.login-back {
  display: inline-block; margin-top: 14px; color: var(--brand-deep);
  font-weight: 600; font-size: 0.85rem; text-decoration: none;
}
.login-back:hover { text-decoration: underline; }
.cert-link { color: #7FCBF4; font-weight: 700; }

/* ---------- Culture grid ---------- */
.culture-grid {
  display: grid; gap: 22px;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "main a b"
    "main text text";
}
.cg { border-radius: var(--r-card); overflow: hidden; position: relative; margin: 0; }
.cg img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cg-main { grid-area: main; min-height: 460px; }
.cg-a { grid-area: a; min-height: 210px; }
.cg-b { grid-area: b; min-height: 210px; }
.cg figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 18px 14px;
  color: #fff; font-size: 0.82rem; font-weight: 600;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 27, 36, 0.72) 100%);
}
.cg-text {
  grid-area: text; background: var(--ink); color: #fff; border-radius: var(--r-card);
  padding: 32px 34px; display: flex; flex-direction: column; justify-content: center;
}
.cg-text h3 { font-size: 1.25rem; font-weight: 800; }
.cg-text p { color: rgba(255, 255, 255, 0.75); margin-top: 10px; max-width: 52ch; font-size: 0.92rem; }
.cg-text .track { background: rgba(33, 169, 236, 0.16); color: #7FCBF4; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding: 60px 24px 34px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap;
}
.wm-footer { font-size: 1.3rem; }
.footer-tag { color: rgba(255, 255, 255, 0.6); font-size: 0.88rem; margin-top: 6px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a {
  color: rgba(255, 255, 255, 0.75); text-decoration: none; font-weight: 600; font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--brand); }
.footer-note {
  max-width: 1200px; margin: 40px auto 0; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.45); font-size: 0.78rem;
}

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(13, 27, 36, 0.66); backdrop-filter: blur(4px); }
.modal-card {
  position: relative; background: var(--surface); border-radius: var(--r-card);
  max-width: 760px; width: 100%; max-height: 88vh; overflow-y: auto;
  animation: modal-in 0.35s var(--ease);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(26px) scale(0.97); } }
@media (prefers-reduced-motion: reduce) { .modal-card { animation: none; } }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 38px; height: 38px; border-radius: 999px; border: none;
  background: rgba(13, 27, 36, 0.55); color: #fff; cursor: pointer; font-size: 0.9rem;
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(13, 27, 36, 0.8); }
.modal-photos { display: grid; gap: 4px; grid-template-columns: 1fr 1fr; }
.modal-photos.single { grid-template-columns: 1fr; }
.modal-photos img { width: 100%; height: 300px; object-fit: cover; }
.modal-photos.many img { height: 210px; }
.modal-photos.many img:first-child { grid-column: 1 / -1; height: 320px; }
.modal-body { padding: 26px 30px 30px; }
.modal-meta { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-deep); margin-bottom: 8px; }
.modal-body h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.modal-body p { color: var(--ink-2); margin-bottom: 20px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease) var(--d, 0s), transform 0.7s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .hero { padding-top: 104px; min-height: auto; padding-bottom: 40px; }
  .hf { position: static; rotate: 0deg; width: 100%; animation: none; }
  .hero-floats {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
    max-width: 900px; margin: 36px auto 0;
  }
  .hf-1 { aspect-ratio: 4 / 3; }
  .hf-3 { aspect-ratio: 4 / 3; }
  .cal-layout { grid-template-columns: 1fr; }
  .cert { padding: 30px 24px; }
  .cert-tracks { justify-content: flex-start; max-width: none; }
  .flow { grid-template-columns: 1fr; gap: 20px; }
  .flow-step + .flow-step { border-left: none; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 20px; }
  .intro { grid-template-columns: 1fr; gap: 32px; padding-top: 64px; }
  .stat-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .finale-inner { grid-template-columns: 1fr; padding: 64px 24px; gap: 40px; }
  .fan { height: 300px; }
  .move-grid { grid-template-columns: 1fr; }
  .move-progress { grid-row: auto; }
  .emp-card { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
  .culture-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "main main"
      "a b"
      "text text";
  }
  .cg-main { min-height: 300px; }
  .ms em { font-size: 0.64rem; }
}
@media (max-width: 640px) {
  .ms em { display: none; }
  .bar { margin-bottom: 34px; }
}
@media (max-width: 768px) {
  .nav-toggle {
    display: flex; flex-direction: column; gap: 6px; justify-content: center;
    width: 42px; height: 42px; background: none; border: none; cursor: pointer; align-items: center;
  }
  .nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; background: var(--surface); padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line); display: none;
  }
  .nav-links.open { display: flex; }
  .section { padding: 72px 20px; }
  .masonry { grid-template-columns: 1fr; }
  .band { min-height: 52vh; }
  .modal-photos { grid-template-columns: 1fr; }
  .modal-photos img { height: 220px; }
}
@media (min-width: 769px) and (max-width: 1080px) {
  .masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}



/* ---------- Moments pager (grid shows 6 per page) ---------- */
.pager { display: flex; justify-content: center; gap: 9px; margin-top: 30px; }
.pager button {
  width: 42px; height: 42px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  font-family: inherit; font-weight: 700; font-size: 0.92rem; color: var(--ink-2);
  cursor: pointer; transition: border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.pager button:hover { border-color: var(--brand); color: var(--brand-deep); transform: translateY(-2px); }
.pager button.is-active {
  background: var(--brand); border-color: var(--brand); color: #fff;
  box-shadow: 0 8px 20px rgba(33, 169, 236, 0.32);
}
.pager button:disabled { opacity: 0.35; cursor: default; }
.pager button:disabled:hover { border-color: var(--line); color: var(--ink-2); transform: none; }
.pager .pg-arrow { font-size: 1.05rem; }

/* ---------- Calendar page: month list beside the grid, day detail below ---------- */
.cal-side {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 22px 22px 10px; box-shadow: 0 8px 30px rgba(20, 90, 130, 0.07);
  position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow-y: auto;
}
.cal-side-title {
  font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.cal-side .ml-row { gap: 14px; padding: 14px 4px; }
.cal-side .ml-row:first-of-type { border-top: none; }
.cal-side .ml-row .ptag { display: none; }
.cal-side .ml-date { min-width: 38px; }
.cal-side .ml-date b { font-size: 1.15rem; }
.cal-side .ml-title { font-size: 0.9rem; }
.cal-side .ml-meta { font-size: 0.74rem; }
.cal-side .panel-empty { padding: 16px 0 10px; }

.day-panel-wide { position: static; margin-top: 26px; }
.panel-events { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px 28px; }
.day-panel-wide .panel-event { margin-bottom: 8px; }

/* Event chips inside calendar cells: truncated titles, category-tinted */
.bc-chips { display: flex; flex-direction: column; gap: 3px; width: 100%; min-width: 0; margin-top: auto; }
.bc-ev {
  display: block; max-width: 100%; box-sizing: border-box;
  font-size: 0.63rem; font-weight: 700; font-style: normal; line-height: 1.25;
  padding: 3px 7px; border-radius: 7px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ev-culture { background: var(--coral-tint); color: #C24328; }
.ev-tech { background: var(--tint); color: var(--brand-deep); }
.ev-fun { background: var(--green-tint); color: #1E8A50; }
.bc-ev-more { background: transparent; color: var(--ink-2); padding: 0 7px; }
@media (max-width: 900px) {
  .cal-side { position: static; max-height: none; }
  .bc-cell { min-height: 62px; }
  .bc-ev { font-size: 0.55rem; padding: 2px 5px; }
}

/* ---------- Interns corner (employee space) ---------- */
.int-section { margin-top: 44px; }
.int-head { margin-bottom: 20px; }
.int-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -0.03em; }
.int-head p { color: var(--ink-2); margin-top: 8px; max-width: 62ch; }
.int-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.int-tile { border-radius: var(--r-card); padding: 22px 24px; }
.int-tile h4 { font-weight: 800; font-size: 1.02rem; }
.int-tile p { color: var(--ink-2); font-size: 0.9rem; margin-top: 6px; }
.int-road { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.int-road span {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 13px; font-size: 0.78rem; font-weight: 700;
}
.int-road i { color: var(--ink-2); font-style: normal; font-size: 0.8rem; }
@media (max-width: 720px) { .int-grid { grid-template-columns: 1fr; } }

.rnr-awards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.rnr-award {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 22px 26px;
}
.rnr-when {
  display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand-deep); background: var(--tint);
  border-radius: 999px; padding: 4px 11px; margin-bottom: 10px;
}
.rnr-award h4 { font-size: 1.05rem; font-weight: 800; }
.rnr-award p { color: var(--ink-2); font-size: 0.9rem; margin-top: 6px; }
@media (max-width: 720px) { .rnr-awards { grid-template-columns: 1fr; } }

/* Content studio quick-access banner (top of employee space) */
.adm-quick {
  background: var(--ink); color: #fff; border-radius: var(--r-card);
  padding: 24px 28px; margin-bottom: 22px;
}
.aq-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.aq-head h3 { font-size: 1.15rem; font-weight: 800; }
.aq-head p { color: rgba(255, 255, 255, 0.75); font-size: 0.88rem; margin-top: 4px; }
.adm-quick .btn-primary { background: #fff; color: var(--brand-deep); flex-shrink: 0; }
.adm-quick .btn-primary:hover { background: var(--tint); }
.aq-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.aq-links .chip {
  background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85); text-decoration: none;
}
.aq-links .chip:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }

/* Team-form photo preview: shaped like the Team page card crop */
#tfPhotoWrap .af-photo img {
  width: 150px; height: 180px; object-fit: cover; object-position: center 25%;
  border-radius: 14px;
}

/* Cover controls on studio photo thumbs */
.af-cover {
  position: absolute; bottom: 6px; left: 6px;
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--brand); color: #fff; border-radius: 999px; padding: 3px 9px;
}
.af-make-cover {
  position: absolute; bottom: 6px; left: 6px;
  font-family: inherit; font-size: 0.6rem; font-weight: 700; cursor: pointer;
  background: rgba(13, 27, 36, 0.72); color: #fff; border: none; border-radius: 999px; padding: 3px 9px;
}
.af-make-cover:hover { background: var(--brand); }

/* Who to contact (employee space) */
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.who-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 24px 16px; text-align: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.who-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(20, 90, 130, 0.12); }
.who-avatar {
  width: 60px; height: 60px; border-radius: 50%; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.05rem; margin-bottom: 12px;
}
.who-avatar img { width: 100%; height: 100%; object-fit: cover; }
.who-card h4 { font-size: 0.98rem; font-weight: 800; }
.who-tag {
  display: inline-block; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; border-radius: 999px; padding: 3px 11px; margin-top: 7px;
}
.tag-admin { background: var(--tint); color: var(--brand-deep); }
.tag-hr { background: var(--coral-tint); color: var(--coral); }
.who-mail {
  display: block; font-size: 0.76rem; font-weight: 600; color: var(--brand-deep);
  margin-top: 10px; word-break: break-all; text-decoration: none;
}
.who-mail:hover { text-decoration: underline; }
@media (max-width: 860px) { .who-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .who-grid { grid-template-columns: 1fr; } }

/* ---------- HR tools strip (employee space) ---------- */
.hrt {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r-card);
  padding: 20px 26px; margin-top: 30px;
}
.hrt h3 { font-size: 1.05rem; font-weight: 800; }
.hrt p { color: var(--ink-2); font-size: 0.88rem; margin-top: 4px; max-width: 56ch; }

/* ---------- Content studio (admin) ---------- */
.adm-wrap { max-width: 900px; margin: 0 auto; padding: 110px 20px 80px; }
.adm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.adm-head h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; }
.adm-head .emp-who { margin-top: 6px; }
.adm-note {
  background: var(--sun-tint); border-radius: 14px; padding: 14px 18px;
  font-size: 0.85rem; color: #7A5A10; margin-bottom: 26px; line-height: 1.5;
}
.adm-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.adm-spacer { flex: 1; }
.adm-status { font-size: 0.78rem; font-weight: 700; color: var(--brand-deep); background: var(--tint); border-radius: 999px; padding: 5px 12px; }
.adm-status.is-live { background: var(--green-tint); color: var(--green); }
.adm-list { display: flex; flex-direction: column; gap: 12px; }
.adm-row {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px;
}
.adm-thumb { width: 66px; height: 66px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: var(--tint); }
.adm-main { flex: 1; min-width: 0; }
.adm-main h3 { font-size: 0.98rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-main p { font-size: 0.78rem; color: var(--ink-2); margin-top: 3px; }
.adm-actions { display: flex; gap: 8px; flex-shrink: 0; }
.btn-danger { color: #C0392B; border-color: #F3C3BC; }
.btn-danger:hover { background: #FDEDEA; }

.adm-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 28px; margin-bottom: 26px; box-shadow: 0 10px 34px rgba(20, 90, 130, 0.08);
}
.adm-form h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 18px; }
.af-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.af-field { display: flex; flex-direction: column; gap: 6px; }
.af-field.wide { grid-column: 1 / -1; }
.af-field label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }
.af-field input, .af-field select, .af-field textarea {
  font-family: inherit; font-size: 0.95rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px;
}
.af-field textarea { min-height: 96px; resize: vertical; }
.af-field input:focus, .af-field select:focus, .af-field textarea:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.af-hint { font-size: 0.75rem; color: var(--ink-2); }
.af-photos { display: flex; gap: 10px; flex-wrap: wrap; }
.af-photo { position: relative; }
.af-photo img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; display: block; }
.af-photo button {
  position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink); color: #fff; border: none; font-size: 0.7rem; cursor: pointer; line-height: 1;
}
.af-actions { display: flex; gap: 10px; margin-top: 22px; }
.adm-empty { color: var(--ink-2); font-size: 0.92rem; padding: 30px 0; text-align: center; }

/* Finale: follow buttons with social logos */
.finale-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-social { display: inline-flex; align-items: center; gap: 9px; }
.btn-social svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Moments pager: the grid turns like a book page between pages */
#moments { perspective: 1600px; }
#gallery { transform-style: preserve-3d; }
.pg-turn-out { animation: pgTurnOut 0.45s cubic-bezier(0.55, 0, 0.85, 0.4) forwards; transform-origin: left center; }
.pg-turn-in { animation: pgTurnIn 0.5s 0.05s cubic-bezier(0.16, 0.8, 0.3, 1) backwards; transform-origin: left center; }
@keyframes pgTurnOut { to { transform: rotateY(-88deg); opacity: 0.25; } }
@keyframes pgTurnIn { from { transform: rotateY(70deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pg-turn-out, .pg-turn-in { animation: none; } }

/* Search boxes: studio lists and the team page */
.st-search {
  font-family: inherit; font-size: 0.92rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px;
  flex: 1; min-width: 180px; max-width: 320px; margin-left: auto;
}
.st-search:focus { outline: 2px solid var(--brand); border-color: var(--brand); }

/* Crew roster in the studio's Team panel */
.cw-toolbar input {
  font-family: inherit; font-size: 0.92rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px;
}
.cw-toolbar input:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
#cwSearch { flex: 1; min-width: 180px; }
.cw-row { padding: 9px 16px; }
.cw-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 800; color: var(--brand-deep); background: var(--tint);
}
.cw-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cw-name {
  flex: 1; min-width: 140px; font-family: inherit; font-size: 0.92rem; font-weight: 700; color: var(--ink);
  background: transparent; border: 1px solid transparent; border-radius: 10px; padding: 8px 10px;
}
.cw-name:hover { border-color: var(--line); }
.cw-name:focus { outline: 2px solid var(--brand); border-color: var(--brand); background: var(--bg); }
.adm-sect { margin: 44px 0 16px; }
.adm-h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -0.03em; }
.adm-sub { color: var(--ink-2); font-size: 0.9rem; margin-top: 6px; max-width: 64ch; }
.adm-dot {
  width: 66px; height: 66px; border-radius: 12px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.4rem;
}
.cal-item-mono {
  width: 58px; height: 58px; border-radius: 10px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem;
}
.mono-culture { background: var(--coral-tint); color: var(--coral); }
.mono-tech { background: var(--tint); color: var(--brand-deep); }
.mono-fun { background: var(--green-tint); color: var(--green); }

/* ---------- Content studio: sidebar layout ---------- */
.st-split { display: flex; align-items: stretch; padding-top: 64px; min-height: 100vh; }
.st-nav {
  width: 240px; flex-shrink: 0; background: var(--ink);
  padding: 22px 14px; display: flex; flex-direction: column; gap: 4px;
  position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto;
}
.st-brand {
  color: rgba(255, 255, 255, 0.55); font-weight: 800; font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase; padding: 2px 14px 14px;
}
.st-link {
  font-family: inherit; font-weight: 700; font-size: 0.9rem; cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border: none; border-radius: 12px; background: none;
  color: rgba(255, 255, 255, 0.65); transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.st-link:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.st-link.on { background: var(--brand); color: #fff; }
.st-link b { font-size: 0.7rem; font-weight: 800; background: rgba(255, 255, 255, 0.18); border-radius: 999px; padding: 2px 9px; }
.st-foot { margin-top: auto; padding: 18px 6px 4px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.st-foot .adm-status { text-align: center; }
.st-foot-btn {
  font-family: inherit; font-weight: 700; font-size: 0.8rem; cursor: pointer;
  padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.22);
  background: none; color: rgba(255, 255, 255, 0.8); transition: all 0.2s var(--ease);
}
.st-foot-btn:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.st-foot-danger { color: #FF9C86; border-color: rgba(255, 107, 74, 0.45); }
.st-foot-danger:hover { background: rgba(255, 107, 74, 0.14); color: #FFB4A3; }
.st-who { font-size: 0.68rem; color: rgba(255, 255, 255, 0.45); text-align: center; word-break: break-all; }
.st-main { flex: 1; min-width: 0; max-width: 880px; padding: 30px 36px 90px; }
.st-sect { margin: 26px 0 16px; }
.st-panel > .adm-sect:first-child { margin-top: 6px; }
@media (max-width: 860px) {
  .st-split { flex-direction: column; }
  .st-nav {
    width: 100%; height: auto; position: static; flex-direction: row; flex-wrap: wrap;
    align-items: center; padding: 12px 14px;
  }
  .st-brand { display: none; }
  .st-link { padding: 9px 13px; font-size: 0.82rem; }
  .st-foot { margin-top: 0; margin-left: auto; border-top: none; flex-direction: row; align-items: center; padding: 0; }
  .st-who { display: none; }
  .st-main { padding: 20px 18px 70px; }
}

.st-calcard { margin-bottom: 26px; }
.st-calcard .bc-cell { min-height: 64px; }
.st-calhint { margin-top: 14px; }
.bc-ev.st-story { background: var(--line); color: var(--ink-2); opacity: 0.75; }
.st-modal-card { max-width: 560px; width: calc(100vw - 40px); }
.st-modal-form { border: none; box-shadow: none; padding: 26px; margin-bottom: 0; }

/* ---------- Announcements board (employee space) ---------- */
.ann-list { margin-bottom: 22px; }
.ann-board {
  background: linear-gradient(135deg, #FFF7E6 0%, #FFFDF7 60%);
  border: 1px solid rgba(255, 182, 39, 0.45); border-radius: var(--r-card);
  padding: 22px 28px 10px;
  box-shadow: 0 10px 30px rgba(255, 182, 39, 0.12);
}
.ann-head { display: flex; align-items: center; gap: 11px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 182, 39, 0.35); }
.ann-ico { font-size: 1.3rem; }
.ann-head h3 { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em; flex: 1; }
.ann-count { font-size: 0.72rem; font-weight: 700; color: #B57F0B; background: #fff; border: 1px solid rgba(255, 182, 39, 0.45); border-radius: 999px; padding: 4px 12px; }
.ann-item {
  display: flex; align-items: baseline; gap: 16px;
  padding: 15px 0; border-bottom: 1px dashed rgba(255, 182, 39, 0.4);
}
.ann-item:last-child { border-bottom: none; }
.ann-date {
  font-size: 0.7rem; font-weight: 800; color: #B57F0B; letter-spacing: 0.06em;
  text-transform: uppercase; flex-shrink: 0; min-width: 52px;
}
.ann-item p { flex: 1; min-width: 0; font-size: 0.95rem; color: var(--ink); line-height: 1.5; }
.ann-item.is-latest p { font-weight: 700; }
.ann-new {
  font-size: 0.64rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--sun); color: #5C3D00; border-radius: 999px; padding: 3px 10px; flex-shrink: 0;
}

/* Full team roster (team page, signed-in only) */
.crew-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.crew-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 10px; text-align: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.crew-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(20, 90, 130, 0.1); }
.crew-avatar {
  width: 56px; height: 56px; border-radius: 50%; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.95rem; margin-bottom: 10px;
}
.crew-avatar img { width: 100%; height: 100%; object-fit: cover; }
.crew-card h4 { font-size: 0.8rem; font-weight: 700; line-height: 1.3; }
@media (max-width: 1050px) { .crew-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px) { .crew-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .crew-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Themed scrollbar (kills the default white track + arrow buttons) ---------- */
html { scrollbar-width: thin; scrollbar-color: rgba(13, 27, 36, 0.35) transparent; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(13, 27, 36, 0.28); border-radius: 999px;
  border: 3px solid transparent; background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(13, 27, 36, 0.5); border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
::-webkit-scrollbar-corner { background: transparent; }
@media (max-width: 720px) {
  .af-grid { grid-template-columns: 1fr; }
  .adm-row { flex-wrap: wrap; }
}
