/* =========================================================
   Venita Adorete — Portfolio
   Design tokens, type, spacing and motion mirror trydot.app
   ========================================================= */

:root {
  --bg: #f6f6f5;
  --bg-warm: #fafaf9;
  --surface: #fff;
  --surface-2: #fafaf9;
  --surface-hover: #f4f3f1;
  --ink: #131211;
  --ink-2: #55524e;
  --ink-3: #87837d;
  --ink-4: #a19d97;
  --line: #e6e4e0;
  --line-strong: #cfcbc5;
  --accent: #e72903;
  --accent-soft: #e729031a;
  --green: #16a34a;

  --font-sans: "Instrument Sans", system-ui, -apple-system, Arial, sans-serif;
  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-signature: "Monsieur La Doulaise", cursive;

  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);

  --btn-grad: linear-gradient(180deg, #2b2927 0%, #131211 100%);
  --btn-ink: #131211;
  --btn-ink-hover: #1f1d1b;
  --shadow-1: 0 1px 2px #1312110d, 0 1px 1px #13121108;
  --shadow-2: 0 1px 2px #1312110f, 0 4px 12px #1312110f, 0 12px 32px -8px #13121114;
  --shadow-3: 0 2px 4px #1312110f, 0 12px 28px -4px #1312111a, 0 32px 64px -16px #1312111f;
  --shadow-btn: 0 1px 2px #13121147, 0 0 0 1px var(--btn-ink), inset 0 1px 0 #ffffff38, inset 0 -1px 0 #00000073;
  --shadow-btn-hover: 0 2px 6px #13121147, 0 8px 20px -6px #13121166, 0 0 0 1px var(--btn-ink-hover), inset 0 1px 0 #ffffff42, inset 0 -1px 0 #00000073;
  --shadow-btn-active: 0 1px 1px #13121133, 0 0 0 1px var(--btn-ink), inset 0 2px 4px #00000080;
  --shadow-btn2: 0 0 0 1px var(--line-strong), 0 1px 2px #1312110f, inset 0 1px 0 #fff, inset 0 -1px 0 #1312110d;
  --shadow-btn2-hover: 0 0 0 1px var(--ink-3), 0 2px 6px #13121114, 0 8px 20px -6px #13121129, inset 0 1px 0 #fff, inset 0 -1px 0 #1312110d;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.serif { font-family: var(--font-display); font-weight: 400; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--ink-4); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Frame + rails (the thin vertical lines and + markers) ---------- */
.ds-frame {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.ds-rail {
  position: relative;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 64px;
}
.ds-rail::before, .ds-rail::after {
  content: "";
  pointer-events: none;
  position: absolute;
  bottom: -7px;
  width: 13px; height: 13px;
  z-index: 2;
  background:
    linear-gradient(var(--line-strong), var(--line-strong)) center / 1px 100% no-repeat,
    linear-gradient(var(--line-strong), var(--line-strong)) center / 100% 1px no-repeat;
}
.ds-rail::before { left: -7px; }
.ds-rail::after { right: -7px; }

.wrap { max-width: 1024px; margin: 0 auto; }
.wrap-4xl { max-width: 896px; margin: 0 auto; }
.wrap-3xl { max-width: 768px; margin: 0 auto; }
.wrap-lg { max-width: 512px; margin: 0 auto; }

.section { padding: 64px 16px; }
@media (min-width: 640px) { .section { padding: 96px 24px; } }

.section-head { text-align: center; margin-bottom: 40px; }
@media (min-width: 640px) { .section-head { margin-bottom: 64px; } }
.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.25;
  letter-spacing: -.02em;
}
.h2 .muted { color: var(--ink-4); }
.section-sub { margin-top: 14px; color: var(--ink-2); font-size: 15px; max-width: 560px; margin-left: auto; margin-right: auto; }
@media (min-width: 640px) { .section-sub { font-size: 17px; } }

/* ---------- Nav ---------- */
.ds-nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .24s var(--ease);
}
.ds-nav.scrolled { border-bottom-color: var(--line); }
.ds-nav-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px;
  padding: 0 48px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; letter-spacing: -.01em; justify-self: start; }
.brand img { width: 22px; height: 22px; border-radius: 6px; outline: 1px solid #0000001a; outline-offset: -1px; }
.brand span { font-size: 15px; }
.nav-links { display: flex; align-items: center; gap: 4px; justify-self: center; }
.ds-navlink {
  position: relative;
  color: var(--ink-2);
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color .16s var(--ease);
}
.ds-navlink::after {
  content: "";
  position: absolute; left: 12px; right: 12px; bottom: 2px;
  height: 1px; background: var(--ink);
  transform: scaleX(0);
  transition: transform .26s var(--ease);
}
.ds-navlink:hover { color: var(--ink); }
.ds-navlink:hover::after { transform: scaleX(1); }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 6px; }
.nav-menu-btn { display: none; width: 32px; height: 32px; border-radius: 7px; align-items: center; justify-content: center; color: var(--ink-2); }
.nav-menu-btn:hover { background: #0000000d; color: var(--ink); }
.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  padding: 8px 16px 16px;
}
.mobile-menu a { display: block; padding: 12px 4px; font-size: 15px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: 0; }
.ds-nav.open .mobile-menu { display: block; }

@media (max-width: 1024px) { .ds-nav-row { padding: 0 28px; } }
@media (max-width: 640px) {
  .ds-nav-row { grid-template-columns: auto 1fr; padding: 0 16px; }
  .nav-links, .nav-right .navcv { display: none; }
  .nav-menu-btn { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  white-space: nowrap;
  color: #fff; font-weight: 500;
  background: var(--btn-grad);
  box-shadow: var(--shadow-btn);
  text-shadow: 0 1px #0003;
  transition: transform .16s var(--ease), box-shadow .2s var(--ease), opacity .16s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: #ffffff1a; transform: scaleX(0); transform-origin: left center;
  transition: transform .5s var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-btn-hover); }
.btn:hover::before { transform: scaleX(1); }
.btn:active { transition-duration: 50ms; transform: translateY(.5px) scale(.98); box-shadow: var(--shadow-btn-active); }
.btn > * { position: relative; z-index: 1; }
.btn-sm { height: 32px; padding: 0 12px; border-radius: 7px; font-size: 13px; }
.btn-md { height: 40px; padding: 0 18px; border-radius: 8px; font-size: 14px; }
.btn-lg { padding: 12px 24px; border-radius: 12px; font-size: 15px; font-weight: 600; }
.btn-block { display: flex; width: 100%; padding: 16px; border-radius: 12px; font-size: 16px; font-weight: 600; }
.btn svg { width: 16px; height: 16px; }

.btn-2 {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, #f7f6f4 100%);
  box-shadow: var(--shadow-btn2);
  transition: transform .16s var(--ease), box-shadow .2s var(--ease);
}
.btn-2:hover { transform: translateY(-1px); box-shadow: var(--shadow-btn2-hover); }
.btn-2:active { transform: translateY(.5px) scale(.98); }

.textlink { font-size: 13px; color: var(--ink-3); transition: color .16s var(--ease); }
.textlink:hover { color: var(--ink); }

/* ---------- Motion: hero rise + scroll reveal ---------- */
@keyframes ds-rise {
  0% { opacity: 0; filter: blur(10px); transform: translateY(10px); }
  to { opacity: 1; filter: blur(0); transform: none; }
}
.ds-rise > * { animation: ds-rise .76s var(--ease) both; animation-delay: .35s; }
.ds-rise > :nth-child(1) { animation-delay: 0s; }
.ds-rise > :nth-child(2) { animation-delay: 70ms; }
.ds-rise > :nth-child(3) { animation-delay: .14s; }
.ds-rise > :nth-child(4) { animation-delay: .21s; }
.ds-rise > :nth-child(5) { animation-delay: .28s; }

.reveal {
  transition: opacity .56s var(--ease), transform .56s var(--ease), filter .56s var(--ease);
  transition-delay: calc(var(--d, 0) * 60ms);
}
.js .reveal.pre { opacity: 0; filter: blur(8px); transform: translateY(8px); }
.reveal.in { opacity: 1; filter: none; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .ds-rise > * { animation: none; }
  .js .reveal.pre { opacity: 1; filter: none; transform: none; }
  .marquee-track { animation: none !important; }
  .hero-reel img { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Hero ---------- */
.hero { padding: 48px 16px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; }
@media (min-width: 640px) { .hero { padding-top: 72px; } }
.hero-portrait {
  width: 64px; height: 64px; border-radius: 16px; object-fit: cover; object-position: center 20%;
  box-shadow: var(--shadow-2); outline: 1px solid #0000001a; outline-offset: -1px;
  margin-bottom: 24px;
}
.hero h1 { max-width: 896px; }
.hero h1 span {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 66px);
  line-height: 1;
  letter-spacing: -.02em;
}
.hero h1 span + span { color: var(--ink-4); }
.hero-sub {
  margin-top: 16px; max-width: 576px; padding: 0 16px;
  font-size: 15px; line-height: 1.625; color: var(--ink-2);
}
@media (min-width: 640px) { .hero-sub { margin-top: 24px; font-size: 18px; } }
.hero-cta { margin-top: 32px; display: flex; flex-direction: column; align-items: center; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--ink-3); }
.hero-links { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 12px; font-size: 13px; color: var(--ink-3); }
.chip-copy {
  font-family: var(--font-mono);
  background: var(--line);
  color: var(--ink);
  padding: 2px 6px; border-radius: 4px;
  transition: background .16s var(--ease);
}
.chip-copy:hover { background: var(--line-strong); }

/* ---------- Featured strip (partners + proof) ---------- */
.featured { padding: 8px 16px 48px; overflow: hidden; }
@media (min-width: 640px) { .featured { padding: 16px 24px 80px; } }
.featured-label { text-align: center; font-size: 13px; font-weight: 500; color: var(--ink-3); margin-bottom: 28px; }
.press-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
@media (min-width: 640px) {
  .press-grid { grid-template-columns: repeat(3, 1fr); gap: 0; margin-bottom: 48px; }
  .press-grid > * + * { border-left: 1px solid var(--line); }
}
.press { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 24px; text-align: center; }
.press .logo-box { height: 32px; display: flex; align-items: center; }
.press .logo-box img { height: 100%; width: auto; mix-blend-mode: multiply; filter: grayscale(1); opacity: .7; transition: filter .5s, opacity .5s; }
.press .logo-word { font-size: 21px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); opacity: .7; transition: opacity .5s; }
.press:hover .logo-box img { filter: none; opacity: 1; }
.press:hover .logo-word { opacity: 1; }
.press .quote { font-size: 15px; color: var(--ink-2); line-height: 1.375; transition: color .3s; }
.press:hover .quote { color: var(--ink); }
.press .attr { font-size: 12px; color: var(--ink-4); letter-spacing: .025em; text-transform: uppercase; }

/* Logo marquee */
@keyframes marquee { 0% { transform: translate(0); } to { transform: translate(-50%); } }
.marquee {
  position: relative; overflow: hidden; margin: 0 -24px 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; background: var(--bg); }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee a {
  flex: 0 0 auto; height: 56px; padding: 0 28px;
  display: flex; align-items: center; justify-content: center;
}
.marquee img { height: 44px; width: auto; mix-blend-mode: multiply; filter: grayscale(1); opacity: .6; transition: filter .5s, opacity .5s; }
.marquee a:hover img { filter: none; opacity: 1; }
.marquee .word { font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: var(--ink-3); white-space: nowrap; transition: color .3s; }
.marquee a:hover .word { color: var(--ink); }

/* Hero reel (stands in for the looping montage video) */
.hero-reel {
  position: relative; overflow: hidden; cursor: pointer;
  aspect-ratio: 16 / 9; border-radius: 12px; background: #0a0a0a;
  box-shadow: var(--shadow-3);
}
@media (min-width: 640px) { .hero-reel { border-radius: 16px; } }
@media (min-width: 1024px) { .hero-reel { border-radius: 24px; } }
.hero-reel img, .hero-reel video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.hero-reel img.on { opacity: 1; animation: kenburns 7s linear both; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.12); } }
.hero-reel .reel-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, #000000a6); pointer-events: none; }
.reel-caption {
  position: absolute; left: 20px; right: 20px; bottom: 18px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  color: #fff; font-size: 13px;
}
@media (min-width: 640px) { .reel-caption { left: 28px; right: 28px; bottom: 24px; font-size: 14px; } }
.reel-caption .t { font-weight: 500; text-shadow: 0 1px 2px #0006; }
.reel-caption .t small { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; margin-bottom: 4px; }
.reel-dots { display: flex; gap: 6px; flex-shrink: 0; }
.reel-dots span { width: 18px; height: 3px; border-radius: 2px; background: #ffffff59; overflow: hidden; position: relative; }
.reel-dots span.on::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: dotfill 5s linear both; }
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.reel-cta { margin-top: 24px; display: flex; justify-content: center; }
@media (min-width: 640px) { .reel-cta { margin-top: 32px; } }

/* Mono "copy" card (Homebrew card equivalent) */
.copycard-wrap { display: flex; flex-direction: column; align-items: center; padding: 16px 16px 24px; border-bottom: 1px solid var(--line); }
.copycard-label { font-size: 13px; color: var(--ink-4); text-transform: uppercase; letter-spacing: .025em; margin-bottom: 12px; }
.copycard {
  position: relative; width: 100%; max-width: 448px;
  background: #fff; border: 1px solid #13121114; border-radius: 12px;
  padding: 34px 20px 16px; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  box-shadow: 0 1px 2px #0000000a, 0 4px 8px #00000005;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.copycard:hover { box-shadow: var(--shadow-2); }
.copycard:active { transform: scale(.99); }
.copycard .lights { position: absolute; top: 14px; left: 16px; display: flex; gap: 6px; }
.copycard .lights i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.copycard code { font-family: var(--font-mono); font-size: 14px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copycard code .p { color: var(--ink-4); margin-right: 8px; }
.copycard .ico { width: 28px; height: 28px; border-radius: 7px; background: var(--bg); display: grid; place-items: center; color: var(--ink-3); flex-shrink: 0; transition: color .2s, background .2s; }
.copycard:hover .ico { color: var(--ink); background: var(--line); }

/* ---------- Feature grid (Selected work) ---------- */
.feature-grid {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
}
.feature-row { padding: 24px; border-top: 1px solid var(--line); overflow: hidden; }
.feature-row:first-child { border-top: 0; }
@media (min-width: 640px) { .feature-row { padding: 40px; } }
@media (min-width: 768px) { .feature-row { padding: 48px; } }
.feature-inner { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 1024px) {
  .feature-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .feature-row.flip .feature-inner { flex-direction: row-reverse; }
}
.feature-copy { max-width: 100%; }
@media (min-width: 1024px) { .feature-copy { max-width: 420px; } }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); }
.eyebrow svg { width: 16px; height: 16px; flex-shrink: 0; }
.feature-title { margin-top: 16px; font-size: 24px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
@media (min-width: 640px) { .feature-title { font-size: 30px; } }
.feature-text { margin-top: 12px; font-size: 15px; line-height: 1.625; color: var(--ink-2); }
.badge-new {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .06em;
  color: var(--accent); background: var(--accent-soft);
  padding: 3px 7px; border-radius: 5px; line-height: 1.2;
  animation: alive-pulse 2.4s var(--ease) infinite;
}
@keyframes alive-pulse { 0%, to { box-shadow: 0 0 0 0 #e7290300; } 50% { box-shadow: 0 0 0 4px #e729031f; } }
.chips { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-warm); border: 1px solid #e6e4e099;
  border-radius: 8px; padding: 6px 10px;
  font-size: 13px; font-weight: 500; color: var(--ink);
}
.chip b { font-weight: 600; }
.chip .k { color: var(--ink-4); font-weight: 400; font-size: 11px; }
.feature-link { margin-top: 20px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); transition: color .16s var(--ease); }
.feature-link:hover { color: var(--ink); }
.feature-link svg { width: 12px; height: 12px; transition: transform .22s var(--ease); }
.feature-link:hover svg { transform: translate(2px, -2px); }

.feature-visual { flex-shrink: 0; width: 100%; }
@media (min-width: 1024px) { .feature-visual { width: 440px; } }
.shot {
  position: relative; overflow: hidden; border-radius: 14px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  aspect-ratio: 16 / 10;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.shot > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feature-row:hover .shot { box-shadow: var(--shadow-3); transform: translateY(-2px); }
.feature-row:hover .shot > img { transform: scale(1.03); }
.shot.square { aspect-ratio: 1 / 1; max-width: 360px; margin: 0 auto; }
.shot-float {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  background: #ffffffeb; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px;
  font-size: 12px; font-weight: 500; box-shadow: 0 8px 32px #0000001a;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: #00ac47; flex-shrink: 0; }

/* Taotao mock app card */
.mock {
  border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2);
  overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-warm); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.mock-bar span { margin-left: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-4); }
.mock-body { padding: 18px; display: grid; gap: 10px; }
.mock-logo { height: 40px; width: auto; mix-blend-mode: multiply; margin: 0 auto 4px; }
.msg { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--bg-warm); border: 1px solid #e6e4e099; font-size: 13px; }
.msg .ch { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-size: 10px; font-weight: 600; flex-shrink: 0; }
.msg .meta { margin-left: auto; font-size: 11px; color: var(--ink-4); }
.mock-progress { margin-top: 4px; }
.mock-progress .lbl { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); margin-bottom: 6px; }
.mock-progress .bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.mock-progress .bar i { display: block; height: 100%; width: 0; background: var(--ink); border-radius: inherit; transition: width 1.6s var(--ease) .2s; }
.in .mock-progress .bar i, .mock-progress.in .bar i { width: 100%; }

/* Hacker League leaderboard mock */
.board { border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); overflow: hidden; }
.board-banner { aspect-ratio: 16/7; overflow: hidden; }
.board-banner img { width: 100%; height: 100%; object-fit: cover; }
.board-rows { padding: 8px; }
.board-row { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 8px; font-size: 13px; }
.board-row .r { font-family: var(--font-mono); font-size: 12px; color: var(--ink-4); width: 22px; }
.board-row .n { font-weight: 500; }
.board-row .v { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.board-row.me { background: var(--accent-soft); }
.board-row.me .r, .board-row.me .v { color: var(--accent); }
.board-row .bar { flex: 0 0 90px; height: 4px; background: var(--line); border-radius: 99px; overflow: hidden; }
.board-row .bar i { display: block; height: 100%; background: var(--ink-3); border-radius: inherit; }
.board-row.me .bar i { background: var(--accent); }

/* ---------- And everything else (events) ---------- */
.grid-box { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 32px; }
.grid-box-head { padding: 20px 24px; background: var(--bg-warm); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.grid-box-head span { font-size: 15px; font-weight: 500; color: var(--ink-3); }
.grid-box-head .hint { font-size: 12px; color: var(--ink-4); }

/* Events */
.events { display: grid; grid-template-columns: repeat(6, 1fr); }
.event {
  grid-column: span 2;
  display: flex; flex-direction: column;
  padding: 20px; text-align: left; cursor: pointer;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.event:hover { background: #ffffff80; }
.event:nth-child(3) { border-right: 0; }
.event:nth-child(4) { grid-column: span 3; border-bottom: 0; }
.event:nth-child(5) { grid-column: span 3; border-right: 0; border-bottom: 0; }
.event .cover { position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 16 / 10; background: var(--line); border: 1px solid var(--line); }
.event .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.event:hover .cover img { transform: scale(1.04); }
.event .date {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
  background: #131211d9; color: #fff; padding: 4px 8px; border-radius: 6px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.event h3 { margin-top: 16px; font-size: 16px; font-weight: 600; letter-spacing: -.02em; line-height: 1.35; }
@media (min-width: 640px) { .event h3 { font-size: 17px; } }
.event p { margin-top: 4px; font-size: 14px; color: var(--ink-3); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 640px) { .event p { font-size: 15px; } }
.event .chips { margin-top: 14px; }
.event .chip { font-size: 12px; padding: 4px 8px; }
.event .more { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px; transition: color .16s; }
.event:hover .more { color: var(--ink); }
.event .more svg { width: 12px; height: 12px; transition: transform .22s var(--ease); }
.event:hover .more svg { transform: translate(2px, -2px); }

@media (max-width: 860px) {
  .events {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 0; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .events::-webkit-scrollbar { display: none; }
  .event, .event:nth-child(n) {
    flex: 0 0 82%; scroll-snap-align: start;
    border-bottom: 0; border-right: 1px solid var(--line);
  }
  .event:last-child { border-right: 0; }
}
.carousel-nav { display: none; gap: 6px; }
@media (max-width: 860px) { .carousel-nav { display: flex; } .grid-box-head .hint { display: none; } }
.carousel-nav button { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; color: var(--ink-3); background: #fff; border: 1px solid var(--line); }
.carousel-nav button:hover { color: var(--ink); }

/* ---------- Impact strip (performance strip equivalent) ---------- */
.impact { padding: 0; }
.impact-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .impact-grid { grid-template-columns: repeat(3, 1fr); } }
.stat { padding: 32px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
@media (min-width: 640px) { .stat { padding: 48px 24px; } }
.impact-grid .stat:nth-child(2n) { border-right: 0; }
.impact-grid .stat:nth-last-child(-n+2) { border-bottom: 0; }
@media (min-width: 768px) {
  .impact-grid .stat:nth-child(2n) { border-right: 1px solid var(--line); }
  .impact-grid .stat:nth-child(3n) { border-right: 0; }
  .impact-grid .stat:nth-last-child(-n+3) { border-bottom: 0; }
}
.stat .num { font-family: var(--font-display); font-size: clamp(44px, 6vw, 64px); line-height: 1; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat .num .u { color: var(--ink-4); }
.stat .lbl { margin-top: 10px; font-size: 14px; color: var(--ink-3); }
.impact-foot { padding: 20px 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; font-size: 14px; }
.impact-foot .score { font-size: 11px; font-weight: 600; background: var(--bg); border: 1px solid var(--line); padding: 2px 6px; border-radius: 4px; }
.impact-foot .who { color: var(--ink-2); }
.impact-foot .q { color: var(--ink-3); }

/* ---------- Before → after ---------- */
.ba-title { text-align: center; font-family: var(--font-display); font-size: 30px; line-height: 1.15; margin-bottom: 48px; }
@media (min-width: 640px) { .ba-title { font-size: 48px; margin-bottom: 64px; } }
.ba-list { display: grid; gap: 16px; }
@media (min-width: 640px) { .ba-list { gap: 24px; } }
.ba {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; text-align: center; cursor: default;
}
@media (min-width: 640px) { .ba { flex-direction: row; gap: 32px; } }
.ba .from, .ba .to { font-size: 16px; transition: color .3s, opacity .56s var(--ease), transform .56s var(--ease); }
@media (min-width: 640px) {
  .ba .from, .ba .to { flex: 1; font-size: clamp(20px, 3vw, 28px); line-height: 1.25; }
  .ba .from { text-align: right; }
  .ba .to { text-align: left; }
}
.ba .from { color: var(--ink-4); text-decoration: line-through; text-decoration-color: var(--line-strong); text-decoration-thickness: 1px; }
@media (min-width: 640px) { .ba .from { text-decoration-thickness: 2px; } }
.ba .to { color: var(--ink); font-weight: 500; }
.ba .arr { color: var(--ink-3); font-size: 20px; font-weight: 300; transform: rotate(90deg); transition: transform .3s var(--ease), opacity .56s var(--ease); }
@media (min-width: 640px) { .ba .arr { font-size: 28px; transform: none; } }
.ba:hover .from { color: var(--line-strong); }
.ba:hover .to { color: var(--ink-2); }
@media (min-width: 640px) { .ba:hover .arr { transform: translateX(4px); } }
.js .ba.pre .from { opacity: 0; transform: translateX(-12px); }
.js .ba.pre .to { opacity: 0; transform: translateX(12px); }
.js .ba.pre .arr { opacity: 0; }
.ba .from, .ba .to, .ba .arr { transition-delay: calc(var(--d, 0) * 90ms); }

/* ---------- Skills grid ---------- */
.skills { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .skills { grid-template-columns: repeat(2, 1fr); } }
.skill { padding: 24px; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) {
  .skill:nth-child(odd) { border-right: 1px solid var(--line); }
  .skill:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 767px) { .skill:last-child { border-bottom: 0; } }
.skill h3 { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
@media (min-width: 640px) { .skill h3 { font-size: 17px; } }
.skill p { margin-top: 4px; font-size: 14px; color: var(--ink-3); }
@media (min-width: 640px) { .skill p { font-size: 15px; } }
.skill .widget { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tile { width: 36px; height: 36px; border-radius: 8px; background: var(--bg); display: grid; place-items: center; }
.tile img { width: 20px; height: 20px; }
.pill-dark { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 500; }
.kbd { width: 22px; height: 22px; display: inline-grid; place-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 5px; font-size: 11px; font-weight: 500; color: var(--ink-2); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font-size: 12px; font-weight: 500; }
.lang span { padding: 5px 10px; color: var(--ink-3); }
.lang span.on { background: var(--ink); color: #fff; }
.sparkbars { display: flex; align-items: flex-end; gap: 4px; height: 32px; }
.sparkbars i { width: 10px; border-radius: 2px; background: var(--line-strong); display: block; transform-origin: bottom; transform: scaleY(.15); transition: transform 1s var(--ease); }
.in .sparkbars i { transform: scaleY(1); }
.sparkbars i:last-child { background: var(--accent); }
.funnel { display: grid; gap: 6px; width: 100%; max-width: 320px; }
.funnel div { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--ink-3); }
.funnel div b { display: block; height: 6px; border-radius: 99px; background: var(--ink); }
.funnel div span { white-space: nowrap; }
.skill-foot { padding: 16px 24px; border-top: 1px solid var(--line); background: var(--bg-warm); font-size: 13px; color: var(--ink-3); }

/* ---------- Ecosystem partners ---------- */
.eco { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .eco { grid-template-columns: repeat(3, 1fr); } }
.eco-card { padding: 28px 24px; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .eco-card { border-bottom: 0; border-right: 1px solid var(--line); } .eco-card:last-child { border-right: 0; } }
.eco-card:last-child { border-bottom: 0; }
.eco-card .ic { width: 36px; height: 36px; border-radius: 8px; background: var(--bg); display: grid; place-items: center; color: var(--ink-2); margin-bottom: 16px; }
.eco-card .ic svg { width: 18px; height: 18px; }
.eco-card h3 { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.eco-card p { margin-top: 4px; font-size: 15px; color: var(--ink-3); }

/* ---------- Work with me (receipt card) ---------- */
.receipt-outer { max-width: 448px; margin: 0 auto; }
.receipt {
  position: relative; background: #fff; border-radius: 16px 16px 0 0;
  box-shadow: var(--shadow-3);
  padding: 32px 28px 40px;
}
@media (min-width: 640px) { .receipt { padding: 40px 36px 48px; } }
.receipt-head { text-align: center; padding-bottom: 24px; border-bottom: 1px dashed var(--line); }
.receipt-head .row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 8px; }
.receipt-head img { width: 32px; height: 32px; border-radius: 8px; outline: 1px solid #0000001a; outline-offset: -1px; }
.receipt-head .name { font-family: var(--font-display); font-size: 24px; }
.receipt-head .kicker { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.receipt h2 { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.1; letter-spacing: -.02em; margin-top: 18px; }
.receipt-lines { padding: 24px 0; border-bottom: 1px dashed var(--line); display: grid; gap: 12px; }
.receipt-lines .l { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; }
.receipt-lines .l span:first-child { color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.receipt-lines .l span:last-child { color: var(--ink-3); white-space: nowrap; }
.receipt-lines .l.x span:first-child { color: var(--ink-4); text-decoration: line-through; }
.check { width: 14px; height: 14px; color: var(--green); flex-shrink: 0; }
.receipt-total { padding: 24px 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.receipt-total .t1 { font-size: 14px; color: var(--ink-2); }
.receipt-total .t2 { font-size: 12px; color: var(--green); font-weight: 500; margin-top: 2px; }
.stamp-wrap { text-align: right; }
.stamp {
  display: inline-block; transform: rotate(-8deg); margin-bottom: 6px;
  background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 2px;
}
.big-serif { font-family: var(--font-display); font-size: 48px; line-height: 1; letter-spacing: -.025em; }
@media (min-width: 640px) { .big-serif { font-size: 56px; } }
.big-serif small { font-size: 28px; color: var(--ink-4); }
.btn-tip-wrap { position: relative; }
.btn-tip {
  position: absolute; left: 50%; bottom: -48px; transform: translate(-50%, 4px);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  background: var(--ink); color: #fff; font-size: 11px; padding: 8px 12px; border-radius: 8px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px; box-shadow: var(--shadow-2);
}
.btn-tip-wrap:hover .btn-tip { opacity: 1; transform: translate(-50%, 0); }
.receipt-small { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--bg); text-align: center; font-family: var(--font-mono); font-size: 11px; color: var(--ink-4); text-transform: uppercase; letter-spacing: .05em; }
.thanks { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--line-strong); font-family: var(--font-mono); font-size: 10px; }
.thanks span:nth-child(2) { letter-spacing: .3em; }
.scallop { height: 12px; display: flex; justify-content: space-between; padding: 0 4px; background: #fff; margin-top: -1px; position: relative; }
.scallop i { width: 8px; height: 12px; background: var(--bg); border-radius: 999px 999px 0 0; display: block; }
.receipt-note { margin-top: 32px; text-align: center; font-size: 13px; color: var(--ink-4); }

/* ---------- Personal note ---------- */
.note p { font-size: 17px; line-height: 1.625; color: var(--ink-2); margin-bottom: 24px; }
@media (min-width: 640px) { .note p { font-size: 19px; } }
.note .sig-row { display: flex; align-items: center; justify-content: center; gap: 20px; }
.signature { font-family: var(--font-signature); font-size: 38px; line-height: 1; color: var(--ink); }
@media (min-width: 640px) { .signature { font-size: 44px; } }
.socials { display: flex; align-items: center; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; color: var(--ink-4); transition: color .16s, background .16s; }
.socials a:hover { color: var(--ink); background: #0000000d; }
.socials svg { width: 18px; height: 18px; }

/* ---------- FAQ ---------- */
.faq h2 { text-align: center; font-size: clamp(22px, 2.5vw, 29px); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; margin-bottom: 18px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0;
  font-size: 18px; font-weight: 500; letter-spacing: -.015em; line-height: 1.35; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 14px; height: 14px; flex-shrink: 0; color: var(--ink-3); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; border-radius: 1px; transition: transform .3s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq summary:hover .pm { color: var(--ink); }
.faq-body { padding: 0 0 22px; color: var(--ink-2); line-height: 1.75; }
.faq-body ul { display: grid; gap: 8px; }
.faq-body li { position: relative; padding-left: 18px; }
.faq-body li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); }
.faq-body b { color: var(--ink); font-weight: 600; }
.faq-body a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.faq-body a:hover { text-decoration-color: var(--ink); }
.faq details[open] .faq-body { animation: ds-rise .5s var(--ease) both; }

/* ---------- Footer ---------- */
.footer { padding: 32px 16px; }
@media (min-width: 640px) { .footer { padding: 48px 24px; } }
.footer-inner { max-width: 1152px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
@media (min-width: 640px) { .footer-inner { flex-direction: row; justify-content: space-between; gap: 16px; } }
.footer .left { display: flex; align-items: center; gap: 10px; }
.footer .left img { width: 28px; height: 28px; border-radius: 8px; outline: 1px solid #0000001a; outline-offset: -1px; }
.footer .left .n { font-family: var(--font-display); font-size: 14px; }
.footer .left .m { font-size: 13px; color: var(--ink-4); }
.footer .links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; }
@media (min-width: 640px) { .footer .links { gap: 24px; } }
.footer .links a, .footer .links button { font-size: 13px; color: var(--ink-3); transition: color .16s; }
.footer .links a:hover, .footer .links button:hover { color: var(--ink); }

.wordmark {
  position: relative; overflow: hidden; margin-top: -32px;
  text-align: center; font-family: var(--font-display);
  font-size: clamp(120px, 26vw, 360px); line-height: .9; letter-spacing: -.025em;
  user-select: none;
  background: linear-gradient(to top, #f6f6f5 0%, #cfcbc5 30%, #a19d97 60%, #87837d 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 40px;
}

/* ---------- Floating status pill + toast ---------- */
.status-pill {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  display: none; align-items: center; gap: 8px;
  height: 36px; padding: 0 14px; border-radius: 8px;
  color: #fff; font-size: 13px; font-weight: 500;
  background: var(--btn-grad); box-shadow: var(--shadow-btn);
  transition: transform .16s var(--ease), box-shadow .2s var(--ease), opacity .5s var(--ease), filter .5s var(--ease);
  opacity: 0; filter: blur(8px); transform: translateY(10px);
}
.status-pill.show { opacity: 1; filter: none; transform: none; }
.status-pill.show:hover { transform: translateY(-1px); box-shadow: var(--shadow-btn-hover); }
.status-pill .dot { background: #22c55e; animation: live 2s ease-in-out infinite; }
@keyframes live { 0%, to { box-shadow: 0 0 0 0 #22c55e00; } 50% { box-shadow: 0 0 0 4px #22c55e33; } }
@media (min-width: 640px) { .status-pill { display: inline-flex; } }

.toast {
  position: fixed; left: 50%; bottom: 80px; z-index: 60; pointer-events: none;
  transform: translate(-50%, 12px); opacity: 0;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 8px;
  color: #fff; font-size: 13px; font-weight: 500;
  background: var(--btn-grad); box-shadow: var(--shadow-3), inset 0 1px 0 #ffffff2e;
}
@media (min-width: 640px) { .toast { bottom: 96px; font-size: 14px; } }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 14px; height: 14px; color: #22c55e; }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0; padding: 0; margin: auto; background: transparent;
  width: min(960px, calc(100vw - 32px)); max-height: calc(100vh - 32px);
}
.lightbox::backdrop { background: #131211b3; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lightbox[open] { animation: ds-rise .5s var(--ease) both; }
.lb-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-3); display: flex; flex-direction: column; max-height: calc(100vh - 32px); }
.lb-media { background: #0a0a0a; display: grid; place-items: center; min-height: 0; flex: 1 1 auto; }
.lb-media img { width: 100%; max-height: 62vh; object-fit: contain; }
.lb-body { padding: 20px 24px 24px; overflow: auto; }
.lb-body .date { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.lb-body h3 { margin-top: 6px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.lb-body p { margin-top: 8px; color: var(--ink-2); line-height: 1.625; }
.lb-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.lb-close {
  position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 8px;
  background: #ffffffe6; display: grid; place-items: center; color: var(--ink); box-shadow: var(--shadow-1);
}
.lb-close:hover { background: #fff; }
.lb-nav { display: flex; gap: 6px; }
.lb-nav button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-3); }
.lb-nav button:hover { color: var(--ink); background: var(--bg); }

/* ---------- Mobile frame overrides (match Dot) ---------- */
@media (max-width: 640px) {
  .ds-frame { border-left: 0; border-right: 0; }
  .ds-rail::before, .ds-rail::after { display: none; }
}

/* ---------- Nav: Work dropdown ---------- */
.nav-dd { position: relative; }
.dd-trigger { display: inline-flex; align-items: center; gap: 4px; }
.dd-trigger svg { color: var(--ink-4); transition: transform .26s var(--ease), color .16s; }
.nav-dd:hover .dd-trigger svg, .nav-dd.open .dd-trigger svg { transform: rotate(180deg); color: var(--ink); }
.dd-panel {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: 280px; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-3);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(-50%, -4px) scale(.98); transform-origin: top center;
  filter: blur(4px);
  transition: opacity .2s var(--ease), transform .28s var(--ease), filter .28s var(--ease), visibility 0s .28s;
}
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
.nav-dd:hover .dd-panel, .nav-dd.open .dd-panel, .nav-dd:focus-within .dd-panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0) scale(1); filter: blur(0);
  transition: opacity .2s var(--ease), transform .28s var(--ease), filter .28s var(--ease), visibility 0s;
}
.dd-panel a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 8px; transition: background .16s var(--ease); }
.dd-panel a:hover, .dd-panel a:focus-visible { background: var(--surface-hover); outline: none; }
.dd-panel a + a { margin-top: 2px; }
.dd-ic { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 7px; background: var(--bg); border: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.dd-panel a:hover .dd-ic { color: var(--accent); }
.dd-panel b { display: block; font-size: 14px; font-weight: 500; color: var(--ink); }
.dd-panel small { display: block; margin-top: 1px; font-size: 12.5px; color: var(--ink-3); }
.mobile-menu a.sub { padding-left: 20px; font-size: 14px; color: var(--ink-3); }

/* ---------- All work (filterable list) ---------- */
.aw-filters {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center;
  padding: 14px 16px; background: var(--bg-warm); border-bottom: 1px solid var(--line);
}
.seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.seg button {
  font-size: 13px; padding: 6px 12px; border-radius: 7px; color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .16s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1), 0 0 0 1px var(--line); }
.seg .n { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-4); }
#yearFilter button { font-family: var(--font-mono); font-size: 12px; }

.aw-list { list-style: none; margin: 0; padding: 0; }
.aw-item { border-bottom: 1px solid var(--line); }
.aw-item:last-child { border-bottom: 0; }
.aw-item.enter { animation: aw-in .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes aw-in { from { opacity: 0; transform: translateY(8px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
.aw-row {
  width: 100%; text-align: left; cursor: pointer;
  display: grid; grid-template-columns: 92px 120px 1fr auto; gap: 20px; align-items: center;
  padding: 16px 20px; transition: background .3s var(--ease);
}
.aw-row:hover { background: #ffffff80; }
.aw-date { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.aw-thumb { width: 120px; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.aw-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.aw-row:hover .aw-thumb img { transform: scale(1.06); }
.aw-body h3 { font-size: 16px; font-weight: 600; letter-spacing: -.02em; line-height: 1.35; }
.aw-body p { margin-top: 3px; font-size: 14px; color: var(--ink-3); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.aw-meta { display: flex; align-items: center; gap: 10px; }
.tag { font-size: 11.5px; font-weight: 500; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-warm); color: var(--ink-2); white-space: nowrap; }
.tag[data-cat="Hackathon"] { color: var(--accent); border-color: #e7290333; background: var(--accent-soft); }
.tag[data-cat="Meetup"] { color: #2563eb; border-color: #2563eb33; background: #2563eb12; }
.tag[data-cat="Seminar"] { color: var(--green); border-color: #16a34a33; background: #16a34a12; }
.aw-meta svg { width: 12px; height: 12px; color: var(--ink-4); transition: transform .22s var(--ease), color .16s; }
.aw-row:hover .aw-meta svg { transform: translate(2px, -2px); color: var(--ink); }
.aw-empty { padding: 40px 20px; text-align: center; color: var(--ink-3); font-size: 14px; }

@media (max-width: 760px) {
  .aw-row { grid-template-columns: 96px 1fr; grid-template-areas: "thumb body" "thumb meta"; gap: 4px 14px; padding: 14px 16px; }
  .aw-date { display: none; }
  .aw-thumb { grid-area: thumb; width: 96px; }
  .aw-body { grid-area: body; }
  .aw-meta { grid-area: meta; }
  .aw-body h3 { font-size: 15px; }
  .aw-filters { flex-direction: column; align-items: stretch; }
  .seg { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .seg button { flex: none; }
}
@media (prefers-reduced-motion: reduce) { .aw-item.enter { animation: none; } .dd-panel { filter: none; } }
.nav-dd.hush .dd-panel { opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, -4px) scale(.98); filter: blur(4px); }

/* ---------- Hero photo grid (replaces the reel) ---------- */
.photo-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
}
.pg-tile {
  position: relative; margin: 0; overflow: hidden; cursor: pointer;
  aspect-ratio: 4 / 3; border-radius: 14px; background: var(--line);
  box-shadow: var(--shadow-1), 0 0 0 1px #13121114;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.pg-tile:not([data-i]) { cursor: default; }
.pg-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pg-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, #000000b3); opacity: 0; transition: opacity .4s var(--ease); }
.pg-tile figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 1;
  color: #fff; font-size: 13px; font-weight: 500; line-height: 1.3; text-shadow: 0 1px 2px #0006;
  opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.pg-tile figcaption small { display: block; margin-bottom: 3px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.pg-tile:hover, .pg-tile:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-3); outline: none; }
.pg-tile:hover img, .pg-tile:focus-visible img { transform: scale(1.06); }
.pg-tile:hover::after, .pg-tile:focus-visible::after { opacity: 1; }
.pg-tile:hover figcaption, .pg-tile:focus-visible figcaption { opacity: 1; transform: none; }
/* staggered entrance when the grid scrolls in */
.photo-grid.in .pg-tile { animation: pg-in .7s var(--ease) both; animation-delay: calc(var(--n) * 45ms); }
.photo-grid.in .pg-tile:hover { animation: none; }
@keyframes pg-in { from { opacity: 0; transform: translateY(10px) scale(.97); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@media (min-width: 1024px) { .photo-grid { gap: 12px; } .pg-tile { border-radius: 16px; } }
@media (max-width: 760px) {
  .photo-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .pg-tile { border-radius: 10px; aspect-ratio: 1; }
  .pg-tile figcaption { display: none; }
}
@media (prefers-reduced-motion: reduce) { .photo-grid.in .pg-tile { animation: none; } }

/* =========================================================
   Partners page
   ========================================================= */
.p-hero { padding: 56px 16px 64px; }
@media (min-width: 640px) { .p-hero { padding: 72px 24px 88px; } }
.p-back {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 28px;
  font-size: 13px; color: var(--ink-3); padding: 6px 12px 6px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  transition: color .16s var(--ease), border-color .16s var(--ease), transform .26s var(--ease);
}
.p-back:hover { color: var(--ink); border-color: var(--line-strong); transform: translateX(-2px); }
.p-title { font-size: clamp(38px, 6.4vw, 64px); line-height: 1.1; }
.p-stats { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.p-stats span { font-size: 13px; color: var(--ink-3); padding: 6px 12px; border-radius: 999px; background: var(--bg-warm); border: 1px solid var(--line); }
.p-stats b { font-family: var(--font-mono); font-weight: 500; color: var(--ink); margin-right: 2px; }

.p-bar {
  position: sticky; top: 64px; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line); padding: 12px 16px;
}
@media (min-width: 640px) { .p-bar { padding: 12px 24px; } }
.p-bar-inner { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.p-search {
  display: flex; align-items: center; gap: 8px; min-width: 220px;
  padding: 7px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line);
  color: var(--ink-4); transition: border-color .16s var(--ease), box-shadow .2s var(--ease);
}
.p-search:focus-within { border-color: var(--line-strong); box-shadow: 0 0 0 3px #1312110d; color: var(--ink-3); }
.p-search input { border: 0; outline: 0; background: none; font: inherit; font-size: 14px; color: var(--ink); width: 100%; }
.p-search input::placeholder { color: var(--ink-4); }

.p-group { padding: 56px 16px; scroll-margin-top: 130px; }
@media (min-width: 640px) { .p-group { padding: 72px 24px; } }
.p-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.p-head .ic { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); box-shadow: var(--shadow-1); }
.p-head .ic svg { width: 18px; height: 18px; }
.p-head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 4vw, 36px); line-height: 1.15; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.p-head h2 .n { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-warm); letter-spacing: 0; }
.p-head p { margin-top: 6px; font-size: 15px; color: var(--ink-3); max-width: 620px; }

.p-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--line); gap: 1px;
}
@media (max-width: 900px) { .p-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .p-grid { grid-template-columns: 1fr; } }
.p-card { background: var(--bg); }
.p-card[hidden] { display: none; }
.p-card a { display: flex; gap: 14px; height: 100%; padding: 20px; transition: background .3s var(--ease); }
.p-card a:hover { background: #ffffffb3; }
.p-card .logo {
  position: relative; width: 40px; height: 40px; flex: none; border-radius: 10px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center;
  font-size: 12px; font-weight: 600; color: var(--ink-3); transition: transform .4s var(--ease);
}
.p-card .logo img { position: absolute; inset: 7px; width: 24px; height: 24px; object-fit: contain; background: var(--surface); }
.p-card a:hover .logo { transform: scale(1.06) rotate(-3deg); }
.p-card .body { display: flex; flex-direction: column; min-width: 0; }
.p-card b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.p-card .t { margin-top: 3px; font-size: 13.5px; color: var(--ink-3); line-height: 1.5; }
.p-card .d { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-4); transition: color .16s var(--ease); }
.p-card .d svg { width: 11px; height: 11px; transition: transform .22s var(--ease); }
.p-card a:hover .d { color: var(--ink); }
.p-card a:hover .d svg { transform: translate(2px, -2px); }
.p-empty { padding: 64px 16px; text-align: center; color: var(--ink-3); font-size: 15px; border-bottom: 1px solid var(--line); }

@media (max-width: 640px) {
  .p-bar { top: 64px; }
  .p-bar-inner { flex-direction: column; align-items: stretch; }
  .p-search { min-width: 0; }
}

/* GMT feature: wider artwork, label on top so it doesn't cover the art */
.shot.wide { display: block; aspect-ratio: 2000 / 1103; background: #f8f6f1; }
.shot-float.top { top: 12px; bottom: auto; }
.feature-text a.inline { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; transition: text-decoration-color .16s var(--ease); }
.feature-text a.inline:hover { text-decoration-color: var(--ink); }
@media (min-width: 1024px) { .feature-row.gmt .feature-visual { width: 500px; } }
@media (max-width: 640px) { .shot-float.top { display: none; } }

/* =========================================================
   Footer (coral accent) + dot-matrix "Let's Connect!"
   ========================================================= */
:root { --coral: #f2635a; --coral-soft: #f2635a1f; }

.ft { padding: 48px 16px 0; }
@media (min-width: 640px) { .ft { padding: 64px 24px 0; } }
.ft-top {
  display: grid; gap: 32px 40px;
  grid-template-columns: 1fr;
  padding-bottom: 40px; border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) { .ft-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .ft-top { grid-template-columns: 220px 1fr 1fr 1.25fr; align-items: start; } }

.ft-photo { margin: 0; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--line); }
.ft-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); transition: filter .8s var(--ease), transform .9s var(--ease); }
.ft-photo:hover img { filter: grayscale(0); transform: scale(1.04); }

.ft-col { display: flex; flex-direction: column; gap: 28px; }
.ft-k { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.ft-v { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--ink); letter-spacing: -.01em; }
.ft-slash { display: flex; flex-wrap: wrap; gap: 4px 0; }
.ft-slash > *:not(:last-child)::after { content: "/"; margin: 0 10px; color: var(--ink-4); font-weight: 400; display: inline-block; }
.ft-slash a { transition: color .16s var(--ease); }
.ft-slash a:hover { color: var(--coral); }
.ft-dir { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.ft-dir span { color: var(--coral); transition: transform .26s var(--ease); }
.ft-dir u { text-decoration-color: var(--line-strong); text-underline-offset: 3px; transition: text-decoration-color .16s; }
.ft-dir:hover u { text-decoration-color: var(--coral); }
.ft-dir:hover span { transform: translateX(3px); }
.ft-mail { display: inline-flex; align-items: center; gap: 10px; text-align: left; cursor: pointer; }
.ft-mail svg { color: var(--ink-4); transition: color .16s var(--ease); }
.ft-mail:hover { color: var(--coral); }
.ft-mail:hover svg { color: var(--coral); }
.ft-live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); margin-right: 8px; vertical-align: 2px; box-shadow: 0 0 0 0 var(--coral-soft); animation: ft-live 2s var(--ease) infinite; }
@keyframes ft-live { 0%, 100% { box-shadow: 0 0 0 0 #f2635a55; } 50% { box-shadow: 0 0 0 5px #f2635a00; } }

.ft-map { position: relative; align-self: center; }
@media (max-width: 1039px) { .ft-map { grid-column: 1 / -1; max-width: 560px; } }
.ft-map img { width: 100%; height: auto; display: block; }
.pin { position: absolute; width: 0; height: 0; }
.pin i { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.pin i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--coral); opacity: 0; animation: pin-ping 2.4s var(--ease) infinite; }
.pin:nth-child(3) i::after { animation-delay: .4s; } .pin:nth-child(4) i::after { animation-delay: .8s; }
.pin:nth-child(5) i::after { animation-delay: 1.2s; } .pin:nth-child(6) i::after { animation-delay: 1.6s; }
@keyframes pin-ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
.pin.home i { width: 8px; height: 8px; left: -4px; top: -4px; }
.pin em { position: absolute; right: 10px; top: -10px; white-space: nowrap; font-style: normal; font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--coral); background: var(--bg); padding: 1px 4px; border-radius: 4px; }

.ft-bar {
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  padding: 18px 0 20px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
}
.ft-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ft-links a { transition: color .16s var(--ease); }
.ft-links a:hover { color: var(--coral); }

.ft-word { position: relative; max-width: 1120px; margin: 0 auto; padding: 8px 16px 40px; }
@media (min-width: 640px) { .ft-word { padding: 12px 24px 56px; } }
.ft-word canvas { display: block; width: 100%; cursor: none; touch-action: pan-y; opacity: 0; transition: opacity .8s var(--ease); }
.ft-word.ready canvas { opacity: 1; }
.ft-word-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.no-js .ft-word-text, html:not(.js) .ft-word-text { position: static; width: auto; height: auto; clip: auto; font-family: var(--font-display); font-size: clamp(56px, 12vw, 160px); color: var(--coral); text-align: center; }
@media (prefers-reduced-motion: reduce) { .pin i::after, .ft-live { animation: none; } .ft-word canvas { cursor: default; } }

@media (max-width: 640px) {
  .ft-bar { flex-direction: column; align-items: flex-start; }
}

/* ---------- Hero: dotted sun, garden and birds behind the headline ---------- */
.hero { position: relative; padding-bottom: 150px; }
@media (max-width: 640px) { .hero { padding-bottom: 110px; } }
.hero > .ds-rise { position: relative; z-index: 1; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-bg.on { opacity: 1; }

/* ---------- Work-with-me CTA: coral dotted telephones ---------- */
.cta { position: relative; min-height: 560px; display: grid; place-items: center; padding: 96px 16px; text-align: center; }
@media (max-width: 640px) { .cta { min-height: 480px; padding: 80px 16px; } }
.cta-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); }
.cta-bg.on { opacity: 1; }
.cta::after { /* soft wash behind the text, like the reference */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 44% 42% at 50% 48%, color-mix(in srgb, var(--bg) 88%, transparent) 0%, color-mix(in srgb, var(--bg) 55%, transparent) 55%, transparent 100%);
}
.cta-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.cta-kicker { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); background: color-mix(in srgb, var(--bg) 85%, transparent); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); }
.cta-title { margin-top: 22px; font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 7vw, 76px); line-height: 1.04; letter-spacing: -.025em; color: var(--ink); }
.cta-btn {
  margin-top: 32px; display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 26px 15px 30px; border-radius: 999px;
  background: var(--btn-grad); color: #fff; font-size: 16px; font-weight: 500;
  box-shadow: var(--shadow-btn); transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.cta-btn svg { transition: transform .3s var(--ease); }
.cta-btn:hover { box-shadow: var(--shadow-btn-hover); transform: translateY(-1px); }
.cta-btn:hover svg { transform: translateX(3px); }
.cta-btn:active { box-shadow: var(--shadow-btn-active); transform: translateY(0); }
.cta-small { margin-top: 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.cta-top { margin-top: 28px; font-size: 14px; color: var(--ink); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .2s var(--ease); }
.cta-top:hover { text-decoration-color: var(--coral); }
@media (max-width: 640px) { .cta-kicker .more { display: none; } }

/* Lightbox: photo thumbnails for events with more than one picture */
.lb-media { position: relative; }
.lb-thumbs { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; padding: 4px; border-radius: 10px; background: #0000004d; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lb-thumbs[hidden] { display: none; }
.lb-thumbs button { width: 48px; height: 34px; border-radius: 6px; overflow: hidden; opacity: .6; outline: 2px solid transparent; outline-offset: -2px; transition: opacity .2s var(--ease), outline-color .2s var(--ease); }
.lb-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumbs button:hover { opacity: .9; }
.lb-thumbs button.on { opacity: 1; outline-color: #fff; }
#lbLink[hidden] { display: none; }

/* Lightbox photo slider */
.lb-media { display: block; position: relative; overflow: hidden; height: min(62vh, 560px); flex: 0 0 auto; }
@media (max-width: 640px) { .lb-media { height: min(42vh, 300px); } }
.lb-track { display: flex; height: 100%; transition: transform .7s var(--ease); will-change: transform; }
.lb-slide { flex: 0 0 100%; height: 100%; display: grid; place-items: center; }
.lb-slide img { width: 100%; height: 100%; max-height: none; object-fit: contain; }
.lb-arrow {
  position: absolute; top: 50%; translate: 0 -50%; width: 36px; height: 36px; border-radius: 50%;
  display: none; place-items: center; color: var(--ink); background: #ffffffe0; box-shadow: var(--shadow-2);
  opacity: 0; transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.lb-arrow.prev { left: 12px; } .lb-arrow.next { right: 12px; }
.lb-media.many .lb-arrow { display: grid; }
.lb-media.many:hover .lb-arrow, .lb-arrow:focus-visible { opacity: 1; }
.lb-arrow.prev:hover { transform: translateX(-2px); } .lb-arrow.next:hover { transform: translateX(2px); }
@media (hover: none) { .lb-media.many .lb-arrow { opacity: .9; } }
.lb-thumbs { z-index: 2; }
.lb-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #ffffff26; display: none; }
.lb-media.many .lb-progress { display: block; }
.lb-progress i { display: block; height: 100%; width: 100%; background: var(--coral); transform-origin: left; transform: scaleX(0); }
.lb-progress i.run { animation: lb-bar 3.8s linear both; }
@keyframes lb-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .lb-track { transition: none; } }

/* Lightbox: no black bars. The frame matches the usual 3:2 photo shape, and any
   photo with a different shape sits on a soft blurred copy of itself. */
.lb-media { background: var(--bg-warm); height: auto; aspect-ratio: 3 / 2; max-height: 62vh; }
@media (max-width: 640px) { .lb-media { height: auto; max-height: 42vh; } }
.lb-slide { position: relative; overflow: hidden; }
.lb-slide img { position: relative; z-index: 1; object-fit: contain; }
.lb-slide img.fill { position: absolute; inset: 0; z-index: 0; object-fit: cover; filter: blur(28px) saturate(1.1); transform: scale(1.15); opacity: .85; }

/* frame height follows each photo (set in main.js) and eases between shapes */
.lb-media, .lb-media[style] { aspect-ratio: auto; max-height: none; transition: height .6s var(--ease); }
@media (prefers-reduced-motion: reduce) { .lb-media { transition: none; } }
.lb-media { height: min(54vh, 520px); } /* fallback until the photo loads */

.logo-gmt { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.logo-gmt img { width: 34px; height: 34px; border-radius: 9px; outline: 1px solid #0000001a; outline-offset: -1px; }

.press .logo-box .logo-gmt { white-space: nowrap; font-size: 19px; color: var(--ink-2); transition: color .5s; }
.press:hover .logo-box .logo-gmt { color: var(--ink); }
.press .logo-box .logo-gmt img { width: 28px; height: 28px; flex: none; mix-blend-mode: normal; }

/* Logo strip label */
.marquee-label { margin-top: 48px; margin-bottom: 4px; }

/* Girl Meets Tech: main screenshot, two smaller shots, and links */
.feature-row.gmt .shot.wide { aspect-ratio: 1600 / 932; background: #f8f6f1; }
.gmt-links { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gmt-link {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line);
  transition: color .2s var(--ease), border-color .2s var(--ease), transform .3s var(--ease);
}
.gmt-link:hover { color: var(--ink); border-color: var(--line-strong); transform: translateY(-1px); }
.gmt-link svg { color: var(--ink-3); transition: color .2s var(--ease); }
.gmt-link:hover svg { color: var(--coral); }
.gmt-link img { width: 18px; height: 18px; border-radius: 5px; }
.gmt-link.icon { width: 36px; padding: 0; justify-content: center; }
.gmt-link.primary { color: #fff; background: var(--btn-grad); border-color: transparent; box-shadow: var(--shadow-btn); }
.gmt-link.primary svg { color: #ffffffb3; }
.gmt-link.primary:hover { color: #fff; box-shadow: var(--shadow-btn-hover); }
.gmt-shots { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 720px) { .gmt-shots { grid-template-columns: 1fr; } }
.gmt-shot .shot { aspect-ratio: 16 / 10; }
.gmt-shot .shot img { object-position: top center; }
.gmt-shot:hover .shot { box-shadow: var(--shadow-3); transform: translateY(-2px); }
.gmt-shot:hover .shot img { transform: scale(1.03); }
.gmt-shot p { margin-top: 12px; font-size: 14px; color: var(--ink-3); line-height: 1.5; }
.gmt-shot p b { display: block; color: var(--ink); font-size: 15px; font-weight: 600; margin-bottom: 2px; }
@media (min-width: 640px) { .feature-row.gmt { padding-bottom: 36px; } }
@media (max-width: 640px) { .gmt-link span { display: none; } .gmt-link:not(.primary):not(.icon) { width: 36px; padding: 0; justify-content: center; } }

/* Personal logo (waving hand) in the navbar and footer */
.brand img.brand-logo { width: 34px; height: 34px; border-radius: 0; outline: 0; transform-origin: 60% 80%; transition: transform .5s var(--ease); }
.brand:hover img.brand-logo { animation: wave 1s var(--ease); }
@keyframes wave { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-10deg); } 40% { transform: rotate(8deg); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(3deg); } }
.ft-brand { display: inline-flex; align-items: center; gap: 12px; }
.ft-brand img { width: 44px; height: 44px; flex: none; }
@media (prefers-reduced-motion: reduce) { .brand:hover img.brand-logo { animation: none; } }

/* Hero: Let's talk + LinkedIn side by side */
.hero-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.btn-li svg { color: #0a66c2; }

/* Impact strip with five numbers */
@media (min-width: 900px) {
  .impact-grid.five { grid-template-columns: repeat(5, 1fr); }
  .impact-grid.five .stat { border-bottom: 0; border-right: 1px solid var(--line); }
  .impact-grid.five .stat:last-child { border-right: 0; }
}
@media (max-width: 899px) {
  .impact-grid.five { grid-template-columns: repeat(2, 1fr); }
  .impact-grid.five .stat { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
  .impact-grid.five .stat:nth-child(2n) { border-right: 0; }
  .impact-grid.five .stat:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
}

/* Hero LinkedIn button: black like "Let's talk", white icon */
.btn.btn-li svg { color: #fff; }

/* Footer socials as logos */
.ft-socials { display: flex; gap: 8px; margin: 0; }
.ft-socials a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  color: var(--ink-2); background: var(--surface); border: 1px solid var(--line);
  transition: color .2s var(--ease), border-color .2s var(--ease), transform .3s var(--ease);
}
.ft-socials a:hover { color: var(--coral); border-color: var(--line-strong); transform: translateY(-2px); }
.ft-socials img { border-radius: 5px; }

/* Dotted waving hand above "For builders, founders" */
.wave-hand { width: 230px; height: 230px; margin: 0 auto 10px; }
.wave-hand canvas { width: 100%; height: 100%; display: block; }
@media (max-width: 640px) { .wave-hand { width: 168px; height: 168px; } }

/* Event recap paragraphs */
.lb-text p { margin-top: 8px; color: var(--ink-2); line-height: 1.625; }
.lb-text p + p { margin-top: 10px; }

/* Category tags styled like the "Let's talk" button, in blue / green / purple */
.tag {
  display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 7px;
  font-size: 12.5px; font-weight: 500; color: #fff; border: 0; text-shadow: 0 1px #0003;
  --c1: #3b3936; --c2: #131211; --edge: #131211;
  background: linear-gradient(180deg, var(--c1) 0%, var(--c2) 100%);
  box-shadow: 0 1px 2px #13121147, 0 0 0 1px var(--edge), inset 0 1px 0 #ffffff38, inset 0 -1px 0 #00000059;
}
.tag[data-cat="Hackathon"] { color: #fff; background: linear-gradient(180deg, #4d7cf4 0%, #2453d6 100%); --edge: #1f47b8; box-shadow: 0 1px 2px #1f47b847, 0 0 0 1px #1f47b8, inset 0 1px 0 #ffffff40, inset 0 -1px 0 #00000040; }
.tag[data-cat="Seminar"] { color: #fff; background: linear-gradient(180deg, #2fb36a 0%, #15803d 100%); box-shadow: 0 1px 2px #15803d47, 0 0 0 1px #136f35, inset 0 1px 0 #ffffff40, inset 0 -1px 0 #00000040; }
.tag[data-cat="Meetup"] { color: #fff; background: linear-gradient(180deg, #9a6cf0 0%, #6d3fd6 100%); box-shadow: 0 1px 2px #6d3fd647, 0 0 0 1px #5f35bd, inset 0 1px 0 #ffffff40, inset 0 -1px 0 #00000040; }
.aw-row:hover .tag { filter: brightness(1.06); }

/* Category tags: same button shape, soft pastel colours */
.tag[data-cat] { text-shadow: none; font-weight: 600; }
.tag[data-cat="Hackathon"] { color: #2c4fa8; background: linear-gradient(180deg, #eef3ff 0%, #dde7fd 100%); box-shadow: 0 1px 2px #2c4fa814, 0 0 0 1px #c9d7f8, inset 0 1px 0 #ffffffcc, inset 0 -1px 0 #2c4fa80f; }
.tag[data-cat="Seminar"] { color: #2a7a4b; background: linear-gradient(180deg, #edf9f1 0%, #d9f1e2 100%); box-shadow: 0 1px 2px #2a7a4b14, 0 0 0 1px #c3e6d0, inset 0 1px 0 #ffffffcc, inset 0 -1px 0 #2a7a4b0f; }
.tag[data-cat="Meetup"] { color: #6a43b5; background: linear-gradient(180deg, #f4effe 0%, #e8defc 100%); box-shadow: 0 1px 2px #6a43b514, 0 0 0 1px #dccdf7, inset 0 1px 0 #ffffffcc, inset 0 -1px 0 #6a43b50f; }
.aw-row:hover .tag { filter: none; transform: translateY(-1px); }
.tag { transition: transform .2s var(--ease); }

/* =========================================================
   MOBILE ONLY (≤640px). Nothing below changes larger screens.
   ========================================================= */
.aw-more { display: none; }
@media (max-width: 640px) {
  /* 1. Hide the "Trusted by" cards (the partner logo strip stays) */
  .featured-label:not(.marquee-label), .press-grid { display: none; }
  .marquee-label { margin-top: 8px; }

  /* 2. Photo grid: 3 × 3 */
  .photo-grid .pg-tile:nth-child(n+10) { display: none; }

  /* 3. All work: first 2 events, then "View all" */
  .aw-list:not(.open) .aw-item:nth-child(n+3) { display: none; }
  .aw-more:not([hidden]) {
    display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%;
    padding: 14px 16px; border-top: 1px solid var(--line); background: var(--bg-warm);
    font-size: 14px; font-weight: 500; color: var(--ink);
  }
  .aw-more svg { color: var(--ink-3); transition: transform .3s var(--ease); }
  .aw-more[aria-expanded="true"] svg { transform: rotate(180deg); }

  /* 4. Footer: no photo; map first, then the details in a compact grid */
  .ft { padding-top: 36px; }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 18px 16px; padding-bottom: 28px; }
  .ft-photo { display: none; }
  .ft-map { order: -1; grid-column: 1 / -1; max-width: none; margin-bottom: 4px; }
  .ft-col { display: contents; }
  .ft-item { min-width: 0; }
  .ft-k { font-size: 10px; margin-bottom: 5px; }
  .ft-v { font-size: 14px; }
  .ft-dir { margin-top: 6px; font-size: 13px; }
  .ft-slash > *:not(:last-child)::after { margin: 0 6px; }
  .ft-item:has(.ft-mail) { grid-column: 1 / -1; } /* email gets a full row */
  .ft-socials a { width: 34px; height: 34px; border-radius: 9px; }
}

/* TABLET + DESKTOP ONLY (>640px): first 6 events, then "View all" */
@media (min-width: 641px) {
  .aw-list:not(.open) .aw-item:nth-child(n+7) { display: none; }
  .aw-more:not([hidden]) {
    display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%;
    padding: 16px; border-top: 1px solid var(--line); background: var(--bg-warm);
    font-size: 14px; font-weight: 500; color: var(--ink); transition: background .2s var(--ease);
  }
  .aw-more:not([hidden]):hover { background: #fff; }
  .aw-more svg { color: var(--ink-3); transition: transform .3s var(--ease); }
  .aw-more[aria-expanded="true"] svg { transform: rotate(180deg); }
}

/* Upcoming events */
.aw-up { display: inline-block; margin-right: 6px; padding: 2px 6px; border-radius: 5px; font-size: 9.5px; letter-spacing: .08em; color: #fff; background: var(--coral); vertical-align: 1px; }
.aw-up-m { display: none; }
@media (max-width: 760px) { .aw-up-m { display: inline-block; margin: 0 6px 0 0; vertical-align: 2px; } }
.marquee-item { flex: 0 0 auto; height: 56px; display: flex; align-items: center; justify-content: center; padding: 0 28px; }
.aw-date .aw-up { display: table; margin: 0 0 5px; }

/* Event view: back arrow (all screen sizes) */
.lb-card { position: relative; }
.lb-back {
  position: absolute; top: 12px; left: 12px; z-index: 3; height: 32px; padding: 0 12px 0 8px;
  display: inline-flex; align-items: center; gap: 4px; border-radius: 8px;
  font-size: 13px; font-weight: 500; color: var(--ink); background: #ffffffe6; box-shadow: var(--shadow-1);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background .2s var(--ease), transform .25s var(--ease);
}
.lb-back:hover { background: #fff; transform: translateX(-2px); }
.lb-close { z-index: 3; }
