  :root{
    /* --- matches 1dynamics.com.au (confirmed via live inspection) --- */
    --teal-950:#0A2422;
    --teal-900:#0F3D3A;
    --teal-800:#155048;
    --teal-line: rgba(200,248,169,0.35);
    --gold:#4C9A6A;
    --gold-soft:#C8F8A9;
    --ivory:#F2F5F1;
    --ivory-2:#E7EDE5;
    --ink:#15201D;
    --muted:#5B6B62;
    --card:#FFFFFF;
    --radius:2px;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--ivory);
    color:var(--ink);
    font-family:"Segoe UI Variable", "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3,.display{
    font-family:"Segoe UI Variable", "Segoe UI", Arial, sans-serif;
    font-weight:700;
    line-height:1.3;
  }
  a{color:inherit; text-decoration:none;}
  img{max-width:100%; display:block;}
  .wrap{max-width:1180px; margin:0 auto; padding:0 32px;}
  .eyebrow{
    font-size:12px; letter-spacing:.18em; text-transform:uppercase;
    color:var(--gold); font-weight:600;
  }

  /* ---------- star mark ---------- */
  .star{
    position:relative; width:1em; height:1em; display:inline-block;
  }
  .star::before, .star::after{
    content:""; position:absolute; inset:0;
    border:1px solid currentColor;
  }
  .star::before{ transform:rotate(0deg); }
  .star::after{ transform:rotate(45deg); }
  .star.solid::before, .star.solid::after{
    background:currentColor; border:none;
  }

  /* ---------- utility bar ---------- */
  .utility-bar{
    background:var(--teal-950); color:rgba(246,241,228,.75); font-size:11.5px;
    border-bottom:1px solid var(--teal-line);
  }
  .utility-inner{ display:flex; justify-content:space-between; align-items:center; padding:7px 0; gap:16px; flex-wrap:wrap; }
  .prayer-times{ display:flex; gap:16px; flex-wrap:wrap; align-items:center; }
  .prayer-times span b{ color:var(--gold-soft); font-weight:600; }
  .prayer-updated{ font-size:9px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; background:rgba(201,162,39,.22); color:var(--gold-soft); padding:2px 6px; border-radius:20px; margin-left:4px; }
  .utility-links{ display:flex; gap:18px; }
  .utility-links a:hover{ color:var(--gold-soft); }

  /* ---------- crisis banner ---------- */
  .crisis-banner{
    background:#F3E7D8; border:1px solid rgba(201,162,39,.5); padding:16px 20px;
    display:flex; gap:14px; align-items:flex-start; margin-bottom:26px;
  }
  .crisis-banner .icon{ font-size:18px; }
  .crisis-banner b{ display:block; font-size:12.5px; color:var(--teal-900); margin-bottom:3px; }
  .crisis-banner p{ font-size:12px; color:var(--muted); line-height:1.6; }

  /* ---------- kb options ---------- */
  .kb-options{ display:flex; gap:22px; margin:16px 0 6px; flex-wrap:wrap; }
  .kb-option{ display:flex; align-items:center; gap:7px; font-size:12.5px; color:var(--muted); }
  .kb-option input{ accent-color:var(--gold); }
  .kb-feedback{ display:flex; gap:8px; align-items:center; flex-shrink:0; }
  .kb-feedback span{ font-size:11px; color:var(--muted); margin-right:4px; }
  .kb-feedback button{
    border:1px solid rgba(23,36,34,.15); background:transparent; width:26px; height:26px; border-radius:4px;
    font-size:12px; cursor:pointer; color:var(--muted);
  }

  /* ---------- events ---------- */
  .events{ background:var(--ivory-2); }
  .event-list{ display:grid; gap:1px; background:rgba(23,36,34,.08); border:1px solid rgba(23,36,34,.08); }
  .event-row{
    background:var(--ivory-2); display:grid; grid-template-columns:110px 1fr auto; gap:22px; align-items:center; padding:20px 22px;
  }
  .event-date{ text-align:center; }
  .event-date b{ display:block; font-family:"Segoe UI Variable", "Segoe UI", Arial, sans-serif; font-size:24px; line-height:1.3; color:var(--teal-900); }
  .event-date span{ font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:.05em; }
  .event-info h3{ font-size:14.5px; font-weight:600; margin-bottom:4px; }
  .event-info p{ font-size:12.5px; color:var(--muted); }

  /* ---------- resources ---------- */
  .resources-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
  .resource-card{
    border:1px solid rgba(23,36,34,.1); background:var(--card); padding:22px;
    display:flex; flex-direction:column; gap:14px;
  }
  .resource-card .filetype{
    font-size:10.5px; font-weight:700; letter-spacing:.05em; color:var(--gold);
    border:1px solid rgba(201,162,39,.4); width:fit-content; padding:3px 8px; border-radius:3px;
  }
  .resource-card h3{ font-size:14px; font-weight:600; line-height:1.4; }
  .resource-card a{ font-size:12px; font-weight:600; color:var(--teal-900); border-bottom:1px solid var(--gold); width:fit-content; }

  /* ---------- volunteer strip ---------- */
  .volunteer-strip{
    background:var(--teal-900); color:var(--ivory); padding:40px 0;
  }
  .volunteer-inner{ display:flex; justify-content:space-between; align-items:center; gap:30px; flex-wrap:wrap; }
  .volunteer-inner h3{ font-size:19px; margin-bottom:6px; }
  .volunteer-inner p{ font-size:13px; color:rgba(246,241,228,.75); }

  /* ---------- series progress ---------- */
  .series-progress{
    height:4px; background:rgba(246,241,228,.15); margin-top:6px; margin-bottom:16px; position:relative;
  }
  .series-progress i{ position:absolute; left:0; top:0; bottom:0; background:var(--gold); display:block; }

  /* ---------- header ---------- */
  header{
    position:sticky; top:0; z-index:50;
    background:rgba(10,42,43,0.96);
    backdrop-filter:blur(6px);
    border-bottom:1px solid var(--teal-line);
  }
  .nav{
    display:flex; align-items:center; justify-content:space-between;
    padding:18px 0;
  }
  .brand{
    display:flex; align-items:center; gap:10px; flex-shrink:0;
    color:var(--ivory);
  }
  .brand .star{ color:var(--gold); font-size:22px; }
  .brand-logo{ height:48px; width:auto; display:block; }
  .brand-text{ font-family:"Segoe UI Variable", "Segoe UI", Arial, sans-serif; font-size:22px; font-weight:700; line-height:1.3; letter-spacing:.01em; }
  .brand-text small{
    display:block; font-family:"Segoe UI Variable", "Segoe UI", Arial, sans-serif; font-size:10px;
    letter-spacing:.22em; color:var(--gold-soft); font-weight:600; text-transform:uppercase;
  }
  nav.links{ display:flex; align-items:center; gap:16px; }
  nav.links a{
    display:block; white-space:nowrap; flex-shrink:0;
    color:var(--ivory); font-size:14px; font-weight:500; opacity:.85;
    position:relative; padding-bottom:4px;
  }
  nav.links a:hover{ opacity:1; }
  nav.links a::after{
    content:""; position:absolute; left:0; right:0; bottom:0; height:1px;
    background:var(--gold); transform:scaleX(0); transition:transform .25s ease;
  }
  nav.links a:hover::after{ transform:scaleX(1); }
  .nav-dropdown{ position:relative; flex-shrink:0; }
  .nav-dropdown > a::after{ display:none; }
  .nav-dropdown-menu{
    display:none; position:absolute; top:100%; left:50%; transform:translateX(-50%);
    background:var(--teal-950); border:1px solid var(--teal-line); border-radius:2px; min-width:190px;
    box-shadow:0 12px 30px rgba(0,0,0,.35); padding:20px 0 6px; z-index:200;
  }
  .nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown-menu.open{ display:block; }
  .nav-dropdown-menu a{
    display:block; padding:9px 18px; font-size:13.5px; color:var(--ivory); opacity:.85; white-space:nowrap;
  }
  .nav-dropdown-menu a:hover{ opacity:1; background:rgba(246,241,228,.06); }
  .nav-dropdown-menu a::after{ display:none; }
  .nav-caret{ font-size:9px; margin-left:4px; opacity:.7; }
  .nav-right{ display:flex; align-items:center; gap:12px; flex-shrink:0; }
  .search-icon{ color:var(--ivory); opacity:.8; font-size:15px; }

  /* ---------- mobile nav toggle (hamburger) ---------- */
  .nav-toggle{
    display:none; flex-direction:column; justify-content:center; align-items:center;
    gap:5px; width:38px; height:38px; padding:0; border:1px solid rgba(246,241,228,.3);
    border-radius:var(--radius); background:transparent; cursor:pointer; flex-shrink:0;
  }
  .nav-toggle span{
    display:block; width:18px; height:2px; background:var(--ivory);
    transition:transform .2s ease, opacity .2s ease;
  }
  .nav-toggle.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2){ opacity:0; }
  .nav-toggle.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
  .btn{
    display:inline-flex; align-items:center; gap:8px;
    padding:11px 22px; font-size:13px; font-weight:600; letter-spacing:.03em;
    border:1px solid var(--gold); border-radius:var(--radius);
    text-transform:uppercase; cursor:pointer;
  }
  .btn-solid{ background:var(--gold); color:var(--teal-950); }
  .btn-solid:hover{ background:var(--gold-soft); }
  .btn-outline{ color:var(--ivory); border-color:rgba(246,241,228,.4); }
  .btn-outline:hover{ border-color:var(--gold); color:var(--gold-soft); }

  /* ---------- hero ---------- */
  .hero{
    position:relative; overflow:hidden;
    background:
      radial-gradient(1200px 500px at 15% -10%, rgba(201,162,39,0.10), transparent 60%),
      linear-gradient(180deg, var(--teal-950), var(--teal-900) 60%, var(--teal-800));
    color:var(--ivory);
    padding:96px 0 80px;
  }
  .star-field{
    position:absolute; inset:0; opacity:.14; pointer-events:none;
    background-image:
      repeating-linear-gradient(45deg, var(--gold) 0 1px, transparent 1px 64px),
      repeating-linear-gradient(-45deg, var(--gold) 0 1px, transparent 1px 64px);
  }
  .hero-grid{
    position:relative; display:grid; grid-template-columns:1.15fr .85fr; gap:56px; align-items:center;
  }
  .hero h1{
    font-size:52px; line-height:1.24; margin:18px 0 20px; letter-spacing:.005em;
  }
  .hero h1 em{ color:var(--gold-soft); font-style:normal; }
  .hero p.lead{
    font-size:17px; line-height:1.7; color:rgba(246,241,228,.82); max-width:46ch; margin-bottom:34px;
  }
  .hero-actions{ display:flex; gap:14px; margin-bottom:46px; }
  .hero-stats{ display:flex; gap:38px; }
  .hero-stats div{ border-left:1px solid var(--teal-line); padding-left:16px; }
  .hero-stats b{ display:block; font-family:"Segoe UI Variable", "Segoe UI", Arial, sans-serif; font-size:26px; color:var(--gold-soft); }
  .hero-stats span{ font-size:12px; color:rgba(246,241,228,.65); letter-spacing:.04em; }

  .hero-player{
    position:relative; border:1px solid var(--teal-line); border-radius:var(--radius);
    background:linear-gradient(160deg, #123A3B, #0C2E2F);
    aspect-ratio:16/10.5; overflow:hidden;
  }
  .hero-player img{ width:100%; height:100%; object-fit:cover; object-position:center; display:block; }
  .hero-player .octagram{
    position:absolute; inset:0; margin:auto; width:120px; height:120px;
    display:flex; align-items:center; justify-content:center;
  }
  .play-btn{
    width:64px; height:64px; border-radius:50%;
    background:rgba(246,241,228,.08); border:1px solid var(--gold);
    display:flex; align-items:center; justify-content:center; cursor:pointer;
  }
  .play-btn::after{
    content:""; width:0; height:0; margin-left:4px;
    border-top:9px solid transparent; border-bottom:9px solid transparent;
    border-left:14px solid var(--gold-soft);
  }
  .hero-player .cap{
    position:absolute; left:0; right:0; bottom:0; padding:16px 20px;
    background:linear-gradient(0deg, rgba(0,0,0,.55), transparent);
    font-size:12px; color:var(--ivory); display:flex; justify-content:space-between;
  }
  .cap b{ font-weight:600; }
  .cap span{ color:var(--gold-soft); }

  /* ---------- section shells ---------- */
  section{ padding:76px 0; }
  .section-head{
    display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:38px; gap:24px;
  }
  .section-head h2{ font-size:34px; color:var(--teal-900); margin-top:8px; }
  .section-head p{ color:var(--muted); font-size:14px; max-width:40ch; }
  .view-all{ font-size:13px; font-weight:600; color:var(--teal-900); border-bottom:1px solid var(--gold); padding-bottom:2px; white-space:nowrap; cursor:pointer; background:none; border-left:none; border-right:none; border-top:none; font-family:inherit; }

  /* ---------- categories ---------- */
  .categories{ background:var(--ivory-2); }
  .cat-grid{
    display:grid; grid-template-columns:repeat(6,1fr); gap:1px;
    background:rgba(23,36,34,.08); border:1px solid rgba(23,36,34,.08);
  }
  .cat-card{
    background:var(--ivory-2); padding:30px 18px; text-align:center;
    transition:background .2s ease; cursor:pointer; border:none; font-family:inherit;
  }
  .cat-card:hover{ background:var(--card); }
  .cat-card.active{ background:var(--card); box-shadow:inset 0 -3px 0 var(--gold); }
  .cat-card .star{ font-size:26px; color:var(--gold); margin-bottom:14px; }
  .cat-card h3{ font-family:"Segoe UI Variable", "Segoe UI", Arial, sans-serif; font-weight:600; font-size:14px; color:var(--ink); margin-bottom:4px; }
  .cat-card span{ font-size:12px; color:var(--muted); }

  /* ---------- lecture grid ---------- */
  .lecture-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
  .lecture-card{ background:var(--card); border:1px solid rgba(23,36,34,.08); cursor:pointer; transition:transform .15s ease, box-shadow .15s ease; }
  .lecture-card:hover{ transform:translateY(-3px); box-shadow:0 12px 26px rgba(10,42,43,.12); }
  .thumb{
    position:relative; aspect-ratio:16/9;
    background:linear-gradient(135deg, var(--teal-800), var(--teal-950));
    display:flex; align-items:center; justify-content:center;
    color:rgba(246,241,228,.5); font-size:12px; letter-spacing:.05em;
  }
  .thumb .star{ font-size:30px; color:rgba(201,162,39,.55); }
  .duration{
    position:absolute; right:8px; bottom:8px; background:rgba(10,42,43,.85);
    color:var(--ivory); font-size:11px; padding:2px 6px; border-radius:2px;
  }
  .media-badge{
    position:absolute; left:8px; top:8px; font-size:10px; font-weight:700;
    letter-spacing:.06em; text-transform:uppercase; padding:3px 7px; border-radius:2px;
  }
  .media-badge.audio{ background:var(--gold); color:var(--teal-950); }
  .media-badge.video{ background:rgba(10,42,43,.85); color:var(--ivory); }
  .lecture-body{ padding:18px 20px 22px; }
  .tag{
    display:inline-block; font-size:10px; letter-spacing:.08em; text-transform:uppercase;
    color:var(--teal-900); background:rgba(15,61,62,.08); padding:4px 8px; border-radius:2px; margin-bottom:10px; font-weight:600;
  }
  .lecture-body h3{ font-family:"Segoe UI Variable", "Segoe UI", Arial, sans-serif; font-weight:600; font-size:15px; line-height:1.4; margin-bottom:8px; }
  .lecture-body p{ font-size:12.5px; color:var(--muted); }
  .lecture-empty{ grid-column:1/-1; text-align:center; padding:40px; color:var(--muted); font-size:13px; }

  /* ---------- pagination (CodeIgniter's default pager markup) ---------- */
  .pagination{
    list-style:none; display:flex; justify-content:center; align-items:center;
    gap:8px; margin:48px 0 0; padding:0; flex-wrap:wrap;
  }
  .pagination li{ display:block; }
  .pagination li a, .pagination li span{
    display:flex; align-items:center; justify-content:center;
    min-width:38px; height:38px; padding:0 12px;
    border:1px solid rgba(21,32,29,.15); border-radius:var(--radius);
    font-size:13.5px; font-weight:600; color:var(--teal-900);
    background:var(--card);
  }
  .pagination li a:hover{ border-color:var(--gold); color:var(--gold); }
  .pagination li.active a, .pagination li.active span{
    background:var(--teal-900); border-color:var(--teal-900); color:var(--ivory);
  }
  .pagination li.disabled a, .pagination li.disabled span{
    color:rgba(21,32,29,.3); cursor:default; pointer-events:none;
  }

  /* ---------- series strip ---------- */
  .series{ background:var(--teal-950); color:var(--ivory); }
  .series .section-head h2{ color:var(--ivory); }
  .series .section-head p{ color:rgba(246,241,228,.65); }
  .series-scroll{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
  .series-card{
    border:1px solid var(--teal-line); padding:22px 20px; background:rgba(246,241,228,.03); cursor:pointer;
  }
  .series-card .num{ font-family:"Segoe UI Variable", "Segoe UI", Arial, sans-serif; font-size:13px; line-height:1.3; color:var(--gold-soft); margin-bottom:14px; }
  .series-card h3{ font-family:"Segoe UI Variable", "Segoe UI", Arial, sans-serif; font-size:19px; margin-bottom:10px; }
  .series-card p{ font-size:12.5px; color:rgba(246,241,228,.65); line-height:1.6; margin-bottom:16px; }
  .series-card .meta{ font-size:11px; color:var(--gold-soft); letter-spacing:.04em; text-transform:uppercase; }
  .series-episodes{ display:none; margin-top:14px; border-top:1px solid var(--teal-line); padding-top:14px; }
  .series-episodes.open{ display:block; }
  .series-episodes div{ font-size:11.5px; color:rgba(246,241,228,.75); padding:4px 0; }

  /* ---------- biography ---------- */
  .bio{ display:grid; grid-template-columns:.8fr 1.2fr; gap:60px; align-items:start; }
  .bio-portrait{
    aspect-ratio:4/5; background:linear-gradient(160deg, var(--ivory-2), #E4D9BB);
    border:1px solid rgba(23,36,34,.1);
    display:flex; align-items:center; justify-content:center; color:var(--muted); font-size:12px;
    position:relative;
  }
  .bio-portrait .star{ font-size:44px; color:rgba(201,162,39,.4); }
  .bio h2{ font-size:32px; color:var(--teal-900); margin-bottom:6px; }
  .bio .role{ color:var(--gold); font-weight:600; font-size:13px; letter-spacing:.05em; text-transform:uppercase; margin-bottom:22px; }
  .bio p{ font-size:15px; line-height:1.85; color:#3B3B36; margin-bottom:18px; }
  .specialisations{ display:flex; flex-wrap:wrap; gap:10px; margin:22px 0 28px; }
  .pill{
    font-size:12px; padding:7px 14px; border:1px solid rgba(15,61,62,.25); border-radius:20px; color:var(--teal-900); font-weight:500;
  }

  /* ---------- audio strip ---------- */
  .audio-strip{
    background:var(--ivory-2); border-top:1px solid rgba(23,36,34,.08); border-bottom:1px solid rgba(23,36,34,.08);
    padding:44px 0;
  }
  .audio-inner{ display:flex; align-items:center; justify-content:space-between; gap:30px; }
  .audio-inner h3{ font-size:22px; color:var(--teal-900); margin-bottom:6px; }
  .audio-inner p{ font-size:13.5px; color:var(--muted); max-width:52ch; }
  .audio-icons{ display:flex; gap:14px; }
  .audio-icons .btn{ font-size:12px; padding:10px 18px; }

  /* ---------- knowledge base ---------- */
  .kb{ background:var(--ivory-2); }
  .kb-panel{
    background:var(--card); border:1px solid rgba(23,36,34,.1); padding:36px;
  }
  .kb-search{
    display:flex; border:1px solid rgba(23,36,34,.2); background:var(--ivory);
  }
  .kb-search input{
    flex:1; border:none; background:transparent; padding:16px 18px; font-size:14.5px; outline:none; color:var(--ink);
  }
  .kb-search button{
    background:var(--teal-900); color:var(--ivory); border:none; padding:0 22px; font-weight:600; font-size:12.5px;
    text-transform:uppercase; letter-spacing:.04em; cursor:pointer;
  }
  .kb-flow{ display:flex; gap:10px; align-items:center; margin:22px 0 26px; flex-wrap:wrap; }
  .kb-step{
    font-size:11.5px; font-weight:600; letter-spacing:.03em; color:var(--teal-900);
    background:rgba(15,61,62,.06); border:1px solid rgba(15,61,62,.15); padding:7px 12px; border-radius:20px;
  }
  .kb-arrow{ color:var(--gold); font-size:14px; }
  .kb-results{ display:grid; gap:12px; margin-bottom:22px; }
  .kb-result{
    border:1px solid rgba(23,36,34,.1); padding:16px 18px; background:var(--ivory);
    display:flex; justify-content:space-between; gap:16px; align-items:flex-start;
  }
  .kb-result .q{ font-size:13.5px; font-weight:600; color:var(--ink); margin-bottom:4px; }
  .kb-result .meta{ font-size:11.5px; color:var(--muted); }
  .kb-result .match{
    flex-shrink:0; font-size:11px; font-weight:700; color:var(--teal-900); background:rgba(201,162,39,.18);
    padding:4px 9px; border-radius:20px; white-space:nowrap;
  }
  .kb-fallback{
    border-top:1px dashed rgba(23,36,34,.2); padding-top:20px; display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap;
  }
  .kb-fallback p{ font-size:13px; color:var(--muted); max-width:44ch; }
  .kb-side{ display:flex; flex-direction:column; gap:16px; }
  .kb-note{
    border:1px solid rgba(201,162,39,.35); background:rgba(201,162,39,.07); padding:18px 20px;
  }
  .kb-note b{ display:block; font-size:12.5px; color:var(--teal-900); margin-bottom:6px; text-transform:uppercase; letter-spacing:.04em; }
  .kb-note p{ font-size:12.5px; color:var(--muted); line-height:1.6; }
  .kb-cats{ display:flex; flex-wrap:wrap; gap:8px; }
  .kb-ask-form{ display:none; border-top:1px dashed rgba(23,36,34,.2); padding-top:20px; margin-top:6px; }
  .kb-ask-form.open{ display:block; }
  .kb-ask-form textarea{
    width:100%; border:1px solid rgba(23,36,34,.2); background:var(--ivory); padding:12px 14px;
    font-size:13.5px; font-family:inherit; margin-bottom:14px; min-height:80px; resize:vertical;
  }
  .kb-confirm{ display:none; background:rgba(15,61,62,.06); border:1px solid rgba(15,61,62,.2); padding:16px 18px; font-size:13px; color:var(--teal-900); margin-top:6px; }
  .kb-confirm.open{ display:block; }

  /* ---------- matchmaking ---------- */
  .match-section{ background:var(--teal-950); color:var(--ivory); }
  .match-grid{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
  .match-copy h2{ color:var(--ivory); font-size:32px; margin-bottom:16px; }
  .match-copy p{ font-size:14.5px; color:rgba(246,241,228,.75); line-height:1.75; margin-bottom:16px; }
  .match-list{ list-style:none; margin:24px 0 30px; }
  .match-list li{
    font-size:13.5px; color:rgba(246,241,228,.85); padding:10px 0 10px 26px; position:relative;
    border-top:1px solid var(--teal-line);
  }
  .match-list li::before{ content:"\2726"; position:absolute; left:0; color:var(--gold-soft); font-size:12px; }
  .match-list li:last-child{ border-bottom:1px solid var(--teal-line); }
  .match-panel{
    border:1px solid var(--teal-line); padding:34px; background:rgba(246,241,228,.03);
  }
  .match-panel h3{ font-family:"Segoe UI Variable", "Segoe UI", Arial, sans-serif; font-size:19px; margin-bottom:14px; }
  .match-panel-row{
    display:flex; justify-content:space-between; padding:12px 0; border-top:1px solid var(--teal-line); font-size:12.5px;
  }
  .match-panel-row:last-of-type{ border-bottom:1px solid var(--teal-line); margin-bottom:20px; }
  .match-panel-row span:first-child{ color:rgba(246,241,228,.6); }
  .match-panel-row span:last-child{ color:var(--gold-soft); font-weight:600; }

  /* ---------- whatsapp community ---------- */
  .community{ }
  .wa-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; margin-bottom:26px; }
  .wa-card{
    border:1px solid rgba(23,36,34,.1); background:var(--card); padding:24px 22px;
  }
  .wa-card .dot{
    width:9px; height:9px; border-radius:50%; background:var(--gold); margin-bottom:14px;
  }
  .wa-card h3{ font-family:"Segoe UI Variable", "Segoe UI", Arial, sans-serif; font-size:14.5px; font-weight:600; margin-bottom:6px; }
  .wa-card p{ font-size:12px; color:var(--muted); margin-bottom:16px; line-height:1.6; }
  .wa-card .btn{ width:100%; justify-content:center; font-size:11.5px; padding:9px 0; border-color:var(--teal-900); color:var(--teal-900); }
  .wa-verify{
    display:flex; gap:16px; align-items:flex-start; border:1px solid rgba(201,162,39,.35);
    background:rgba(201,162,39,.07); padding:20px 22px;
  }
  .wa-verify .icon{ font-size:20px; }
  .wa-verify b{ display:block; font-size:13px; color:var(--teal-900); margin-bottom:4px; }
  .wa-verify p{ font-size:12.5px; color:var(--muted); line-height:1.65; }

  /* ---------- newsletter ---------- */
  .newsletter{ background:var(--teal-900); color:var(--ivory); text-align:center; padding:80px 0; position:relative; overflow:hidden;}
  .newsletter::before{
    content:""; position:absolute; inset:0; opacity:.08;
    background-image:repeating-linear-gradient(45deg, var(--gold) 0 1px, transparent 1px 54px),
      repeating-linear-gradient(-45deg, var(--gold) 0 1px, transparent 1px 54px);
  }
  .newsletter-inner{ position:relative; max-width:560px; margin:0 auto; }
  .newsletter h2{ font-size:30px; margin-bottom:14px; }
  .newsletter p{ color:rgba(246,241,228,.75); font-size:14.5px; margin-bottom:30px; }
  .signup-row{ display:flex; gap:0; border:1px solid var(--teal-line); }
  .signup-row input{
    flex:1; background:transparent; border:none; padding:16px 18px; color:var(--ivory); font-size:14px; outline:none;
  }
  .signup-row input::placeholder{ color:rgba(246,241,228,.45); }
  .signup-row button{
    background:var(--gold); color:var(--teal-950); border:none; padding:0 26px; font-weight:700; font-size:13px; letter-spacing:.04em; text-transform:uppercase; cursor:pointer;
  }

  /* ---------- footer ---------- */
  footer{ background:var(--teal-950); color:rgba(246,241,228,.65); padding:60px 0 30px; }
  .footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; margin-bottom:50px; }
  .footer-grid h4{ color:var(--ivory); font-size:13px; letter-spacing:.05em; text-transform:uppercase; margin-bottom:16px; font-weight:600; }
  .footer-grid ul{ list-style:none; }
  .footer-grid li{ margin-bottom:10px; font-size:13.5px; }
  .footer-grid li a:hover{ color:var(--gold-soft); }
  .footer-brand p{ font-size:13.5px; line-height:1.7; max-width:38ch; margin-top:14px; color:rgba(246,241,228,.55); }
  .footer-bottom{
    border-top:1px solid var(--teal-line); padding-top:22px; display:flex; justify-content:space-between;
    font-size:12px; color:rgba(246,241,228,.45);
  }

  /* ---------- sprint 0 additions ---------- */
  .status-pill{
    display:inline-block; font-size:9.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
    padding:3px 9px; border-radius:20px; margin-left:10px; vertical-align:middle;
  }
  .status-live{ background:rgba(15,61,62,.1); color:var(--teal-900); border:1px solid rgba(15,61,62,.3); }
  .status-soon{ background:rgba(107,101,88,.1); color:var(--muted); border:1px solid rgba(107,101,88,.3); }
  .match-section .status-soon, .community .status-soon{ background:rgba(246,241,228,.08); color:rgba(246,241,228,.7); border-color:rgba(246,241,228,.25); }

  .rsvp-done{ opacity:.55; pointer-events:none; }

  .toast-msg{
    position:fixed; bottom:24px; left:50%; transform:translateX(-50%) translateY(16px);
    background:var(--teal-950); color:var(--ivory); padding:14px 22px; border-radius:var(--radius);
    font-size:13px; box-shadow:0 10px 30px rgba(0,0,0,.3); z-index:300; opacity:0; transition:.25s ease; pointer-events:none;
    display:flex; align-items:center; gap:10px; max-width:380px;
  }
  .toast-msg.show{ opacity:1; transform:translateX(-50%) translateY(0); }
  .toast-msg .dot{ width:8px; height:8px; border-radius:50%; background:var(--gold); flex-shrink:0; }

  .lecture-modal-overlay{
    display:none; position:fixed; inset:0; background:rgba(10,20,20,.6); z-index:250;
    align-items:center; justify-content:center; padding:20px;
  }
  .lecture-modal-overlay.open{ display:flex; }
  .lecture-modal{ background:var(--card); max-width:640px; width:100%; border-radius:var(--radius); overflow:hidden; position:relative; max-height:88vh; overflow-y:auto; }
  .lecture-modal-close{
    position:absolute; top:14px; right:14px; background:rgba(10,42,43,.7); color:var(--ivory); border:none;
    width:30px; height:30px; border-radius:50%; font-size:16px; cursor:pointer; z-index:2;
  }
  .lecture-modal-player{ aspect-ratio:16/9; background:linear-gradient(135deg, var(--teal-800), var(--teal-950)); display:flex; align-items:center; justify-content:center; }
  .lecture-modal-body{ padding:26px 28px 30px; }

  /* ---------- drill-down pages ---------- */
  .page{ display:none; }
  .page.active{ display:block; }
  .picker{ max-width:440px; }
  .picker label{ display:block; font-size:12px; font-weight:600; color:var(--teal-900); text-transform:uppercase; letter-spacing:.05em; margin-bottom:8px; }
  .series .picker label{ color:var(--gold-soft); }
  .picker select{
    width:100%; padding:15px 16px; font-size:14.5px; border:1px solid rgba(23,36,34,.2); background:var(--card);
    color:var(--ink); border-radius:var(--radius); font-family:inherit; cursor:pointer; appearance:none;
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230F3D3E' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat:no-repeat; background-position:right 16px center;
  }
  .series .picker select{ background-color:rgba(246,241,228,.03); color:var(--ivory); border-color:var(--teal-line);
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23E3C878' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>"); }
  .breadcrumb{ font-size:12.5px; color:var(--muted); margin-bottom:26px; }
  .breadcrumb a{ color:var(--teal-900); font-weight:600; cursor:pointer; border-bottom:1px solid var(--gold); padding-bottom:1px; }
  .lecture-detail-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:start; margin-bottom:56px; }
  .lecture-detail-player{
    aspect-ratio:16/9; border-radius:var(--radius); background:linear-gradient(135deg, var(--teal-800), var(--teal-950));
    display:flex; align-items:center; justify-content:center;
  }
  .episode-list{ display:grid; gap:1px; background:var(--teal-line); border:1px solid var(--teal-line); margin-top:26px; }
  .episode-row{
    background:var(--teal-950); padding:16px 20px; display:flex; justify-content:space-between; align-items:center;
    cursor:pointer; gap:16px;
  }
  .episode-row:hover{ background:rgba(246,241,228,.04); }
  .episode-row.disabled{ opacity:.45; cursor:default; }
  .episode-row .ep-label{ font-size:13.5px; color:var(--ivory); }
  .episode-row .ep-status{ font-size:10.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--gold-soft); white-space:nowrap; }
  .episode-row.disabled .ep-status{ color:rgba(246,241,228,.4); }

  @media (max-width: 900px){
    .lecture-detail-grid{ grid-template-columns:1fr; }
    .nav-toggle{ display:flex; }
    nav.links{
      display:none; flex-direction:column; align-items:stretch; gap:0;
      position:absolute; top:100%; left:0; right:0;
      background:var(--teal-950); border-top:1px solid var(--teal-line);
      box-shadow:0 16px 30px rgba(0,0,0,.35); padding:8px 0; z-index:100;
      max-height:calc(100vh - 100%); overflow-y:auto;
    }
    nav.links.open{ display:flex; }
    nav.links a{ padding:13px 24px; }
    nav.links a::after{ display:none; }
    nav.links a:hover{ background:rgba(246,241,228,.06); }
    .nav-dropdown{ display:flex; flex-direction:column; }
    .nav-dropdown-menu{
      display:none; position:static; transform:none; box-shadow:none;
      border:none; background:rgba(0,0,0,.15); min-width:0; padding:0 0 6px;
    }
    .nav-dropdown.open .nav-dropdown-menu{ display:block; }
    .nav-dropdown-menu a{ padding:10px 24px 10px 40px; }
    .hero-grid{ grid-template-columns:1fr; }
    .cat-grid{ grid-template-columns:repeat(3,1fr); }
    .lecture-grid{ grid-template-columns:1fr; }
    .series-scroll{ grid-template-columns:1fr 1fr; }
    .bio{ grid-template-columns:1fr; }
    .footer-grid{ grid-template-columns:1fr 1fr; }
    .audio-inner{ flex-direction:column; text-align:center; }
    .resources-grid{ grid-template-columns:1fr 1fr; }
    .wa-grid{ grid-template-columns:1fr 1fr; }
    .match-grid{ grid-template-columns:1fr; gap:34px; }
  }

  @media (max-width: 600px){
    .cat-grid{ grid-template-columns:1fr 1fr; }
    .series-scroll{ grid-template-columns:1fr; }
    .footer-grid{ grid-template-columns:1fr; }
    .resources-grid{ grid-template-columns:1fr; }
    .wa-grid{ grid-template-columns:1fr; }
    .section-head{ flex-direction:column; align-items:flex-start; }
    .section-head p{ max-width:none; }
    /* Header's Subscribe CTA + search icon overflow the viewport at narrow
       widths once nav.links is hidden - drop the CTA text, keep a compact icon. */
    .nav.wrap{ padding-left:16px; padding-right:16px; }
    .brand-text{ font-size:16px; }
    .brand-text small{ display:none; }
    .nav-right{ gap:6px; }
    .nav-right .btn-solid{ padding:8px; font-size:0; gap:0; border-radius:50%; width:34px; height:34px; justify-content:center; }
    .nav-right .btn-solid::before{ content:"\2709"; font-size:14px; }
  }

  .resource-card, .wa-card, .match-panel{ min-width:0; }
