/* =========================================================================
   ADIPEC 2026 page
   Hero: a particle field assembles the real h1 letters "ADIPEC 2026."
   Then: giant rolling countdown, why-meet tabs, meeting request form.
   ========================================================================= */

/* ---------- HERO ---------- */
.ad-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
  background:
    radial-gradient(60% 46% at 50% 64%, rgba(0, 161, 155, .17), transparent 72%),
    radial-gradient(110% 80% at 82% -4%, var(--hero-1) 0%, var(--hero-2) 30%, var(--hero-3) 72%, var(--bg-deep) 100%);
}
.ad-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.ad-shade {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(130% 95% at 50% 55%, transparent 58%, rgba(var(--deep-rgb), .7) 100%),
    linear-gradient(180deg, transparent 72%, var(--bg-deep) 100%);
}
.ad-in {
  position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column;
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + clamp(16px, 3.6vh, 44px));
  padding-bottom: clamp(22px, 3.6vh, 40px);
}
.ad-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.ad-hero .crumbs { display: flex; gap: 10px; align-items: center; color: var(--fg-muted); }
.ad-hero .crumbs a:hover { color: var(--accent); }

.ad-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 15px 9px 12px; border-radius: 999px; margin: 0;
  color: var(--fg); background: rgba(7, 26, 51, .55); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .35);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.pill-dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-fill); box-shadow: 0 0 12px var(--accent-fill); }
.pill-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--accent-fill); animation: adPulse 2.2s var(--ease) infinite; }
@keyframes adPulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.3); opacity: 0; } }

.ad-head { position: relative; margin-block: auto; padding-block: clamp(26px, 4.4vh, 60px) 0; }
.ad-title { font-family: var(--f-display); }
.ad-pre { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.02em; }
.ad-pre-in {
  display: inline-block; font-size: var(--t-2xl); font-weight: 800; font-stretch: 112%; line-height: 1.02;
  letter-spacing: -.02em; color: var(--fg);
}
/* The particle letters are sampled from this exact text box. Default (no JS / no canvas): a solid teal word. */
.ad-word {
  display: block; margin-top: clamp(2px, .8vh, 12px);
  font-size: clamp(3rem, 10.2vw, 16rem); font-weight: 900; font-stretch: 125%; line-height: .92;
  letter-spacing: 0; white-space: nowrap; color: var(--accent-display);
}
.pf-on .ad-word {
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--accent-rgb), calc(.45 * (1 - var(--disp, 0) * .6)));
}

.ad-foot {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px clamp(24px, 4vw, 64px);
  margin-top: clamp(22px, 4vh, 48px);
}
.ad-lead { margin: 0; max-width: 54ch; }
.ad-btns { justify-content: flex-end; }
.cal-ic { width: 1.25em; height: 1.25em; flex: none; }

.ad-facts {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 16px clamp(28px, 4.4vw, 72px); align-items: end;
  margin: clamp(22px, 4vh, 44px) 0 0; padding-top: 18px; border-top: 1px solid var(--line-dark);
}
.ad-facts > div { display: grid; gap: 6px; min-width: 0; }
.ad-facts dt { color: var(--fg-muted); }
.ad-facts dd { margin: 0; font-family: var(--f-display); font-weight: 700; font-stretch: 108%; font-size: var(--t-lg); line-height: 1.15; color: var(--fg); }
.ad-facts .placeholder { font-size: .7em; vertical-align: .15em; }
.ad-hint {
  display: none; position: absolute; right: 0; top: clamp(26px, 4.4vh, 60px); height: calc(var(--t-2xl) * 1.02);
  align-items: center; gap: 10px; margin: 0; color: var(--fg-muted); pointer-events: none;
}
.pf-live .ad-hint { display: flex; }
.ad-hint svg { width: 18px; height: 18px; flex: none; color: var(--accent); animation: adSpin 9s linear infinite; }
@keyframes adSpin { to { transform: rotate(360deg); } }

@media (max-width: 1080px) {
  .ad-foot { grid-template-columns: 1fr; }
  .ad-btns { justify-content: flex-start; }
}
@media (max-width: 700px) {
  .ad-word { white-space: normal; font-size: 19.5vw; line-height: .9; }
  .ad-w { display: block; }
  .ad-pill { font-size: .64rem; letter-spacing: .08em; padding: 8px 12px 8px 10px; }
  .ad-hint { gap: 7px; }
  .ad-hint .mono { font-size: .6rem; letter-spacing: .1em; }
  .ad-hint svg { width: 15px; height: 15px; }
  .ad-facts { grid-template-columns: 1fr 1fr; gap: 16px 20px; }
  .ad-facts > div:nth-child(3) { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; align-items: center; gap: 14px; }
  .ad-facts dd { font-size: 1.08rem; }
  .ad-btns { display: grid; grid-template-columns: 1fr; width: 100%; }
  .ad-btns .btn { width: 100%; }
}

/* ---------- COUNTDOWN ---------- */
.cd { position: relative; isolation: isolate; overflow: hidden; background: var(--bg-deep); padding-block: clamp(72px, 10vw, 150px); }
.cd-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cd-glow { position: absolute; left: 50%; top: 52%; width: 110vw; height: 70vw; max-height: 1100px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(0, 161, 155, .16), transparent); }
.cd-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(var(--accent-rgb), .055) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--accent-rgb), .055) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center;
  -webkit-mask-image: radial-gradient(70% 62% at 50% 52%, #000 25%, transparent 78%); mask-image: radial-gradient(70% 62% at 50% 52%, #000 25%, transparent 78%);
}
.cd-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; padding-bottom: clamp(22px, 3vw, 36px); border-bottom: 1px solid var(--line-dark); }
.cd-heading { display: grid; gap: 18px; }
.cd-title { font-size: var(--t-2xl); font-weight: 800; font-stretch: 112%; line-height: 1; }
.cd-when { margin: 0; color: var(--fg-muted); }
.cd-stage { padding-block: clamp(34px, 6vw, 92px); }

.cd-clock {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 0 .06em;
  font-family: var(--f-display); font-weight: 900; font-stretch: 112%; font-size: clamp(3.4rem, 12.4vw, 16.5rem);
  line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--fg);
}
.cd-group { display: grid; min-width: 0; }
.cd-num { display: flex; }
.dg { display: block; height: 1em; overflow: hidden; }
.dg-in { display: block; transition: transform .8s cubic-bezier(.16, 1, .3, 1); will-change: transform; }
.dg-in > span { display: block; height: 1em; text-align: center; }
.cd-d .cd-num { color: var(--accent-display); }
.cd-s .cd-num { color: transparent; -webkit-text-stroke: 2px var(--accent-display); }
.cd-sep { font-size: .56em; line-height: 1; padding-top: .2em; color: var(--teal); opacity: .55; transition: opacity .35s ease; }
.cd-sep.dim { opacity: .14; }
.cd-unit { position: relative; margin-top: clamp(12px, 1.6vw, 22px); padding-top: 14px; font-size: var(--t-xs); letter-spacing: 0; }
.cd-unit::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-dark); }
.cd-unit .mono { color: var(--fg-muted); }
.cd-bar { position: absolute; left: 0; top: -.5px; width: 100%; height: 2px; background: var(--accent-fill); transform-origin: left; transform: scaleX(var(--p, 1)); transition: transform 1s linear; }
.cd-bar.snap { transition: none; }

.cd-big {
  margin: 0; font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-size: clamp(2.8rem, 9.4vw, 13rem);
  line-height: .9; letter-spacing: -.03em; text-wrap: balance;
}
.cd-live { color: var(--fg); }
.live-dot { position: relative; display: inline-block; vertical-align: .14em; margin-right: .3em; width: .26em; height: .26em; border-radius: 50%; background: var(--accent-fill); box-shadow: 0 0 40px var(--accent-fill); }
.live-dot::before, .live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent-fill); animation: adPulse 2.4s var(--ease) infinite; }
.live-dot::after { animation-delay: 1.2s; }
.cd-done { color: var(--accent-display); }

.cd-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; padding-top: clamp(22px, 3vw, 34px); border-top: 1px solid var(--line-dark); }
.cd-note { max-width: 62ch; color: var(--fg-muted); }
.cd-local { display: block; margin-top: 6px; font-size: var(--t-sm); color: var(--fg-faint); }
.cd-local:empty { display: none; }
.cd-links { display: flex; flex-wrap: wrap; gap: 14px 28px; }

@media (max-width: 760px) {
  .cd-clock { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; font-size: 28vw; }
  .cd-sep { display: none; }
  .cd-s .cd-num { -webkit-text-stroke-width: 1.5px; }
  .cd-unit { margin-top: 10px; padding-top: 10px; }
  .cd-big { font-size: 15vw; }
}

.ad-marquee { background: var(--bg-deep); }

/* ---------- WHY MEET SAA ---------- */
.why-head { display: grid; gap: 22px; }
.why-wrap { display: grid; gap: 16px; }
.why-tabs { display: none; }
.why-panels { display: grid; gap: 16px; }
.why-panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px 22px; align-items: start;
  padding: clamp(22px, 3vw, 52px); border-radius: var(--r-lg);
  background: radial-gradient(90% 90% at 0% 0%, var(--navy-700), var(--navy) 46%, var(--navy-950)); color: var(--fg);
}
.why-panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(var(--accent-rgb), .22) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(120deg, transparent 30%, #000 100%); mask-image: linear-gradient(120deg, transparent 30%, #000 100%);
}
.why-art { color: var(--accent); }
.why-art svg { width: 100%; height: auto; overflow: visible; }
.why-art .wa-ring { opacity: .22; }
.why-copy { display: grid; gap: 16px; justify-items: start; min-width: 0; }
.why-k { color: var(--accent); }
.why-t { font-size: var(--t-xl); font-weight: 800; font-stretch: 110%; line-height: 1.06; }
.why-d { color: var(--fg-muted); max-width: 52ch; }
.why-acts { display: grid; gap: 18px; justify-items: start; }
.why-ext { display: flex; flex-wrap: wrap; gap: 10px 24px; }

@media (min-width: 861px) {
  .why-js { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
  .why-js .why-tabs { display: block; position: sticky; top: calc(var(--nav-h) + 40px); border-top: 1px solid var(--line); }
  .why-tab {
    position: relative; display: grid; gap: 8px; justify-items: start; padding: clamp(18px, 2vw, 28px) 4px;
    border-bottom: 1px solid var(--line); color: var(--ink-muted);
  }
  .why-tab-k { font-size: var(--t-xs); color: var(--ink-muted); transition: color .3s; }
  .why-tab-t {
    font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: clamp(1.4rem, .9rem + 1.2vw, 2.25rem);
    line-height: 1.04; letter-spacing: -.012em; transition: color .35s, transform .6s var(--ease);
  }
  .why-tab-bar { position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
  .why-tab:hover .why-tab-t { color: var(--ink); }
  .why-tab.is-on .why-tab-t { color: var(--ink); transform: translateX(14px); }
  .why-tab.is-on .why-tab-k { color: var(--teal-ink, #046E68); }
  .why-tab.is-on .why-tab-bar { transform: scaleX(1); }
  .why-tab:focus-visible { outline-offset: -2px; }
  .why-tabs-note { margin-top: 26px; max-width: 36ch; font-size: var(--t-sm); color: var(--ink-muted); }

  .why-js .why-panels { gap: 24px; }
  .why-js .why-panel {
    grid-template-columns: minmax(140px, 220px) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 56px); align-items: center;
    min-height: min(420px, 54vh); padding: clamp(32px, 3.6vw, 60px);
    transition: box-shadow .7s var(--ease);
  }
  .why-js .why-panel.is-on { box-shadow: 0 50px 90px -50px rgba(11, 37, 69, .6), inset 0 0 0 1px rgba(var(--accent-rgb), .3); }
  .why-js .why-art svg > * { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease) .1s; }
  .why-js .why-panel:not(.seen) .why-art svg > * { stroke-dashoffset: 1; }
  .why-t { font-size: clamp(1.6rem, 1rem + 1.4vw, 2.6rem); line-height: 1.02; }
}
@media (max-width: 520px) {
  .why-panel { grid-template-columns: 1fr; }
  .why-art { width: 84px; }
}

/* ---------- MEETING REQUEST ---------- */
.meet { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-raise) 100%); isolation: isolate; overflow: clip; }
.meet-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(46% 40% at 88% 18%, rgba(0, 161, 155, .16), transparent 70%), radial-gradient(40% 40% at 6% 92%, rgba(46, 96, 128, .25), transparent 70%); }
.meet-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.meet-intro { position: sticky; top: calc(var(--nav-h) + 36px); display: grid; gap: 24px; justify-items: start; }
.meet-intro .display { font-size: clamp(2.5rem, 1.3rem + 3.4vw, 4.8rem); }
.meet-alt { list-style: none; margin: 8px 0 0; padding: 0; width: 100%; border-top: 1px solid var(--line-dark); }
.meet-alt li { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line-dark); }
.meet-alt .mono { color: var(--fg-muted); }
.meet-alt a { font-weight: 600; color: var(--fg); transition: color .3s; }
.meet-alt a:hover { color: var(--accent); }

.meet-card {
  position: relative; padding: clamp(22px, 3.2vw, 48px); border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(var(--fg-rgb), .075), rgba(var(--fg-rgb), .02));
  border: 1px solid var(--line-dark); box-shadow: 0 60px 120px -60px rgba(0, 0, 0, .8);
}
.meet-card::before { content: ""; position: absolute; left: 10%; right: 10%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-fill), transparent); }
.meet-form { gap: 20px; }
.meet-form .field { align-content: start; }
.field label .opt { margin-left: .4em; font-weight: 400; font-size: .86em; color: var(--fg-faint); }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-faint); }
.field-err { font-size: .84rem; line-height: 1.4; color: var(--err); }
.field-err:empty { display: none; }
.field.is-bad input, .field.is-bad select, .field.is-bad .day-in { border-color: var(--err); }

fieldset.field { margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 7px; font-size: var(--t-sm); font-weight: 600; }
.day-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 10px; }
.day { position: relative; display: block; cursor: pointer; }
.day input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.day-in {
  display: grid; justify-items: center; align-content: center; gap: 5px; height: 100%; padding: 14px 6px 12px;
  border-radius: 14px; border: 1px solid var(--line-dark); background: var(--field-bg);
  transition: background .3s, border-color .3s, color .3s, transform .45s var(--ease), box-shadow .45s var(--ease);
}
.day-in b { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: 1.9rem; line-height: 1; }
.day-any .day-in b { font-size: 1.12rem; padding-block: .32em; }
.day-w, .day-m { font-size: var(--t-xs); color: var(--fg-muted); transition: color .3s; }
.day:hover .day-in { border-color: rgba(var(--accent-rgb), .55); }
.day input:checked + .day-in { background: var(--teal); border-color: var(--teal); color: var(--navy-990); transform: translateY(-3px); box-shadow: 0 18px 34px -16px var(--glow); }
.day input:checked + .day-in .day-w, .day input:checked + .day-in .day-m { color: var(--on-teal-2, rgba(2, 10, 22, .88)); }
.day input:focus-visible + .day-in { outline: 2px solid var(--focus); outline-offset: 3px; }
.day input:disabled { cursor: not-allowed; }
.day input:disabled + .day-in { opacity: .32; }
.day input:disabled + .day-in b { text-decoration: line-through; text-decoration-thickness: 2px; }

.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 46px; cursor: pointer; }
.select select:invalid { color: var(--fg-faint); }
.select select option { color: var(--fg); background: var(--bg-raise); }
.select svg { position: absolute; right: 15px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--accent); pointer-events: none; }
.select select.flash { animation: adFlash 1.4s var(--ease); }
@keyframes adFlash { 0%, 40% { border-color: var(--accent-fill); box-shadow: 0 0 0 5px rgba(0, 161, 155, .3); } 100% { box-shadow: 0 0 0 0 rgba(0, 161, 155, 0); } }

.meet-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.meet-note { max-width: 36ch; font-size: var(--t-sm); color: var(--fg-muted); }
.meet-form .form-msg:empty { display: none; }

.meet-done { display: grid; gap: 18px; justify-items: start; }
.done-mark { width: 64px; height: 64px; color: var(--accent); }
.done-t { font-size: var(--t-xl); font-weight: 800; font-stretch: 110%; line-height: 1.08; }
.done-t:focus { outline: none; }
.done-t:focus-visible { outline: 2px solid var(--focus); }
.done-d { color: var(--fg-muted); max-width: 52ch; }
.done-d b { color: var(--fg); }
.done-sum { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 22px; width: 100%; margin: 0; padding: 18px 0; border-block: 1px solid var(--line-dark); }
.done-sum dt { color: var(--fg-muted); font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; padding-top: .2em; }
.done-sum dd { margin: 0; overflow-wrap: anywhere; }
.done-small { font-size: var(--t-sm); color: var(--fg-muted); }
.done-small a { color: var(--accent); font-weight: 600; }
.done-edit { border: 0; background: none; padding: 0; cursor: pointer; font: inherit; font-weight: 600; }

@media (max-width: 960px) {
  .meet-grid { grid-template-columns: 1fr; }
  .meet-intro { position: static; }
}
@media (max-width: 560px) {
  .day-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .day-any { grid-column: 1 / -1; }
  .day-any .day-in { grid-auto-flow: column; justify-content: center; gap: 12px; padding-block: 12px; }
  .day-any .day-in b { padding-block: 0; }
  .day-in b { font-size: 1.6rem; }
  .meet-submit .btn { width: 100%; }
  .meet-alt li { grid-template-columns: 64px minmax(0, 1fr); }
}

/* ---------- Meet Mohamed: badge on a lanyard ---------- */
.host { --strap: calc(var(--section) + 80px); position: relative; overflow: clip; }
.host-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.host-grid > * { min-width: 0; }
.host-badge-wrap { display: grid; justify-items: center; padding-top: 36px; perspective: 1400px; }
.host-swing { position: relative; width: min(100%, 360px); transform-origin: 50% calc(var(--strap) * -1); will-change: transform; }
.host-strap {
  position: absolute; left: 50%; bottom: calc(100% - 6px); width: 32px; height: var(--strap); transform: translateX(-50%);
  display: flex; align-items: center; justify-content: flex-end; overflow: hidden; white-space: nowrap; writing-mode: vertical-rl;
  font-size: .58rem; letter-spacing: .32em; color: rgba(4, 16, 31, .78);
  background: linear-gradient(90deg, #00857F, var(--teal) 28%, var(--teal-400) 62%, #00857F);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.host-badge {
  position: relative; margin: 0; display: grid; gap: 16px; padding: 30px 22px 20px; border-radius: 26px; color: var(--fg);
  background: radial-gradient(90% 60% at 20% 0%, rgba(0, 161, 155, .28), transparent 60%), linear-gradient(165deg, var(--navy-700), var(--navy-950) 72%);
  box-shadow: 0 70px 110px -55px rgba(4, 16, 31, .75), 0 30px 50px -40px rgba(4, 16, 31, .5), inset 0 0 0 1px rgba(94, 214, 204, .25);
  transform-style: preserve-3d;
}
.host-badge::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .13) 50%, transparent 62%) var(--shine, 120%) 0 / 260% 100% no-repeat;
}
.hb-clip {
  position: absolute; left: 50%; top: -16px; z-index: 2; width: 52px; height: 30px; transform: translateX(-50%); border-radius: 9px;
  background: linear-gradient(180deg, #E4EAEE, #9AA9B5 60%, #7F8F9C); box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .5), inset 0 -2px 0 rgba(0, 0, 0, .18);
}
.hb-clip::after { content: ""; position: absolute; left: 50%; top: 9px; width: 24px; height: 7px; transform: translateX(-50%); border-radius: 6px; background: #4F5F6C; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5); }
.hb-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hb-top img { width: 40px; height: auto; }
.hb-top .mono { color: var(--teal-300); }
.hb-photo { display: block; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: #E9DCCB; }
.hb-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hb-cap { display: grid; gap: 6px; }
.hb-cap b { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem); line-height: 1.05; letter-spacing: -.01em; }
.hb-cap span { color: var(--fg-muted); font-size: var(--t-sm); line-height: 1.4; }
.hb-foot { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px dashed rgba(94, 214, 204, .35); color: var(--teal-300); font-size: .62rem; }

.host-copy { display: grid; gap: 26px; justify-items: start; }
.host-copy .display { max-width: 12ch; }
.host-facts { margin: 0; width: 100%; max-width: 560px; display: grid; }
.host-facts > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.host-facts > div:last-child { border-bottom: 1px solid var(--line); }
.host-facts dt { color: var(--ink-muted); }
.host-facts dd { margin: 0; font-weight: 600; font-size: var(--t-lg); color: var(--ink); }
.host-facts .placeholder { font-size: .72em; }
.host-also { display: grid; gap: 12px; width: 100%; max-width: 560px; }
.ha-label { color: var(--ink-muted); }
.ha-person { display: flex; align-items: center; gap: 16px; }
.ha-person picture { display: contents; }
.ha-person img { width: 64px; height: 64px; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--teal); }
.ha-text { display: grid; gap: 2px; }
.ha-text b { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: var(--t-lg); line-height: 1.15; color: var(--ink); }
.ha-text span { color: var(--ink-muted); font-size: var(--t-sm); }

@media (max-width: 860px) {
  .host { --strap: calc(var(--section) + 70px); }
  .host-grid { grid-template-columns: 1fr; }
  .host-swing { width: min(80%, 300px); }
  .host-badge { padding: 26px 18px 16px; gap: 14px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .pf-live .ad-hint { display: none !important; }
  .dg-in, .cd-bar { transition: none; }
}

/* ---------- Launch fixes (a11y, forms) ---------- */
/* dark panels inside the light "why" section: light links and a light focus ring */
.why-panel { --focus: var(--accent); }
.why-panel .tlink { color: var(--accent); }
.why-panel .tlink:hover { color: var(--fg); }
/* honeypot: off-screen for people, still in the form for bots */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.meet-form .form-msg:not(:empty) { padding: 12px 16px; border-radius: 12px; background: rgba(255, 138, 128, .08); box-shadow: inset 0 0 0 1px rgba(255, 138, 128, .3); }
.meet-form .form-msg.ok:not(:empty) { color: var(--accent); background: rgba(0, 161, 155, .1); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .3); }
.field.is-bad textarea { border-color: var(--err); }
.hb-photo picture { display: block; width: 100%; height: 100%; }
/* 12px floor for the hero pill, the touch hint and the badge foot (launch check) */
.hb-foot { font-size: var(--t-xs); letter-spacing: .08em; }
@media (max-width: 700px) {
  .ad-pill { font-size: var(--t-xs); letter-spacing: .04em; }
  .ad-hint .mono { font-size: var(--t-xs); letter-spacing: .06em; }
}
/* "optional" reads at 6:1 on the form card (was --fg-faint, 4.3:1) */
.field label .opt { color: var(--fg-muted); }
/* stacked layout: the badge's drop shadow falls on the eyebrow below it; a deeper teal keeps 5:1 there */
@media (max-width: 860px) { .host-copy > .eyebrow { color: #035A55; } }
/* honeypot input at 16px like the real fields, so no input on the page is under 16px */
.hp-field input { font-size: 16px; }

/* ---------- Light mode ----------
   A daylight version of the page: a pale sky in the hero with the letters drawn in deep teal ink
   (adipec.js switches the particle palette and blending), a soft-white countdown stage and white cards.
   The rules above use the shared colour tokens, so dark mode is unchanged; these apply in light mode only.
   Mohamed's badge carries .keep-dark in the HTML: it stays a navy badge, as it already sits on white. */
:root[data-theme="light"] .ad-hero {
  background:
    radial-gradient(60% 46% at 50% 64%, rgba(0, 161, 155, .1), transparent 72%),
    radial-gradient(110% 80% at 82% -4%, var(--hero-1) 0%, var(--hero-2) 30%, var(--hero-3) 72%, var(--bg-deep) 100%);
}
:root[data-theme="light"] .ad-shade {
  background:
    radial-gradient(130% 95% at 50% 55%, transparent 58%, rgba(var(--deep-rgb), .45) 100%),
    linear-gradient(180deg, transparent 72%, var(--bg-deep) 100%);
}
:root[data-theme="light"] .ad-pill { background: rgba(255, 255, 255, .66); }
:root[data-theme="light"] .cd-glow { background: radial-gradient(closest-side, rgba(0, 161, 155, .11), transparent); }
:root[data-theme="light"] .cd-grid {
  background-image: linear-gradient(rgba(var(--accent-rgb), .1) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--accent-rgb), .1) 1px, transparent 1px);
}
/* the teal figures: a step deeper than --accent-display, which dips under 3:1 where the teal glow
   and grid sit (3.2:1+ there, 3.9:1 on the plain stage); the same teal as the contact page heading */
:root[data-theme="light"] .cd-d .cd-num, :root[data-theme="light"] .cd-done { color: #00857F; }
:root[data-theme="light"] .cd-s .cd-num { -webkit-text-stroke-color: #00857F; }
/* the four "why" panels become white cards with a pale teal corner and deep teal line art */
:root[data-theme="light"] .why-panel {
  background: radial-gradient(90% 90% at 0% 0%, #D4EDEE, #EEF7F8 46%, #FFFFFF);
  box-shadow: 0 30px 60px -46px rgba(11, 37, 69, .3), inset 0 0 0 1px var(--line-dark);
}
@media (min-width: 861px) {
  :root[data-theme="light"] .why-js .why-panel.is-on { box-shadow: 0 50px 90px -50px rgba(11, 37, 69, .36), inset 0 0 0 1px rgba(var(--accent-rgb), .45); }
}
/* the meeting section deepens towards the bottom so the white form card keeps its lift */
:root[data-theme="light"] .meet { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%); }
:root[data-theme="light"] .meet-bg { background: radial-gradient(46% 40% at 88% 18%, rgba(0, 161, 155, .13), transparent 70%), radial-gradient(40% 40% at 6% 92%, rgba(46, 96, 128, .1), transparent 70%); }
:root[data-theme="light"] .meet-card { background: var(--bg-raise); box-shadow: 0 60px 120px -60px var(--shadow); }
:root[data-theme="light"] .meet-form .form-msg:not(:empty) { background: rgba(180, 35, 24, .06); box-shadow: inset 0 0 0 1px rgba(180, 35, 24, .28); }
