/* ═══════════════════════════════════════════════════════
   PENCILASTIC — Shared Stylesheet
   All pages import this file via /css/style.css
   ═══════════════════════════════════════════════════════ */

/* ── SELF-HOSTED FONTS (Comfortaa headings + DM Sans body) ──────────────
   Served locally from /css/fonts/ — no third-party request, no IP leak,
   faster first paint. latin subset; ₹ and non-latin glyphs fall back via
   unicode-range. Weights 400/500/600/700 match --ff-head / --ff-body use. */

@font-face {
  font-family: 'Comfortaa';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/comfortaa-400.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: 'Comfortaa';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/comfortaa-500.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: 'Comfortaa';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/comfortaa-600.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: 'Comfortaa';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/comfortaa-700.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dm-sans-400.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/dm-sans-500.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/dm-sans-600.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/dm-sans-700.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}



/* ── RESET ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img, iframe, video { max-width: 100%; display: block; }

/* ── DESIGN TOKENS ────────────────────────────────────── */
:root {
  /* Brand palette */
  --blue:   #03A9F4;
  --green:  #92D050;
  --red:    #FE2635;
  --yellow: #FFFF00;
  --cyan:   #00CEE8;

  /* Tints */
  --blue-lt:  #E0F5FE;
  --green-lt: #EEF9DC;
  --red-lt:   #FEEAEC;
  --cyan-lt:  #DFFBFD;
  --yellow-lt:#FFFFFB;

  /* Neutrals */
  --ink:     #0C1A27;
  --ink2:    #152334;
  --ink3:    #1E3045;
  --slate:   #4A6070;
  --muted:   #7A90A0;
  --border:  #D8E2E8;
  --surface: #F4F8FA;
  --white:   #FFFFFF;

  /* Typography */
  --ff-head: 'Comfortaa', Georgia, serif;
  --ff-body: 'DM Sans', system-ui, sans-serif;

  /* Layout */
  --max-w:      1120px;
  --px:         clamp(1.25rem, 5vw, 2.5rem);
  --section-py: clamp(3rem, 8vw, 5.5rem);
  --radius:     12px;
  --radius-sm:  8px;
}

/* ── BASE ─────────────────────────────────────────────── */
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── UTILITIES ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--ff-head);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* ── BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s, opacity 0.18s, background 0.18s;
  text-align: center;
}
.btn:hover        { transform: translateY(-2px); opacity: 0.92; }
.btn-primary      { background: var(--green);  color: var(--ink); }
.btn-secondary    { background: var(--blue); color: var(--ink); }
.btn-ghost        { background: transparent;  color: var(--green); border-color: var(--green); }
.btn-ghost:hover  { background: var(--green); color: var(--ink); opacity: 1; }
.btn-outline      { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.75); }
.btn-outline:hover{ border-color: var(--white); color: var(--white); opacity: 1; }
.btn-sm           { padding: 0.45rem 1rem; font-size: 0.82rem; }

/* ── NAVIGATION ───────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: 64px;
}
.nav-inner {
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-family: var(--ff-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--cyan); }
.nav-cta {
  background: var(--blue) !important;
  color: var(--ink) !important;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--cyan) !important; color: var(--ink) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--ink2);
  padding: 1rem var(--px) 1.5rem;
  border-bottom: 2px solid var(--blue);
  z-index: 199;
  display: none;
  flex-direction: column;
}
.nav-drawer.is-open { display: flex; }
.nav-drawer a {
  display: block;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover { color: var(--cyan); }
.drawer-cta {
  margin-top: 0.75rem;
  background: var(--blue);
  color: var(--ink) !important;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.25rem !important;
  font-weight: 600 !important;
  text-align: center;
  border-bottom: none !important;
}

/* Color strip */
.color-strip {
  height: 4px;
  background: linear-gradient(90deg,
    var(--blue)  0%,   var(--blue)  25%,
    var(--cyan)  25%,  var(--cyan)  50%,
    var(--green) 50%,  var(--green) 75%,
    var(--yellow) 75%, var(--yellow) 100%);
}

/* ── BREADCRUMB ───────────────────────────────────────── */
.breadcrumb {
  background: var(--blue);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem var(--px);
}
.breadcrumb-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--muted);
}
.breadcrumb-inner a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.15s;
}
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-inner .sep { color: var(--border); }
.breadcrumb-inner .current { color: var(--slate); font-weight: 500; }

/* ── PAGE HERO (inner pages) ──────────────────────────── */
.page-hero {
  background: var(--blue);
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--px);
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: min(1000px, 120vw); height: min(500px, 80vw);
  border-radius: 0%;
  background: radial-gradient(circle, rgba(0,206,232,1) 0%, transparent 70%);
  top: -75%; left: -75%;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  width: min(400px, 60vw); height: min(400px, 60vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,206,232,1) 0%, transparent 70%);
  bottom: -50%; right: -15%;
  pointer-events: none;
}
.page-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-hero .section-label { color: var(--ink3); }
.page-hero h1 {
  font-family: var(--ff-head);
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.85rem;
}
.page-hero p {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: rgba(255,255,255,1);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}
.page-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,1.0);
}
.page-hero-meta span { display: flex; align-items: center; gap: 5px; }

/* ── Article INDEX (groups of articles) ───────────── */
.Article-index {
  padding: var(--section-py) 0;
  background: var(--white);
}
.Article-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.Article-group-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  background: var(--white);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.Article-group-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 44px rgba(3,169,244,0.13);
  border-color: var(--blue);
}
.pgc-banner {
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  position: relative;
}
.pgc-icon { font-size: 2.5rem; }
.pgc-abbr {
  font-family: var(--ff-head);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pgc-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.pgc-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.55rem;
}
.pgc-body h2 {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
  line-height: 1.3;
  font-family: var(--ff-head);
}
.pgc-body p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.pgc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}
.pgc-footer .pgc-count { font-weight: 600; color: var(--blue); }
.pgc-arrow { color: var(--blue); font-size: 1rem; }

/* ── ARTICLE LISTING (inside a Article group) ───────── */
.article-listing {
  padding: var(--section-py) 0;
  background: var(--white);
}
.article-listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.article-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  background: var(--white);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(0,0,0,0.09);
  border-color: var(--blue);
}
.article-card-thumb {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.article-card-body { padding: 1.1rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.article-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.article-card h3 {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}
.article-card p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted);
  flex-wrap: wrap;
}

/* ── ARTICLE PAGE ─────────────────────────────────────── */
.article-layout {
  padding: var(--section-py) 0;
  background: var(--white);
}
.article-layout-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

/* Article body prose */
.article-body { min-width: 0; }
.article-body h2 {
  font-family: var(--ff-head);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin: 2rem 0 0.75rem;
  padding-top: 0.5rem;
  border-top: 2px solid var(--border);
}
.article-body h2:first-child { margin-top: 0; border-top: none; }
.article-body h3 {
  font-family: var(--ff-head);
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 600;
  color: var(--ink2);
  margin: 1.5rem 0 0.6rem;
}
.article-body p {
  font-size: 1.02rem;
  color: var(--slate);
  line-height: 1.85;
  margin-bottom: 1.1rem;
}
.article-body ul,
.article-body ol {
  margin: 0.75rem 0 1.1rem 1.5rem;
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.8;
}
.article-body li { margin-bottom: 0.35rem; }
.article-body blockquote {
  border-left: 3px solid var(--blue);
  background: var(--blue-lt);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-family: var(--ff-head);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink2);
  line-height: 1.6;
}
.article-body .callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.93rem;
  color: var(--slate);
}
.article-body .callout strong { color: var(--ink); }
.article-body .highlight-box {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.75rem 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.75;
}
.article-body .highlight-box h4 {
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.article-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* Career Careers box */
.careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}
.career-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--ink2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.career-chip span { font-size: 1.25rem; }

/* Article sidebar */
.article-sidebar { min-width: 0; }
.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.sidebar-widget h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.sidebar-article-list { list-style: none; }
.sidebar-article-list li {
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0;
}
.sidebar-article-list li:last-child { border-bottom: none; }
.sidebar-article-list a {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  transition: color 0.2s;
  display: block;
}
.sidebar-article-list a:hover { color: var(--blue); }
.sidebar-article-list .meta {
  font-size: 0.73rem;
  color: var(--muted);
  margin-top: 0.2rem;
}
.sidebar-cta {
  background: var(--ink);
  border: none;
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  text-align: center;
}
.sidebar-cta h4 { color: var(--cyan); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.6rem; }
.sidebar-cta p  { color: rgba(255,255,255,0.65); font-size: 0.83rem; margin-bottom: 1rem; line-height: 1.55; }

/* Article nav: prev/next */
.article-nav {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.article-nav-link {
  flex: 1;
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.article-nav-link:hover { border-color: var(--blue); background: var(--blue-lt); }
.article-nav-link .nav-dir { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.article-nav-link .nav-title { font-size: 0.9rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.article-nav-link.next { text-align: right; align-items: flex-end; }

/* ── HOMEPAGE-SPECIFIC ────────────────────────────────── */
.hero {
  background: var(--blue);
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 10vw, 7rem) var(--px) clamp(3rem, 8vw, 5.5rem);
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  width: min(1000px, 120vw); height: min(500px, 80vw);
  border-radius: 0%;
  background: radial-gradient(circle,rgba(0,206,232,1) 0%, transparent 70%);
  top: -25%; left: -75%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: min(500px, 70vw); height: min(500px, 70vw);
  border-radius: 0%;
  background: radial-gradient(circle, rgba(0,206,232,1) 0%, transparent 70%);
  bottom: -15%; right: -15%;
  pointer-events: none;
}
.hero-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(0,0,0,0.4);
  background: rgba(3,169,244,0.08);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.hero h1 {
  font-family: var(--ff-head);
  font-size: clamp(2.1rem, 6vw, 3.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero h1 em { font-style: italic; color: var(--blue-lt); }
.hero h1 .h-ink { color: var(--cyan-lt); }
.hero-sub {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: rgba(255,255,255,1);
  max-width: 560px;
  margin: 0 auto 2.25rem;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 0.875rem; justify-content: center; flex-wrap: wrap; }
.hero-actions .btn { min-width: 160px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  margin-top: 3.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2.5rem;
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--ff-head);
  font-size: clamp(1.3rem, 4vw, 1.3rem);
  font-weight: 700;
  color: var(--ink3);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-label {
  font-size: clamp(0.65rem, 1.5vw, 0.75rem);
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Philosophy */
.philosophy { padding: var(--section-py) 0; background: var(--surface); }
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  margin-top: 2.5rem;
}
.philosophy-intro p { font-size: 1.02rem; color: var(--slate); line-height: 1.85; margin-bottom: 1rem; }
.philosophy-intro blockquote {
  border-left: 3px solid var(--blue);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-family: var(--ff-body);
  font-size: 1.15rem;
  /*font-style: italic*/
  color: var(--ink2);
  line-height: 1.6;
}
.pillars { display: flex; flex-direction: column; gap: 1rem; }
.pillar {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 1.1rem 1.35rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}
.pillar:nth-child(2) { border-left-color: var(--green); }
.pillar:nth-child(3) { border-left-color: var(--cyan); }
.pillar:nth-child(4) { border-left-color: var(--red); }
.pillar:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.pillar-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 9px;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
}
.pillar-text h2 { font-weight: 700; font-size: 1rem; color: var(--ink); margin-bottom: 0.2rem; }
.pillar-text h4 { font-size: 0.83rem; color: var(--ink3); line-height: 1.6; font-weight: 400; }

/* Video section */
.video-section { padding: var(--section-py) 0; background: var(--blue); text-align: center; }
.video-section .section-label { color: var(--ink2); }
.video-section .section-title { color: var(--white); }
.video-desc { color: rgba(255,255,255,1.0); max-width: 520px; margin: 0 auto 2.5rem; font-size: 1.1rem; }
.video-wrapper {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* Courses */
.courses { padding: var(--section-py) 0; background: var(--white); }
.courses-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2rem; gap: 1rem; flex-wrap: wrap; }
.view-all { font-size: 0.875rem; font-weight: 600; color: var(--blue); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.15s; white-space: nowrap; align-self: flex-end; }
.view-all:hover { border-color: var(--blue); }
.courses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr)); gap: 1.25rem; }
.course-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  background: var(--white);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.course-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(3,169,244,0.12); border-color: var(--blue); }
.course-thumb { height: 130px; display: flex; align-items: center; justify-content: center; font-family: var(--ff-head); font-size: 2.25rem; font-weight: 700; letter-spacing: -0.02em; flex-shrink: 0; }
.course-body { padding: 1.1rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.course-tag { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; padding: 0.22rem 0.55rem; border-radius: 4px; margin-bottom: 0.55rem; }
.course-card h3 { font-weight: 600; font-size: 0.97rem; color: var(--ink); margin-bottom: 0.4rem; line-height: 1.35; }
.course-card h5 { font-size: 0.82rem; color: var(--muted); line-height: 1.65; flex: 1; font-weight: 400; }
.course-meta { display: flex; align-items: center; gap: 0.75rem; margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--border); font-size: 0.78rem; color: var(--muted); flex-wrap: wrap; }

/* Login CTA */
.login-cta { padding: clamp(2.5rem, 6vw, 4rem) var(--px); background: var(--blue-lt); border-top: 3px solid var(--blue); border-bottom: 3px solid var(--cyan); text-align: center; }
.login-cta h2 { font-family: var(--ff-head); font-size: clamp(1.4rem, 3.5vw, 2rem); color: var(--ink); margin-bottom: 0.5rem; font-weight: 700; }
.login-cta > p { color: var(--slate); margin-bottom: 1.5rem; font-size: 1rem; }
.login-buttons { margin-top: 1rem; display: flex; gap: 0.875rem; justify-content: center; flex-wrap: wrap; }
.login-buttons .btn { min-width: 200px; }
.login-note { margin-top: 1rem; font-size: 0.83rem; color: var(--muted); }
.login-note a { color: var(--blue); text-decoration: none; }
.login-note a:hover { text-decoration: underline; }

/* CTA banner */
.cta-banner { padding: clamp(3.5rem, 8vw, 6rem) var(--px); background: var(--blue); text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; top: -200px; right: -150px; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(146,208,80,0.12) 0%, transparent 65%); pointer-events: none; }
.cta-banner h2 { font-family: var(--ff-head); font-size: clamp(1.85rem, 4.5vw, 3rem); font-weight: 700; color: var(--white); max-width: 620px; margin: 0 auto 0.85rem; line-height: 1.2; position: relative; z-index: 1; }
.cta-banner p  { color: rgba(255,255,255,0.6); margin-bottom: 2rem; font-size: 1rem; position: relative; z-index: 1; }
.cta-banner .btn { position: relative; z-index: 1; }

/* CTA banner Footer*/
.cta-banner-footer { padding: clamp(3.5rem, 8vw, 6rem) var(--px); background: var(--ink2); text-align: center; position: relative; overflow: hidden; }
.cta-banner-footer::before { content: ''; position: absolute; top: -200px; right: -150px; width: 500px; height: 500px; border-radius: 50%; pointer-events: none; }
.cta-banner-footer h2 { font-family: var(--ff-head); font-size: clamp(1.85rem, 4.5vw, 3rem); font-weight: 700; color: var(--white); max-width: 620px; margin: 0 auto 0.85rem; line-height: 1.2; position: relative; z-index: 1; }
.cta-banner-footer h3  { color: rgba(255,255,255,0.6); margin-bottom: 2rem; font-size: 1.25rem; position: relative; z-index: 1; }
.cta-banner-footer p  { color: rgba(255,255,255,0.6); margin-bottom: 2rem; font-size: 1rem; position: relative; z-index: 1; }
.cta-banner-footer .btn { position: relative; z-index: 1; }


/* ── FOOTER ───────────────────────────────────────────── */
footer { background: var(--ink2); padding: clamp(2rem, 5vw, 3rem) 0 0; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--px) 1.5rem; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: start; border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 1.25rem; }
.footer-brand .logo { font-size: 1.25rem; margin-bottom: 0.4rem; display: inline-flex; }
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.38); max-width: 280px; line-height: 1.65; margin-top: 0.4rem; }
.footer-links { display: flex; gap: 1.5rem; list-style: none; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.42); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--px) 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; }
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.28); }
.footer-palette { display: flex; gap: 5px; align-items: center; }
.footer-palette span { display: block; width: 14px; height: 14px; border-radius: 3px; }

/* ── DEMOS INDEX PAGE ────────────────────────────────── */
.demos-index {
  padding: var(--section-py) 0;
  background: var(--white);
}
.demos-intro {
  color: var(--muted);
  font-size: 1rem;
  max-width: 600px;
  margin-bottom: 0;
  line-height: 1.7;
}
.demos-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Demo index card — links to each course demo page */
.demo-index-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  background: var(--white);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.demo-index-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 44px rgba(3,169,244,0.13);
  border-color: var(--blue);
}
.dic-banner {
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1.25rem;
}
.dic-icon { font-size: 2.4rem; line-height: 1; }
.dic-abbr {
  font-family: var(--ff-head);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.dic-body {
  padding: 1.2rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.dic-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.dic-body h2 {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.dic-body p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.dic-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
}
.dic-count { color: var(--blue); font-weight: 600; }
.dic-arrow { color: var(--blue); font-size: 1rem; }

/* ── DEMO VIDEOS PAGE ────────────────────────────────── */
.demo-videos-section {
  padding: var(--section-py) 0;
  background: var(--white);
}
.demo-videos-intro {
  font-size: 1rem;
  color: var(--muted);
  max-width: 680px;
  line-height: 1.75;
  margin-top: 0.5rem;
  margin-bottom: 3rem;
}

/* Individual video demo card */
.video-demo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2.5rem;
  transition: box-shadow 0.2s;
}
.video-demo-card:last-of-type { margin-bottom: 0; }
.video-demo-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); }

/* Card header row: number badge + tag + title */
.vdc-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem 1.5rem 1rem;
  border-left: 4px solid var(--blue);
}
.vdc-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
  font-family: var(--ff-body);
}
.vdc-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.35rem;
}
.vdc-title {
  font-family: var(--ff-head);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin: 0;
}

/* Description text */
.vdc-desc {
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.8;
  padding: 0 1.5rem 1.25rem;
}

/* Video player area — thumbnail + play button facade */
.vdc-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  overflow: hidden;
  cursor: pointer;
}
.vdc-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s, opacity 0.2s;
}
.vdc-player:hover .vdc-thumb { transform: scale(1.02); opacity: 0.85; }

/* Fallback shown when thumbnail URL has a placeholder ID */
.vdc-thumb-fallback {
  position: absolute;
  inset: 0;
  background: var(--ink2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  text-align: center;
}
.vdc-thumb-fallback span { font-size: 3rem; }
.vdc-thumb-fallback p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  max-width: 320px;
  line-height: 1.55;
}

/* Play button overlay */
.vdc-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: var(--red);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}
.vdc-play-btn:hover {
  background: #cc1020;
  transform: translate(-50%, -50%) scale(1.08);
}

/* Iframe that replaces the facade on click */
.vdc-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Meta strip below player */
.vdc-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.5rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── ENROL STRIP (on demo video pages) ───────────────── */
.demo-enrol-strip {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  background: var(--ink);
  border-top: 3px solid var(--blue);
  border-bottom: 3px solid var(--cyan);
}
.demo-enrol-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.demo-enrol-text h3 {
  font-family: var(--ff-head);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}
.demo-enrol-text p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  line-height: 1.65;
}
.demo-enrol-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ── OTHER DEMOS GRID (bottom of each demo page) ─────── */
.other-demos-grid {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 1.5rem;
}
.other-demo-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.other-demo-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(3,169,244,0.1);
  transform: translateX(3px);
}
.odc-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.odc-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.15rem;
}
.odc-sub {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}
.other-demo-card > div { flex: 1; min-width: 0; }
.odc-arrow {
  font-size: 1.1rem;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.15s;
}
.other-demo-card:hover .odc-arrow { transform: translateX(3px); }

/* ── CONTACT PAGE ─────────────────────────────────────── */
.contact-section {
  padding: var(--section-py) 0;
  background: var(--white);
}
.contact-intro {
  font-size: 1rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 0;
}
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.contact-info-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.contact-info-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 28px rgba(3,169,244,0.1);
  transform: translateY(-2px);
}
.cic-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.cic-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.cic-value {
  font-family: var(--ff-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
.cic-sub {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 0.15rem;
}
.cic-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--blue);
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  transition: color 0.15s;
}
.cic-action:hover { color: var(--cyan); }

/* Office address cards span 2 cols on wide screens */
.contact-info-card.wide {
  grid-column: span 1;
}

/* Contact FAQ / Expectations */
.contact-expect {
  padding: var(--section-py) 0;
  background: var(--surface);
}
.expect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.expect-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.expect-card .ec-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  display: block;
}
.expect-card h4 {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
  font-family: var(--ff-head);
}
.expect-card p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── ABOUT PAGE ───────────────────────────────────────── */
.about-story {
  padding: var(--section-py) 0;
  background: var(--white);
}
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  margin-top: 2.5rem;
}
.about-story-text p {
  font-size: 1.02rem;
  color: var(--slate);
  line-height: 1.85;
  margin-bottom: 1rem;
}
.about-story-text p:last-child { margin-bottom: 0; }
.about-story-text blockquote {
  border-left: 3px solid var(--blue);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-family: var(--ff-head);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink2);
  line-height: 1.6;
}
.story-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.story-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.story-stat .ss-num {
  display: block;
  font-family: var(--ff-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.story-stat .ss-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Founder section */
.founder-section {
  padding: var(--section-py) 0;
  background: var(--surface);
}
.founder-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin-top: 2.5rem;
}
.founder-avatar-wrap { text-align: center; }
.founder-avatar {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--ink);
  border: 4px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  margin: 0 auto 1rem;
  overflow: hidden;
}
.founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder-name {
  font-family: var(--ff-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.founder-title {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.founder-credentials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.credential-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.3rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate);
}
.founder-bio-text p {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.85;
  margin-bottom: 1rem;
}
.founder-bio-text p:last-child { margin-bottom: 0; }
.founder-bio-text blockquote {
  border-left: 3px solid var(--cyan);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-family: var(--ff-head);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink2);
  line-height: 1.65;
}

/* Vision card */
.vision-section {
  padding: var(--section-py) 0;
  background: var(--ink);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.vision-section::before {
  content: '';
  position: absolute;
  width: min(600px, 90vw); height: min(600px, 90vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3,169,244,0.1) 0%, transparent 65%);
  top: -40%; left: -15%;
  pointer-events: none;
}
.vision-section::after {
  content: '';
  position: absolute;
  width: min(500px, 80vw); height: min(500px, 80vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(146,208,80,0.07) 0%, transparent 65%);
  bottom: -40%; right: -10%;
  pointer-events: none;
}
.vision-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.vision-section .section-label { color: var(--cyan); }
.vision-section .section-title { color: var(--white); margin-bottom: 1.5rem; }
.vision-statement {
  font-family: var(--ff-head);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 1.5rem;
}
.vision-pillars {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.vision-pill {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Values grid */
.values-section {
  padding: var(--section-py) 0;
  background: var(--white);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.value-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--white);
  border-top: 3px solid var(--blue);
  transition: box-shadow 0.2s, transform 0.2s;
}
.value-card:nth-child(2) { border-top-color: var(--green); }
.value-card:nth-child(3) { border-top-color: var(--cyan); }
.value-card:nth-child(4) { border-top-color: var(--red); }
.value-card:nth-child(5) { border-top-color: #9c27b0; }
.value-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.08); transform: translateY(-2px); }
.vc-icon { font-size: 2rem; margin-bottom: 0.85rem; display: block; }
.value-card h4 {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.value-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}

/* What makes us different */
.different-section {
  padding: var(--section-py) 0;
  background: var(--surface);
}
.different-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
.different-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.different-card:hover { border-color: var(--blue); box-shadow: 0 4px 18px rgba(3,169,244,0.08); }
.dc-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 10px;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.dc-text h4 {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.dc-text p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.6;
}


/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 900px) {
  .philosophy-grid    { grid-template-columns: 1fr; gap: 2.5rem; }
  .article-layout-inner { grid-template-columns: 1fr; }
  .article-sidebar    { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
}

@media (max-width: 680px) {
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; }
  .hero-stats { grid-template-columns: 1fr; gap: 0.5rem; padding-top: 1.5rem; margin-top: 2rem; }
  .stat-item  { display: flex; align-items: center; gap: 1rem; text-align: left; justify-content: center; }
  .courses-header  { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .login-buttons   { flex-direction: column; align-items: center; }
  .login-buttons .btn { width: 100%; max-width: 320px; }
  .footer-inner    { grid-template-columns: 1fr; }
  .footer-links    { justify-content: flex-start; }
  .footer-bottom   { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .article-sidebar { grid-template-columns: 1fr; }
  .article-nav     { flex-direction: column; }
  .article-nav-link.next { text-align: left; align-items: flex-start; }
  .story-stat-grid  { grid-template-columns: 1fr 1fr; }
  .vision-pillars   { flex-direction: column; align-items: center; }


  /* Demo pages */
  .vdc-header       { padding: 1rem 1rem 0.75rem; gap: 0.75rem; }
  .vdc-desc         { padding: 0 1rem 1rem; }
  .vdc-meta         { padding: 0.75rem 1rem; gap: 0.75rem; }
  .demo-enrol-inner { flex-direction: column; align-items: flex-start; }
  .demo-enrol-actions { width: 100%; }
  .demo-enrol-actions .btn { flex: 1; text-align: center; min-width: 140px; }
}

@media (max-width: 900px) {
  .about-story-grid { grid-template-columns: 1fr; }
  .founder-grid     { grid-template-columns: 1fr; }
  .founder-avatar-wrap { display: flex; flex-direction: column; align-items: center; }
  .different-grid   { grid-template-columns: 1fr; }
}


