/* ==========================================================================
   LOGWIZ — Premium site
   Palette from the logo: Logwiz green #53b442 + charcoal grey.
   No frameworks. Fonts are self-hosted (Instrument Serif + Manrope).
   ========================================================================== */

@font-face { font-family: "Sora"; src: url(../fonts/sora.woff2) format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(../fonts/manrope.woff2) format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }

:root {
  /* Logo green #53b442 and its tints/shades */
  --green: #53b442;
  --green-hi: #8fd170;
  --green-deep: #3d8f30;
  --green-ink: #2f6e26;
  --green-wash: #eef8eb;
  /* Logo grey #6b6b6b and its shades (charcoal) for dark surfaces */
  --grey: #6b6b6b;
  --ink: #262626;
  --ink-2: #2d2d2d;
  --ink-3: #363636;
  --ink-4: #424242;
  --charcoal: #4a4a4a;
  --ivory: #f4f5f3;
  --paper: #fbfbfa;
  --text: #232323;
  --body: #555555;
  --muted: #808080;
  --line: rgba(35, 35, 35, .1);
  --line-d: rgba(255, 255, 255, .1);
  --on-dark: #f2f2f2;
  --on-dark-2: rgba(242, 242, 242, .68);
  --gold: #f2b53a;

  --lime: #8fd170;
  --emerald: #3d8f30;
  --teal: #53b442;
  --sky: #6b6b6b;
  --teal-deep: #3a3a3a;
  --grad: linear-gradient(118deg, #8fd170 0%, #53b442 50%, #3d8f30 100%);
  --grad-btn: linear-gradient(118deg, #66c252 0%, #53b442 50%, #449e35 100%);
  --grad-deep: linear-gradient(135deg, #3d3d3d 0%, #2c2c2c 55%, #222 100%);
  --grad-mix: linear-gradient(118deg, #6b6b6b 0%, #53b442 100%);
  --grad-text: linear-gradient(100deg, #5cbc4b 0%, #3d8f30 100%);
  --grad-text-light: linear-gradient(100deg, #b4e49d 0%, #6cc457 100%);

  --serif: "Sora", "Manrope", system-ui, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 2px rgba(28, 28, 28, .04), 0 12px 32px -14px rgba(28, 28, 28, .18);
  --shadow-lg: 0 2px 4px rgba(28, 28, 28, .04), 0 40px 80px -30px rgba(28, 28, 28, .35);
  --glow: 0 18px 50px -18px rgba(83, 180, 66, .6);

  --wrap: 1280px;
  --gutter: clamp(18px, 4vw, 40px);
  --section: clamp(84px, 11vw, 150px);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--text); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--green); color: #fff; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 999; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 16px; }

.ic { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(880px + var(--gutter) * 2); }
.section { padding: var(--section) 0; position: relative; }
.section-sm { padding: clamp(60px, 7vw, 96px) 0; }
.dark { background: var(--ink); color: var(--on-dark-2); }
.dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6 { color: var(--on-dark); }
.ivory { background: var(--ivory); }
.paper { background: var(--paper); }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.glow-tl::before, .glow-br::before { content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(83, 180, 66, .14), transparent); }
.glow-tl::before { left: -20vw; top: -25vw; }
.glow-br::before { right: -20vw; bottom: -25vw; }

.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.rev > :first-child { order: 2; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0 !important; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--green-deep); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--grad); }
.dark .eyebrow { color: var(--green-hi); }
.center .eyebrow::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--grad); }

.display {
  font-family: var(--serif); font-weight: 600; letter-spacing: -.035em; line-height: 1.02;
  font-size: clamp(32px, 5.4vw, 67px);
}
.h1 { font-family: var(--serif); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; font-size: clamp(30px, 4.4vw, 54px); }
.h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; font-size: clamp(25px, 3.3vw, 40px); }
.h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; font-size: clamp(20px, 2.4vw, 29px); letter-spacing: -.035em; }
.h4 { font-size: clamp(19px, 1.6vw, 22px); font-weight: 700; letter-spacing: -.015em; }
em, .it { font-family: var(--serif); font-style: normal; font-weight: 600; letter-spacing: -.03em;}
.display em, .h1 em, .h2 em, .h3 em { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.dark .display em, .dark .h1 em, .dark .h2 em, .dark .h3 em, .phero em, .hero em, .footer em { background: var(--grad-text-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(15px, 1.08vw, 16.5px); line-height: 1.75; color: var(--body); }
.dark .lead { color: var(--on-dark-2); }
.muted { color: var(--muted); }
.head { max-width: 760px; margin-bottom: clamp(44px, 5vw, 72px); }
.head.center { margin-left: auto; margin-right: auto; }
.head .lead { margin-top: 22px; }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(44px, 5vw, 72px); }
.head-row .head { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--grad-btn); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 8px 0 24px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-size: 14px; font-weight: 700; letter-spacing: .01em; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease-out), box-shadow .4s, background .3s, color .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--ink); transform: translateY(101%); transition: transform .55s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn .btn-ic {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .18); transition: transform .5s var(--ease-out), background .3s;
}
.btn .btn-ic .ic { width: 18px; height: 18px; }
.btn:hover .btn-ic { transform: rotate(-45deg); background: var(--grad-btn); }
.btn-primary { box-shadow: 0 16px 40px -16px rgba(83, 180, 66, .75); background-size: 160% 100%; transition: transform .5s var(--ease-out), box-shadow .4s, background-position .6s; }
.btn-primary:hover { background-position: 100% 0; }
.btn-light { --bg: #fff; --fg: var(--ink); }
.btn-light .btn-ic { background: var(--ink); color: #fff; }
.btn-light:hover { color: #fff; }
.btn-dark { --bg: var(--ink); --fg: #fff; }
.btn-dark::before { background: var(--grad-btn); }
.btn-dark:hover .btn-ic { background: var(--ink); }
.btn-ghost { --bg: transparent; --fg: currentColor; border: 1px solid currentColor; padding: 0 26px; }
.btn-ghost::before { background: var(--grad-btn); }
.btn-ghost:hover { color: #fff; border-color: var(--green); }
.dark .btn-ghost { --fg: var(--on-dark); border-color: rgba(255, 255, 255, .28); }
.btn-sm { height: 46px; font-size: 14px; padding-left: 22px; }
.btn-sm .btn-ic { width: 32px; height: 32px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.link-arrow .ic { transition: transform .4s var(--ease-out); }
.link-arrow:hover .ic { transform: translateX(5px); }
.link-arrow:hover { color: var(--green-deep); }
.dark .link-arrow { color: var(--on-dark); }
.dark .link-arrow:hover { color: var(--green-hi); }

/* ==========================================================================
   Announcement bar + Header
   ========================================================================== */
.topbar {
  position: relative; z-index: 60; background: linear-gradient(90deg, #2a2a2a, #3a3a3a); color: #ececec;
  font-size: 13px; font-weight: 600; letter-spacing: .01em;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 42px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }
.topbar .ic { width: 15px; height: 15px; }
.topbar-l, .topbar-r { display: flex; align-items: center; gap: 26px; }
.topbar .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green-hi); box-shadow: 0 0 0 0 rgba(143, 209, 112, .7); animation: pulse 2.2s infinite; }
.topbar .new { padding: 2px 9px; border-radius: 99px; background: var(--grad); color: #fff; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(143, 209, 112, 0); } 100% { box-shadow: 0 0 0 0 rgba(143, 209, 112, 0); } }

.header {
  position: absolute; left: 0; right: 0; top: 42px; z-index: 50;
  color: var(--on-dark);
  transition: background .4s, transform .5s var(--ease-out), box-shadow .4s, top .3s;
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.header.is-fixed {
  position: fixed; top: 0;
  background: rgba(28, 28, 28, .72);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 var(--line-d);
  --header-h: 72px;
}
.header.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 42px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav > li > a, .nav > li > button {
  display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 15px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; color: rgba(236, 238, 233, .82);
  transition: color .25s, background .25s;
}
.nav > li > a:hover, .nav > li > button:hover, .nav > li:focus-within > button { color: #fff; background: rgba(255, 255, 255, .07); }
.nav > li.is-current > a, .nav > li.is-current > button { color: #fff; }
.nav > li.is-current > a::after, .nav > li.is-current > button::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--green-hi);
}
.nav .chev { width: 14px; height: 14px; transition: transform .3s; }
.nav > li:hover .chev, .nav > li:focus-within .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; left: 50%; top: calc(100% + 14px); min-width: 290px;
  padding: 10px; border-radius: 20px;
  background: rgba(40, 40, 40, .95); border: 1px solid var(--line-d);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .3s, transform .4s var(--ease-out), visibility .3s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav > li:hover .dropdown, .nav > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a {
  display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-radius: 12px;
  font-size: 14.5px; font-weight: 600; color: rgba(236, 238, 233, .82);
  transition: background .2s, color .2s;
}
.dropdown a:hover, .dropdown a.is-current { background: rgba(255, 255, 255, .06); color: #fff; }
.dropdown a .dd-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(83, 180, 66, .12); color: var(--green-hi); flex: none; }
.dropdown a .dd-ic .ic { width: 18px; height: 18px; }
.dropdown a small { display: block; font-size: 12px; font-weight: 500; color: var(--on-dark-2); margin-top: 1px; }
.dropdown a.feature { background: linear-gradient(120deg, rgba(143, 209, 112, .2), rgba(83, 180, 66, .16)); border: 1px solid rgba(143, 209, 112, .28); margin-bottom: 6px; }
.dropdown .tag-new { margin-left: auto; padding: 2px 8px; border-radius: 99px; background: var(--grad); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .1em; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { height: 48px; font-size: 14px; padding-left: 22px; }
.header-cta .btn .btn-ic { width: 34px; height: 34px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); place-items: center; color: #fff; }
.burger .ic { width: 22px; height: 22px; }

/* Mobile menu */
.mnav {
  position: fixed; inset: 0; z-index: 100; background: var(--ink);
  display: flex; flex-direction: column; padding: 18px var(--gutter) 30px;
  clip-path: circle(0% at calc(100% - 44px) 44px); visibility: hidden;
  transition: clip-path .7s var(--ease-out), visibility .7s;
  overflow-y: auto;
}
.mnav.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.mnav-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.mnav-top img { height: 38px; width: auto; }
.mnav-close { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-d); display: grid; place-items: center; color: #fff; }
.mnav-list > li { border-bottom: 1px solid var(--line-d); opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .6s var(--ease-out); }
.mnav.is-open .mnav-list > li { opacity: 1; transform: none; }
.mnav-list > li > a, .mnav-list > li > button {
  display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 16px 0;
  font-family: var(--serif); font-size: 27px; line-height: 1.1; color: var(--on-dark); text-align: left; font-weight: 600; letter-spacing: -.03em;}
.mnav-list > li.is-current > a, .mnav-list > li.is-current > button { color: var(--green-hi); }
.mnav-list button .ic { width: 22px; height: 22px; transition: transform .3s; }
.mnav-list button[aria-expanded="true"] .ic { transform: rotate(180deg); }
.mnav-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.mnav-sub > div { overflow: hidden; }
.mnav-sub.is-open { grid-template-rows: 1fr; }
.mnav-sub a { display: block; padding: 8px 0 8px 14px; color: var(--on-dark-2); font-weight: 600; border-left: 1px solid var(--line-d); }
.mnav-sub a:last-child { margin-bottom: 16px; }
.mnav-sub a.feature { color: var(--green-hi); }
.mnav-foot { margin-top: auto; padding-top: 30px; display: grid; gap: 12px; color: var(--on-dark-2); font-size: 15px; }
.mnav-foot a { display: flex; gap: 10px; align-items: center; }

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero {
  position: relative; min-height: calc(100vh - 42px); min-height: max(560px, calc(100svh - 42px));
  display: flex; align-items: stretch; color: var(--on-dark); background: var(--ink); overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero-slide.is-active { opacity: 1; }
.hero-slide.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(0, 0, 0); } to { transform: scale(1.02) translate3d(-1.5%, -1%, 0); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(28, 28, 28, .55) 0%, rgba(28, 28, 28, .15) 30%, rgba(28, 28, 28, .55) 62%, rgba(28, 28, 28, .96) 100%),
    linear-gradient(90deg, rgba(28, 28, 28, .82) 0%, rgba(28, 28, 28, .2) 65%);
}
.hero-inner { width: 100%; display: flex; flex-direction: column; padding-top: calc(var(--header-h) + clamp(14px, 3vh, 48px)); padding-bottom: clamp(18px, 3vh, 34px); }
.hero-inner > .wrap { flex: 1; display: flex; flex-direction: column; }
.hero-grid { flex: 1; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.hero-copy { max-width: 900px; }
.hero-eyebrow { color: var(--green-hi); }
.hero-texts { position: relative; display: grid; }
.hero-text { grid-area: 1 / 1; }
.hero-text:not(.is-active) { pointer-events: none; }
.hero-text .display { color: #fff; }
.hero-text .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-text .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease-out); }
.hero-text .eyebrow, .hero-text .lead { opacity: 0; transform: translateY(16px); transition: opacity .8s, transform 1s var(--ease-out); }
.hero-text.is-active .line > span { transform: none; }
.hero-text.is-active .line:nth-child(2) > span { transition-delay: .08s; }
.hero-text.is-active .line:nth-child(3) > span { transition-delay: .16s; }
.hero-text.is-active .eyebrow { opacity: 1; transform: none; }
.hero-text.is-active .lead { opacity: 1; transform: none; transition-delay: .3s; }
.hero-text.is-leaving .line > span { transform: translateY(-110%); transition: transform .7s cubic-bezier(.7, 0, .84, 0); }
.hero-text.is-leaving .eyebrow, .hero-text.is-leaving .lead { opacity: 0; transition-duration: .4s; }
.hero .lead { color: rgba(236, 238, 233, .82); max-width: 520px; margin: 18px 0 0; }
.hero .btn-row { margin-top: 30px; }

.batch-card {
  width: 330px; padding: 24px; border-radius: 26px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7);
}
.batch-card .bc-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--green-hi); }
.batch-card .bc-date { font-family: var(--serif); font-size: 29px; line-height: 1.05; color: #fff; margin: 12px 0 16px; font-weight: 600; letter-spacing: -.03em;}
.cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cd > div { text-align: center; padding: 12px 4px 10px; border-radius: 14px; background: rgba(0, 0, 0, .25); }
.cd > div:first-child { background: var(--grad-btn); }
.cd b { display: block; font-size: 24px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.1; }
.cd span { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.batch-card .btn { width: 100%; justify-content: space-between; margin-top: 18px; }

.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: clamp(20px, 4vh, 48px); padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero-dots { display: flex; gap: 30px; flex: 1; }
.hero-dot { flex: 1; max-width: 240px; text-align: left; color: rgba(236, 238, 233, .55); font-size: 13px; font-weight: 600; transition: color .3s; }
.hero-dot .bar { display: block; height: 2px; background: rgba(255, 255, 255, .18); margin-bottom: 12px; overflow: hidden; }
.hero-dot .bar i { display: block; height: 100%; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active { color: #fff; }
.hero-dot.is-active .bar i { animation: bar 7s linear forwards; }
.hero-dot.is-done .bar i { transform: scaleX(1); }
@keyframes bar { to { transform: scaleX(1); } }
.scroll-cue { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-2); }
.scroll-cue .mouse { width: 22px; height: 34px; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 12px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 3px; background: var(--green-hi); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* ---------- Inner page hero ---------- */
.phero { position: relative; color: var(--on-dark); background: var(--ink); overflow: hidden; isolation: isolate; padding: 230px 0 clamp(70px, 8vw, 110px); }
.phero-bg { position: absolute; inset: 0; z-index: -2; }
.phero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: kenburns 14s ease-out forwards; opacity: .55; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(28, 28, 28, .5), rgba(28, 28, 28, .35) 40%, rgba(28, 28, 28, .95)), radial-gradient(900px 400px at 85% 100%, rgba(83, 180, 66, .28), transparent 70%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; color: var(--on-dark-2); margin-bottom: 26px; }
.crumbs a:hover { color: #fff; }
.crumbs .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--green-hi); }
.phero .h1 { color: #fff; max-width: 1000px; }
.phero .lead { max-width: 640px; margin-top: 24px; color: rgba(236, 238, 233, .78); }
.phero-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; border: 1px solid var(--line-d); background: rgba(255, 255, 255, .05); color: var(--on-dark); }
.chip .ic { width: 16px; height: 16px; color: var(--green-hi); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; display: flex; user-select: none; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; flex: none; gap: 0; animation: marquee var(--dur, 40s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.words { padding: 34px 0; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); background: var(--ink); }
.words .item { display: flex; align-items: center; gap: 36px; padding-right: 36px; font-family: var(--serif); font-size: clamp(22px, 3vw, 37px); color: var(--on-dark); white-space: nowrap; font-weight: 600; letter-spacing: -.03em;}
.words .item:nth-child(even) { font-style: italic; color: transparent; -webkit-text-stroke: 1px rgba(236, 238, 233, .5); }
.words .star { width: 18px; height: 18px; color: var(--lime); }

/* ---------- About / collage ---------- */
.collage { position: relative; aspect-ratio: 1 / 1.02; }
.collage .c1 { position: absolute; left: 0; top: 0; width: 72%; height: 78%; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.collage .c2 { position: absolute; right: 0; bottom: 0; width: 50%; height: 56%; border-radius: var(--r-lg); overflow: hidden; border: 8px solid var(--paper); box-shadow: var(--shadow-lg); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .badge-years {
  position: absolute; left: 6%; bottom: 4%; display: flex; align-items: center; gap: 16px;
  padding: 18px 24px 18px 18px; border-radius: 22px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg);
}
.badge-years b { font-family: var(--serif); font-weight: 600; font-size: 54px; line-height: .9; color: var(--green-hi); letter-spacing: -.03em;}
.badge-years span { font-size: 14px; line-height: 1.35; font-weight: 600; max-width: 140px; color: var(--on-dark); }
.collage .badge-iso {
  position: absolute; right: 6%; top: 8%; width: 118px; height: 118px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; background: var(--grad); color: #fff; box-shadow: 0 18px 44px -16px rgba(83, 180, 66, .7);
  font-size: 11px; font-weight: 800; letter-spacing: .12em; line-height: 1.3; text-transform: uppercase;
}
.badge-iso strong { display: block; font-family: var(--serif); font-size: 18px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.rotate-ring { position: absolute; inset: -30px; animation: spin 18s linear infinite; }
.rotate-ring text { font-size: 9.6px; letter-spacing: .32em; fill: var(--green-deep); font-weight: 700; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; margin: 34px 0 40px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--text); line-height: 1.45; }
.checks .tick { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--green-wash); color: var(--green-deep); }
.checks .tick .ic { width: 15px; height: 15px; stroke-width: 2.4; }
.dark .checks li { color: var(--on-dark); }
.dark .checks .tick { background: rgba(83, 180, 66, .14); color: var(--green-hi); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-d); }
.stat { padding: 40px 28px 10px 0; border-right: 1px solid var(--line-d); }
.stat + .stat { padding-left: 28px; }
.stat:last-child { border-right: 0; }
.stat-n { font-family: var(--serif); font-size: clamp(42px, 5.6vw, 74px); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: -.03em;}
.stat-n sup { font-size: .4em; color: var(--lime); margin-left: 4px; vertical-align: top; position: relative; top: .35em; }
.stat-l { margin-top: 14px; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-2); }

/* ---------- Countdown band ---------- */
.countdown-band { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: clamp(36px, 5vw, 60px); border-radius: var(--r-xl); background: var(--ink-3); border: 1px solid var(--line-d); position: relative; overflow: hidden; }
.countdown-band::before { content: ""; position: absolute; right: -10%; top: -60%; width: 60%; height: 220%; background: radial-gradient(closest-side, rgba(83, 180, 66, .3), transparent); }
.cd-lg { display: flex; gap: 14px; position: relative; }
.cd-lg > div { width: 112px; padding: 22px 0 16px; text-align: center; border-radius: 22px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-d); }
.cd-lg > div:first-child { background: var(--grad-btn); border-color: transparent; box-shadow: 0 18px 44px -18px rgba(83, 180, 66, .8); }
.cd-lg b { display: block; font-family: var(--serif); font-weight: 600; font-size: 49px; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.03em;}
.cd-lg span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: rgba(255, 255, 255, .7); }

/* ---------- Subject cards ---------- */
.subjects { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.subject {
  position: relative; display: block; aspect-ratio: 3 / 4.2; border-radius: var(--r-lg); overflow: hidden; color: #fff; isolation: isolate;
  background: var(--ink);
}
.subject img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(1) contrast(1.05); transform: scale(1.04); transition: transform 1.2s var(--ease-out), filter .8s; }
.subject::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(28, 28, 28, .1) 30%, rgba(28, 28, 28, .9)); transition: background .6s; }
.subject:hover img { transform: scale(1.12); filter: grayscale(0); }
.subject:hover::after { background: linear-gradient(180deg, rgba(60, 60, 60, .05) 20%, rgba(32, 32, 32, .92)); }
.subject .idx { position: absolute; top: 22px; left: 24px; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: rgba(255, 255, 255, .7); }
.subject .go { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .4s, transform .6s var(--ease-out); }
.subject:hover .go { background: var(--grad-btn); transform: rotate(-45deg); }
.subject .s-body { position: absolute; left: 24px; right: 24px; bottom: 24px; }
.subject h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 2vw, 25px); color: #fff; line-height: 1.05; letter-spacing: -.03em;}

.pill-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 44px; padding: 10px 10px 10px 30px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.pill-cta p { margin: 0; font-weight: 600; color: var(--text); }

/* ---------- Perks ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-d); border-radius: var(--r-lg); overflow: hidden; }
.perk { padding: 34px 28px; border-right: 1px solid var(--line-d); transition: background .4s; }
.perk:last-child { border-right: 0; }
.perk:hover { background: rgba(255, 255, 255, .03); }
.perk .p-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(143, 209, 112, .18), rgba(83, 180, 66, .18)); color: var(--lime); margin-bottom: 26px; }
.perk .p-ic .ic { width: 26px; height: 26px; }
.perk h3 { font-size: 16px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }

/* ---------- Roles bento ---------- */
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.role {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 210px;
  padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: transform .6s var(--ease-out), box-shadow .5s, border-color .4s;
}
.role::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(83, 180, 66, .16), transparent 45%); }
.role:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(83, 180, 66, .35); }
.role:hover::before { opacity: 1; }
.role .r-top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; }
.role .r-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--green-wash); color: var(--green-deep); transition: background .4s, color .4s, transform .6s var(--ease-out); }
.role .r-ic .ic { width: 26px; height: 26px; }
.role:hover .r-ic { background: var(--grad-btn); color: #fff; transform: rotate(-8deg) scale(1.05); }
.role .r-n { font-family: var(--serif); font-size: 18px; color: var(--muted); font-style: normal; font-weight: 600; letter-spacing: -.03em;}
.role h3 { position: relative; font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.05; letter-spacing: -.03em;}
.role.wide { grid-column: span 2; background: var(--ink); color: var(--on-dark-2); border-color: var(--ink); }
.role.wide h3 { color: #fff; }
.role.wide .r-ic { background: rgba(83, 180, 66, .14); color: var(--green-hi); }

/* ---------- Orientation / forms ---------- */
.orient { border-radius: var(--r-xl); overflow: hidden; position: relative; isolation: isolate; color: var(--on-dark-2); background: var(--ink-2); }
.orient-bg { position: absolute; inset: 0; z-index: -1; }
.orient-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.orient::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(28, 28, 28, .96) 30%, rgba(28, 28, 28, .6) 70%, rgba(22, 61, 23, .7)); }
.orient .split { padding: clamp(36px, 6vw, 90px); align-items: center; }
.orient h2 { color: #fff; }
.glass-form { padding: 34px; border-radius: 26px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.field { position: relative; margin-bottom: 14px; }
.field input, .field textarea, .field select {
  width: 100%; height: 60px; padding: 24px 20px 8px; border-radius: 16px; outline: 0;
  border: 1px solid var(--line); background: #fff; color: var(--text); font-size: 15.5px;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { height: 150px; resize: vertical; padding-top: 30px; }
.field label { position: absolute; left: 21px; top: 19px; font-size: 15px; color: var(--muted); pointer-events: none; transition: transform .25s var(--ease-out), font-size .25s, color .25s, top .25s; }
.field input:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(83, 180, 66, .15); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 9px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--green-deep); }
.glass-form .field input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
.glass-form .field label { color: rgba(236, 238, 233, .6); }
.glass-form .field input:focus + label, .glass-form .field input:not(:placeholder-shown) + label { color: var(--green-hi); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-msg { margin-top: 14px; font-size: 14px; font-weight: 600; min-height: 1.4em; }
.form-msg.ok { color: var(--green-hi); }
.paper .form-msg.ok, .ivory .form-msg.ok { color: var(--green-deep); }
.form-msg.err { color: #ff8a7a; }
.paper .form-msg.err { color: #c43d2b; }
.btn[disabled] { opacity: .65; pointer-events: none; }
.hp { position: absolute; left: -9999px; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.member { position: relative; }
.member .m-img { position: relative; aspect-ratio: 1 / 1.08; border-radius: 200px 200px var(--r-lg) var(--r-lg); overflow: hidden; background: var(--ivory); }
.member .m-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.member:hover .m-img img { transform: scale(1.06); }
.member .m-social { position: absolute; left: 50%; bottom: 16px; display: flex; gap: 8px; transform: translate(-50%, 16px); opacity: 0; transition: opacity .4s, transform .5s var(--ease-out); }
.member:hover .m-social, .member:focus-within .m-social { opacity: 1; transform: translate(-50%, 0); }
.m-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink); transition: background .25s, color .25s; }
.m-social a:hover { background: var(--grad-btn); color: #fff; }
.m-social .ic { width: 17px; height: 17px; }
.member h3 { font-family: var(--serif); font-weight: 600; font-size: 20px; margin-top: 20px; letter-spacing: -.03em;}
.member p { margin: 4px 0 0; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-deep); }

/* ---------- Certificate CTA ---------- */
.cert { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--grad-deep); color: rgba(255, 255, 255, .82); isolation: isolate; }
.cert::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 400px at 80% 30%, rgba(143, 209, 112, .32), transparent 70%), radial-gradient(500px 400px at 40% 120%, rgba(83, 180, 66, .5), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(0, 0, 0, .35), transparent 70%); }
.cert-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; }
.cert-copy { padding: clamp(40px, 6vw, 96px); }
.cert .script { font-family: var(--serif); font-style: normal; font-size: clamp(39px, 5.6vw, 74px); line-height: .95; color: #fff; font-weight: 600; letter-spacing: -.03em;}
.cert h2 { font-family: var(--sans); font-size: clamp(20px, 2vw, 28px); font-weight: 600; color: rgba(255, 255, 255, .9); margin: 24px 0 36px; max-width: 520px; letter-spacing: -.01em; line-height: 1.35; }
.cert-img { align-self: end; }
.cert-img img { width: 100%; max-width: 520px; margin-left: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }

/* ---------- Testimonials ---------- */
.t-slider { display: grid; grid-auto-flow: column; grid-auto-columns: min(560px, 86vw); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; padding: 6px var(--gutter) 30px; margin: 0 calc(var(--gutter) * -1); cursor: grab; }
.t-slider::-webkit-scrollbar { display: none; }
.t-slider.is-drag { cursor: grabbing; scroll-snap-type: none; }
.t-card { scroll-snap-align: start; display: flex; flex-direction: column; padding: 38px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); user-select: none; }
.t-card .q { width: 44px; height: 44px; color: var(--green); }
.t-card blockquote { margin: 20px 0 26px; font-family: var(--serif); font-size: clamp(15px, 1.45vw, 18px); line-height: 1.35; color: var(--text); flex: 1; font-weight: 600; letter-spacing: -.03em;}
.t-who { display: flex; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.t-who img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.t-who b { display: block; color: var(--text); font-size: 16px; }
.stars { display: flex; gap: 3px; color: var(--gold); }
.stars svg { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.t-nav { display: flex; gap: 10px; }
.round-btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--text); transition: background .3s, color .3s, border-color .3s, transform .3s; }
.round-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.round-btn .ic { width: 20px; height: 20px; }

/* ---------- Dual cards ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.duo-card { padding: 30px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease-out), box-shadow .4s; }
.duo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.duo-card.dark-card { background: var(--ink); border-color: var(--ink); color: var(--on-dark-2); }
.duo-card.dark-card h3 { color: #fff; }
.duo-card .d-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--grad-btn); color: #fff; margin-bottom: 22px; }
.duo-card h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; margin-bottom: 12px; letter-spacing: -.03em;}
.duo-card p { margin: 0; font-size: 14.5px; }
.frame { border-radius: var(--r-xl); overflow: hidden; position: relative; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-tall { aspect-ratio: 4 / 5; }

/* ---------- Logos ---------- */
.logos { padding: 50px 0; }
.logos .item { padding: 0 34px; display: grid; place-items: center; }
.logos img { height: 64px; width: auto; filter: grayscale(1); opacity: .6; mix-blend-mode: multiply; transition: filter .4s, opacity .4s; }
.logos img:hover { filter: none; opacity: 1; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { position: relative; background: var(--ink); color: var(--on-dark-2); overflow: hidden; }
.footer-cta { padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 7vw, 90px); border-bottom: 1px solid var(--line-d); display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.footer-cta .display { color: #fff; font-size: clamp(40px, 5.4vw, 84px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding: 70px 0 50px; }
.footer h4 { font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 24px; }
.footer ul li { margin-bottom: 12px; }
.footer ul a { position: relative; transition: color .25s; }
.footer ul a:hover { color: #fff; }
.footer ul a::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px; background: var(--green-hi); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.footer ul a:hover::after { transform: scaleX(1); transform-origin: left; }
.f-brand img { height: 44px; width: auto; margin-bottom: 22px; }
.f-brand p { max-width: 330px; }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-d); color: var(--on-dark); transition: background .3s, border-color .3s, transform .4s var(--ease-out); }
.socials a:hover { background: var(--grad-btn); border-color: transparent; transform: translateY(-3px); }
.socials .ic { width: 18px; height: 18px; }
.f-sub { margin-top: 30px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.f-sub img { height: 36px; width: auto; margin-top: 12px; opacity: .9; }
.f-contact li { display: flex; gap: 12px; }
.f-contact .ic { width: 18px; height: 18px; color: var(--green-hi); margin-top: 4px; }
.f-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0 30px; border-top: 1px solid var(--line-d); font-size: 13.5px; }
.f-word { font-family: var(--serif); font-size: clamp(76px, 22vw, 286px); line-height: .8; letter-spacing: -.035em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .08); margin-bottom: -.12em; user-select: none; pointer-events: none; font-weight: 600;}

/* Floating actions */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.fab a, .fab button { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); transition: transform .4s var(--ease-out), opacity .3s; }
.fab .wa { background: #25d366; color: #fff; }
.fab .wa .ic { width: 26px; height: 26px; }
.fab .top { background: var(--ink); color: #fff; opacity: 0; transform: translateY(10px); pointer-events: none; border: 1px solid var(--line-d); }
.fab .top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fab a:hover, .fab button:hover { transform: translateY(-3px); }
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 120; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.prose { font-size: 15.5px; line-height: 1.8; }
.prose p { margin-bottom: 1.3em; }
.prose strong { color: var(--text); }
.prose a { color: var(--green-deep); font-weight: 700; border-bottom: 1px solid rgba(45, 122, 42, .3); }
.prose a:hover { border-color: var(--green-deep); }
.prose .lead-first::first-letter { font-family: var(--serif); float: left; font-size: 4.6em; line-height: .78; padding: 6px 12px 0 0; color: var(--emerald); font-weight: 600; letter-spacing: -.03em;}
.pull { font-family: var(--serif); font-size: clamp(18px, 2.1vw, 25px); line-height: 1.25; color: var(--text); padding: 6px 0 6px 28px; border-left: 3px solid var(--emerald); margin: 40px 0; font-weight: 600; letter-spacing: -.03em;}
.dark .pull { color: #fff; }

.layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(40px, 5vw, 80px); align-items: start; }
.sticky { position: sticky; top: 110px; }
.facts { border-radius: var(--r-lg); background: var(--grad-deep); color: var(--on-dark-2); padding: 34px; overflow: hidden; position: relative; }
.facts::before { content: ""; position: absolute; right: -40%; top: -40%; width: 100%; height: 100%; background: radial-gradient(closest-side, rgba(83, 180, 66, .25), transparent); }
.facts h3 { color: #fff; font-family: var(--serif); font-weight: 600; font-size: 25px; margin-bottom: 22px; position: relative; letter-spacing: -.03em;}
.facts dl { margin: 0; position: relative; }
.facts dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line-d); font-size: 14.5px; }
.facts dt { color: var(--on-dark-2); }
.facts dd { margin: 0; color: #fff; font-weight: 700; text-align: right; }
.facts .next { margin: 26px 0 20px; padding: 20px; border-radius: 18px; background: rgba(83, 180, 66, .12); border: 1px solid rgba(143, 209, 112, .25); position: relative; }
.facts .next small { display: block; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--green-hi); }
.facts .next b { font-family: var(--serif); font-weight: 600; font-size: 27px; color: #fff; letter-spacing: -.03em;}
.facts .btn { width: 100%; justify-content: space-between; position: relative; }

.media-wide { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 2 / 1; margin-bottom: clamp(40px, 5vw, 64px); box-shadow: var(--shadow-lg); }
.media-wide img { width: 100%; height: 100%; object-fit: cover; }

/* Tabs */
.tabs-nav { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: var(--ivory); border: 1px solid var(--line); margin-bottom: 34px; }
.tabs-nav button { height: 46px; padding: 0 22px; border-radius: 999px; font-size: 14.5px; font-weight: 700; color: var(--body); transition: background .3s, color .3s, box-shadow .3s; }
.tabs-nav button:hover { color: var(--text); }
.tabs-nav button[aria-selected="true"] { background: var(--grad-deep); color: #fff; box-shadow: var(--shadow); }
.tabs-nav button .count { margin-left: 6px; font-size: 12px; opacity: .6; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp .6s var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Accordion */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item > button { width: 100%; display: flex; align-items: center; gap: 22px; padding: 24px 0; text-align: left; color: var(--text); font-size: clamp(16px, 1.3vw, 19px); font-weight: 700; letter-spacing: -.01em; }
.acc-item .n { font-family: var(--serif); font-style: normal; font-weight: 600; font-size: 18px; color: var(--green-deep); min-width: 36px; letter-spacing: -.03em;}
.acc-item .pm { margin-left: auto; width: 42px; height: 42px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .45s var(--ease-out), background .3s, color .3s, border-color .3s; }
.acc-item .pm .ic { width: 18px; height: 18px; }
.acc-item > button:hover .pm { border-color: var(--green); color: var(--green-deep); }
.acc-item.is-open .pm { transform: rotate(45deg); background: var(--green); border-color: var(--green); color: #fff; }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.acc-body > div { overflow: hidden; }
.acc-item.is-open .acc-body { grid-template-rows: 1fr; }
.acc-body p { padding: 0 64px 26px 58px; margin: 0; color: var(--body); max-width: 860px; }

.faq-search { position: relative; max-width: 560px; margin: 0 auto 50px; }
.faq-search input { width: 100%; height: 64px; padding: 0 24px 0 58px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 16px; outline: 0; box-shadow: var(--shadow); transition: border-color .25s, box-shadow .25s; }
.faq-search input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(83, 180, 66, .15); }
.faq-search .ic { position: absolute; left: 22px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); }
.faq-empty { display: none; text-align: center; color: var(--muted); padding: 30px 0; }

/* Cards: courses, vision, awards */
.ccard { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .6s var(--ease-out), box-shadow .5s; }
.ccard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.ccard .cc-img { aspect-ratio: 16 / 10; overflow: hidden; }
.ccard .cc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.ccard:hover .cc-img img { transform: scale(1.07); }
.ccard .cc-body { padding: 30px; display: flex; flex-direction: column; flex: 1; }
.ccard .cc-n { font-size: 12px; font-weight: 800; letter-spacing: .2em; color: var(--green-deep); margin-bottom: 12px; }
.ccard h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; margin-bottom: 12px; letter-spacing: -.03em;}
.ccard p { flex: 1; }
.ccard .link-arrow { margin-top: 10px; }

.vision { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-d); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-d); }
.v-item { background: var(--ink); padding: 36px 30px 40px; transition: background .4s; }
.v-item:hover { background: var(--ink-3); }
.v-item .v-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(83, 180, 66, .12); color: var(--green-hi); margin-bottom: 30px; }
.v-item .v-ic .ic { width: 26px; height: 26px; }
.v-item h3 { font-size: 13px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--green-hi); margin-bottom: 14px; }
.v-item p { font-family: var(--serif); font-size: 18px; line-height: 1.3; color: var(--on-dark); margin: 0; font-weight: 600; letter-spacing: -.03em;}

.awards { border-top: 1px solid var(--line); }
.award { display: grid; grid-template-columns: 90px 1fr auto; gap: 30px; align-items: center; padding: 32px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease-out), background .4s; position: relative; }
.award::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -.5); border-radius: 20px; background: var(--ivory); opacity: 0; z-index: -1; transition: opacity .4s; }
.award:hover::before { opacity: 1; }
.award .a-n { font-family: var(--serif); font-style: normal; font-size: 34px; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 600; letter-spacing: -.03em;}
.award h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 2.4vw, 29px); line-height: 1.15; letter-spacing: -.03em;}
.award p { margin: 6px 0 0; font-weight: 600; color: var(--muted); }
.award .a-yr { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; }
.award .a-yr .ic { width: 16px; height: 16px; color: var(--green-hi); }

.featlist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 30px 0 40px; }
.featlist li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--text); transition: border-color .3s, transform .4s var(--ease-out); }
.featlist li:hover { border-color: rgba(83, 180, 66, .5); transform: translateX(4px); }
.featlist .n { font-family: var(--serif); font-style: normal; font-weight: 600; color: var(--green-deep); font-size: 17px; min-width: 26px; letter-spacing: -.03em;}

.kgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 34px 0 40px; }
.kcard { padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease-out), box-shadow .4s; }
.kcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.kcard .k-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--green-wash); color: var(--green-deep); margin-bottom: 18px; }
.kcard h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; letter-spacing: -.01em; }
.kcard p { margin: 0; font-size: 15px; }

.callout { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: var(--grad-deep); color: var(--on-dark-2); margin-top: 40px; position: relative; overflow: hidden; }
.callout::before { content: ""; position: absolute; right: -10%; top: -80%; width: 50%; height: 260%; background: radial-gradient(closest-side, rgba(143, 209, 112, .22), transparent); }
.callout > * { position: relative; }
.callout h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2.6vw, 30px); color: #fff; margin-bottom: 8px; letter-spacing: -.03em;}
.callout p { margin: 0; }
.callout a.inline { color: var(--green-hi); font-weight: 700; }

.contact-cards { display: grid; gap: 14px; }
.cc-card { display: flex; gap: 18px; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease-out); }
.cc-card:hover { border-color: rgba(83, 180, 66, .5); transform: translateY(-3px); }
.cc-card .k-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-btn); color: #fff; flex: none; }
.cc-card small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.cc-card a, .cc-card span { color: var(--text); font-weight: 700; }
.map { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21 / 8; background: var(--ivory); position: relative; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.map-load { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; gap: 12px; }

.err-page { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 160px var(--gutter) 80px; }
.err-page .display { font-size: clamp(120px, 24vw, 300px); line-height: .85; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .3); }

/* ==========================================================================
   Championship (legacy content restyled)
   ========================================================================== */
.trophy-body { font-size: 15px; }
.trophy-body .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.trophy-body .row > [class*="col"] { padding: 0 10px; width: 100%; }
@media (min-width: 768px) {
  .trophy-body .col-md-2 { width: 16.666%; } .trophy-body .col-md-3 { width: 25%; } .trophy-body .col-md-6 { width: 50%; }
  .trophy-body .col-md-8 { width: 66.666%; } .trophy-body .col-md-12 { width: 100%; }
}
@media (min-width: 576px) and (max-width: 767.98px) { .trophy-body .col-sm-6 { width: 50%; } }
.trophy-body .text-center { text-align: center; }
.trophy-body .text-right { text-align: right; }
.trophy-body .text-muted { color: var(--muted); }
.trophy-body .small, .trophy-body small { font-size: 13px; }
.trophy-body .mb-4, .trophy-body .my-4 { margin-bottom: 24px; }
.trophy-body .mt-4, .trophy-body .my-4 { margin-top: 24px; }
.trophy-body .my-5, .trophy-body .mt-5 { margin-top: 40px; }
.trophy-body .my-5 { margin-bottom: 40px; }
.trophy-body .d-flex { display: flex; } .trophy-body .align-items-center { align-items: center; } .trophy-body .justify-content-center { justify-content: center; }
.trophy-body h2, .trophy-body h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.8vw, 34px); margin: 0 0 22px; display: flex; align-items: center; justify-content: inherit; gap: 12px; flex-wrap: wrap; letter-spacing: -.03em;}
.trophy-body h4 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.trophy-body h5, .trophy-body h6 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.trophy-body .ic { color: var(--green); }
.trophy-body img { border-radius: 14px; }
.trophy-body p { margin-bottom: .8em; }
.trophy-body a { color: var(--green-deep); font-weight: 700; }
.t-title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.t-title .ic { width: 28px; height: 28px; }

/* Tab navigation (trophy) */
.ttabs { position: sticky; top: 72px; z-index: 20; padding: 14px 0; margin-bottom: 40px; background: rgba(251, 250, 246, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.ttabs .tabs-nav { margin: 0; display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-radius: 999px; }
.ttabs .tabs-nav::-webkit-scrollbar { display: none; }
.ttabs .tabs-nav button { white-space: nowrap; flex: none; text-transform: capitalize; }

/* Summary cards (2026 page) */
.day-summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0 16px; }
.day-summary-card { border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); text-align: center; transition: transform .5s var(--ease-out), box-shadow .4s; }
.day-summary-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.day-summary-header { padding: 16px; background: var(--ink); color: #fff; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.day-summary-card:nth-child(2) .day-summary-header { background: var(--green-ink); }
.day-summary-card:nth-child(3) .day-summary-header { background: var(--green-deep); }
.day-summary-date { display: block; font-size: 12.5px; letter-spacing: .04em; text-transform: none; font-weight: 600; opacity: .75; margin-top: 3px; }
.day-summary-body { padding: 24px 16px 22px; }
.day-summary-body .stat-value { display: block; font-family: var(--serif); font-size: 45px; line-height: 1; color: var(--text); font-weight: 600; letter-spacing: -.03em;}
.day-summary-body .stat-label, .day-summary-total .stat-label { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.day-summary-time { margin-top: 14px; font-weight: 700; color: var(--green-deep); font-size: 14px; }
.day-summary-total { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 22px; background: var(--ink); color: #fff; overflow: hidden; }
.day-summary-total .stat-item { padding: 24px; text-align: center; border-right: 1px solid var(--line-d); }
.day-summary-total .stat-item:last-child { border-right: 0; }
.day-summary-total .stat-value { display: block; font-family: var(--serif); font-size: 39px; line-height: 1; color: var(--green-hi); font-weight: 600; letter-spacing: -.03em;}
.day-summary-total .stat-label { color: var(--on-dark-2); }

.info-card { height: 100%; padding: 30px 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); text-align: center; margin-bottom: 20px; transition: transform .5s var(--ease-out), box-shadow .4s; }
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.info-card .circle { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--green-hi); font-family: var(--serif); font-size: 27px; font-weight: 600; letter-spacing: -.03em;}
.info-card h5 { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.info-card .divider { width: 30px; height: 2px; background: var(--green); margin: 12px auto; }
.info-card p { color: var(--body); font-size: 14.5px; margin: 0; }

.enrol-grid, .prize-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.enrol-card, .rule-item, .group-card, .ground-schedule, .knockout-card, .venue-card, .card { border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.enrol-card-header, .rule-header, .card-header, .ground-title, .stage-header, .group-header { padding: 16px 22px; background: var(--ink); color: #fff; font-weight: 800; font-size: 14.5px; letter-spacing: .02em; display: flex; align-items: center; gap: 10px; }
.enrol-card-header .ic, .rule-header .ic, .card-header .ic, .stage-header .ic { color: var(--green-hi); width: 18px; height: 18px; }
.enrol-list { padding: 10px 22px 18px; }
.enrol-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.enrol-list li:last-child { border-bottom: 0; }
.enrol-list li .ic { width: 18px; height: 18px; margin-top: 3px; }
.enrol-list-plain li { justify-content: space-between; }
.enrol-list-plain li span { color: var(--muted); }
.enrol-list-plain li strong { color: var(--text); text-align: right; }

.participant-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.participant-chip { display: flex; align-items: center; gap: 12px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--text); transition: border-color .3s, transform .4s var(--ease-out); }
.participant-chip:hover { border-color: rgba(83, 180, 66, .5); transform: translateY(-3px); }
.participant-chip .ic { width: 22px; height: 22px; }

.rules-accordion { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.rule-body { padding: 16px 22px 20px; }
.rule-body ul { display: grid; gap: 10px; }
.rule-body li { position: relative; padding-left: 20px; }
.rule-body li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.rule-note { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--muted); }

.championship-header { padding: 36px; border-radius: 26px; text-align: center; color: #fff; margin-bottom: 40px; background: var(--grad-deep); position: relative; overflow: hidden; }
.championship-header h2 { color: #fff; justify-content: center; margin-bottom: 6px; font-size: clamp(30px, 3.4vw, 48px); }
.championship-header p { margin: 0; color: rgba(255, 255, 255, .8); font-weight: 600; }
.section-title { text-align: center; justify-content: center; margin: 50px 0 26px !important; }
.groups-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.group-header { justify-content: center; letter-spacing: .14em; text-transform: uppercase; font-size: 12.5px; padding: 12px; }
.group-card:nth-child(4n+2) .group-header, .group-card:nth-child(4n+4) .group-header { background: var(--green-ink); }
.group-content { padding: 6px 18px 10px; }
.group-content li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--text); }
.group-content li:last-child { border-bottom: 0; }
.schedule-container { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ground-title { justify-content: center; }
.ground-schedule:nth-child(2) .ground-title { background: var(--green-ink); }
.match-table, .trophy-body table { width: 100%; border-collapse: collapse; font-size: 14px; }
.match-table th, .trophy-body table th { text-align: left; padding: 12px 14px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); background: var(--paper); border-bottom: 1px solid var(--line); }
.match-table td, .trophy-body table td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--text); }
.match-table tr:last-child td { border-bottom: 0; }
.match-table tbody tr:hover td, .trophy-body .table-hover tbody tr:hover td { background: var(--paper); }
.match-time { font-weight: 700; color: var(--green-deep) !important; white-space: nowrap; }
.match-number { font-weight: 800; color: var(--muted) !important; text-align: center; }
.match-teams { font-weight: 600; }
.break-row td, .lunch-row td { text-align: center; font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.break-row td { background: #f3f1ea !important; color: var(--charcoal) !important; }
.lunch-row td { background: var(--green-wash) !important; color: var(--green-deep) !important; }
.badge { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 800; background: var(--grad-btn); color: #fff; letter-spacing: .01em; }
.knockout-wrapper { display: grid; gap: 18px; max-width: 860px; margin: 0 auto; }
.stage-header { justify-content: center; }
.stage-header.semifinals { background: var(--green-ink); }
.stage-header.finals { background: var(--grad-btn); }
.sponsor-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.sponsor-card { border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 10px; transition: transform .4s var(--ease-out), box-shadow .3s; }
.sponsor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sponsor-card img { border-radius: 10px; }
.venue-card { display: grid; grid-template-columns: 1.2fr 1fr; }
.venue-card .venue-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.venue-card .venue-info { padding: 34px; }
.venue-card .venue-info h4 { font-family: var(--serif); font-weight: 600; font-size: 30px; display: flex; gap: 10px; align-items: center; letter-spacing: -.03em;}
.venue-card .venue-highlights { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.venue-card .venue-highlights > * { padding: 6px 12px; border-radius: 99px; background: var(--green-wash); color: var(--green-deep); font-weight: 700; font-size: 13px; }
.venue-card .venue-qr { display: flex; align-items: center; gap: 14px; margin-top: 16px; font-weight: 700; }
.venue-card .venue-qr img { width: 96px; border-radius: 10px; }
.prize-card { padding: 40px; border-radius: 26px; text-align: center; background: var(--ink); color: #fff; }
.prize-card.winner { background: var(--grad-deep); box-shadow: 0 18px 50px -18px rgba(83, 180, 66, .7); }
.prize-amount { display: block; font-family: var(--serif); font-size: clamp(45px, 6vw, 71px); line-height: 1; font-weight: 600; letter-spacing: -.03em;}
.prize-label { display: block; margin-top: 10px; font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.prize-contact { margin-top: 24px; text-align: center; font-weight: 600; }
.video-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.video-card { border-radius: 18px; overflow: hidden; background: var(--ink); aspect-ratio: 16 / 9; position: relative; }
.video-card iframe { width: 100%; height: 100%; border: 0; }
.yt { position: absolute; inset: 0; width: 100%; height: 100%; display: grid; place-items: center; }
.yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; opacity: .85; transition: opacity .3s, transform .8s var(--ease-out); }
.yt:hover img { opacity: 1; transform: scale(1.04); }
.yt .play { position: relative; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; box-shadow: var(--glow); transition: transform .4s var(--ease-out); }
.yt:hover .play { transform: scale(1.1); }
.yt .play .ic { width: 24px; height: 24px; fill: currentColor; color: #fff; margin-left: 3px; }
.card { margin-bottom: 18px; }
.card-body { padding: 0; }
.list-group { display: block; }
.list-group-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.list-group-item:last-child { border-bottom: 0; }
.list-group-item .icon, .list-group-item .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--green); flex: none; }
.table-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--line); background: #fff; margin-bottom: 26px; }
.table-wrap table { margin: 0; min-width: 640px; }
.trophy-body .table-primary th, .trophy-body .table-primary td, .trophy-body thead.table-primary th { background: var(--ink) !important; color: #fff !important; }
.trophy-body .table-info td, .trophy-body .table-info th { background: var(--green-wash) !important; color: var(--green-deep) !important; font-weight: 800; }
.trophy-body .table-warning td { background: #f3f1ea !important; text-align: center; font-weight: 700; }
.trophy-body .table-borderless td { border: 0; }

/* Past winners timeline */
.past { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line-d); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-d); }
.past .event { background: var(--ink); padding: 30px 22px; transition: background .4s; }
.past .event:hover { background: var(--ink-3); }
.past .event .yr { font-family: var(--serif); font-size: 39px; line-height: 1; color: #fff; font-weight: 600; letter-spacing: -.03em;}
.past .event .kind { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--green-hi); margin: 10px 0 20px; }
.past .event p { margin: 0 0 8px; font-size: 14px; color: var(--on-dark-2); }
.past .event p b { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.past .event p span { color: var(--on-dark); font-weight: 600; }

/* Trophy hero banner */
.t-banner { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 40px; }
.t-banner img { width: 100%; border-radius: 0; }
.t-intro { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; margin-bottom: 20px; }
.t-intro h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(27px, 3.6vw, 44px); letter-spacing: -.03em;}
.t-intro p { margin: 8px 0 0; }
.prize-pill { display: inline-flex; flex-direction: column; padding: 18px 26px; border-radius: 22px; background: var(--ink); color: var(--on-dark-2); }
.prize-pill b { font-family: var(--serif); font-weight: 600; font-size: 24px; color: #fff; letter-spacing: -.03em;}
.prize-pill small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; color: var(--green-hi); }

/* ==========================================================================
   Motion
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* The clip lives on the image, not the observed container (IntersectionObserver
   treats a fully clip-path'd target as invisible, so it would never reveal). */
.js [data-mask] { opacity: 0; transition: opacity .6s ease; transition-delay: var(--d, 0s); }
.js [data-mask].is-in { opacity: 1; }
.js [data-mask] img { clip-path: inset(0 0 100% 0); transform: scale(1.25); transition: clip-path 1.4s var(--ease-out), transform 1.8s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-mask].is-in img { clip-path: inset(0 0 0 0); transform: scale(1); }
.js .split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js .split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 45ms + var(--d, 0s)); }
.js .split-words.is-in .w > span { transform: none; }

.cursor { position: fixed; left: 0; top: 0; z-index: 200; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1px solid rgba(83, 180, 66, .8); pointer-events: none; transition: width .3s var(--ease-out), height .3s var(--ease-out), margin .3s var(--ease-out), background .3s, border-color .3s, opacity .3s; opacity: 0; mix-blend-mode: normal; }
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: rgba(83, 180, 66, .14); border-color: transparent; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .batch-card { width: 100%; max-width: 440px; }
  .roles { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .subjects { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .perk:nth-child(2) { border-right: 0; }
  .perk:nth-child(-n+2) { border-bottom: 1px solid var(--line-d); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .layout-side { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .vision { grid-template-columns: repeat(2, 1fr); }
  .past { grid-template-columns: repeat(3, 1fr); }
  .groups-grid, .participant-grid { grid-template-columns: repeat(2, 1fr); }
  .sponsor-grid { grid-template-columns: repeat(3, 1fr); }
  .countdown-band { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .split, .cert-grid, .footer-cta, .t-intro { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 30px 18px 20px 0; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line-d); }
  .stat:nth-child(4) { border-top: 1px solid var(--line-d); }
  .cert-img img { max-width: 380px; margin: 0 auto; }
  .cert-copy { padding-bottom: 0; }
  .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schedule-container, .rules-accordion, .enrol-grid, .venue-card { grid-template-columns: 1fr; }
  .video-gallery { grid-template-columns: 1fr 1fr; }
  .day-summary-grid { grid-template-columns: 1fr; }
  .topbar-r { display: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 72px; }
  body { font-size: 15.5px; }
  .topbar { font-size: 12px; }
  .topbar .wrap { justify-content: center; }
  .header { top: 42px; }
  .brand img { height: 36px; }
  .hero-inner { padding-top: 170px; padding-bottom: 34px; }
  .hero-foot { margin-top: 40px; }
  .hero-dot { font-size: 0; }
  .hero-dots { gap: 10px; }
  .scroll-cue { display: none; }
  .checks, .featlist, .kgrid, .duo, .form-row, .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .subjects { grid-template-columns: 1fr 1fr; gap: 12px; }
  .subject { aspect-ratio: 3 / 4.4; border-radius: 20px; }
  .subject h3 { font-size: 22px; }
  .subject .s-body { left: 16px; right: 16px; bottom: 16px; }
  .subject .go { width: 38px; height: 38px; top: 12px; right: 12px; }
  .subject .idx { left: 16px; top: 16px; }
  .roles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .role { min-height: 170px; padding: 18px; border-radius: 20px; }
  .role h3 { font-size: 22px; }
  .role .r-ic { width: 46px; height: 46px; }
  .role.wide { grid-column: span 2; }
  .perks { grid-template-columns: 1fr; }
  .perk { border-right: 0 !important; border-bottom: 1px solid var(--line-d); }
  .perk:last-child { border-bottom: 0; }
  .team { gap: 18px 12px; }
  .member h3 { font-size: 22px; }
  .member p { font-size: 11px; letter-spacing: .08em; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .cd-lg > div { width: auto; flex: 1; }
  .cd-lg b { font-size: 40px; }
  .pill-cta { border-radius: 24px; padding: 22px; }
  .vision { grid-template-columns: 1fr; }
  .award { grid-template-columns: 1fr; gap: 10px; }
  .acc-body p { padding: 0 0 22px 58px; }
  .tabs-nav { display: flex; }
  .tabs-nav button { flex: 1; padding: 0 12px; }
  .past { grid-template-columns: 1fr 1fr; }
  .groups-grid, .participant-grid, .sponsor-grid, .video-gallery { grid-template-columns: 1fr 1fr; }
  .day-summary-total .stat-value { font-size: 34px; }
  .map { aspect-ratio: 4 / 5; }
  .collage .badge-iso { width: 96px; height: 96px; }
  .badge-years b { font-size: 48px; }
  .glass-form { padding: 22px; }
  .fab { right: 14px; bottom: 14px; }
  .cursor { display: none; }
}

@media (hover: none) { .cursor { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-mask], .js [data-mask] img, .js .split-words .w > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* ==========================================================================
   v2 — Explorer (FAQ / curriculum): master–detail on desktop, compact accordion on mobile
   ========================================================================== */
[hidden] { display: none !important; }
.ex { display: grid; grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); column-gap: clamp(24px, 3vw, 44px); align-items: start; }
.ex-item { display: contents; }
.ex-q {
  grid-column: 1; display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 13px 16px; margin-bottom: 6px; border-radius: 14px; border: 1px solid transparent;
  font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--body);
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.ex-q .n { font-family: var(--serif); font-style: normal; font-size: 14px; color: var(--muted); min-width: 24px; font-weight: 600; letter-spacing: -.03em;}
.ex-q .t { flex: 1; }
.ex-q .chev-r { width: 16px; height: 16px; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .35s var(--ease-out); color: var(--emerald); }
.ex-q:hover { background: #fff; color: var(--text); border-color: var(--line); }
.ex-item.is-open .ex-q { background: #fff; color: var(--text); border-color: rgba(83, 180, 66, .35); box-shadow: var(--shadow); }
.ex-item.is-open .ex-q .n { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ex-item.is-open .ex-q .chev-r { opacity: 1; transform: none; }
.ex-a { grid-column: 2; grid-row: 1 / span 40; display: none; position: sticky; top: 120px; }
.ex-item.is-open .ex-a { display: block; animation: fadeUp .5s var(--ease-out); }
.ex-card {
  position: relative; overflow: hidden; padding: clamp(28px, 3.4vw, 46px); border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.ex-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.ex-card .ex-num { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--emerald); margin-bottom: 14px; }
.ex-card h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 2.2vw, 27px); line-height: 1.15; margin-bottom: 16px; letter-spacing: -.03em;}
.ex-card p { margin: 0; font-size: 15px; line-height: 1.8; }
.ex-card .ex-nav { display: flex; gap: 8px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.ex-card .ex-nav button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--text); transition: background .25s, color .25s, border-color .25s; }
.ex-card .ex-nav button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.ex-card .ex-nav .ic { width: 15px; height: 15px; }
.ex-card .ex-nav .count { margin-left: auto; align-self: center; font-size: 12.5px; color: var(--muted); font-weight: 600; }

@media (max-width: 899.98px) {
  .ex { display: block; }
  .ex-item { display: block; border-bottom: 1px solid var(--line); }
  .ex-q { margin: 0; padding: 16px 0; border-radius: 0; border: 0 !important; background: none !important; box-shadow: none !important; font-size: 14.5px; }
  .ex-q .chev-r { opacity: 1; transform: rotate(90deg); transition: transform .35s var(--ease-out); }
  .ex-item.is-open .ex-q .chev-r { transform: rotate(-90deg); }
  .ex-a { position: static; display: block; }
  .ex-item:not(.is-open) .ex-a { display: none; }
  .ex-card { padding: 0 0 18px 38px; border: 0; box-shadow: none; background: none; }
  .ex-card::before, .ex-card .ex-num, .ex-card h3, .ex-card .ex-nav { display: none; }
}

/* Curriculum: tighter tabs */
.tabs-nav button { height: 42px; font-size: 13.5px; padding: 0 18px; }

/* ==========================================================================
   v2 — Enquiry (home section + slide-in drawer)
   ========================================================================== */
.enquire-sec { background: var(--ivory); position: relative; overflow: hidden; }
.enquire-sec::before { content: ""; position: absolute; right: -15%; top: -30%; width: 60%; height: 120%; border-radius: 50%; background: radial-gradient(closest-side, rgba(83, 180, 66, .12), transparent); pointer-events: none; }
.enq-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 70px); align-items: center; position: relative; }
.enq-visual { position: relative; }
.enq-photo { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lg); }
.enq-photo img { width: 100%; height: 100%; object-fit: cover; }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px;
  background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -18px rgba(28, 28, 28, .4); font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.3;
  animation: floaty 6s ease-in-out infinite;
}
.float-chip small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
.float-chip .fc-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-btn); color: #fff; flex: none; }
.float-chip .fc-ic .ic { width: 19px; height: 19px; }
.float-chip.c1 { left: -22px; top: 12%; }
.float-chip.c2 { right: -18px; top: 44%; animation-delay: -2s; }
.float-chip.c3 { left: 8%; bottom: -20px; animation-delay: -4s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }

.enq-card {
  position: relative; padding: clamp(26px, 3.4vw, 44px); border-radius: var(--r-xl); background: #fff;
  box-shadow: var(--shadow-lg); isolation: isolate;
}
.enq-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; z-index: -1; pointer-events: none; }
.enq-card h2 { margin: 6px 0 10px; }
.enq-card .sub { font-size: 14.5px; margin-bottom: 22px; }
.perks-mini { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.perks-mini span { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--green-wash); color: var(--green-deep); font-size: 12.5px; font-weight: 700; }
.perks-mini .ic { width: 14px; height: 14px; }
.field.ic-field input { padding-left: 52px; }
.field.ic-field label { left: 53px; }
.field .f-ic { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; transition: color .25s; }
.field.ic-field input:focus ~ .f-ic { color: var(--emerald); }
.enq-card .field input { background: var(--paper); border-color: rgba(35, 35, 35, .09); }
.enq-card .field input:focus { background: #fff; border-color: var(--emerald); box-shadow: 0 0 0 4px rgba(83, 180, 66, .14); }
.enq-card .field input:focus + label, .enq-card .field input:not(:placeholder-shown) + label { color: var(--emerald); }
.enq-card .btn { width: 100%; justify-content: space-between; height: 56px; font-size: 15px; }
.trust { display: flex; align-items: center; gap: 14px; margin-top: 20px; font-size: 13px; color: var(--muted); }
.avatars { display: flex; }
.avatars img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; margin-left: -9px; }
.avatars img:first-child { margin-left: 0; }
.trust b { color: var(--text); }
.form-msg.ok { color: var(--emerald); }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; transition: visibility .65s; }
.drawer.is-open { visibility: visible; transition: none; }
.drawer-bg { position: absolute; inset: 0; background: rgba(24, 24, 24, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .45s; }
.drawer.is-open .drawer-bg { opacity: 1; }
.drawer-panel {
  position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(480px, calc(100% - 24px)); overflow-y: auto;
  border-radius: 28px; background: #fff; box-shadow: -30px 0 80px -20px rgba(0, 0, 0, .5);
  transform: translateX(calc(100% + 24px)); transition: transform .65s var(--ease-out);
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-hero { position: relative; height: 210px; overflow: hidden; border-radius: 28px 28px 0 0; color: #fff; }
.drawer-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.drawer-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(32, 32, 32, .05), rgba(32, 32, 32, .88)); }
.drawer-hero .dh-text { position: absolute; left: 26px; right: 26px; bottom: 20px; z-index: 1; }
.drawer-hero .dh-text span { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #d7f0cc; }
.drawer-hero .dh-text h2 { font-family: var(--serif); font-weight: 600; font-size: 27px; color: #fff; line-height: 1.05; margin-top: 6px; letter-spacing: -.03em;}
.drawer-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: var(--ink); transition: transform .3s; }
.drawer-close:hover { transform: rotate(90deg); }
.drawer-close .ic { width: 20px; height: 20px; }
.drawer-body { padding: 24px 26px 28px; }
.drawer-body .enq-card { padding: 0; box-shadow: none; border-radius: 0; }
.drawer-body .enq-card::before { display: none; }
.drawer-alt { display: flex; gap: 10px; margin-top: 18px; }
.drawer-alt a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 14px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--text); transition: border-color .25s, background .25s; }
.drawer-alt a:hover { border-color: var(--emerald); background: var(--green-wash); }
.drawer-alt .ic { width: 17px; height: 17px; color: var(--emerald); }

/* Hero fit + compact batch card on phones */
@media (max-width: 1180px) {
  .hero-grid { align-content: center; gap: 26px; }
}
@media (max-width: 900px) {
  .enq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-inner { padding-top: calc(72px + 18px); }
  .hero .display { font-size: clamp(34px, 9.6vw, 44px); }
  .hero .lead { font-size: 14px; margin-top: 12px; }
  .hero .btn-row { margin-top: 20px; }
  .hero .btn-row .btn-ghost { display: none; }
  .batch-card { padding: 16px; border-radius: 20px; }
  .batch-card .bc-date { font-size: 24px; margin: 6px 0 10px; }
  .batch-card .btn { display: none; }
  .cd > div { padding: 8px 2px 6px; border-radius: 10px; }
  .cd b { font-size: 19px; }
  .hero-foot { display: none; }
  .float-chip { font-size: 12px; padding: 9px 14px 9px 9px; }
  .float-chip .fc-ic { width: 32px; height: 32px; }
  .float-chip.c1 { left: 10px; } .float-chip.c2 { right: 10px; } .float-chip.c3 { display: none; }
  .enq-photo { aspect-ratio: 4 / 3.6; }
}
@media (max-height: 760px) and (min-width: 1181px) {
  .hero .display { font-size: clamp(36px, 4vw, 56px); }
  .hero-text .eyebrow { margin-bottom: 14px; }
  .hero-foot { margin-top: 14px; padding-top: 12px; }
  .hero .lead { margin-top: 12px; }
  .hero .btn-row { margin-top: 22px; }
}

/* Certificate band with graduates photo */
.cert { min-height: clamp(380px, 38vw, 520px); display: flex; align-items: center; }
.cert-bg { position: absolute; inset: 0; z-index: -2; }
.cert-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.cert::before { background: linear-gradient(95deg, rgba(32, 32, 32, .95) 0%, rgba(45, 45, 45, .86) 38%, rgba(60, 60, 60, .35) 72%, rgba(11, 93, 99, .15) 100%) !important; }
.cert-grid { grid-template-columns: 1fr; width: 100%; }
.cert-copy { max-width: 720px; }
@media (max-width: 640px) { .cert::before { background: linear-gradient(180deg, rgba(32, 32, 32, .9), rgba(45, 45, 45, .92)) !important; } }

/* FAQ page spacing */
.faq-search { margin-bottom: 40px; }

@media (max-height: 640px) and (min-width: 641px) { .hero-foot { display: none; } }

/* ==========================================================================
   v3 — Placement record showpiece (bright, animated mesh + glass cards)
   ========================================================================== */
.stats-sec { position: relative; overflow: hidden; background: #f7f8f6; isolation: isolate; }
.mesh { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.mesh i { position: absolute; width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.mesh i:nth-child(1) { background: #cdeebf; left: -10%; top: -20%; }
.mesh i:nth-child(2) { background: #e2e4e1; right: -12%; top: 10%; animation-duration: 22s; animation-delay: -6s; }
.mesh i:nth-child(3) { background: #d6ecd0; left: 30%; bottom: -35%; animation-duration: 26s; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6%, 8%) scale(1.12); } 100% { transform: translate(-6%, -4%) scale(.95); } }
.stats-sec .grid-lines { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(35, 35, 35, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(35, 35, 35, .05) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask: radial-gradient(ellipse at center, #000 30%, transparent 75%); mask: radial-gradient(ellipse at center, #000 30%, transparent 75%); }

.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.bcard {
  position: relative; padding: 30px; border-radius: 28px; overflow: hidden; isolation: isolate;
  background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 24px 60px -30px rgba(32, 32, 32, .35);
  transition: transform .6s var(--ease-out), box-shadow .5s;
}
.bcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, #53b442, #53b442, #3d8f30, transparent); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; pointer-events: none; }
.bcard:hover { transform: translateY(-6px); box-shadow: 0 30px 70px -30px rgba(32, 32, 32, .45); }
.bcard:hover::after { opacity: 1; animation: spinang 3s linear infinite; }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spinang { to { --ang: 360deg; } }
.bcard .b-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.bcard .b-ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--grad-btn); color: #fff; box-shadow: 0 12px 26px -12px rgba(83, 180, 66, .8); }
.bcard .b-ic .ic { width: 24px; height: 24px; }
.bcard .b-tag { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.bnum { font-family: var(--serif); font-size: clamp(47px, 6vw, 77px); line-height: .95; letter-spacing: -.035em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; font-weight: 600;}
.bnum sup { font-size: .38em; vertical-align: top; position: relative; top: .3em; margin-left: 2px; }
.blabel { margin-top: 8px; font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--text); }
.bdesc { margin: 10px 0 0; font-size: 14px; color: var(--body); }
.bcard.hero-stat { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(160deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .55)); }
.bcard.hero-stat .bnum { font-size: clamp(76px, 9vw, 150px); }

/* animated ring */
.ring { position: relative; width: 170px; height: 170px; margin: 10px 0 18px auto; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring .track { stroke: rgba(35, 35, 35, .07); }
.ring .bar { stroke: url(#ringGrad); stroke-linecap: round; stroke-dasharray: 440; stroke-dashoffset: 440; transition: stroke-dashoffset 2.2s var(--ease-out) .3s; }
.is-in .ring .bar { stroke-dashoffset: 26; }
.ring .ring-c { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ring .ring-c b { display: block; font-family: var(--serif); font-size: 29px; letter-spacing: 0; color: var(--text); text-transform: none; font-weight: 600; }

/* growing bars */
.bars { display: flex; align-items: flex-end; gap: 7px; height: 64px; margin-top: 18px; }
.bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: var(--grad); transform-origin: bottom; transform: scaleY(.08); transition: transform 1.2s var(--ease-out); opacity: .9; }
.is-in .bars i { transform: scaleY(var(--h)); }
.bars i:nth-child(2) { transition-delay: .08s; } .bars i:nth-child(3) { transition-delay: .16s; } .bars i:nth-child(4) { transition-delay: .24s; }
.bars i:nth-child(5) { transition-delay: .32s; } .bars i:nth-child(6) { transition-delay: .4s; } .bars i:nth-child(7) { transition-delay: .48s; } .bars i:nth-child(8) { transition-delay: .56s; }

/* logo dots */
.logo-dots { display: flex; margin-top: 18px; }
.logo-dots span { width: 44px; height: 44px; border-radius: 50%; margin-left: -10px; border: 3px solid #fff; background: #fff center / 150% auto no-repeat; box-shadow: 0 6px 14px -6px rgba(32, 32, 32, .35); }
.logo-dots span:first-child { margin-left: 0; }
.logo-dots .more { display: grid; place-items: center; background: var(--grad-btn); color: #fff; font-size: 12px; font-weight: 800; }

.perk-pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.perk-pill { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 20px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.35; transition: transform .5s var(--ease-out), box-shadow .4s; }
.perk-pill:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.perk-pill .p-ic { width: 44px; height: 44px; flex: none; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(83, 180, 66, .16), rgba(83, 180, 66, .18)); color: var(--emerald); }
.perk-pill .p-ic .ic { width: 21px; height: 21px; }

/* ==========================================================================
   v3 — Job roles (editorial list)
   ========================================================================== */
.roles-sec .split { align-items: start; grid-template-columns: .9fr 1.1fr; }
.roles-aside { position: sticky; top: 110px; }
.roles-visual { position: relative; margin-top: 34px; height: 380px; }
.roles-visual .rv1 { position: absolute; left: 0; top: 0; width: 74%; height: 82%; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); }
.roles-visual .rv2 { position: absolute; right: 0; bottom: 0; width: 48%; height: 56%; border-radius: 22px; overflow: hidden; border: 6px solid var(--paper); box-shadow: var(--shadow-lg); }
.roles-visual img { width: 100%; height: 100%; object-fit: cover; }
.roles-visual .rv-badge { position: absolute; left: 18px; bottom: 26px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13px; font-weight: 700; color: var(--text); box-shadow: var(--shadow); }
.roles-visual .rv-badge b { display: block; font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.03em;}
.role-list { border-top: 1px solid var(--line); counter-reset: r; }
.role-row {
  position: relative; display: grid; grid-template-columns: 54px 52px 1fr 44px; align-items: center; gap: 14px;
  padding: 18px 18px; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; color: var(--text);
  transition: color .45s, padding .5s var(--ease-out);
}
.role-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-deep); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.role-row:hover, .role-row:focus-visible { color: #fff; padding-left: 28px; }
.role-row:hover::before, .role-row:focus-visible::before { transform: scaleX(1); }
.role-row .rr-n { font-family: var(--serif); font-style: normal; font-size: 17px; color: var(--muted); transition: color .4s; font-weight: 600; letter-spacing: -.03em;}
.role-row:hover .rr-n { color: var(--lime); }
.role-row .rr-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--green-wash); color: var(--emerald); transition: background .45s, color .45s, transform .6s var(--ease-out); }
.role-row .rr-ic .ic { width: 22px; height: 22px; }
.role-row:hover .rr-ic { background: var(--grad-btn); color: #fff; transform: rotate(-10deg); }
.role-row .rr-t { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 29px); line-height: 1.1; font-weight: 600; letter-spacing: -.03em;}
.role-row .rr-go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: transform .5s var(--ease-out), border-color .4s, background .4s; }
.role-row .rr-go .ic { width: 18px; height: 18px; }
.role-row:hover .rr-go { transform: rotate(-45deg); border-color: transparent; background: rgba(255, 255, 255, .14); }

/* ==========================================================================
   v3 — Welcome popup (home)
   ========================================================================== */
.popup { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 18px; visibility: hidden; transition: visibility .6s; }
.popup.is-open { visibility: visible; transition: none; }
.popup-bg { position: absolute; inset: 0; background: rgba(24, 24, 24, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s; }
.popup.is-open .popup-bg { opacity: 1; }
.popup-panel {
  position: relative; width: min(980px, 100%); max-height: calc(100svh - 36px); overflow: auto; display: grid; grid-template-columns: 1fr 1.05fr;
  border-radius: 30px; background: #fff; box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .5s, transform .7s var(--ease-out);
}
.popup.is-open .popup-panel { opacity: 1; transform: none; }
.popup-media { position: relative; min-height: 100%; color: #fff; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; }
.popup-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.popup-media::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(32, 32, 32, .1) 0%, rgba(32, 32, 32, .55) 45%, rgba(32, 32, 32, .94) 100%); }
.popup-media .pm-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--grad); color: #2a2a2a; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: auto; }
.popup-media h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(25px, 3.4vw, 37px); line-height: 1.02; color: #fff; margin: 0 0 6px; letter-spacing: -.03em;}
.popup-media p { color: rgba(255, 255, 255, .8); font-size: 14px; margin: 0 0 18px; }
.popup-media .cd > div { background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.popup-media .cd > div:first-child { background: var(--grad-btn); }
.popup-form { padding: clamp(24px, 3vw, 38px); }
.popup-form .enq-card { padding: 0; box-shadow: none; border-radius: 0; }
.popup-form .enq-card::before { display: none; }
.popup-form h3 { font-family: var(--serif); font-weight: 600; font-size: 25px; line-height: 1.1; margin-bottom: 6px; letter-spacing: -.03em;}
.popup-form .sub { font-size: 14px; margin-bottom: 18px; }
.popup-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: var(--shadow); transition: transform .3s; }
.popup-close:hover { transform: rotate(90deg); }
.popup-close .ic { width: 20px; height: 20px; }

@media (max-width: 1180px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bcard.hero-stat { grid-row: auto; grid-column: span 2; }
  .perk-pills { grid-template-columns: 1fr 1fr; }
  .roles-sec .split { grid-template-columns: 1fr; }
  .roles-aside { position: static; }
}
@media (max-width: 760px) {
  .popup { padding: 10px; align-items: end; }
  .popup-panel { grid-template-columns: 1fr; border-radius: 26px; }
  .popup-media { min-height: 230px; padding: 22px; }
  .popup-media .cd b { font-size: 18px; }
  .popup-form .trust { display: none; }
}
@media (max-width: 640px) {
  .bento, .perk-pills { grid-template-columns: 1fr; }
  .bcard.hero-stat { grid-column: auto; }
  .ring { width: 130px; height: 130px; margin: -10px 0 10px auto; }
  .roles-visual { height: 280px; }
  .role-row { grid-template-columns: 34px 42px 1fr 36px; gap: 10px; padding: 14px 6px; }
  .role-row:hover { padding-left: 12px; }
  .role-row .rr-ic { width: 40px; height: 40px; }
  .role-row .rr-go { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) { .mesh i { animation: none; } .ring .bar { stroke-dashoffset: 26; } .bars i { transform: scaleY(var(--h)); } }

@media (max-width: 760px) { .popup-media .pm-tag { margin-bottom: 14px; } }

/* v3b — stronger focal card + readable employer logos */
.logo-dots { gap: 8px; flex-wrap: wrap; }
.logo-dots span { width: 72px; height: 40px; margin: 0; border-radius: 12px; border: 1px solid var(--line); background-size: 88% auto; background-color: #fff; box-shadow: none; }
.logo-dots .more { width: 40px; border: 0; }
.bcard.hero-stat {
  background: radial-gradient(420px 320px at 85% 10%, rgba(83, 180, 66, .45), transparent 70%), radial-gradient(380px 300px at 0% 100%, rgba(143, 209, 112, .28), transparent 70%), linear-gradient(150deg, #2a2a2a 0%, #363636 55%, #454545 100%);
  border-color: rgba(255, 255, 255, .08); color: rgba(242, 242, 242, .75);
  box-shadow: 0 40px 90px -40px rgba(60, 60, 60, .9);
}
.bcard.hero-stat .b-tag, .bcard.hero-stat .bdesc { color: rgba(242, 242, 242, .72); }
.bcard.hero-stat .blabel { color: #fff; }
.bcard.hero-stat .bnum { background: var(--grad-text-light); -webkit-background-clip: text; background-clip: text; }
.bcard.hero-stat .ring .track { stroke: rgba(255, 255, 255, .1); }
.bcard.hero-stat .ring svg { filter: drop-shadow(0 0 12px rgba(83, 180, 66, .55)); }
.bcard.hero-stat .ring .ring-c { color: rgba(242, 242, 242, .7); }
.bcard.hero-stat .ring .ring-c b { color: #fff; }
.bcard.hero-stat .b-ic { background: rgba(255, 255, 255, .12); box-shadow: none; }

.bars i { height: 100%; display: block; }

/* ==========================================================================
   v4 — Light header so the official logo shows in its true colours
   ========================================================================== */
.header { top: 42px; color: var(--text); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 1px 0 rgba(35, 35, 35, .06), 0 10px 30px -18px rgba(0, 0, 0, .35); }
.header.is-fixed { background: rgba(255, 255, 255, .94); box-shadow: 0 1px 0 rgba(35, 35, 35, .06), 0 14px 34px -20px rgba(0, 0, 0, .4); }
.brand img { height: 46px; width: auto; }
.nav > li > a, .nav > li > button { color: #4a4a4a; }
.nav > li > a:hover, .nav > li > button:hover, .nav > li:focus-within > button { color: var(--text); background: var(--green-wash); }
.nav > li.is-current > a, .nav > li.is-current > button { color: var(--green-deep); }
.nav > li.is-current > a::after, .nav > li.is-current > button::after { background: var(--green); }
.dropdown { background: #fff; border-color: var(--line); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .35); }
.dropdown a { color: #4a4a4a; }
.dropdown a:hover, .dropdown a.is-current { background: var(--green-wash); color: var(--text); }
.dropdown a small { color: var(--muted); }
.dropdown a .dd-ic { background: var(--green-wash); color: var(--green-deep); }
.dropdown a.feature { background: linear-gradient(120deg, #eef8eb, #f6f6f6); border-color: rgba(83, 180, 66, .35); }
.burger { border-color: var(--line); color: var(--text); }
.mnav { background: #fff; }
.mnav-close { border-color: var(--line); color: var(--text); }
.mnav-list > li { border-bottom-color: var(--line); }
.mnav-list > li > a, .mnav-list > li > button { color: var(--text); }
.mnav-list > li.is-current > a, .mnav-list > li.is-current > button { color: var(--green-deep); }
.mnav-sub a { color: var(--body); border-left-color: var(--line); }
.mnav-sub a.feature { color: var(--green-deep); }
.mnav-foot { color: var(--body); }
.f-logo { display: inline-block; padding: 14px 18px; border-radius: 16px; background: #fff; margin-bottom: 22px; }
.f-logo img { height: 40px; width: auto; margin: 0 !important; display: block; }
.f-sub .f-logo { padding: 8px 12px; border-radius: 12px; margin: 10px 0 0; }
.f-sub .f-logo img { height: 30px; }
@media (max-width: 640px) { .brand img { height: 38px; } }

/* v4 — Google reviews + word-cloud */
.g-badge { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13.5px; color: var(--body); }
.g-badge b { font-size: 17px; color: var(--text); }
.g-badge .stars svg { width: 14px; height: 14px; }
.g-mark { width: 22px; height: 22px; flex: none; }
.t-card .t-top { display: flex; align-items: center; justify-content: space-between; }
.t-card .t-time { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.t-card.is-google blockquote { margin-top: 18px; }
.t-card .t-initial { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-btn); color: #fff; font-weight: 800; font-size: 20px; }
.t-card .t-who a:hover b { color: var(--green-deep); }
.wordcloud { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: clamp(14px, 2vw, 26px); }
.wordcloud img { width: 100%; height: auto; border-radius: 18px; transition: transform 1.4s var(--ease-out); }
.wordcloud:hover img { transform: scale(1.03); }
.wordcloud::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--grad-mix); }

/* v4c — gradient accent words inside animated (split) headings: paint the gradient on each word span,
   because background-clip:text on the <em> does not reach transformed inline-block children. */
.js .split-words em .w > span { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.js .dark .split-words em .w > span, .js .phero .split-words em .w > span, .js .footer .split-words em .w > span,
.js .bcard.hero-stat .split-words em .w > span { background: var(--grad-text-light); -webkit-background-clip: text; background-clip: text; }

@media (max-width: 640px) { .bento > * { grid-column: 1 / -1 !important; grid-row: auto !important; } .bcard { padding: 24px; } }

/* v5 — Sora headings: accents are upright gradient words */
em, .it { font-style: normal; font-weight: 700; }
.display em, .h1 em, .h2 em, .h3 em { font-weight: 700; }
.words .item:nth-child(even) { font-style: normal; }
.cert .script { line-height: 1.02; }
.stat-n, .bnum, .cd-lg b, .prize-amount { letter-spacing: -.04em; }

/* ==========================================================================
   v5 — Top bar with socials + floating notched header
   ========================================================================== */
.topbar { font-size: 12.5px; }
.topbar .wrap { height: 42px; }
.topbar-l, .topbar-r { gap: 22px; }
.tb-quiz { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .14); }
.tb-social { display: flex; gap: 6px; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .14); }
.tb-social a { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background .25s, transform .3s var(--ease-out); }
.tb-social a:hover { background: var(--green); transform: translateY(-2px); }
.tb-social .ic { width: 14px; height: 14px; }

/* the header itself is now transparent; the bar inside floats */
.header, .header.is-fixed { background: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; top: 56px; }
.header .wrap { height: auto; display: block; }
.header.is-fixed { top: 10px; }
.hbar {
  position: relative; display: flex; align-items: center; gap: 18px; height: 78px; padding: 0 12px 0 0;
  border-radius: 999px; background: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 20px 50px -22px rgba(0, 0, 0, .45);
  transition: height .4s var(--ease-out), box-shadow .4s;
}
.header.is-fixed .hbar { height: 68px; box-shadow: 0 18px 44px -18px rgba(0, 0, 0, .35), 0 0 0 1px rgba(35, 35, 35, .05); }
.brand { position: relative; height: 100%; padding: 0 56px 0 30px; display: flex; align-items: center; flex: none; }
.brand img { height: 44px; width: auto; }
.header.is-fixed .brand img { height: 40px; }
/* angled separator echoing the logo's triangles: green + grey slashes that break out of the bar */
.brand-cut { position: absolute; right: 8px; top: -10px; bottom: -10px; width: 34px; pointer-events: none; }
.brand-cut i { position: absolute; top: 0; bottom: 0; width: 9px; border-radius: 3px; transform: skewX(-24deg); }
.brand-cut i:first-child { left: 6px; background: var(--green); }
.brand-cut i:last-child { left: 20px; background: var(--grey); top: 14px; bottom: 14px; }
.hbar nav { flex: 1; display: flex; justify-content: center; }
.nav { gap: 2px; }
.nav > li > a, .nav > li > button { height: 44px; padding: 0 14px; font-size: 14.5px; font-weight: 600; color: #3a3a3a; }
.nav > li.is-current > a, .nav > li.is-current > button { color: var(--green-deep); background: var(--green-wash); }
.nav > li.is-current > a::after, .nav > li.is-current > button::after { display: none; }
.dropdown { top: calc(100% + 18px); }
.header-cta { gap: 10px; }
.h-round { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #f2f3f1; color: var(--text); transition: background .25s, color .25s, transform .3s var(--ease-out); }
.h-round:hover { background: var(--green); color: #fff; transform: translateY(-2px); }
.h-round .ic { width: 20px; height: 20px; }
.h-wa:hover { background: #25d366; }
.header-cta .btn.h-cta { height: 54px; font-size: 14.5px; padding-left: 24px; }
.header-cta .btn.h-cta .btn-ic { width: 38px; height: 38px; }
.burger { background: #f2f3f1; border: 0; }

/* hero/page-hero clear the floating bar */
.hero-inner { padding-top: calc(78px + 14px + clamp(24px, 4vh, 56px)); }
.phero { padding-top: 220px; }

/* Footer: exact stacked logo on a white tile */
.f-logo-stacked { padding: 14px; border-radius: 22px; }
.f-logo-stacked img { height: 124px !important; width: auto; }

@media (max-width: 1320px) {
  .h-round { display: none; }
  .nav > li > a, .nav > li > button { padding: 0 11px; font-size: 14px; }
}
@media (max-width: 1180px) {
  .tb-mail { display: none; }
  .hbar { height: 70px; }
  .hbar nav { display: none; }
  .header-cta { margin-left: auto; }
  .h-round { display: grid; width: 46px; height: 46px; }
  .header-cta .btn.h-cta { display: none; }
}
@media (max-width: 900px) {
  .topbar-r .tb-social { display: none; }
}
@media (max-width: 640px) {
  .header, .header.is-fixed { top: 50px; }
  .header.is-fixed { top: 8px; }
  .hbar { height: 62px; padding-right: 8px; }
  .brand { padding: 0 40px 0 18px; }
  .brand img, .header.is-fixed .brand img { height: 32px; }
  .brand-cut { width: 26px; right: 4px; }
  .brand-cut i { width: 7px; }
  .brand-cut i:last-child { left: 15px; }
  .h-round { width: 42px; height: 42px; }
  .h-round:not(.h-wa) { display: none; }
  .burger { width: 42px; height: 42px; }
  .topbar-l .tb-quiz { display: none; }
  .hero-inner { padding-top: calc(62px + 8px + 28px); }
  .phero { padding-top: 160px; }
}

.topbar a { white-space: nowrap; }
@media (max-width: 1180px) { .topbar-l .tb-quiz { display: none; } }

/* video cards: player fills the card */
.video-card .video-frame { position: absolute; inset: 0; }
.video-card iframe, .video-card .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 0; }

@media (max-width: 640px) { .video-gallery { grid-template-columns: 1fr !important; } }

/* clearer form result */
.form-msg:empty { display: none; }
.form-msg { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 14px 16px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; background: #f3f4f2; color: var(--body); animation: fadeUp .4s var(--ease-out); }
.form-msg.ok { background: #eaf7e5; color: #2f7a24 !important; border: 1px solid rgba(83,180,66,.35); }
.form-msg.ok::before { content: "\2713"; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-weight: 800; font-size: 14px; }
.form-msg.err { background: #fdecea; color: #b3261e !important; border: 1px solid rgba(179,38,30,.25); }
.form-msg.err::before { content: "!"; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #d93025; color: #fff; font-weight: 800; }

/* v6 — phones: menu button always visible (WhatsApp stays as the floating button) */
.hbar { min-width: 0; }
.brand { min-width: 0; flex-shrink: 1; }
.brand img { max-width: 100%; object-fit: contain; object-position: left center; }
.header-cta { flex: none; }
@media (max-width: 640px) {
  .header-cta .h-round { display: none !important; }
  .header-cta .burger {
    display: grid; width: 46px; height: 46px; border-radius: 50%;
    background: var(--green); color: #fff; border: 0;
    box-shadow: 0 8px 18px -8px rgba(83, 180, 66, .9);
  }
  .header-cta .burger .ic { width: 22px; height: 22px; }
  .brand { padding-right: 36px; }
}
@media (max-width: 360px) {
  .brand { padding-left: 14px; padding-right: 30px; }
  .brand img, .header.is-fixed .brand img { height: 28px; }
  .brand-cut { width: 22px; }
}

/* batch already started (replaces the countdown) */
.cd-done { margin: 4px 0 0; padding: 12px 14px; border-radius: 14px; background: rgba(83, 180, 66, .16); border: 1px solid rgba(143, 209, 112, .35); color: #fff; font-weight: 700; font-size: 14px; line-height: 1.4; }
.countdown-band .cd-done { font-size: 16px; padding: 18px 22px; position: relative; }

/* keep back-to-top clear of the Crisp chat bubble (bottom-right, ~60px) */
.fab { right: 26px; bottom: 100px; }
.fab .top { width: 48px; height: 48px; }
@media (max-width: 640px) { .fab { right: 20px; bottom: 90px; } .fab .top { width: 44px; height: 44px; } }

/* ISO badge: the rotating text ring must be a perfect square centred on the badge.
   (The global `svg { max-width: 100% }` rule was squeezing it to the badge width and pushing it off-centre.) */
.collage .badge-iso .rotate-ring { inset: auto; left: -30px; top: -30px; width: calc(100% + 60px); height: calc(100% + 60px); max-width: none; transform-origin: 50% 50%; }
.collage .badge-iso > span { position: relative; z-index: 1; }

@media (max-width: 640px) { .collage .badge-iso { right: 12%; top: 7%; } }
