/* Lead+D Lab, draft d4 "card 3D". White-led, Lab teal-green, lime as the rare third colour. */
:root {
  --white: #ffffff;
  --mist: #f1f7f5;          /* cool green-white, never beige */
  --mist-2: #e3f1ee;
  --teal: #00877a;          /* measured Lab green */
  --teal-deep: #006a60;
  --teal-mid: #60ada6;
  --teal-soft: #cfe9e5;
  --ink: #0c2f2b;           /* deep green ink for text */
  --ink-2: #3c5a56;
  --ink-3: #5f7a76;
  --line: rgba(12, 47, 43, .12);
  --lime: #cdea5a;          /* third colour, used sparingly */
  --lime-soft: #eef8c9;
  --taijai: #ea7a2e;        /* taijai only (R-25) */
  --taijai-soft: #fdeee3;
  --focus: #00877a;

  --f-head: "Bricolage Grotesque", "Anuphan", system-ui, sans-serif;
  --f-body: "Anuphan", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-pill: 999px;
  --r-card: 22px;
  --r-big: 32px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gut: 16px;
  --max: 1160px;
  --topbar-h: 56px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.7; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 600; margin: 0; line-height: 1.28; letter-spacing: -.005em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.nw { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.footer :focus-visible, .closing :focus-visible { outline-color: var(--lime); }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r-pill);
  font-family: var(--f-body); font-weight: 600; font-size: 17px; line-height: 1.2;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px -12px rgba(0, 106, 96, .7); }
.btn--primary:hover { background: var(--teal-deep); }
.btn--ghost { background: rgba(255,255,255,.6); color: var(--teal-deep); border-color: rgba(0,135,122,.35); }
.btn--ghost:hover { border-color: var(--teal); background: #fff; }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #bfdf45; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }
.link { color: var(--teal-deep); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; background: none; border: 0; padding: 0; cursor: pointer; }
.link:hover { color: var(--teal); }

/* ---------- top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--topbar-h);
  padding-top: env(safe-area-inset-top);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.topbar.is-solid {
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 1px 0 var(--line);
}
.topbar__in { height: 100%; max-width: 1280px; margin: 0 auto; padding: 0 12px 0 var(--gut); display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--f-head); font-weight: 650; font-size: 19px; letter-spacing: -.01em; color: var(--ink); transition: opacity .3s; }
.brand img { width: 20px; height: auto; }
.topnav { display: none; }
.topbar__end { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.topbar__cta { display: none; }
.lang { display: inline-flex; border-radius: var(--r-pill); background: rgba(255,255,255,.7); border: 1px solid var(--line); padding: 3px; }
.lang button { border: 0; background: none; min-width: 40px; min-height: 36px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; color: var(--ink-3); cursor: pointer; letter-spacing: .02em; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.menu-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.7); cursor: pointer; }
/* on a phone the logo hides while the card is the first screen: the card carries it */
.is-card-view .topbar .brand { opacity: 0; pointer-events: none; }

.menu-sheet { position: fixed; inset: var(--topbar-h) 8px auto 8px; z-index: 39; background: rgba(255,255,255,.95); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(12,47,43,.45); padding: 10px; border: 1px solid var(--line); }
.menu-sheet a { display: flex; align-items: center; min-height: 52px; padding: 0 14px; text-decoration: none; font-weight: 500; font-size: 18px; border-radius: 14px; }
.menu-sheet a:hover { background: var(--mist); }
.menu-sheet a.btn { margin-top: 6px; justify-content: center; color: #fff; }

/* ---------- intro: the card ---------- */
.intro { position: relative; height: calc(100svh + 95svh); }
.intro__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.intro__art {
  position: absolute; inset: 0; z-index: 0;
  background: #cfe9e5 url("../assets/art-tall.jpg") center / cover no-repeat;
  clip-path: inset(var(--c-t, 64px) var(--c-r, 16px) var(--c-b, 44px) var(--c-l, 16px) round var(--c-rad, 28px));
  opacity: var(--art-o, 0);
}
.stage {
  position: absolute; z-index: 2; inset: 64px 16px 44px;
  perspective: 1100px; display: flex; justify-content: center;
}
.stage__photo { display: none; }
.card-tilt {
  width: 100%; height: 100%; max-width: 440px; transform-style: preserve-3d;
  transform: translate3d(0, var(--lift, 0px), 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--sc, 1));
  opacity: var(--card-o, 1);
  will-change: transform;
}
.labcard {
  position: relative; height: 100%; border-radius: 28px; transform-style: preserve-3d;
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 3px 0 #8cc9c1,
    0 40px 70px -30px rgba(0, 74, 66, .55),
    0 12px 24px -12px rgba(0, 74, 66, .3);
  color: var(--ink);
}
.labcard__art {
  position: absolute; inset: 0; border-radius: inherit; overflow: hidden;
  background: #cfe9e5 url("../assets/art-tall.jpg") center / cover no-repeat;
}
.labcard__art::after { /* a fine hairline edge, like a printed card */
  content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}
.labcard__sheen {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  background:
    radial-gradient(120% 70% at var(--gx, 30%) var(--gy, 10%), rgba(255,255,255,.55), rgba(255,255,255,0) 55%),
    linear-gradient(115deg, rgba(255,255,255,0) calc(var(--band, 40%) - 12%), rgba(238,255,190,.32) var(--band, 40%), rgba(255,255,255,0) calc(var(--band, 40%) + 12%));
  mix-blend-mode: soft-light;
}
.labcard__top { position: absolute; z-index: 2; top: 20px; left: 22px; right: 22px; display: flex; align-items: center; gap: 10px; transform: translateZ(18px); }
.labcard__top img { width: 22px; height: auto; filter: drop-shadow(0 2px 6px rgba(255,255,255,.6)); }
.labcard__name { font-family: var(--f-head); font-weight: 650; font-size: 21px; letter-spacing: -.015em; }
.labcard__mascot {
  position: absolute; z-index: 3; left: 50%; top: 58px;
  height: clamp(104px, calc(100% - 476px), 236px); aspect-ratio: 430 / 640;
  padding: 0; border: 0; background: none; cursor: pointer;
  transform: translate3d(calc(-50% + var(--mx-p, 0px)), var(--my-p, 0px), 60px) rotate(var(--m-rot, 0deg));
  -webkit-tap-highlight-color: transparent;
}
.labcard__mascot img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(0, 74, 66, .28)); transform-origin: 50% 100%; }
.labcard__mascot.hop img { animation: hop .7s var(--ease); }
@keyframes hop { 0% { transform: translateY(0) scale(1, 1); } 25% { transform: translateY(0) scale(1.06, .92); } 55% { transform: translateY(-18%) scale(.96, 1.05); } 80% { transform: translateY(0) scale(1.04, .96); } 100% { transform: none; } }
.labcard__panel {
  position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 10px;
  padding: 20px 18px 18px; border-radius: 20px;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 10px 30px -18px rgba(0,74,66,.4);
  transform: translateZ(28px);
}
.labcard__line { font-family: var(--f-body); font-weight: 600; font-size: 21px; line-height: 1.45; letter-spacing: -.005em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 16px; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; line-height: 1.35; font-weight: 500;
  padding: 6px 11px 6px 9px; border-radius: var(--r-pill); background: var(--mist); color: var(--ink-2);
}
.chips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1.5px rgba(0,135,122,.35); flex: none; }
.labcard__actions { display: grid; gap: 8px; }
.labcard__actions .btn--ghost { min-height: 46px; }
.scroll-hint { position: absolute; z-index: 2; left: 0; right: 0; bottom: 12px; text-align: center; font-size: 13px; color: var(--ink-3); opacity: var(--hint-o, 1); }

/* hero copy that the card unfolds into (phone) */
.intro__copy {
  position: absolute; z-index: 3; inset: 76px 16px 24px; display: flex; flex-direction: column; justify-content: flex-end;
  opacity: var(--copy-o, 0); transform: translateY(var(--copy-y, 24px)); pointer-events: none;
}
.intro__copy.is-on { pointer-events: auto; }
.hero__panel { background: rgba(255,255,255,.84); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border-radius: 24px; padding: 24px 20px 20px; box-shadow: 0 30px 60px -36px rgba(0,74,66,.6); }
.hero__h { font-size: 32px; line-height: 1.3; font-weight: 650; letter-spacing: -.01em; }
.hero__sub { margin-top: 12px; color: var(--ink-2); font-size: 16.5px; line-height: 1.65; }
.hero__ctas { display: grid; gap: 8px; margin-top: 18px; }
.hero__pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.hero__pills a { font-size: 14px; text-decoration: none; padding: 6px 12px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--ink-2); background: rgba(255,255,255,.6); }
.hero__pills a:first-child { border-color: var(--teal); color: var(--teal-deep); font-weight: 600; }
.hero__aud { margin-top: 14px; font-size: 14.5px; color: var(--ink-3); line-height: 1.55; }
.hero__aud a { color: var(--teal-deep); }

/* ---------- sections ---------- */
.sec { padding: 72px 0; }
.sec__head { max-width: 720px; margin-bottom: 32px; }
.sec__h { font-size: 31px; line-height: 1.3; font-weight: 650; letter-spacing: -.012em; }
.sec__p { margin-top: 12px; color: var(--ink-2); font-size: 17px; }

/* event block */
.event { padding: 28px 0 8px; }
.ticket {
  position: relative; display: grid; grid-template-columns: 1fr; border-radius: 26px; overflow: hidden;
  background: linear-gradient(135deg, #f5fbe2 0%, #ffffff 55%, #e9f6f3 100%); border: 1px solid rgba(12,47,43,.1);
}
.ticket__date { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--lime); }
.ticket__day { font-family: var(--f-head); font-size: 44px; line-height: 1; font-weight: 700; letter-spacing: -.03em; }
.ticket__when { font-size: 14px; line-height: 1.45; font-weight: 600; }
.ticket__body { padding: 20px 20px 22px; }
.ticket__kicker { font-size: 13px; font-weight: 600; color: var(--teal-deep); letter-spacing: .04em; }
.ticket__name { font-size: 30px; margin-top: 2px; }
.ticket__sub { color: var(--ink-2); margin-top: 4px; }
.ticket__meta { display: grid; gap: 2px; margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.ticket__meta b { color: var(--ink); font-weight: 600; }
.ticket__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 18px; }
.ticket__note { font-size: 13px; color: var(--ink-3); margin-top: 10px; }
.ticket::after { /* the perforation of a ticket stub */
  content: ""; position: absolute; left: 0; right: 0; top: 88px; height: 0; border-top: 2px dashed rgba(12,47,43,.18); display: none;
}

/* what we do */
.what__grid { display: grid; gap: 12px; }
.fam { position: relative; border-radius: var(--r-card); padding: 22px 20px; background: var(--mist); text-decoration: none; display: block; }
.fam h3 { font-size: 20px; }
.fam p { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.fam--primary { background: var(--ink); color: #fff; overflow: hidden; }
.fam--primary p { color: rgba(255,255,255,.82); }
.fam--primary .fam__photo { margin: 18px -20px -22px; height: 180px; background: url("../assets/ph-talk.jpg") center 40% / cover; }
.fam__go { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 15px; color: var(--teal-deep); text-decoration: underline; text-underline-offset: 4px; }
.fam--primary .fam__go { color: var(--lime); }
.fam--tertiary { background: #fff; border: 1px dashed rgba(12,47,43,.22); }
.formats { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.formats li { padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.formats__note { flex-basis: 100%; margin-top: 6px; color: var(--ink-3); font-size: 14.5px; }

/* courses */
.courses { background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); }
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px var(--gut) 10px; margin: 0 calc(-1 * var(--gut)); scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters button {
  flex: none; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff;
  font-size: 15px; font-weight: 500; color: var(--ink-2); cursor: pointer; white-space: nowrap;
}
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 12px var(--gut) 18px; margin: 0 calc(-1 * var(--gut)); scroll-padding: 0 var(--gut); scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.course {
  scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-card);
  border: 1px solid var(--line); padding: 22px 20px 20px; min-height: 100%;
  transition: border-color .2s, box-shadow .25s;
}
.course:hover { border-color: rgba(0,135,122,.45); box-shadow: 0 24px 40px -30px rgba(0,74,66,.45); }
.course__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; }
.course__theme { font-size: 14px; color: var(--teal-deep); font-weight: 600; }
.flag { font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: var(--r-pill); background: var(--lime); color: var(--ink); white-space: nowrap; }
.course h3 { font-size: 21px; margin-top: 10px; line-height: 1.35; }
.course__for { margin-top: 8px; font-size: 15px; color: var(--ink-3); line-height: 1.6; }
.course__out { margin-top: 12px; font-size: 15.5px; line-height: 1.6; padding-top: 12px; border-top: 1px solid var(--line); flex: 1; }
.course__out b { display: block; font-size: 13px; color: var(--ink-3); font-weight: 600; margin-bottom: 2px; }
.course__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.course__actions .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.courses__count { margin-top: 6px; font-size: 14px; color: var(--ink-3); }
.photo-band { margin-top: 48px; position: relative; border-radius: var(--r-big); overflow: hidden; }
.photo-band img { width: 100%; height: 260px; object-fit: cover; }
.photo-band figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 16px; padding: 12px 16px; font-size: 15px; line-height: 1.55; }

/* how we work */
.steps { display: grid; gap: 10px; counter-reset: s; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.step__n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-head); font-weight: 650; font-size: 17px; background: var(--teal-soft); color: var(--teal-deep); }
.step h3 { font-size: 20px; }
.step p { margin-top: 4px; color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.how__photo { border-radius: var(--r-big); overflow: hidden; margin-top: 24px; }
.how__photo img { width: 100%; height: 280px; object-fit: cover; }
.how__style { margin-top: 16px; font-size: 15.5px; color: var(--ink-2); }
.room { margin-top: 40px; }
.room__rail { display: grid; grid-auto-flow: column; grid-auto-columns: 70%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 6px; scrollbar-width: none; }
.room__rail::-webkit-scrollbar { display: none; }
.room__rail img { width: 100%; height: 210px; object-fit: cover; border-radius: 18px; scroll-snap-align: start; }

/* specialisations */
.spec__list { border-top: 1px solid var(--line); }
.spec__item { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.spec__item h3 { font-size: 23px; font-weight: 600; }
.spec__item p { color: var(--ink-2); font-size: 16px; line-height: 1.65; max-width: 640px; }

/* consulting (quiet) */
.consult .wrap > .box { background: var(--mist); border-radius: var(--r-big); padding: 32px 20px; }
.consult .sec__h { font-size: 26px; }
.consult__opts-h { margin-top: 24px; font-size: 15px; font-weight: 600; color: var(--ink-3); }
.opts { margin-top: 10px; display: grid; gap: 8px; }
.opt { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; text-align: left; width: 100%; min-height: 64px; padding: 14px 16px; background: #fff; border-radius: 16px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: border-color .2s; }
.opt:hover { border-color: rgba(0,135,122,.45); }
.opt b { display: block; font-weight: 600; font-size: 16.5px; line-height: 1.4; }
.opt span { display: block; color: var(--ink-3); font-size: 14.5px; line-height: 1.5; margin-top: 2px; }
.opt i { font-style: normal; font-size: 14px; font-weight: 600; color: var(--teal-deep); white-space: nowrap; }

/* products */
.shelf { display: grid; gap: 12px; }
.prod { border-radius: var(--r-card); padding: 24px 20px; position: relative; }
.prod__status { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; padding: 4px 11px; border-radius: var(--r-pill); }
.prod__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.prod h3 { font-size: 24px; margin-top: 12px; }
.prod p { margin-top: 8px; color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.prod--live { background: #fff; border: 1.5px solid rgba(234,122,46,.45); box-shadow: 0 30px 50px -38px rgba(234,122,46,.6); }
.prod--live .prod__status { background: var(--taijai-soft); color: #b65316; }
.prod--live .prod__for { margin-top: 10px; font-size: 14px; font-weight: 600; color: #b65316; }
.prod--live .btn { margin-top: 18px; background: var(--taijai); box-shadow: 0 10px 24px -12px rgba(234,122,46,.8); }
.prod--live .btn:hover { background: #d4681f; }
.prod__social { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.prod__disc { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; color: var(--ink-3); }
.prod__disc em { font-style: normal; display: block; margin-top: 4px; font-size: 12px; color: #8a9a97; }
.prod--soon { background: var(--white); border: 1.5px dashed rgba(12,47,43,.22); }
.prod--soon .prod__status { background: var(--mist); color: var(--ink-3); }
.prod--soon h3 { color: var(--ink-2); }
.prod--soon .link { display: inline-block; margin-top: 14px; font-size: 15.5px; }
.shelf__more { margin-top: 14px; font-size: 15px; color: var(--ink-3); padding-left: 4px; }

/* people */
.people .wrap > .box { display: grid; gap: 0; border-radius: var(--r-big); overflow: hidden; background: var(--mist); }
.aj__fig { position: relative; height: 380px; background: url("../assets/art-wide.jpg") 70% 30% / cover; overflow: hidden; }
.aj__fig::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0) 50%); }
.aj__fig img { position: absolute; z-index: 1; bottom: 0; left: 50%; transform: translateX(-50%); height: 100%; width: auto; max-width: none; object-fit: contain; }
.aj__txt { padding: 26px 20px 28px; }
.aj__name { font-size: 25px; line-height: 1.35; }
.aj__role { margin-top: 4px; font-weight: 600; color: var(--teal-deep); }
.aj__lines { margin-top: 16px; display: grid; gap: 10px; }
.aj__lines li { position: relative; padding-left: 18px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.aj__lines li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-mid); }
.aj details { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.aj summary { cursor: pointer; font-weight: 600; color: var(--teal-deep); min-height: 44px; display: flex; align-items: center; list-style: none; }
.aj summary::-webkit-details-marker { display: none; }
.aj summary::after { content: "+"; margin-left: 10px; font-size: 20px; line-height: 1; }
.aj details[open] summary::after { content: "\2212"; }
.aj details ul { display: grid; gap: 8px; margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.team { margin-top: 12px; display: grid; gap: 0; border-radius: var(--r-big); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.team img { width: 100%; height: 230px; object-fit: cover; }
.team__txt { padding: 22px 20px 24px; }
.team__txt h3 { font-size: 21px; }
.team__txt p { margin-top: 6px; color: var(--ink-2); }
.team__txt .btn { margin-top: 18px; }

/* research */
.pubs { display: grid; gap: 10px; }
.pub { display: grid; gap: 6px; padding: 18px 18px; border-radius: 18px; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, background-color .2s; }
.pub:hover { border-color: rgba(0,135,122,.45); background: var(--mist); }
.pub__j { font-size: 13.5px; font-weight: 600; color: var(--teal-deep); }
.pub__t { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.pub__doi { font-size: 13px; color: var(--ink-3); word-break: break-all; }

/* proof */
.logo-groups { display: grid; gap: 18px; }
.logo-group h3 { font-family: var(--f-body); font-size: 14px; font-weight: 600; color: var(--ink-3); }
.logo-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.logo-row li { width: 148px; height: 84px; border-radius: 16px; background: var(--mist); display: grid; place-items: center; padding: 16px 20px; }
.logo-row img { max-height: 46px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .8; transition: filter .3s, opacity .3s; }
.logo-row li:hover img { filter: none; opacity: 1; }

/* booking */
.booking { background: var(--mist); }
.book__grid { display: grid; gap: 24px; }
.flow { display: grid; gap: 12px; margin-top: 22px; }
.flow li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; font-size: 15.5px; color: var(--ink-2); line-height: 1.6; }
.flow li span { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--teal-deep); font-weight: 650; font-family: var(--f-head); display: grid; place-items: center; font-size: 14px; border: 1px solid rgba(0,135,122,.3); }
.flow li b { color: var(--ink); font-weight: 600; display: block; }
.mailline { margin-top: 22px; font-size: 15.5px; }
.mailline a { font-weight: 600; color: var(--teal-deep); }
.form { background: #fff; border-radius: 26px; padding: 24px 18px; box-shadow: 0 30px 60px -44px rgba(12,47,43,.5); }
.form h3 { font-size: 22px; }
.form__prefill { display: none; margin-top: 12px; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14.5px; padding: 8px 8px 8px 14px; border-radius: 14px; background: var(--lime-soft); }
.form__prefill.is-on { display: flex; }
.form__prefill button { margin-left: auto; border: 0; background: none; color: var(--ink-3); font-size: 14px; cursor: pointer; min-height: 32px; text-decoration: underline; }
.field { display: grid; gap: 6px; margin-top: 16px; }
.field label, .field legend { font-size: 15px; font-weight: 600; }
.field label small, .field legend small { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid rgba(12,47,43,.16); background: #fff;
  font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s;
}
.field textarea { min-height: 92px; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,135,122,.18); }
.field__row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px; }
fieldset.field { border: 0; padding: 0; margin-inline: 0; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; margin-top: 16px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--teal); }
.check a { color: var(--teal-deep); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { margin-top: 20px; }
.form__err { margin-top: 10px; color: #a3321a; font-size: 14.5px; display: none; }
.form__err.is-on { display: block; }
.thanks { text-align: left; padding: 8px 0; }
.thanks__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; }
.thanks h3 { margin-top: 14px; font-size: 22px; }
.thanks p { margin-top: 8px; color: var(--ink-2); }

/* closing band */
.closing { position: relative; overflow: hidden; padding: 88px 0 96px; background: #0e5e56 url("../assets/art-wide.jpg") center / cover; color: var(--ink); }
.closing__card { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); border-radius: 28px; padding: 32px 22px 28px; text-align: center; box-shadow: 0 40px 80px -50px rgba(0,50,45,.8); }
.closing__mascots { display: flex; justify-content: center; align-items: flex-end; gap: 4px; margin: -84px auto 10px; height: 96px; }
.closing__mascots img { height: 92px; width: auto; filter: drop-shadow(0 12px 14px rgba(0,60,54,.25)); }
.closing__mascots img + img { height: 74px; }
.closing h2 { font-size: 28px; line-height: 1.35; }
.closing p { margin-top: 10px; color: var(--ink-2); }
.closing .btn { margin-top: 22px; min-width: 240px; }
.closing__mail { margin-top: 14px; font-size: 15px; }
.closing__mail a { color: var(--teal-deep); font-weight: 600; }

/* footer */
.footer { background: var(--ink); color: rgba(255,255,255,.86); padding: 56px 0 calc(110px + env(safe-area-inset-bottom)); font-size: 15px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__grid { display: grid; gap: 32px; }
.foot__brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-size: 22px; font-weight: 650; color: #fff; }
.foot__brand img { width: 22px; filter: brightness(0) invert(1); }
.foot__one { margin-top: 12px; max-width: 420px; line-height: 1.65; color: rgba(255,255,255,.75); }
.foot__mail { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; min-height: 48px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.25); font-weight: 600; }
.social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 10px; border-radius: var(--r-pill); background: rgba(255,255,255,.08); font-size: 14.5px; }
.social a:hover { background: rgba(255,255,255,.16); text-decoration: none; }
.social svg { width: 22px; height: 22px; }
.social .line { background: #06c755; color: #fff; }
.foot__col h3 { font-family: var(--f-body); font-size: 14px; font-weight: 600; color: var(--lime); margin-bottom: 10px; }
.foot__col li { margin: 4px 0; }
.foot__col a, .foot__col button { display: inline-flex; min-height: 36px; align-items: center; }
.foot__col button { background: none; border: 0; padding: 0; color: #fff; cursor: pointer; font-size: 15px; }
.foot__base { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 13.5px; color: rgba(255,255,255,.6); }

/* sticky bottom bar (phone) */
.sticky-book {
  position: fixed; z-index: 35; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
  transform: translateY(140%); transition: transform .45s var(--ease);
}
.sticky-book.is-on { transform: none; }
.sticky-book .btn { min-height: 58px; flex-direction: column; gap: 0; line-height: 1.25; box-shadow: 0 18px 40px -16px rgba(0,74,66,.7); }
.sticky-book small { font-weight: 400; font-size: 12.5px; opacity: .85; }

/* course dialog */
dialog { border: 0; padding: 0; color: var(--ink); }
dialog::backdrop { background: rgba(8, 40, 36, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.course-dialog { width: 100%; max-width: 100%; margin: auto 0 0; max-height: 90svh; border-radius: 26px 26px 0 0; background: #fff; overflow: auto; overscroll-behavior: contain; }
.cd { padding: 22px 20px 28px; position: relative; }
.cd__close { position: sticky; top: 0; float: right; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; z-index: 2; }
.cd__crumb { font-size: 13px; color: var(--ink-3); }
.cd__crumb a { color: var(--ink-3); }
.cd h2 { font-size: 26px; margin-top: 6px; padding-right: 50px; }
.cd__for { margin-top: 8px; color: var(--ink-2); }
.cd__block { margin-top: 20px; }
.cd__block h3 { font-family: var(--f-body); font-size: 14.5px; font-weight: 600; color: var(--teal-deep); }
.cd__block p, .cd__block li { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.cd__block ul { margin-top: 6px; display: grid; gap: 6px; }
.cd__block li { padding-left: 16px; position: relative; }
.cd__block li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-mid); }
.cd__rel { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cd__rel button { border: 1px solid var(--line); background: #fff; border-radius: var(--r-pill); padding: 8px 14px; min-height: 40px; cursor: pointer; font-size: 14.5px; }
.cd__cta { margin-top: 24px; position: sticky; bottom: 0; padding-top: 10px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 30%); }

/* event pop-up: a ticket you can tilt */
.event-pop { background: transparent; width: min(92vw, 380px); max-height: 92svh; overflow: visible; perspective: 1000px; }
.ep { position: relative; border-radius: 28px; background: #fff; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(0,40,36,.75); transform-style: preserve-3d; animation: ep-in .7s var(--ease) both; }
@keyframes ep-in { from { opacity: 0; transform: translateY(40px) rotateX(18deg) scale(.96); } to { opacity: 1; transform: none; } }
.ep.is-out { animation: ep-out .45s cubic-bezier(.5, 0, .75, 0) forwards; }
@keyframes ep-out { to { opacity: 0; transform: translateY(-30px) rotateX(-14deg) rotateZ(-3deg) scale(.94); } }
.ep__top { position: relative; height: 170px; background: linear-gradient(160deg, #f3fbd7 0%, var(--lime) 55%, #9fd7a0 100%); }
.ep__top img { position: absolute; bottom: -8px; right: 22px; height: 132px; width: auto; filter: drop-shadow(0 14px 14px rgba(0,60,54,.25)); }
.ep__date { position: absolute; left: 22px; top: 22px; }
.ep__date b { display: block; font-family: var(--f-head); font-size: 56px; line-height: .95; letter-spacing: -.035em; }
.ep__date span { font-size: 14px; font-weight: 600; }
.ep__x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.75); display: grid; place-items: center; cursor: pointer; z-index: 2; }
.ep__perf { height: 0; border-top: 2px dashed rgba(12,47,43,.16); margin: 0 18px; position: relative; }
.ep__body { padding: 18px 22px 22px; }
.ep__kicker { font-size: 13px; font-weight: 600; color: var(--teal-deep); letter-spacing: .04em; }
.ep__body h2 { font-size: 32px; line-height: 1.25; }
.ep__body p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; margin-top: 6px; }
.ep__meta { margin-top: 12px; display: grid; gap: 2px; font-size: 14.5px; color: var(--ink-2); }
.ep__meta b { color: var(--ink); font-weight: 600; }
.ep__actions { display: grid; gap: 8px; margin-top: 18px; }
.ep__back { font-size: 13.5px; color: var(--ink-3); margin-top: 10px; text-align: center; }

.event-toast { position: fixed; z-index: 36; left: 10px; right: 10px; bottom: calc(80px + env(safe-area-inset-bottom)); background: #fff; border-radius: 18px; padding: 12px 12px 12px 14px; display: flex; align-items: center; gap: 12px; box-shadow: 0 24px 50px -24px rgba(0,50,45,.55); border: 1px solid var(--line); }
.event-toast__d { flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--lime); display: grid; place-items: center; text-align: center; font-family: var(--f-head); font-weight: 700; line-height: 1; font-size: 22px; }
.event-toast__d small { display: block; font-size: 11px; font-weight: 600; font-family: var(--f-body); }
.event-toast p { font-size: 14px; line-height: 1.45; }
.event-toast a { font-weight: 600; color: var(--teal-deep); }
.event-toast button { flex: none; margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--mist); cursor: pointer; display: grid; place-items: center; }

.cookie { position: fixed; z-index: 37; left: 10px; right: 10px; bottom: calc(80px + env(safe-area-inset-bottom)); background: var(--ink); color: #fff; border-radius: 18px; padding: 12px 14px; font-size: 13px; line-height: 1.5; box-shadow: 0 24px 50px -20px rgba(0,0,0,.5); }
.cookie p a { color: var(--lime); }
.cookie__btns { display: flex; gap: 8px; margin-top: 8px; }
.cookie__btns .btn { min-height: 44px; font-size: 14.5px; padding: 0 16px; }
.cookie__btns .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }

/* ---------- desktop ---------- */
@media (min-width: 960px) {
  :root { --gut: 32px; --topbar-h: 68px; }
  body { font-size: 18px; }
  .topbar { background: rgba(255,255,255,.62); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); }
  .topbar__in { padding: 0 24px; gap: 28px; }
  .topnav { display: flex; gap: 4px; margin-left: 12px; }
  .topnav a { text-decoration: none; font-size: 15.5px; font-weight: 500; color: var(--ink-2); padding: 8px 12px; border-radius: var(--r-pill); }
  .topnav a:hover { background: rgba(0,135,122,.08); color: var(--ink); }
  .topbar__cta { display: inline-flex; }
  .menu-btn { display: none; }
  .is-card-view .topbar .brand { opacity: 1; pointer-events: auto; }

  .intro { height: auto; }
  .intro__sticky { position: relative; height: auto; min-height: min(100vh, 920px); overflow: visible; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: calc(var(--topbar-h) + 40px) var(--gut) 56px; }
  .intro__art, .scroll-hint { display: none; }
  .intro__copy { position: relative; inset: auto; opacity: 1; transform: none; pointer-events: auto; display: block; }
  .hero__panel { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; padding: 0; }
  .hero__h { font-size: clamp(46px, 4.6vw, 64px); line-height: 1.22; letter-spacing: -.02em; max-width: 12em; }
  .hero__sub { font-size: 19px; max-width: 34em; margin-top: 20px; }
  .hero__ctas { display: flex; gap: 12px; margin-top: 30px; }
  .hero__ctas .btn { min-height: 56px; padding: 0 30px; }
  .hero__pills { margin-top: 30px; }
  .hero__aud { margin-top: 18px; font-size: 15.5px; }

  .stage { position: relative; inset: auto; height: 680px; border-radius: 36px; perspective: 1400px; align-items: center;
    background: linear-gradient(rgba(255,255,255,.45), rgba(255,255,255,.45)), url("../assets/art-wide.jpg") center / cover;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
  .card-tilt { width: 372px; height: 600px; max-width: none; }
  .labcard__mascot { height: 170px; top: 64px; }
  .stage__photo { display: block; position: absolute; margin: 0; width: 200px; border-radius: 16px; overflow: hidden; background: #fff; padding: 6px; box-shadow: 0 30px 50px -30px rgba(0,60,54,.6); transition: transform .6s var(--ease); }
  .stage__photo img { border-radius: 11px; height: 140px; width: 100%; object-fit: cover; }
  .stage__photo--a { left: -36px; bottom: 70px; transform: rotate(-6deg) translate3d(var(--pa-x, 0), var(--pa-y, 0), 0); }
  .stage__photo--b { right: -28px; top: 64px; transform: rotate(5deg) translate3d(var(--pb-x, 0), var(--pb-y, 0), 0); }

  .sec { padding: 112px 0; }
  .sec__head { margin-bottom: 44px; }
  .sec__h { font-size: 44px; line-height: 1.25; letter-spacing: -.02em; }
  .sec__p { font-size: 18.5px; }

  .event { padding: 8px 0 0; }
  .ticket { grid-template-columns: 230px 1fr; }
  .ticket__date { flex-direction: column; align-items: flex-start; justify-content: center; padding: 28px; }
  .ticket__day { font-size: 72px; }
  .ticket__body { padding: 28px 32px; display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: end; }
  .ticket__actions { margin-top: 0; justify-content: flex-end; }
  .ticket__name { font-size: 36px; }

  .what__grid { grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: auto auto; }
  .fam--primary { grid-row: span 2; padding: 32px 30px 0; }
  .fam--primary h3 { font-size: 30px; }
  .fam--primary p { font-size: 17px; }
  .fam--primary .fam__photo { margin: 26px -30px 0; height: 300px; }
  .fam--tertiary { grid-column: span 2; }
  .fam { padding: 28px 26px; }

  .rail { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 12px 0 0; gap: 16px; }
  .course { padding: 26px 24px 22px; }
  .photo-band img { height: 420px; }
  .photo-band figcaption { left: 24px; bottom: 24px; right: auto; max-width: 520px; padding: 16px 20px; }

  .how .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .how .sec__head { margin-bottom: 28px; }
  .how__photo { margin-top: 0; position: sticky; top: 100px; }
  .how__photo img { height: 560px; }
  .room { grid-column: 1 / -1; margin-top: 24px; }
  .room__rail { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; }
  .room__rail img { height: 220px; }

  .spec .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
  .spec__item { grid-template-columns: 1fr 1.3fr; gap: 32px; padding: 26px 0; }

  .consult .wrap > .box { padding: 48px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; }
  .consult .sec__h { font-size: 32px; }
  .consult__opts-h { margin-top: 0; }

  .shelf { grid-template-columns: 1.3fr 1fr 1fr; align-items: start; }
  .prod { padding: 30px 28px; }

  .people .wrap > .box { grid-template-columns: 1fr 1.15fr; }
  .aj__fig { height: auto; min-height: 560px; }
  .aj__txt { padding: 48px 48px 44px 40px; }
  .aj__name { font-size: 32px; }
  .team { grid-template-columns: 1.2fr 1fr; align-items: center; margin-top: 16px; }
  .team img { height: 320px; }
  .team__txt { padding: 36px 40px; }

  .pubs { grid-template-columns: 1fr 1fr; }
  .logo-groups { grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px; }

  .book__grid { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
  .form { padding: 36px 34px; }

  .closing { padding: 140px 0 120px; }
  .closing__card { padding: 44px 48px 40px; }
  .closing h2 { font-size: 38px; }

  .footer { padding-bottom: 48px; }
  .foot__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }

  .sticky-book { display: none; }
  .event-toast, .cookie { left: auto; right: 20px; bottom: 20px; width: 380px; }
  .event-toast { top: calc(var(--topbar-h) + 14px); bottom: auto; }

  .course-dialog { max-width: 720px; margin: auto; border-radius: 28px; max-height: 86vh; }
  .cd { padding: 34px 36px 36px; }
  .cd h2 { font-size: 32px; }
}

@media (min-width: 1280px) {
  .intro__sticky { gap: 72px; }
}

/* very short phones: keep the card on one screen */
@media (max-width: 959px) and (max-height: 700px) {
  .labcard__line { font-size: 18px; }
  .chips { margin: 10px 0 12px; }
  .chips li { font-size: 12.5px; padding: 4px 10px 4px 8px; }
  .labcard__panel { padding: 16px 14px 14px; }
  .btn { min-height: 48px; }
  .labcard__actions .btn--ghost { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .intro { height: auto; }
  .intro__sticky { position: relative; height: auto; overflow: visible; }
  .stage { position: relative; inset: auto; height: calc(100svh - 108px); margin: 64px 16px 0; }
  .intro__copy { position: relative; inset: auto; opacity: 1; transform: none; pointer-events: auto; padding: 24px 16px 0; }
  .intro__art { display: none; }
  .scroll-hint { position: relative; bottom: auto; padding-top: 10px; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 960px) {
  .stage { height: 680px; margin: 0; }
  .intro__copy { padding: 0; }
}
