/* ==========================================================================
   School Digitalised — shared stylesheet
   ========================================================================== */

:root{
  --ink:#111118;
  --ink-soft:#3a3a44;
  --canvas:#f5f7fb;
  --white:#ffffff;
  --border:#e2e6f0;

  --orange:#fdb602; --orange-tint:#fdf1dc; --orange-deep:#8a5c00;
  --green:#7db600;  --green-tint:#eaf3e1;  --green-deep:#3d6b1f;
  --blue:#04a1ec;   --blue-tint:#e3f4fc;   --blue-deep:#0d6690;
  --red:#ef4f23;    --red-tint:#fde5db;    --red-deep:#a83a17;

  --font-display:'Manrope', ui-sans-serif, system-ui, sans-serif;
  --font-text:'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono:'JetBrains Mono', ui-monospace, monospace;

  --r-button:48px; --r-card:24px; --r-pill:999px; --r-small:16px;

  --shadow-btn: 0 4px 0 0 var(--ink);
  --shadow-btn-sm: 0 3px 0 0 var(--ink);
  --shadow-card: 0 2px 0 0 var(--ink);
  --shadow-card-hover: 0 6px 0 0 var(--ink);

  --max:1280px;
  --ease: cubic-bezier(.22,.61,.36,1);
}
@media (min-width:1680px){ :root{ --max:1480px; } }
@media (min-width:2000px){ :root{ --max:1680px; } }

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--canvas);
  color:var(--ink);
  font-family:var(--font-text);
  font-size:16px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  opacity:0;
  animation:page-in .5s var(--ease) forwards;
}
@keyframes page-in{ from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:translateY(0);} }

img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
section{position:relative;}
.wrap{max-width:var(--max); margin:0 auto; padding: 0px clamp(20px, 3.5vw, 56px);}
.wrap-wide{ max-width:1280px !important; text-align:left; }
@media (min-width:1680px){ .wrap-wide{ max-width:1480px !important; } }

h1,h2,h3{ font-family:var(--font-display); font-weight:500; margin:0; color:var(--ink); }

/* ---------- Reveal-on-scroll ---------- */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view{ opacity:1; transform:translateY(0); }
.reveal-1{ transition-delay:.08s; }
.reveal-2{ transition-delay:.16s; }
.reveal-3{ transition-delay:.24s; }
.reveal-4{ transition-delay:.32s; }
.reveal-5{ transition-delay:.4s; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
}

/* ---------- Ticker ---------- */
.ticker{ background:var(--ink); color:var(--white); overflow:hidden; white-space:nowrap; padding:9px 0; }
.ticker-track{ display:inline-block; font-family:var(--font-mono); font-size:12px; letter-spacing:-0.013em; animation:scroll-left 32s linear infinite; }
.ticker-track span{ padding:0 18px; opacity:0.9; }
.ticker-track span.dot{ opacity:0.45; }
@keyframes scroll-left{ 0%{transform:translateX(0);} 100%{transform:translateX(-50%);} }
@media (prefers-reduced-motion: reduce){ .ticker-track{ animation:none; } }

/* ---------- Nav ---------- */
/* .nav{
  position:sticky; top:0; z-index:50;
   background: rgba(var(--white), 0.6);
  /* border-bottom:1px solid var(--border); */
  /* transition:box-shadow .25s ease, height .25s ease; */
/* } */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;

  background: rgb(255 255 255 / 50%);

  transition:
    background-color .25s ease,
    box-shadow .25s ease;
}
.nav.scrolled {
  background: rgb(255 255 255 / 95%);
  box-shadow: 0 4px 16px rgba(17,17,24,0.06);
}
.nav .wrap{ height:84px; display:flex; align-items:center; justify-content:space-between; transition:height .25s ease; }
.nav.scrolled .wrap{ height:66px; }
.nav-brand{ display:flex; align-items:center; gap:12px; }
.nav-brand img{ width:44px; height:44px; transition:transform .3s ease, width .25s ease, height .25s ease; }
.nav.scrolled .nav-brand img{ width:36px; height:36px; }
.nav-brand span{ font-family:var(--font-display); font-size:21px; font-weight:500; letter-spacing:-0.01em; color:var(--ink); }
.nav-links{ display:flex; align-items:center; gap:36px; }
.nav-links > a, .nav-links > .has-dropdown > button{
  font-size:16px; padding:6px 0;
  border:none; background:none; font-family:var(--font-text); cursor:pointer; color:#4a4a54;
  display:inline-flex; align-items:center; gap:6px; position:relative;
  transition:color .15s ease;
}
.nav-links > a::after, .nav-links > .has-dropdown > button::after{
  content:''; position:absolute; left:0; right:0; bottom:-4px; height:2px; background:var(--blue);
  transform:scaleX(0); transition:transform .2s var(--ease); transform-origin:left;
}
.nav-links > a:hover, .nav-links > .has-dropdown:hover > button{ color:var(--ink); background:none; }
.nav-links > a:hover::after, .nav-links > .has-dropdown:hover > button::after{ transform:scaleX(1); }
.nav-links > a.active{ color:var(--blue); background:none; font-weight:500; }
.nav-links > a.active::after{ transform:scaleX(1); }
.has-dropdown{ position:relative; }
.has-dropdown svg{ width:12px; height:12px; transition:transform .2s ease; }
.has-dropdown:hover svg{ transform:rotate(180deg); }
.dropdown{
  position:absolute; top:calc(100% + 16px); left:50%; transform:translateX(-50%) translateY(6px);
  background:var(--white); border:1px solid var(--border);
  border-radius:16px; padding:8px; min-width:230px;
  box-shadow:0 10px 30px rgba(17,17,24,0.12);
  opacity:0; visibility:hidden;
  transition:opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-dropdown:hover .dropdown, .has-dropdown.open .dropdown{ opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }
.dropdown a{ display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:10px; font-size:15px; }
.dropdown a:hover{ background:var(--canvas); }
.dropdown a::after{ display:none; }
/* .dropdown a .dd-dot{ width:8px; height:8px; border-radius:50%; flex:none; } */
.dropdown a .dd-sub{ display:block; font-size:12.5px; color:#7a7a86; }

.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:8px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{ display:block; width:22px; height:2px; background:var(--ink); position:relative; }
.nav-toggle span::before{ content:''; position:absolute; top:-7px; width:22px; height:2px; background:var(--ink); }
.nav-toggle span::after{ content:''; position:absolute; top:7px; width:22px; height:2px; background:var(--ink); }

@media (max-width: 900px){
  .nav-links{
    position:absolute; top:100%; left:0; right:0; background:var(--white);
    border-bottom:1px solid var(--border); flex-direction:column; align-items:stretch; gap:0;
    padding:8px 24px 16px; display:none; max-height:80vh; overflow:auto;
  }
  .nav-links.open{ display:flex; }
  .nav-links > a, .nav-links > .has-dropdown > button{ width:100%; justify-content:space-between; border-radius:0; padding:14px 0; border-bottom:1px solid var(--border); }
  .dropdown{ position:static; box-shadow:none; border:none; opacity:1; visibility:visible; transform:none; display:none; padding:0 0 8px; }
  .has-dropdown.open .dropdown{ display:block; }
  .nav-toggle{ display:block; }
}

/* ---------- Shapes / parallax ---------- */
.shape-field{ position:absolute; inset:0; overflow:hidden; z-index:0; pointer-events:none; }
.shape{ position:absolute; will-change:transform; }
.shape.pentagon{ clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%); }
.shape.triangle{ clip-path: polygon(50% 0%, 0% 100%, 100% 100%); }
.shape.star{ clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }
.shape.semicircle{ border-radius: 500px 500px 0 0; }
.shape.circle{ border-radius:50%; }

/* ---------- Breadcrumb ---------- */
.breadcrumb{ font-family:var(--font-mono); font-size:12px; color:#7a7a86; margin-bottom:18px; display:flex; gap:8px; align-items:center; }
.breadcrumb a:hover{ color:var(--ink); }

/* ---------- Buttons ---------- */
.btn{ display:inline-flex; align-items:center; gap:8px; font-family:var(--font-text); font-size:17px; font-weight:400; padding:13px 26px; border-radius:var(--r-button); cursor:pointer; border:none; transition:transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn-primary{ background:var(--ink); color:var(--white); box-shadow:var(--shadow-btn-sm); }
.btn-secondary{ background:var(--white); color:var(--ink); border:1px solid var(--border); }
.btn-primary:hover{ transform:translateY(1px); box-shadow:0 2px 0 0 var(--ink); }
.btn-secondary:hover{ background:var(--border); }

/* ---------- Section headers ---------- */
.section-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:40px; flex-wrap:wrap; }
.section-head h2{ font-size:38px; letter-spacing:-0.015em; max-width:600px; }
.section-head p{ margin:12px 0 0; font-size:17px; color:#4a4a54; max-width:520px; }
.eyebrow-tag{ display:inline-flex; align-items:center; gap:8px; font-family:var(--font-text); font-size:14px; padding:6px 16px; border-radius:var(--r-pill); margin-bottom:16px; }
.eyebrow-tag .dot{ width:8px; height:8px; border-radius:50%; }

/* ---------- Page hero (module / persona / about) ---------- */
.page-hero{ padding:64px 0 72px; overflow:hidden; }
.page-hero .wrap{ position:relative; z-index:1; }
.page-hero-grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:48px; align-items:center; }
.page-hero h1{ font-size:52px; line-height:1.08; letter-spacing:-0.02em; }
.page-hero p.sub{ margin:20px 0 0; font-size:19px; line-height:1.55; color:var(--ink-soft); max-width:520px; }
@media (max-width:900px){ .page-hero-grid{ grid-template-columns:1fr; } }
@media (max-width:560px){ .page-hero h1{ font-size:36px; } }

/* ---------- Icon tile ---------- */
.icon-tile{ width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; flex:none; }
.icon-tile svg{ width:22px; height:22px; }
.icon-tile.lg{ width:64px; height:64px; border-radius:16px; }
.icon-tile.lg svg{ width:30px; height:30px; }

/* ---------- Cards / grids ---------- */
.card{ background:var(--white); border:1px solid var(--border); border-radius:var(--r-card); padding:28px; box-shadow:var(--shadow-card); transition:transform .2s var(--ease), box-shadow .2s var(--ease); }
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-card-hover); }
.card h3{ font-size:22px; margin:20px 0 10px; letter-spacing:-0.01em; }
.card p{ font-size:15.5px; color:#4a4a54; margin:0; }

.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
@media (max-width:860px){ .grid-3, .grid-4{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .grid-3, .grid-4, .grid-2{ grid-template-columns:1fr; } }

/* ---------- Persona / module link cards (home overview) ---------- */
.link-card{ position:relative; display:block; }
.link-card .arrow{ position:absolute; top:24px; right:24px; width:32px; height:32px; border-radius:50%; border:1px solid var(--border); display:flex; align-items:center; justify-content:center; transition:transform .2s var(--ease), background .2s ease; }
.link-card:hover .arrow{ transform:translate(3px,-3px); background:var(--ink); }
.link-card:hover .arrow svg{ stroke:var(--white); }
.link-card .arrow svg{ width:14px; height:14px; transition:stroke .2s ease; }

/* ---------- Feature list ---------- */
.feature-list{ display:flex; flex-direction:column; gap:2px; margin-top:12px; }
.feature-item{ display:flex; gap:16px; padding:20px 0; border-top:1px solid var(--border); }
.feature-item:last-child{ border-bottom:1px solid var(--border); }
.feature-item .f-dot{ flex:none; width:10px; height:10px; border-radius:50%; margin-top:7px; }
.feature-item h4{ font-family:var(--font-text); font-size:17px; font-weight:500; margin:0 0 4px; }
.feature-item p{ font-size:15px; color:#55555f; margin:0; }

/* ---------- App panel mock ---------- */
.persona-panel{ background:var(--white); border:1px solid var(--border); border-radius:var(--r-card); padding:28px; box-shadow:var(--shadow-card); position:relative; }
.panel-top{ display:flex; align-items:center; gap:10px; margin-bottom:22px; }
.panel-top .pdot{ width:10px; height:10px; border-radius:50%; background:#e2e6f0; }
.panel-top .pdot:nth-child(1){ background:#ffbdbd; }
.panel-top .pdot:nth-child(2){ background:#ffe4a3; }
.panel-top .pdot:nth-child(3){ background:#c7f0c2; }
.panel-row{ display:flex; align-items:center; justify-content:space-between; padding:14px 16px; border-radius:var(--r-small); margin-bottom:10px; font-size:15px; }
.panel-row:last-child{ margin-bottom:0; }
.panel-tag{ font-family:var(--font-mono); font-size:11px; padding:4px 10px; border-radius:var(--r-pill); background:var(--ink); color:var(--white); flex:none; margin-left:12px; }

/* ---------- Split section (copy + panel) ---------- */
.split-grid{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:56px; align-items:center; }
@media (max-width:900px){ .split-grid{ grid-template-columns:1fr; } }

/* ---------- Timeline / scenario ---------- */
.scenario{ background:var(--white); border:1px solid var(--border); border-radius:var(--r-card); padding:40px; box-shadow:var(--shadow-card); }
.scenario-label{ font-family:var(--font-mono); font-size:12px; color:#7a7a86; margin-bottom:8px; letter-spacing:0.02em; }
.timeline{ margin-top:24px; }
.t-row{ display:grid; grid-template-columns:88px 1fr; gap:20px; padding:16px 0; border-top:1px solid var(--border); }
.t-row:first-child{ border-top:none; }
.t-time{ font-family:var(--font-mono); font-size:13px; color:#7a7a86; padding-top:2px; }
.t-body h4{ font-family:var(--font-text); font-size:16px; font-weight:500; margin:0 0 4px; }
.t-body p{ font-size:14.5px; color:#55555f; margin:0; }

/* ---------- Stats ---------- */
.stats-band{ padding:64px 0; }
.stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; background:var(--white); border:1px solid var(--border); border-radius:var(--r-card); padding:40px; box-shadow:var(--shadow-card); }
.stat h3{ font-size:40px; letter-spacing:-0.02em; font-variant-numeric:tabular-nums; }
.stat p{ margin:8px 0 0; font-size:15px; color:#55555f; }
@media (max-width:820px){ .stats-grid{ grid-template-columns:1fr 1fr; } }

/* ---------- Values / capability grid items ---------- */
.value-card{ text-align:left; }

/* ---------- Section wash backgrounds ---------- */
/* ---------- Top brand stripe ---------- */
.brand-stripe{ height:4px; width:100%; background:linear-gradient(90deg, var(--orange) 0 25%, var(--green) 25% 50%, var(--blue) 50% 75%, var(--red) 75% 100%); }

/* ---------- Colorful wash ---------- */
.wash{
  background:
    radial-gradient(circle at 8% 20%, var(--orange-tint) 0%, transparent 40%),
    radial-gradient(circle at 92% 15%, var(--blue-tint) 0%, transparent 40%),
    radial-gradient(circle at 15% 85%, var(--green-tint) 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, var(--red-tint) 0%, transparent 40%),
    var(--white);
  border-top:1px solid var(--border); border-bottom:1px solid var(--border);
}

/* Colored top-border accents (set --accent inline to activate) */
.card, .tile, .carousel-card, .day-tile{ border-top:4px solid var(--accent, transparent); }


/* ---------- Footer ---------- */
footer{ background:var(--ink); color:#e7e7ee; padding:64px 0 32px; }
.footer-top{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:24px; border-bottom:1px solid #2b2b36; }
.footer-brand{ display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.footer-brand img{ width:30px; height:30px; }
.footer-brand span{ font-family:var(--font-display); font-size:18px; color:var(--white); }
.footer-top p{ font-size:14.5px; color:#a6a6b3; max-width:280px; margin:0; }
.footer-col h5{ font-family:var(--font-text); font-weight:500; font-size:14px; color:#8f8fa0; margin:0 0 16px; letter-spacing:0.02em; }
.footer-col a{ display:block; font-size:15px; color:#e7e7ee; padding:6px 0; transition:color .15s ease, transform .15s ease; }
.footer-col a:hover{ color:var(--white); transform:translateX(3px); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:28px; font-size:13.5px; color:#7d7d8c; flex-wrap:wrap; gap:12px; }
@media (max-width:820px){ .footer-top{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-top{ grid-template-columns:1fr; } .section-head h2{ font-size:30px; } .stats-grid{ padding:24px; } }

/* ---------- Storytelling components ---------- */
.problem-band{ background:var(--ink); color:#e7e7ee; padding:96px 0; overflow:hidden; }
.problem-band h2{ color:#ffffff; }
.problem-band p{ color:#b3b3c0; }
.problem-band .eyebrow-tag{ background:rgba(255,255,255,0.08); color:#d8d8e2; }
.problem-band .eyebrow-tag .dot{ background:#ffffff; }
.problem-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
@media (max-width:900px){ .problem-grid{ grid-template-columns:1fr; } }
.problem-list{ display:flex; flex-direction:column; gap:0; margin-top:8px; }
.problem-row{ display:flex; gap:16px; padding:18px 0; border-top:1px solid #2b2b36; }
.problem-row:last-child{ border-bottom:1px solid #2b2b36; }
.problem-row .p-x{ flex:none; width:22px; height:22px; border-radius:50%; background:rgba(244,81,30,0.18); display:flex; align-items:center; justify-content:center; margin-top:2px; }
.problem-row .p-x svg{ width:11px; height:11px; }
.problem-row p{ margin:0; font-size:15.5px; color:#c7c7d1; }
.problem-card{ background:#1b1b24; border:1px solid #2b2b36; border-radius:var(--r-card); padding:28px; }
.problem-card .panel-row{ background:#232330; color:#e7e7ee; }
.problem-card .panel-row span:first-child{ color:#c7c7d1; }

.lede{ font-size:20px; line-height:1.6; color:var(--ink-soft); max-width:700px; }
.narrative{ max-width:700px; }
.narrative p{ font-size:17px; line-height:1.7; color:var(--ink-soft); margin:0 0 18px; }
.narrative p:last-child{ margin-bottom:0; }

.story-quote{
  font-family:var(--font-display); font-size:26px; line-height:1.4; letter-spacing:-0.01em;
  color:var(--ink); border-left:3px solid var(--ink); padding:4px 0 4px 28px; margin:8px 0;
}
.story-quote cite{ display:block; font-family:var(--font-mono); font-style:normal; font-size:12px; color:#7a7a86; margin-top:14px; letter-spacing:0.02em; }

.section-kicker{ font-family:var(--font-mono); font-size:12.5px; letter-spacing:0.04em; color:#7a7a86; text-transform:uppercase; margin-bottom:10px; display:block; }
/* ---------- Alternate reveal directions ---------- */
.reveal-left{ opacity:0; transform:translateX(-36px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-left.in-view{ opacity:1; transform:translateX(0); }
.reveal-right{ opacity:0; transform:translateX(36px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-right.in-view{ opacity:1; transform:translateX(0); }
.reveal-scale{ opacity:0; transform:scale(0.92); transition:opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-scale.in-view{ opacity:1; transform:scale(1); }
@media (prefers-reduced-motion: reduce){
  .reveal-left, .reveal-right, .reveal-scale{ opacity:1; transform:none; transition:none; }
}

/* ---------- Role / module carousel ---------- */
.carousel-wrap{ position:relative; margin:0 -24px; padding:0 24px; }
.carousel{
  display:flex; gap:18px; overflow-x:auto; scroll-snap-type:x proximity;
  padding:6px 0 22px; -webkit-overflow-scrolling:touch;
  scrollbar-width:thin; scrollbar-color:var(--border) transparent;
}
.carousel::-webkit-scrollbar{ height:6px; }
.carousel::-webkit-scrollbar-thumb{ background:var(--border); border-radius:99px; }
.carousel-card{
  flex:none; width:270px; scroll-snap-align:start;
  background:var(--white); border:1px solid var(--border); border-radius:var(--r-card);
  padding:24px; box-shadow:var(--shadow-card); display:block;
  transition:transform .2s var(--ease), box-shadow .2s var(--ease);
}
.carousel-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-card-hover); }
.carousel-card h4{ font-family:var(--font-text); font-size:17px; font-weight:500; margin:16px 0 6px; }
.carousel-card p{ font-size:14px; color:#55555f; margin:0; }
.carousel-card .cc-arrow{ display:inline-flex; align-items:center; gap:6px; font-size:13.5px; margin-top:14px; color:var(--ink); }
.carousel-card .cc-arrow svg{ width:13px; height:13px; }

/* ---------- Tile grids (dense feature tiles) ---------- */
.tile-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
@media (max-width:900px){ .tile-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .tile-grid{ grid-template-columns:1fr; } }
.tile{
  background:var(--white); border:1px solid var(--border); border-radius:18px;
  padding:20px; transition:transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s ease;
}
.tile:hover{ transform:translateY(-3px); box-shadow:var(--shadow-card); }
.tile .tile-icon{ width:36px; height:36px; border-radius:10px; display:flex; align-items:center; justify-content:center; margin-bottom:14px; }
.tile .tile-icon svg{ width:18px; height:18px; }
.tile h4{ font-family:var(--font-text); font-size:15px; font-weight:500; margin:0 0 6px; }
.tile p{ font-size:13.5px; color:#5c5c66; margin:0; line-height:1.5; }

/* ---------- Day-tile strip ---------- */
.day-strip{ display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
@media (max-width:820px){ .day-strip{ grid-template-columns:repeat(2,1fr); } }
.day-tile{ background:var(--white); border:1px solid var(--border); border-radius:18px; padding:20px; }
.day-tile .day-label{ font-family:var(--font-mono); font-size:11.5px; color:#8a8a94; text-transform:uppercase; letter-spacing:0.04em; }
.day-tile h4{ font-family:var(--font-text); font-size:15px; font-weight:500; margin:8px 0 6px; }
.day-tile p{ font-size:13.5px; color:#5c5c66; margin:0; }

/* ---------- FAQ / accordion ---------- */
.faq{ max-width:5000 px; }
.faq-item{ border-top:1px solid var(--border); }
.faq-item:last-child{ border-bottom:1px solid var(--border); }
.faq-item summary{
  list-style:none; cursor:pointer; padding:22px 4px;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  font-family:var(--font-text); font-size:16.5px; font-weight:500; color:var(--ink);
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary .faq-plus{
  flex:none; width:26px; height:26px; border-radius:50%; border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; position:relative; transition:transform .2s ease;
}
.faq-item summary .faq-plus::before, .faq-item summary .faq-plus::after{
  content:''; position:absolute; background:var(--ink);
}
.faq-item summary .faq-plus::before{ width:10px; height:1.6px; }
.faq-item summary .faq-plus::after{ width:1.6px; height:10px; transition:opacity .2s ease; }
.faq-item[open] summary .faq-plus::after{ opacity:0; }
.faq-item[open] summary .faq-plus{ transform:rotate(90deg); }
.faq-item p{ margin:0 4px 22px; font-size:15px; color:#4a4a54; max-width:5000px; line-height:1.6; }

/* ---------- Milestone rail (About) ---------- */
.rail{ position:relative; padding-left:28px; }
.rail::before{ content:''; position:absolute; left:6px; top:6px; bottom:6px; width:2px; background:var(--border); }
.rail-item{ position:relative; padding-bottom:36px; }
.rail-item:last-child{ padding-bottom:0; }
.rail-item::before{ content:''; position:absolute; left:-28px; top:4px; width:14px; height:14px; border-radius:50%; background:var(--white); border:2px solid var(--ink); }
.rail-item .section-kicker{ margin-bottom:6px; }
.rail-item h4{ font-family:var(--font-text); font-size:17px; font-weight:500; margin:0 0 6px; }
.rail-item p{ font-size:15px; color:#55555f; margin:0; max-width:560px; }

/* ---------- Nav secondary row (badges/utility) ---------- */
.nav-badge{
  display:inline-flex; align-items:center; gap:6px; font-family:var(--font-mono); font-size:12px;
  padding:6px 12px; border-radius:var(--r-pill); background:var(--canvas); border:1px solid var(--border); color:#5c5c66;
}
.nav-badge .nb-dot{ width:6px; height:6px; border-radius:50%; background:var(--green); }
@media (max-width:1080px){ .nav-badge{ display:none; } }

/* ---------- Bold tilt cards (reference-style color blocks) ---------- */
.tilt-row{ display:flex; gap:0; margin:8px -6px 0; }
.tilt-card{
  flex:1; margin:0 6px; border-radius:24px; padding:34px 28px; color:#fff; position:relative;
  min-height:300px; display:flex; flex-direction:column; text-decoration:none;
  box-shadow:0 14px 0 0 rgba(17,17,24,0.15);
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), z-index 0s;
}
.tilt-card:nth-child(1){ transform:rotate(-2.2deg); z-index:1; }
.tilt-card:nth-child(2){ transform:rotate(1.6deg) translateY(-14px); z-index:2; }
.tilt-card:nth-child(3){ transform:rotate(-1.4deg); z-index:1; }
.tilt-card:hover{ transform:rotate(0deg) translateY(-10px) !important; z-index:3; box-shadow:0 20px 0 0 rgba(17,17,24,0.18); }
.tilt-card .tc-icon{ width:44px; height:44px; border-radius:12px; background:rgba(255,255,255,0.22); display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.tilt-card .tc-icon svg{ width:22px; height:22px; }
.tilt-card h3{ color:#fff; font-size:28px; letter-spacing:-0.015em; margin-bottom:12px; line-height:1.15; }
.tilt-card p{ color:rgba(255,255,255,0.92); font-size:15px; line-height:1.5; margin:0; }
.tilt-card .tc-arrow{ margin-top:auto; padding-top:22px; display:inline-flex; align-items:center; gap:8px; color:#fff; font-size:14px; font-family:var(--font-mono); }
.tilt-card .tc-arrow svg{ width:14px; height:14px; }
@media (max-width:860px){
  .tilt-row{ flex-direction:column; gap:16px; margin:8px 0 0; }
  .tilt-card{ margin:0; transform:none !important; min-height:auto; padding:28px; }
}

/* ---------- Rotating role-cycle text ---------- */
.hero{ padding:96px 0 88px; overflow:hidden; }
.role-cycle{ display:inline-block; position:relative; height:1.15em; overflow:hidden; vertical-align:bottom; min-width:132px; text-align:left; }
.role-cycle span{ position:absolute; left:0; top:0; opacity:0; transform:translateY(70%); animation:role-cycle-anim 8s infinite; font-weight:500; }
.role-cycle span:nth-child(1){ animation-delay:0s; color:var(--orange); }
.role-cycle span:nth-child(2){ animation-delay:2s; color:var(--green); }
.role-cycle span:nth-child(3){ animation-delay:4s; color:var(--blue); }
.role-cycle span:nth-child(4){ animation-delay:6s; color:var(--red); }
@keyframes role-cycle-anim{
  0%{ opacity:0; transform:translateY(60%); }
  5%{ opacity:1; transform:translateY(0); }
  20%{ opacity:1; transform:translateY(0); }
  27%{ opacity:0; transform:translateY(-60%); }
  100%{ opacity:0; transform:translateY(-60%); }
}
@media (prefers-reduced-motion: reduce){ .role-cycle span{ animation:none; opacity:1; transform:none; } .role-cycle span:not(:first-child){ display:none; } }

/* ==========================================================================
   Landing hero v2 — illustrated campus scene + clickable role circles
   ========================================================================== */
.hero-v2{
  position:relative; overflow:hidden; padding:56px 0 0; min-height:660px;
  background:linear-gradient(180deg, #cfe8fa 0%, #e8f4fd 40%, #fdf6e8 75%, var(--canvas) 100%);
}
.hero-scene{ position:absolute; top:0; left:0; right:0; bottom:0; pointer-events:none; 
    z-index: 0;
    }
.hero-art-img {
    width: 100%;
    height: 100%;
    object-position: center bottom; 
     /* object-fit: cover;
  display: block; */
}

.hero-wrap {
  padding-top: 50px;
}
.hero-v2 > .wrap {
  position: relative;
  z-index: 2;
}
.hero-art{ position:absolute; top:0; left:0; width:100%; height:100%; }
.art-glow{ transform-origin:880px 560px; animation:glow-breathe 7s ease-in-out infinite; }
@keyframes glow-breathe{ 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:0.82; transform:scale(1.07); } }
.art-tree-front{ transform-origin:50% 100%; animation:tree-sway 9s ease-in-out infinite; }
.art-tree-mid{ transform-origin:50% 100%; animation:tree-sway 11s ease-in-out infinite reverse; }
@keyframes tree-sway{ 0%,100%{ transform:rotate(-0.35deg); } 50%{ transform:rotate(0.35deg); } }
.hero-cloud{ position:absolute; opacity:0.92; animation:cloud-drift 44s ease-in-out infinite alternate; }
@keyframes cloud-drift{ from{ transform:translateX(0); } to{ transform:translateX(42px); } }

/* decorative brand arcs / corner shapes */
.deco{ position:absolute; pointer-events:none; }
.deco-tl{ top:-120px; left:-110px; width:300px; height:300px; border-radius:50%; background:var(--blue); opacity:0.16; }
.deco-tr{ top:-140px; right:-90px; width:280px; height:280px; border-radius:50%; background:var(--orange); opacity:0.14; }
.deco-br{ bottom:-18px; right:-18px; width:210px; height:210px; }
@media (max-width:820px){ .deco-br{ width:140px; height:140px; } .deco-tl,.deco-tr{ width:190px; height:190px; } }

@media (prefers-reduced-motion: reduce){
  .art-glow, .art-tree-front, .art-tree-mid, .hero-cloud{ animation:none; }
}

.hero-v2 .wrap{ position:relative; z-index:2; }
.hero-tagline{
  text-align:center; font-family:var(--font-mono); font-size:13px; letter-spacing:0.16em;
  color:var(--blue-deep); margin:0 0 34px; text-transform:uppercase;
  opacity:0; animation:fade-up .8s var(--ease) .15s forwards;
}
@keyframes fade-up{ from{ opacity:0; transform:translateY(14px); } to{ opacity:1; transform:translateY(0); } }

.role-circles{ display:flex; justify-content:center; gap:34px; flex-wrap:wrap; margin:0 0 44px; }
/* .role-circle{
  position:relative; width:200px; height:200px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; text-align:center;
  text-decoration:none; color:#fff; padding:24px;
  box-shadow:0 16px 34px -10px rgba(17,17,24,0.32);
  opacity:0; transform:scale(0.8) translateY(20px);
  animation:circle-in .75s var(--ease) forwards, circle-bob 5s ease-in-out infinite;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.role-circle-outer{
  position:relative; width:240px; height:240px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; text-align:center;
  text-decoration:none; color:#fff; padding:24px;
  box-shadow:0 16px 34px -10px rgba(17,17,24,0.32);
  opacity:0; transform:scale(0.8) translateY(20px);
  animation:circle-in .75s var(--ease) forwards, circle-bob 5s ease-in-out infinite;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
} */

/* ==========================================================================
   Outer Circle (The new base element with low opacity tint)
   ========================================================================== */

.role-circle-outer {
  position: relative; 
  width: 220px; 
  height: 220px; 
  border-radius: 50%;
  display: flex; 
  align-items: center; 
  justify-content: center; 
  text-align: center;
  



  
  /* Automatically assigns colors based on the modifier class below */
  background-color: var(--brand-tint); 
  /* border: 1px solid var(--brand-border);  */
  box-shadow: 0 16px 34px -10px rgba(17,17,24,0.32);
  
  /* Entrance & Bobbing animations */
  opacity: 0; 
  transform: scale(0.8) translateY(20px);
  animation: circle-in .75s var(--ease) forwards, circle-bob 5s ease-in-out infinite;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s ease;
}

/* ==========================================================================
   The Rotating Arc (Updates color automatically)
   ========================================================================== */
.role-circle-outer .rc-arc {
  position: absolute; 
  top: -1px; right: -1px; bottom: -1px; left: -1px; 
  border-radius: 50%;
  border: 3px solid transparent; 
  border-top-color: var(--brand-tint);
  border-right-color: var(--brand-color);
  opacity: 0.9;
  pointer-events: none; 
  transition: transform .7s var(--ease); 
}

/* ==========================================================================
   Inner Solid Div (Updates color automatically)
   ========================================================================== */
.role-circle {
  position: relative; 
  width: 180px; 
  height: 180px; 
  border-radius: 50%;
  display: flex; 
  align-items: center; 
  justify-content: center; 
  text-align: center;
  text-decoration: none; 
  color: #fff; 
  padding: 24px;
  box-sizing: border-box;

  /* Dynamically inherits the bright solid color */
  background-color: var(--brand-color); 
  box-shadow: 0 10px 25px rgba(17, 17, 24, 0.15);
  
  opacity: 1; 
  transform: none;
  animation: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

/* ==========================================================================
   Combined Hover Transitions
   ========================================================================== */
.role-circle-outer:hover {
  transform: translateY(-16px) scale(1.05) !important;
  box-shadow: 0 26px 46px -8px rgba(17,17,24,0.38);
  animation-play-state: paused, paused;
}

.role-circle-outer:hover .role-circle {
  transform: scale(1.03);
}

.role-circle-outer:hover .rc-arc { 
  transform: rotate(200deg); 
}
/* Blue  */
.role-circle-outer.theme-blue {
  --brand-color: rgb(4, 161, 236);                     
  --brand-tint: rgb(4, 161, 236,.2);     
  --brand-border: rgb(4, 161, 236);    
}

/* Green  */
.role-circle-outer.theme-green {
  --brand-color: rgb(125, 182, 0);                     
  --brand-tint: rgb(125, 182, 0,.2);     
  --brand-border: rgb(125, 182, 0);    
}

/* Orange  */
.role-circle-outer.theme-orange {
  --brand-color: rgb(253, 182, 2);                     
  --brand-tint: rgb(253, 182, 2,.2);     
  --brand-border: rgb(253, 182, 2);    
}

/* Red  */
.role-circle-outer.theme-red {
  --brand-color: rgb(239, 79, 35);                     
  --brand-tint: rgb(239, 79, 35,.2);     
  --brand-border: rgb(239, 79, 35);    
}

/* The bubble stage container */
.hero-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Sits directly above the image, but below text content */
  pointer-events: none; /* Allows user clicks to pass straight through */
}

/* Base bubble styling */
.bubble {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply; /* Optional: Helps blend the tints nicely with your bg image */
}

/* Theme color tint matching (using your exact 8% low opacity settings) */
.bubble--orange { 
  background-color: rgb(253, 182, 2,.2);
  /* border: 1px solid rgb(253, 182, 2,.2); */
}
.bubble--green { 
  background-color: rgb(125, 182, 0,.2);  
  /* border: 1px solid rgb(125, 182, 0,.2);  */
}
.bubble--red { 
  background-color: rgb(239, 79, 35,.2); 
  /* border: 1px solid rgb(239, 79, 35,.4);  */
}
.bubble--blue { 
  background-color: rgb(4, 161, 236,.2); 
  /* border: 1px solid rgb(4, 161, 236,.2);  */
}

/* Size configurations */
.b-small  { width: 20px;  height: 20px; }
.b-medium { width: 45px;  height: 45px; }
.b-large  { width: 75px;  height: 75px; }


.bubble:nth-child(1)  { top: 25%; left: 8%;  animation: drift-variant-1 10s ease-in-out infinite alternate; }
.bubble:nth-child(2)  { top: 65%; left: 12%; animation: drift-variant-2 13s ease-in-out infinite alternate; }
.bubble:nth-child(3)  { top: 12%; left: 40%; animation: drift-variant-3 9s  ease-in-out infinite alternate; }
.bubble:nth-child(4)  { top: 18%; left: 75%; animation: drift-variant-2 11s ease-in-out infinite alternate; }
.bubble:nth-child(5)  { top: 45%; left: 30%; animation: drift-variant-1 10s ease-in-out infinite alternate; }
.bubble:nth-child(6)  { top: 38%; left: 85%; animation: drift-variant-3 14s ease-in-out infinite alternate; }
.bubble:nth-child(7)  { top: 55%; left: 60%; animation: drift-variant-2 8s  ease-in-out infinite alternate; }
.bubble:nth-child(8)  { top: 78%; left: 45%; animation: drift-variant-1 12s ease-in-out infinite alternate; }
.bubble:nth-child(9)  { top: 82%; left: 82%; animation: drift-variant-3 11s ease-in-out infinite alternate; }
.bubble:nth-child(10) { top: 50%; left: 93%; animation: drift-variant-2 9s  ease-in-out infinite alternate; }


@keyframes drift-variant-1 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(35px, -50px) scale(1.08); }
  100% { transform: translate(-15px, 25px) scale(0.95); }
}

@keyframes drift-variant-2 {
  0%   { transform: translate(0, 0) scale(0.95); }
  50%  { transform: translate(-40px, 35px) scale(1.1); }
  100% { transform: translate(25px, -35px) scale(1); }
}

@keyframes drift-variant-3 {
  0%   { transform: translate(0, 0) scale(1.02); }
  50%  { transform: translate(30px, 30px) scale(0.92); }
  100% { transform: translate(-35px, -15px) scale(1.08); }
}







@media (max-width:1180px){ .role-circle{ width:180px; height:180px; } .role-circles{ gap:20px; } }
@media (max-width:900px){ .role-circle{ width:168px; height:168px; padding:14px; } }
@media (max-width:560px){ .role-circle{ width:148px; height:148px; } }
.role-circle:nth-child(1){ animation-delay:.30s, 1.1s; }
.role-circle:nth-child(2){ animation-delay:.42s, 1.6s; }
.role-circle:nth-child(3){ animation-delay:.54s, 2.1s; }
.role-circle:nth-child(4){ animation-delay:.66s, 2.6s; }
@keyframes circle-in{ to{ opacity:1; transform:scale(1) translateY(0); } }
@keyframes circle-bob{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-9px); } }

.role-circle--orange{ background:radial-gradient(circle at 32% 26%, rgb(253, 182, 2,.8), var(--orange) 60%); }
.role-circle--green{ background:radial-gradient(circle at 32% 26%, rgb(125, 182, 0,.8), var(--green) 60%); }
.role-circle--blue{ background:radial-gradient(circle at 32% 26%, rgb(4, 161, 236,.8), var(--blue) 60%); }
.role-circle--red{ background:radial-gradient(circle at 32% 26%, rgb(239, 79, 35,.8), var(--red) 60%); }
.role-circle .rc-arc{
  position:absolute; top:-10px; right:-10px; bottom:-10px; left:-10px; border-radius:50%;
  border:3px solid transparent; border-top-color:currentColor; border-right-color:currentColor;
  color:rgba(255,255,255,0.9);
  transition:transform .7s var(--ease); opacity:0.9;
}

.role-circle .rc-icon{ width:36px; height:36px; margin:0 auto 8px; }
.role-circle .rc-icon svg{ width:36px; height:36px; display:block; }
.role-circle .rc-num{ display:block; font-family:var(--font-mono); font-size:12.5px; opacity:0.88; margin-bottom:2px; }
.role-circle h3{ color:#fff; font-size:16.5px; font-weight:500; font-family:var(--font-text); margin:0 0 5px; }
.role-circle .rc-rule{ width:28px; height:2px; background:rgba(255,255,255,0.65); margin:0 auto 7px; border-radius:2px; }
.role-circle p{ color:rgba(255,255,255,0.94); font-size:12px; line-height:1.35; margin:0; }
@media (max-width:900px){
  .role-circle .rc-icon, .role-circle .rc-icon svg{ width:30px; height:30px; }
  .role-circle h3{ font-size:14.5px; }
  .role-circle p{ font-size:11px; }
}

.rc-custom-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    color: #fff;
     filter: invert(1);
}


.hero-divider{ display:flex; align-items:center; justify-content:center; gap:16px; margin:0 0 20px; opacity:0; animation:fade-up .8s var(--ease) .8s forwards; }
.hero-divider .hd-line{ width:64px; height:1px; background:var(--blue); opacity:0.45; }
.hero-divider svg{ width:26px; height:26px; color:var(--orange); animation:sun-spin 22s linear infinite; }
@keyframes sun-spin{ from{ transform:rotate(0deg); } to{ transform:rotate(360deg); } }
@media (prefers-reduced-motion: reduce){
  .hero-tagline, .hero-divider, .hero-punch{ opacity:1 !important; animation:none !important; }
  .role-circle{ opacity:1; transform:none; animation:none; }
  .hero-divider svg{ animation:none; }
}
.hero-punch{ text-align:center; font-size:clamp(23px,3.2vw,34px); line-height:1.35; letter-spacing:-0.01em; padding-bottom:64px; opacity:0; animation:fade-up .8s var(--ease) .95s forwards; }
.hero-punch .hp-line1{ display:block; color:var(--ink-soft); font-weight:400; }
.hero-punch .hp-line2{ display:block; font-weight:500; margin-top:4px; }
.hero-punch .hp-word{ font-weight:600; }

/* ---------- Hero split layout + live feed device ---------- */
.hero-grid{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:40px; align-items:center; text-align:left; max-width:1080px !important; }
@media (max-width:940px){ .hero-grid{ grid-template-columns:1fr; text-align:center; } .hero-grid .hero-device-col{ order:2; } }
.hero h1{ font-size:58px; line-height:1.08; letter-spacing:-0.025em; }
@media (max-width:940px){ .hero h1{ font-size:44px; } }
@media (max-width:560px){ .hero h1{ font-size:36px; } }
.hero .sub{ margin:20px 0 0; max-width:480px; font-size:18.5px; }
@media (max-width:940px){ .hero .sub{ margin-left:auto; margin-right:auto; } }
.hero-actions{ justify-content:flex-start; }
@media (max-width:940px){ .hero-actions{ justify-content:center; } }

.hero-trust{ display:flex; align-items:center; gap:14px; margin-top:32px; flex-wrap:wrap; }
@media (max-width:940px){ .hero-trust{ justify-content:center; } }
.hero-trust .avatars{ display:flex; }
.hero-trust .avatars span{
  width:30px; height:30px; border-radius:50%; border:2px solid var(--canvas);
  display:flex; align-items:center; justify-content:center; font-family:var(--font-mono); font-size:11px; color:#fff;
  margin-left:-8px;
}
.hero-trust .avatars span:first-child{ margin-left:0; }
.hero-trust p{ margin:0; font-size:13.5px; color:#5c5c66; }
.hero-trust strong{ color:var(--ink); }

.hero-device{
  position:relative; background:var(--white); border:1px solid var(--border); border-radius:28px;
  padding:22px; box-shadow:0 24px 60px rgba(17,17,24,0.14); max-width:360px; margin:0 auto;
}
.hero-device-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.hero-device-top .hd-dots{ display:flex; gap:5px; }
.hero-device-top .hd-dots span{ width:8px; height:8px; border-radius:50%; background:var(--border); }
.hero-device-top .hd-label{ font-family:var(--font-mono); font-size:11px; color:#9a9aa4; display:flex; align-items:center; gap:6px; }
.hero-device-top .hd-label .live-dot{ width:6px; height:6px; border-radius:50%; background:var(--green); animation:pulse-dot 1.6s ease-in-out infinite; }
@keyframes pulse-dot{ 0%,100%{ opacity:1; } 50%{ opacity:0.3; } }
.hero-feed{ position:relative; height:190px; }
.hero-feed-card{
  position:absolute; inset:0; display:flex; gap:12px; align-items:flex-start;
  background:var(--canvas); border-radius:16px; padding:16px; opacity:0; transform:translateY(16px);
  animation:feed-cycle 12s infinite;
}
.hero-feed-card .fc-icon{ width:38px; height:38px; border-radius:11px; flex:none; display:flex; align-items:center; justify-content:center; }
.hero-feed-card .fc-icon svg{ width:19px; height:19px; }
.hero-feed-card .fc-role{ font-family:var(--font-mono); font-size:10.5px; text-transform:uppercase; letter-spacing:0.03em; color:#8a8a94; }
.hero-feed-card h5{ font-family:var(--font-text); font-size:15px; font-weight:500; margin:3px 0 4px; color:var(--ink); }
.hero-feed-card p{ font-size:12.5px; color:#6b6b75; margin:0; line-height:1.4; }
.hero-feed-card:nth-child(1){ animation-delay:0s; }
.hero-feed-card:nth-child(2){ animation-delay:3s; }
.hero-feed-card:nth-child(3){ animation-delay:6s; }
.hero-feed-card:nth-child(4){ animation-delay:9s; }
@keyframes feed-cycle{
  0%{ opacity:0; transform:translateY(18px); }
  4%{ opacity:1; transform:translateY(0); }
  20%{ opacity:1; transform:translateY(0); }
  26%{ opacity:0; transform:translateY(-18px); }
  100%{ opacity:0; transform:translateY(-18px); }
}
@media (prefers-reduced-motion: reduce){
  .hero-feed-card{ animation:none; opacity:0; }
  .hero-feed-card:first-child{ opacity:1; transform:none; position:relative; }
}
.hero-feed-progress{ display:flex; gap:6px; margin-top:14px; }
.hero-feed-progress span{ height:3px; flex:1; border-radius:99px; background:var(--border); overflow:hidden; position:relative; }
.hero-feed-progress span::after{ content:''; position:absolute; inset:0; background:var(--ink); transform:translateX(-100%); animation:feed-progress 12s infinite; }
.hero-feed-progress span:nth-child(1)::after{ animation-delay:0s; }
.hero-feed-progress span:nth-child(2)::after{ animation-delay:3s; }
.hero-feed-progress span:nth-child(3)::after{ animation-delay:6s; }
.hero-feed-progress span:nth-child(4)::after{ animation-delay:9s; }
@keyframes feed-progress{ 0%{ transform:translateX(-100%); } 3%{ transform:translateX(-100%); } 25%{ transform:translateX(0); } 100%{ transform:translateX(0); } }

/* ---------- Blur-in reveal (modern feel) ---------- */
.reveal-blur{ opacity:0; filter:blur(10px); transform:translateY(18px); transition:opacity .8s var(--ease), filter .8s var(--ease), transform .8s var(--ease); }
.reveal-blur.in-view{ opacity:1; filter:blur(0); transform:translateY(0); }
@media (prefers-reduced-motion: reduce){ .reveal-blur{ opacity:1; filter:none; transform:none; } }

/* ---------- Paired mini-visual for text-only section heads ---------- */
.head-pair{ display:grid; grid-template-columns:1fr auto; gap:32px; align-items:center; margin-bottom:40px; }
@media (max-width:760px){ .head-pair{ grid-template-columns:1fr; } .head-pair .mini-visual{ display:none; } }
.mini-cluster{ display:flex; }
.mini-cluster .mc-tile{
  width:56px; height:56px; border-radius:16px; display:flex; align-items:center; justify-content:center;
  border:3px solid var(--canvas); margin-left:-14px; box-shadow:var(--shadow-card);
}
.mini-cluster .mc-tile:first-child{ margin-left:0; }
.mini-cluster .mc-tile svg{ width:24px; height:24px; }

.hero-blobs{ position:absolute; inset:-15% -5%; z-index:0; filter:blur(64px); pointer-events:none; }
.blob{ position:absolute; border-radius:50%; opacity:0.4; }
.blob-1{ width:320px; height:320px; background:var(--orange); top:-40px; left:-60px; animation:blob-1 15s ease-in-out infinite alternate; }
.blob-2{ width:280px; height:280px; background:var(--blue); bottom:-60px; right:-40px; animation:blob-2 19s ease-in-out infinite alternate; }
.blob-3{ width:240px; height:240px; background:var(--green); top:36%; right:6%; animation:blob-3 13s ease-in-out infinite alternate; }
.blob-4{ width:200px; height:200px; background:var(--red); bottom:10%; left:8%; animation:blob-4 17s ease-in-out infinite alternate; }
@keyframes blob-1{ from{ transform:translate(0,0) scale(1); } to{ transform:translate(50px,36px) scale(1.18); } }
@keyframes blob-2{ from{ transform:translate(0,0) scale(1); } to{ transform:translate(-40px,-30px) scale(1.12); } }
@keyframes blob-3{ from{ transform:translate(0,0) scale(1); } to{ transform:translate(-30px,26px) scale(1.15); } }
@keyframes blob-4{ from{ transform:translate(0,0) scale(1); } to{ transform:translate(26px,-24px) scale(1.1); } }
@media (prefers-reduced-motion: reduce){ .blob{ animation:none !important; } }

.hero-icons{ position:absolute; inset:0; z-index:1; pointer-events:none; }
.hicon{
  position:absolute; width:52px; height:52px; border-radius:16px;
  transform:translate(var(--px,0px), var(--py,0px));
  transition:transform .35s ease-out;
}
.hicon-inner{
  width:100%; height:100%; border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  background:var(--white); border:1px solid var(--border); box-shadow:var(--shadow-card);
  animation:hfloat 6s ease-in-out infinite;
}
.hicon svg{ width:24px; height:24px; }
@keyframes hfloat{ 0%,100%{ transform:translateY(0) rotate(-3deg); } 50%{ transform:translateY(-16px) rotate(3deg); } }
@media (prefers-reduced-motion: reduce){ .hicon{ animation:none; } }
@media (max-width:820px){ .hicon.hide-sm{ display:none; } }
@media (max-width:560px){ .hicon{ width:42px; height:42px; border-radius:13px; } .hicon svg{ width:19px; height:19px; } }

.hero .wrap{ position:relative; z-index:1; max-width:820px; text-align:center; }
.hero-mark{ width:56px; height:56px; margin:0 auto 28px; }
.hero h1{ font-size:64px; line-height:1.08; letter-spacing:-0.025em; }
.hero p.sub{ margin:24px auto 0; max-width:560px; font-size:20px; line-height:1.5; color:var(--ink-soft); }
.hero-actions{ display:flex; gap:16px; justify-content:center; margin-top:36px; flex-wrap:wrap; }
@media (max-width:560px){ .hero h1{ font-size:42px; } }

/* ---------- Spacing fallbacks for engines without flex `gap` ---------- */
@supports not (gap: 1px){
  .nav-links > a, .nav-links > .has-dropdown{ margin-left:18px; }
  .nav-links > *:first-child{ margin-left:0; }
  .role-circles > .role-circle{ margin:0 14px 14px; }
  .hero-divider > *{ margin:0 8px; }
}


/* ---------- Footer Social Icons ---------- */
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
  margin: 16px 0 0;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #e7e7ee;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}
