/* THE FOUNDERS AND THE PAPERWORK
   Two bands added for the SIDC briefing: the people who started the company,
   and the certificates and awards they have collected since. Kept in their own
   file so neither can disturb the sections that were already working. */

/* ================= founders ================= */
.founders {
  padding: clamp(52px, 8vw, 104px) 20px clamp(56px, 9vw, 110px);
  background: linear-gradient(180deg, #f6f9fd 0%, #ffffff 100%);
  color: #0d1b2a;
}
.founders__wrap { max-width: 1120px; margin: 0 auto; }
.founders .kicker { color: var(--blue, #0078FF); letter-spacing: .18em; }
.founders__h {
  margin: 8px 0 10px;
  font-size: clamp(28px, 4.6vw, 50px);
  line-height: 1.05; letter-spacing: -.02em;
}
.founders__h em { font-style: normal; color: var(--blue, #0078FF); }
.founders__lead {
  max-width: 58ch; margin: 0 0 clamp(28px, 4vw, 44px);
  color: rgba(13, 27, 42, .62); line-height: 1.6;
}

.founder__portrait {
  border-radius: 18px; overflow: hidden;
  background: #e8eef7;
  box-shadow: 0 18px 44px -24px rgba(9, 20, 34, .55);
}
/* The portraits are cropped out of a PDF spread, so the head sits high in the
   frame — anchoring to the top keeps faces out of the crop. */
.founder__portrait img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 18%;
}

/* the Chief Scientist, wide */
.founder--lead {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: clamp(20px, 3.5vw, 44px);
  align-items: start;
  padding: clamp(20px, 3vw, 34px);
  margin-bottom: clamp(24px, 3.5vw, 40px);
  background: #fff;
  border: 1px solid rgba(13, 27, 42, .09);
  border-radius: 22px;
  box-shadow: 0 24px 60px -40px rgba(9, 20, 34, .5);
}
.founder--lead .founder__portrait { aspect-ratio: 4 / 5; }
.founder h3 { font-size: clamp(19px, 2.2vw, 26px); margin: 0 0 2px; }
.founder__role {
  color: var(--blue, #0078FF); font-weight: 700;
  font-size: 14px; margin: 0 0 12px;
}
.founder p { line-height: 1.6; color: rgba(13, 27, 42, .74); margin: 0 0 12px; }
.founder__facts { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.founder__facts li {
  position: relative; padding-left: 22px;
  font-size: 14.5px; line-height: 1.5; color: rgba(13, 27, 42, .78);
}
.founder__facts li::before {
  content: ''; position: absolute; left: 4px; top: .62em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue, #0078FF);
}
.founder__facts b { color: #0d1b2a; }

/* the three officers */
.founders__row {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: clamp(14px, 2vw, 22px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.founder--card {
  padding: clamp(16px, 2vw, 24px);
  background: #fff;
  border: 1px solid rgba(13, 27, 42, .09);
  border-radius: 20px;
  box-shadow: 0 20px 50px -38px rgba(9, 20, 34, .55);
}
.founder--card .founder__portrait { aspect-ratio: 1; margin-bottom: 16px; }
.founder--card p { font-size: 14.5px; }

/* ================= certificates and awards ================= */
.awards {
  padding: clamp(52px, 8vw, 100px) 20px clamp(60px, 9vw, 112px);
  background:
    radial-gradient(120% 80% at 50% 0%, #0d1f38 0%, #071120 60%, #050b16 100%);
  color: #eaf6ff;
}
.awards__wrap { max-width: 1180px; margin: 0 auto; }
.awards .kicker { color: #3fe0ff; letter-spacing: .18em; }
.awards__h {
  margin: 8px 0 10px;
  font-size: clamp(28px, 4.6vw, 50px);
  line-height: 1.05; letter-spacing: -.02em;
}
.awards__h em { font-style: normal; color: #3fe0ff; }
.awards__lead {
  max-width: 56ch; margin: 0 0 clamp(26px, 4vw, 40px);
  color: rgba(234, 246, 255, .62); line-height: 1.6;
}
.awards__sub {
  margin: clamp(26px, 3.5vw, 40px) 0 14px;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(234, 246, 255, .5);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.awards__grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: clamp(12px, 1.6vw, 18px);
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
.award {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; gap: 10px;
  padding: 12px;
  text-align: left; color: inherit; font: inherit;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.award:hover, .award:focus-visible {
  transform: translateY(-3px);
  border-color: #3fe0ff;
  box-shadow: 0 18px 44px -26px rgba(63, 224, 255, .8);
}
/* A certificate is a document: show it on white, whole, never cropped —
   a scan cropped to fill a tile is unreadable and looks like a mistake. */
.award__shot {
  display: grid; place-items: center;
  aspect-ratio: 4 / 3;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  padding: 6px;
}
.award__shot img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.award__cap { display: grid; gap: 3px; }
.award__cap strong { font-size: 14px; line-height: 1.3; }
.award__cap em {
  font-style: normal; font-size: 12px; line-height: 1.4;
  color: rgba(234, 246, 255, .52);
}

.awards__chips {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.awards__chips li {
  padding: 8px 14px;
  font-size: 13.5px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: rgba(234, 246, 255, .82);
}

@media (prefers-reduced-motion: reduce) {
  .award { transition: none; }
}

/* ================= the OrchID / HerbaLook demos ================= */
.demos {
  padding: clamp(52px, 8vw, 100px) 20px clamp(56px, 9vw, 104px);
  background: linear-gradient(180deg, #06140e 0%, #0a1f16 55%, #07160f 100%);
  color: #eafff4;
}
/* ── IT WEARS THE SUITE'S CLOTHES, ON ITS OWN GROUND ──────────────────────
   Taufik, 31 August 2026: 'this "Running today" make it like
   "https://neuon.ai/smart-mobility"'.

   The heading, the dotted kicker and the lede are mobility.css's `mobkick`,
   `mobsec__h` and `mobsec__p` now — the suite's own classes, not a lookalike
   of them. What stays is the GROUND: that page is white and this section is
   the dark green NEUNature is written in, and turning one chapter's section
   white to match another chapter's page would be matching the wrong thing.
   So the shapes and the spacing come from the suite; the colours stay here.

   `.demos__wrap` is gone — the markup uses `.mob__wrap`, which is the suite's
   own 1120px measure, so the two sections line up rather than nearly. */
.demos .mobkick { color: #3ddc97; }
.demos .mobsec__h { color: #eafff4; }
.demos .mobsec__h em { font-style: normal; color: #3ddc97; }
.demos .mobsec__p { color: rgba(234, 255, 244, .62); }
.demos .mobsec__p b { color: #eafff4; font-weight: 600; }

/* ── AND THE WAY OUT OF IT ────────────────────────────────────────────────
   "have button going to https://orchid.neuon-kuching.com/en/"

   Both products are live and running, and a reader deciding whether to watch
   a recording of one is a reader who might rather just open it. Up beside the
   lede, before the clips, because after six videos is where a link goes to
   be missed. */
.demos__open {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: clamp(18px, 2.6vw, 26px) 0 0;
}
.demos__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  background: #3ddc97; color: #05130d;
  font-size: 14.5px; font-weight: 700; letter-spacing: -0.005em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.demos__btn em { font-style: normal; font-size: 15px; }
.demos__btn:hover { background: #5ef0b0; }
.demos__btn:focus-visible { outline: 2px solid #eafff4; outline-offset: 3px; }
/* the second one is quieter: two equally loud buttons is a choice nobody
   wanted to be given, and OrchID is the one on the card he was looking at */
.demos__btn + .demos__btn {
  background: transparent; color: #3ddc97; border-color: rgba(61, 220, 151, .45);
}
.demos__btn + .demos__btn:hover { background: rgba(61, 220, 151, .12); color: #7cf5c2; }

/* ══════════ A PRODUCT'S OWN PAGE — /neunature/orchid, /neunature/herbalook ══
   It borrows mobility.css whole, the same as /neuslm-usecases does, and
   changes only the ground and the accent here. A second stylesheet that
   looked the same would mean every later fix had to be made twice. */
.nat-page { background: #06140e; color: #eafff4; }
.natsec { background: transparent; }
/* the NEUON mark in the header is fixed and hangs about 8.5rem down the
   middle of the screen — the same thing that landed on the ball in the AI
   CORE overlay. A headline starting at the top of this section goes straight
   under it, so the section starts below where the disc ends. */
.nat-page .natsec--top { padding-top: clamp(168px, 19vh, 210px); padding-bottom: clamp(20px, 3vw, 34px); }
.nat-page .natsec--facts { padding-top: 0; }
.natsec--sister { border-top: 1px solid rgba(255, 255, 255, .1); }
.nat-page .mobkick { color: #3ddc97; }
.nat-page .mobsec__h { color: #eafff4; }
.nat-page .mobsec__h em { font-style: normal; color: #3ddc97; }
.nat-page .mobsec__p { color: rgba(234, 255, 244, .68); max-width: 60ch; }
.nat-page .mobsec__p b { color: #eafff4; font-weight: 600; }
.nat-page .demos { background: none; padding-top: clamp(28px, 4vw, 48px); }
.natsec__h { max-width: 18ch; }

.nat__open { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin: clamp(20px, 2.6vw, 30px) 0 0; }
.nat__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  background: #3ddc97; color: #05130d;
  font-size: 15px; font-weight: 700; text-decoration: none;
  border: 1px solid transparent;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.nat__btn em { font-style: normal; }
.nat__btn:hover { background: #5ef0b0; }
.nat__btn:focus-visible { outline: 2px solid #eafff4; outline-offset: 3px; }
.nat__btn--ghost { background: transparent; color: #3ddc97; border-color: rgba(61, 220, 151, .45); }
.nat__btn--ghost:hover { background: rgba(61, 220, 151, .12); color: #7cf5c2; }
/* the address in plain text beside the button, because a person deciding
   whether to press it is entitled to see where it goes */
.nat__addr { font-size: 14px; color: rgba(234, 255, 244, .45); }

.natfacts { margin: 0; display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.natfacts__row {
  display: grid; gap: 4px 28px; padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
}
.natfacts dt {
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(234, 255, 244, .45);
}
.natfacts dd { margin: 0; font-size: 16px; line-height: 1.55; color: #eafff4; }
.natwho { margin: clamp(18px, 2.4vw, 26px) 0 0; font-size: 15px; line-height: 1.6; color: rgba(234, 255, 244, .68); }
.natwho b { color: #eafff4; }

@media (max-width: 700px) {
  .natfacts__row { grid-template-columns: 1fr; }
}
.demos__sub {
  margin: clamp(24px, 3.4vw, 38px) 0 16px;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(234, 255, 244, .5);
  padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.demos__row { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(16px, 2.4vw, 26px); }
.demos__row--phone { grid-template-columns: repeat(auto-fit, minmax(210px, 260px)); }
.demos__row--web   { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.demo { margin: 0; display: grid; gap: 12px; }
.demo__screen { background: #000; overflow: hidden; }
.demo__screen video { display: block; width: 100%; height: 100%; }

/* the phone: a bezel, so a tall clip reads as a phone and not as a mistake */
.demo--phone .demo__screen {
  aspect-ratio: 1080 / 2340;
  border-radius: 26px;
  border: 7px solid #10231a;
  box-shadow: 0 0 0 1px rgba(61, 220, 151, .3), 0 26px 60px -30px rgba(0, 0, 0, .95);
}
.demo--phone .demo__screen video { object-fit: cover; }

/* the browser: a title bar with three dots */
.demo--web .demo__chrome {
  display: flex; gap: 6px; align-items: center;
  padding: 8px 12px;
  background: #12291f;
  border: 1px solid rgba(61, 220, 151, .22);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}
.demo--web .demo__chrome i { width: 9px; height: 9px; border-radius: 50%; background: rgba(234, 255, 244, .28); }
.demo--web .demo__screen {
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(61, 220, 151, .22);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 26px 60px -34px rgba(0, 0, 0, .95);
}
.demo--web .demo__screen video { object-fit: contain; }

.demo figcaption { display: grid; gap: 3px; }
.demo figcaption strong { font-size: 15px; }
.demo figcaption span { font-size: 13px; line-height: 1.5; color: rgba(234, 255, 244, .55); }

/* ---- narrow screens ----
   The Chief Scientist card is a two-column grid whose first column has a
   180px minimum. On a 320px phone that leaves the prose about 40px to live
   in, and text cannot shrink below its longest word — so the card pushed
   ~50px past the right edge. Body clips that, but a page wider than the
   screen can still be panned on iOS, and once panned the LEFT is cut off.
   That is the "left side is cut out" nobody could find. */
@media (max-width: 620px) {
  .founder--lead { grid-template-columns: 1fr; }
  .founder--lead .founder__portrait { aspect-ratio: 4 / 3; }
}
/* long unbroken things — an email, a URL, a certificate number — must wrap
   rather than set the width of the page */
.founder__body, .founder--card, .award__cap, .applybox { min-width: 0; }
.founder p, .founder__facts li, .award__cap em { overflow-wrap: anywhere; }

/* ═══════════════════════════════════════════════════════════════════════
   THE AVATAR THAT TURNS INTO A FACE
   Dr KC's idea: everybody appears first as a cute NEU-style character in a
   NEUON t-shirt, and the real photograph arrives only when it is pressed.
   Generic on purpose — `mug` drives the founders now and every member of
   staff later, and the switch itself lives in mug.js.
   ═══════════════════════════════════════════════════════════════════════ */
.mug {
  position: relative; display: block; padding: 0; border: 0;
  width: 100%; cursor: pointer; font: inherit; color: inherit;
  /* it is a button, but it has to keep the portrait's shape exactly, or the
     row of three stops lining up the moment one person has an avatar */
  border-radius: 18px; overflow: hidden;
  background: #eaf2ff;
  box-shadow: 0 18px 44px -24px rgba(9, 20, 34, .55);
  -webkit-tap-highlight-color: transparent;
}
.mug > img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 18%;
  transition: opacity .28s ease;
}
/* The drawing sits on top of the photograph. Both are in the page from the
   start: the photograph is already public, so hiding it behind a fetch would
   buy nothing and a face that loads after the press feels broken. */
.mug .mug__real { position: absolute; inset: 0; opacity: 0; }
/* the avatars are drawn on white with the head centred, so they want a
   different crop from a photograph shot waist-up */
.mug .mug__toon { object-position: 50% 42%; background: #fff; }
.mug.is-real .mug__toon { opacity: 0; }
.mug.is-real .mug__real { opacity: 1; }

/* A quiet instruction, because nothing else on the page says a picture can be
   pressed. It goes once the real face is showing — by then it has been read. */
/* TOP-RIGHT, not bottom-centre. Bottom-centre put it straight across the
   NEUON logo on the character's t-shirt, which is the one detail on the
   drawing worth seeing. */
.mug__hint {
  position: absolute; right: .5rem; top: .5rem;
  padding: .22rem .6rem; border-radius: 999px;
  background: rgba(9, 20, 34, .62); color: #fff;
  font-size: .66rem; font-weight: 700; letter-spacing: .04em;
  white-space: nowrap; pointer-events: none;
  opacity: .9; transition: opacity .2s ease;
}
.mug.is-real .mug__hint { opacity: 0; }
/* :not(.is-real), because hover was bringing the instruction back AFTER it had
   been followed — "tap for the real photo" sitting on top of the real photo,
   telling you to do the thing you have just done. */
.mug:not(.is-real):hover .mug__hint { opacity: 1; }
.mug:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .mug > img, .mug__hint { transition: none; }
}

/* ── FOUNDERS, THEN ADVISORS ──
   Two groups in one section. The second is set apart with a rule above it and
   a little more air, so "Advisors" reads as a different standing rather than
   as more of the same list — which is the entire point of separating them. */
.founders__group + .founders__group {
  margin-top: clamp(3rem, 7vw, 5.5rem);
  padding-top: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid rgba(16, 32, 64, 0.12);
}
