  /* =========================================================
     WLCM EVENTS — GLOBAL STYLES
     Shared across all pages of the New Theme.
     ========================================================= */

  :root{
    --bg:           #FFFCF5;     /* warmest off-white */
    --paper:        #FFFFFF;
    --tint:         #FFF6D9;     /* pale yellow tint */
    --tint-soft:    #FFFAEA;     /* even paler */
    --tint-blue:    #E8F4FF;     /* used once */

    --ink:          #181612;
    --ink-2:        #4A463E;
    --ink-3:        #7C766B;
    --ink-4:        #B8B2A4;

    --rule:         #ECE7D8;
    --rule-2:       #F4F0E2;
    --rule-3:       #DDD8C9;

    --accent:       #FFCC00;
    --accent-deep:  #F5BE00;
    --accent-ink:   #1A1A14;
    --blue:         #18A0FB;

    --display:      "Bricolage Grotesque", -apple-system, sans-serif;
    --sans:         "Plus Jakarta Sans", -apple-system, sans-serif;

    --max:          1320px;
    --gutter:       40px;

    --shadow-xs:    0 1px 2px rgba(24,22,18,0.04);
    --shadow:       0 4px 16px rgba(24,22,18,0.06), 0 1px 2px rgba(24,22,18,0.04);
    --shadow-lg:    0 24px 50px -16px rgba(24,22,18,0.18), 0 8px 20px -8px rgba(24,22,18,0.08);
    --shadow-yellow:0 18px 40px -14px rgba(255,204,0,0.45);

    --r-sm:         12px;
    --r-md:         16px;
    --r-lg:         24px;
    --r-xl:         32px;
    --r-xxl:        48px;
    --r-full:       999px;
  }

  *{ box-sizing:border-box }
  [hidden] { display:none !important; }
  html,body{ margin:0; padding:0 }
  html{
    scroll-behavior:smooth;
    overflow-x:hidden;
    -webkit-text-size-adjust:100%;
    text-size-adjust:100%;
  }

  body{
    background:var(--bg);
    color:var(--ink);
    font-family:var(--sans);
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
    overflow-x:hidden;
    min-width:320px;
    min-height:100vh;
    min-height:100dvh;
  }
  @supports (overflow-x:clip){
    html,body{ overflow-x:clip }
  }

  img{ display:block }
  a{ color:inherit; text-decoration:none }
  button{ font:inherit; cursor:pointer; border:none; background:none; color:inherit }

  .wrap{
    max-width:var(--max);
    margin:0 auto;
    padding:0 var(--gutter);
    width:100%;
    min-width:0;
  }

  img,video,svg{ max-width:100%; height:auto }

  /* ----------------- TYPE ----------------- */
  h1,h2,h3,h4{
    font-family:var(--display);
    color:var(--ink);
    margin:0;
    font-weight:600;
    letter-spacing:-0.025em;
    line-height:1;
    font-feature-settings:"ss01","cv01";
  }

  /* ----------------- BUTTONS ----------------- */
  .btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:14px 22px;
    border-radius:var(--r-md);
    font-family:var(--sans);
    font-size:14.5px;
    font-weight:600;
    transition:transform .25s ease, box-shadow .25s ease, background .2s ease;
    cursor:pointer;
    white-space:nowrap;
  }
  .btn-primary{
    background:var(--ink);
    color:#fff;
  }
  .btn-primary:hover{
    background:#000;
    transform:translateY(-2px);
    box-shadow:0 14px 30px -12px rgba(24,22,18,0.4);
  }
  .btn-yellow{
    background:var(--accent);
    color:var(--accent-ink);
    box-shadow:var(--shadow-yellow);
  }
  .btn-yellow:hover{
    background:var(--accent-deep);
    transform:translateY(-2px);
  }
  .btn-soft{
    background:var(--paper);
    color:var(--ink);
    border:1.5px solid var(--rule-3);
  }
  .btn-soft:hover{
    background:#fff;
    border-color:var(--ink);
    transform:translateY(-2px);
  }
  .btn .arrow{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    width:14px;
    height:14px;
    margin-top:1px;
    color:inherit;
    transition:transform .25s ease;
  }
  .btn .arrow svg{
    display:block;
    width:14px;
    height:14px;
  }
  .btn:hover .arrow{ transform:translate(3px,-3px) rotate(-12deg) }

  /* Sticker badges */
  .sticker{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:7px 13px;
    background:var(--accent);
    color:var(--accent-ink);
    border-radius:var(--r-full);
    font-size:12px;
    font-weight:700;
    letter-spacing:0.01em;
    box-shadow:var(--shadow-xs);
  }
  .sticker.dark{ background:var(--ink); color:var(--accent) }
  .sticker.soft{ background:var(--tint); color:var(--ink); border:1.5px solid var(--accent) }
  .sticker .pulse{
    width:6px; height:6px;
    flex-shrink:0;
    background:var(--accent-ink);
    border-radius:50%;
    animation:pulse 2s infinite;
  }
  .sticker.dark .pulse{ background:var(--accent) }
  @keyframes pulse{
    0%,100%{ opacity:1 }
    50%{ opacity:0.3 }
  }

  .eyebrow{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:12px;
    font-weight:700;
    letter-spacing:0.04em;
    color:var(--ink);
    background:var(--tint);
    padding:6px 12px;
    border-radius:var(--r-full);
    border:1.5px solid var(--accent);
    max-width:100%;
    box-sizing:border-box;
    overflow-wrap:break-word;
    word-break:break-word;
  }
  .eyebrow .dot{
    width:6px; height:6px;
    flex-shrink:0;
    background:var(--accent-deep);
    border-radius:50%;
  }

  /* =========================================================
     NAV — matches new-theme-html/resources.html
     ========================================================= */
  .nav{
    position:sticky;
    top:20px;
    z-index:50;
    padding:0 var(--gutter);
  }
  .nav-inner{
    max-width:var(--max);
    margin:0 auto;
    background:rgba(255,255,255,0.85);
    backdrop-filter:saturate(180%) blur(9px);
    -webkit-backdrop-filter:saturate(180%) blur(9px);
    border:1px solid var(--rule);
    border-radius:18px;
    padding:12px 20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    box-shadow:var(--shadow);
    flex-wrap:nowrap;
    transition:box-shadow .3s ease;
  }
  .nav.scrolled .nav-inner{
    box-shadow:0 12px 40px -8px rgba(24,22,18,0.12);
  }
  .logo{
    display:inline-flex;
    align-items:center;
    gap:9px;
    font-family:var(--display);
    font-weight:800;
    font-size:22px;
    letter-spacing:-0.03em;
    color:var(--ink);
    flex-shrink:0;
    padding-right:8px;
  }
  .logo-mark{
    width:34px;
    height:34px;
    border-radius:10px;
    background:var(--accent);
    color:var(--ink);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    font-weight:800;
    transform:rotate(-3deg);
    box-shadow:var(--shadow-xs);
  }
  /* ── Entire Navbar Links Scrollable Wrapper with Yellow Opacity Fade ── */
  .nav-links-wrap{
    flex:1 1 auto;
    min-width:0;
    position:relative;
    display:flex;
    align-items:center;
    overflow:hidden;
    margin:0 12px;
    padding:0 4px;
  }
  .nav-links-wrap::before,
  .nav-links-wrap::after{
    content:'';
    position:absolute;
    top:0;
    bottom:0;
    width:36px;
    pointer-events:none;
    z-index:3;
    opacity:0;
    transition:opacity .2s ease;
  }
  .nav-links-wrap::before{
    left:0;
    background:linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 100%);
  }
  .nav-links-wrap::after{
    right:0;
    background:linear-gradient(to left, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 100%);
  }
  .nav-links-wrap.has-left-overflow::before{
    opacity:1;
  }
  .nav-links-wrap.has-right-overflow::after{
    opacity:1;
  }
  .nav-links{
    display:flex;
    align-items:center;
    gap:6px;
    list-style:none;
    margin:0 auto;
    padding:2px 14px;
    max-width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    white-space:nowrap;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    -ms-overflow-style:none;
    scroll-behavior:smooth;
  }
  .nav-links::-webkit-scrollbar{
    display:none;
  }
  .nav-links > li{
    flex-shrink:0;
  }
  .nav-links a{
    font-size:14px;
    font-weight:600;
    color:var(--ink-2);
    padding:8px 14px;
    border-radius:10px;
    white-space:nowrap;
    transition:background .2s ease, color .2s ease;
  }
  .nav-links a.active,
  .nav-links a:hover{
    background:var(--tint);
    color:var(--ink);
  }

  /* Nav dropdowns — Create Events & Resources */
  .nav-inner{ overflow:visible }
  .nav-dropdown{ position:relative }
  .nav-dropdown-trigger{
    display:inline-flex;
    align-items:center;
    gap:5px;
    font-size:14px;
    font-weight:600;
    color:var(--ink-2);
    padding:8px 14px;
    border-radius:10px;
    border:none;
    background:transparent;
    font-family:inherit;
    line-height:inherit;
    cursor:pointer;
    white-space:nowrap;
    transition:background .2s ease, color .2s ease;
  }
  .nav-dropdown-chevron{
    flex-shrink:0;
    margin-top:1px;
    opacity:0.72;
    transition:transform .2s ease;
  }
  .nav-dropdown-trigger.active,
  .nav-dropdown.is-open .nav-dropdown-trigger,
  .nav-dropdown.is-active .nav-dropdown-trigger,
  .nav-dropdown:hover .nav-dropdown-trigger,
  .nav-dropdown:focus-within .nav-dropdown-trigger{
    background:var(--tint);
    color:var(--ink);
  }
  .nav-dropdown-menu{
    position:fixed;
    display:flex;
    gap:0;
    background:#fff;
    border:1px solid #ECE7D8;
    border-radius:18px;
    box-shadow:0 8px 20px -8px rgba(24,22,18,0.08),0 24px 50px -16px rgba(24,22,18,0.18);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .18s ease, visibility .18s ease;
    z-index:99999;
  }
  .nav-dropdown-menu::before{
    content:'';
    position:absolute;
    top:-14px;
    left:0;
    right:0;
    height:14px;
  }
  .nav-dropdown-menu.is-active,
  .nav-dropdown-menu.is-open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }
  .nav-dropdown--events .nav-dropdown-menu,
  .nav-events-menu{
    left:50%;
    transform:translateX(-38%);
  }
  .nav-dropdown--resources .nav-dropdown-menu,
  .nav-resources-menu{
    left:50%;
    transform:translateX(-50%);
  }
  .nav-dropdown-col{
    padding:14px 21px 24px;
    min-width:260px;
  }
  .nav-dropdown-col + .nav-dropdown-col{
    border-left:1px solid #ECE7D8;
    margin-left:-1px;
  }
  .nav-dropdown-heading{
    display:flex;
    align-items:center;
    gap:8px;
    padding:7px 1px;
    margin-bottom:8px;
    font-size:11px;
    font-weight:700;
    letter-spacing:0.13em;
    text-transform:uppercase;
    color:#4A463E;
  }
  .nav-dropdown-dot{
    width:8px;
    height:8px;
    border-radius:50%;
    flex-shrink:0;
  }
  .nav-dropdown-dot--learn{ background:#FFCC00 }
  .nav-dropdown-dot--help{ background:#1F8A4C }
  .nav-dropdown-dot--work{ background:#2563EB }
  .nav-dropdown-list{
    display:flex;
    flex-direction:column;
    gap:4px;
  }
  .nav-menu-cell{
    display:flex;
    align-items:flex-start;
    gap:12px;
    padding:4px 9px;
    border-radius:10px;
    color:inherit;
    transition:background .15s ease;
  }
  .nav-menu-cell:hover{ background:var(--tint-soft) }
  .nav-menu-icon{
    flex-shrink:0;
    width:32px;
    height:32px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#FFF6D9;
    border:1px solid #FFCC00;
    border-radius:10px;
  }
  .nav-menu-icon img{
    display:block;
    width:14px;
    height:14px;
  }
  /* Font Awesome icon chosen in admin (Event Category → Menu Icon) */
  .nav-menu-icon i{
    font-size:13px;
    line-height:1;
    color:#4A463E;
  }
  .nav-menu-text{
    display:flex;
    flex-direction:column;
    gap:2px;
    padding-top:1px;
    min-width:0;
  }
  .nav-menu-title{
    font-size:14px;
    font-weight:600;
    line-height:1.4;
    color:#0F0F0E;
  }
  .nav-menu-desc{
    font-size:11px;
    font-weight:500;
    line-height:1.5;
    letter-spacing:-0.01em;
    color:#7C766B;
  }

  /* Create Events mega-menu promo */
  .nav-events-promo{
    display:flex;
    flex-direction:column;
    gap:12px;
    padding:25px 14px 25px 24px;
    min-width:220px;
    border-left:1px solid #ECE7D8;
    margin-left:-1px;
  }
  .nav-events-promo-media{
    position:relative;
    width:193px;
    max-width:100%;
  }
  .nav-events-promo-media img{
    display:block;
    width:100%;
    height:auto;
    border-radius:12px;
    object-fit:cover;
    aspect-ratio:193 / 130;
  }
  .nav-events-promo-badge{
    position:absolute;
    top:10px;
    left:11px;
    padding:6px 14px;
    border-radius:999px;
    background:var(--accent);
    font-size:10px;
    font-weight:700;
    color:var(--accent-ink);
    line-height:1;
  }
  .nav-events-promo-body{
    display:flex;
    flex-direction:column;
    gap:12px;
    align-items:flex-start;
  }
  .nav-events-promo-copy{
    display:flex;
    flex-direction:column;
    gap:6px;
  }
  .nav-events-promo-eyebrow{
    margin:0;
    font-size:11px;
    font-weight:600;
    letter-spacing:0.08em;
    text-transform:uppercase;
    color:#7C766B;
  }
  .nav-events-promo-title{
    margin:0;
    font-family:var(--display);
    font-size:18px;
    font-weight:700;
    line-height:1.2;
    color:var(--ink);
  }
  .nav-events-promo-desc{
    margin:0;
    font-size:12px;
    line-height:1.54;
    color:#7C766B;
  }
  .nav-events-promo-btn{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:10px 15px;
    border-radius:12px;
    background:var(--accent);
    color:var(--accent-ink);
    font-size:13px;
    font-weight:600;
    line-height:1.5;
    box-shadow:0 18px 40px rgba(255,204,0,0.45);
    transition:opacity .15s ease;
  }
  .nav-events-promo-btn:hover{ opacity:0.92 }
  .nav-events-promo-btn svg{ display:block; flex-shrink:0 }

  .nav-cta{
    display:flex;
    gap:16px;
    align-items:center;
    flex-shrink:0;
    margin-left:8px;
  }
  .nav-cta .signin{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
    font-weight:600;
    padding:8px 14px;
    border-radius:10px;
    color:var(--ink);
    white-space:nowrap;
    line-height:1.2;
    text-decoration:none;
    transition:background .2s ease, color .2s ease;
  }
  .nav-cta .signin:hover{
    background:var(--tint);
    color:var(--ink);
  }
  .nav-cta .btn{
    padding:11px 18px;
    font-size:13.5px;
    border-radius:12px;
    box-shadow:var(--shadow-yellow);
    gap:12px;
    white-space:nowrap;
    flex-shrink:0;
  }
  .nav-cta .btn .arrow{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    width:14px;
    height:14px;
    transition:none;
  }
  .nav-cta .btn .arrow svg{
    display:block;
    width:14px;
    height:14px;
  }
  .nav-cta .btn:hover .arrow{
    transform:none;
  }
  .nav-toggle{
    display:none;
    width:44px;
    height:44px;
    border-radius:12px;
    border:1.5px solid var(--rule);
    background:var(--paper);
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    flex-shrink:0;
  }
  .nav-toggle span{
    display:block;
    width:18px;
    height:2px;
    background:var(--ink);
    border-radius:2px;
    transition:transform .2s ease, opacity .2s ease;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1){
    transform:translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2){
    opacity:0;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
  }

  /* =========================================================
     FOOTER
     ========================================================= */
  footer{
    background:var(--paper);
    border-top:1.5px solid var(--rule);
    padding:80px 0 36px;
  }
  .foot-top{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1fr 1.2fr;
    gap:40px;
    padding-bottom:56px;
    border-bottom:1px dashed var(--rule-3);
  }
  .custom-logo-img { max-height: 45px; width: auto; object-fit: contain; }

  .foot-brand .logo {
    margin-bottom: 20px;
    background-color: #ffcc00;
    padding: 10px 15px;
    border-radius: var(--r-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .foot-brand .custom-logo-img {
    width: 150px;
    height: 80px;
    max-height: none;
  }
  .foot-brand .tag{
    font-family:var(--display);
    font-size:22px;
    font-weight:600;
    line-height:1.2;
    letter-spacing:-0.025em;
    color:var(--ink);
    margin-bottom:14px;
    max-width:280px;
  }
  .foot-brand .tag em{ font-style:italic; font-weight:500; color:var(--ink-2) }
  .foot-brand .sub{
    display:inline-block;
    font-size:11px;
    color:var(--ink-2);
    background:var(--tint);
    padding:6px 12px;
    border-radius:999px;
    border:1.5px solid var(--accent);
    font-weight:700;
    letter-spacing:0.04em;
  }
  .foot-col h5{
    font-family:var(--display);
    font-size:15px;
    color:var(--ink);
    font-weight:700;
    margin:0 0 18px;
    letter-spacing:-0.015em;
  }
  .foot-col ul{
    list-style:none;
    margin:0;
    padding:0;
  }
  .foot-col li{ margin-bottom:11px }
  .foot-col a{
    font-size:14px;
    color:var(--ink-2);
    transition:color .2s ease;
  }
  .foot-col a:hover{ color:var(--ink) }

  .foot-news h5{
    font-family:var(--display);
    font-size:15px;
    color:var(--ink);
    font-weight:700;
    margin:0 0 12px;
    letter-spacing:-0.015em;
  }
  .foot-news p{
    font-size:13px;
    color:var(--ink-3);
    line-height:1.5;
    margin-bottom:14px;
    max-width:240px;
  }
  .foot-contact{
    display:flex;
    flex-direction:column;
    gap:8px;
  }
  .foot-contact a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    background:var(--bg);
    border:1.5px solid var(--rule-3);
    border-radius:12px;
    padding:11px 14px;
    font-size:13px;
    font-weight:600;
    color:var(--ink);
    transition:border-color .2s ease, background .2s ease, transform .2s ease;
  }
  .foot-contact a:hover{
    border-color:var(--accent);
    background:var(--tint-soft);
    transform:translateY(-1px);
  }
  .foot-contact a .arr{
    font-size:14px;
    color:var(--ink-3);
    transition:transform .2s ease, color .2s ease;
  }
  .foot-contact a:hover .arr{
    transform:translate(2px,-2px);
    color:var(--ink);
  }

  .foot-bottom{
    padding-top:32px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:24px;
  }
  .foot-legal{
    margin:0;
    font-size:12.5px;
    color:var(--ink-3);
  }
  .foot-legal a{
    color:inherit;
    font-weight:600;
    border-bottom:1px solid transparent;
    transition:border-color .2s ease, color .2s ease;
  }
  .foot-legal a:hover{
    color:var(--ink);
    border-bottom-color:var(--ink-3);
  }
  .foot-legal-links{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:18px;
  }
  .foot-legal-links a{
    font-size:12.5px;
    color:var(--ink-2);
    border-bottom:1px solid transparent;
    padding-bottom:1px;
    transition:border-color .2s ease, color .2s ease;
  }
  .foot-legal-links a:hover{
    color:var(--ink);
    border-bottom-color:var(--ink);
  }
  .foot-social{
    display:flex;
    gap:8px;
  }
  .foot-social a{
    width:42px; height:42px;
    border-radius:var(--r-md);
    background:#FFFDF8;
    border:1px solid #E8E4D6;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    color:var(--ink-2);
    transition:all .25s ease;
  }
  .foot-social a:hover{
    background:var(--accent);
    border-color:var(--accent);
    color:var(--ink);
    transform:translateY(-2px);
  }

  /* =========================================================
     FAQ accordion — thin + / × toggle (all pages)
     ========================================================= */
  .faq-q .q-icon,
  .faq-question .faq-icon{
    position:relative;
    width:38px;
    height:38px;
    border-radius:50%;
    background:var(--ink);
    color:var(--accent);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    font-size:0;
    line-height:0;
    overflow:hidden;
    border:none;
  }

  .faq-q .q-icon::before,
  .faq-q .q-icon::after,
  .faq-question .faq-icon::before,
  .faq-question .faq-icon::after{
    content:"";
    position:absolute;
    top:50%;
    left:50%;
    width:14px;
    height:2px;
    background:currentColor;
    border-radius:1px;
    transition:transform .3s ease;
  }

  .faq-q .q-icon::before,
  .faq-question .faq-icon::before{
    transform:translate(-50%, -50%);
  }

  .faq-q .q-icon::after,
  .faq-question .faq-icon::after{
    transform:translate(-50%, -50%) rotate(90deg);
  }

  .faq-item.open .q-icon::before,
  .faq-q[aria-expanded="true"] .q-icon::before,
  .faq-item[open] .faq-icon::before{
    transform:translate(-50%, -50%) rotate(45deg);
  }

  .faq-item.open .q-icon::after,
  .faq-q[aria-expanded="true"] .q-icon::after,
  .faq-item[open] .faq-icon::after{
    transform:translate(-50%, -50%) rotate(-45deg);
  }

  .faq-item.open .q-icon,
  .faq-q[aria-expanded="true"] .q-icon,
  .faq-item[open] .faq-icon{
    transform:none;
  }

  .faq-question .faq-icon svg{
    display:none;
  }

  /* =========================================================
     FINAL CTA (.closer) — consistent on all phones / tablets
     ========================================================= */
  .closer{
    width:100%;
    max-width:100%;
    overflow:hidden;
  }

  .closer-inner{
    width:100%;
    max-width:780px;
    margin-left:auto;
    margin-right:auto;
    padding-left:max(var(--gutter), 16px);
    padding-right:max(var(--gutter), 16px);
    box-sizing:border-box;
  }

  .closer h2{
    max-width:100%;
    overflow-wrap:break-word;
    word-wrap:break-word;
  }

  .closer p{
    max-width:100%;
    overflow-wrap:break-word;
  }

  .closer .ctas{
    width:100%;
    max-width:100%;
    box-sizing:border-box;
  }

  .closer .ctas .btn{
    max-width:100%;
    box-sizing:border-box;
  }

  .closer .meta{
    max-width:100%;
    overflow-wrap:break-word;
  }

  /* =========================================================
     RESPONSIVE — GLOBAL
     ========================================================= */
  @media (max-width:1100px){
    .foot-top{ grid-template-columns:1fr 1fr 1fr; gap:32px }
    .foot-brand{ grid-column:1/-1 }
    .foot-news{ grid-column:1/-1 }
  }

  /* Tablet & Mobile header and drawer */
  @media (max-width:1024px){
    :root{ --gutter:28px }

    .nav{ top:14px; padding:0 20px }
    .nav-inner{
      padding:12px 18px;
      gap:12px;
      flex-wrap:nowrap;
    }
    .logo{ order:1; flex:1; min-width:0 }
    .nav-actions{ order:2; display:flex; align-items:center; gap:8px; flex-shrink:0 }
    .nav-toggle{ display:flex; order:3; margin-left:auto }
    .nav-links-wrap,
    .nav-links,
    .nav-cta{ display:none }

    .nav.is-open .nav-inner{
      flex-wrap:wrap;
      max-height:calc(100vh - 28px);
      max-height:calc(100dvh - 28px);
      overflow-y:auto;
      overscroll-behavior:contain;
      -webkit-overflow-scrolling:touch;
      scrollbar-width:thin;
      scrollbar-color:rgba(24,22,18,0.2) transparent;
    }
    .nav.is-open .nav-inner::-webkit-scrollbar{
      width:5px;
    }
    .nav.is-open .nav-inner::-webkit-scrollbar-thumb{
      background:rgba(24,22,18,0.2);
      border-radius:4px;
    }
    .nav.is-open .nav-links-wrap{
      display:block;
      order:4;
      width:100%;
      margin:10px 0 0 0;
      overflow:visible;
    }
    .nav.is-open .nav-links-wrap::before,
    .nav.is-open .nav-links-wrap::after{
      display:none !important;
    }
    .nav.is-open .nav-links{
      display:flex;
      flex-direction:column;
      width:100%;
      padding:0;
      overflow:visible;
      white-space:normal;
      gap:4px;
    }
    .nav.is-open .nav-links > li{
      width:100%;
      flex-shrink:0;
    }
    .nav.is-open .nav-links > li > a,
    .nav.is-open .nav-dropdown-trigger{
      display:flex;
      width:100%;
      justify-content:space-between;
      align-items:center;
      text-align:left;
      padding:10px 14px;
      font-size:15px;
      font-weight:600;
      border-radius:10px;
      box-sizing:border-box;
    }
    .nav.is-open .nav-cta{
      display:flex;
      width:100%;
      order:5;
      justify-content:space-between;
      align-items:center;
      padding-top:14px;
      padding-bottom:4px;
      border-top:1px solid var(--rule);
      margin-top:10px;
      margin-left:0;
      padding-left:0;
      flex-shrink:0;
    }
    .nav.is-open .nav-cta:not(:has(.signin)){
      justify-content:flex-end;
    }

    /* Mobile accordion dropdowns */
    .nav-dropdown{
      width:100%;
      position:static;
    }
    .nav-dropdown-chevron{
      display:block;
      transition:transform .2s ease;
    }
    .nav-dropdown.is-open .nav-dropdown-chevron{
      transform:rotate(180deg);
    }
    .nav-dropdown-menu,
    .nav-dropdown--events .nav-dropdown-menu,
    .nav-dropdown--resources .nav-dropdown-menu{
      position:static !important;
      top:auto !important;
      left:auto !important;
      right:auto !important;
      transform:none !important;
      display:none;
      flex-direction:column;
      align-items:stretch;
      width:100% !important;
      max-width:100% !important;
      box-sizing:border-box;
      margin-top:6px;
      padding:6px 0;
      border:none;
      border-radius:14px;
      box-shadow:none;
      background:var(--tint-soft);
      opacity:1 !important;
      visibility:visible !important;
      pointer-events:auto;
      overflow:visible;
      z-index:auto !important;
    }
    .nav-dropdown-menu::before{ display:none !important }
    .nav-dropdown.is-open .nav-dropdown-menu{ display:flex !important }
    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown:focus-within .nav-dropdown-menu{
      display:none;
    }
    .nav-dropdown.is-open:hover .nav-dropdown-menu,
    .nav-dropdown.is-open:focus-within .nav-dropdown-menu{
      display:flex !important;
    }
    .nav-dropdown-col{
      min-width:0;
      width:100%;
      max-width:100%;
      box-sizing:border-box;
      padding:10px 12px 14px;
    }
    .nav-dropdown-col + .nav-dropdown-col{
      border-left:none;
      border-top:1px solid var(--rule);
      margin-left:0;
    }
    .nav-dropdown-heading{
      padding:6px 4px;
      margin-bottom:6px;
    }
    .nav-menu-cell{
      padding:6px 4px;
      gap:10px;
    }
    .nav-menu-icon{
      width:28px;
      height:28px;
      border-radius:8px;
    }
    .nav-events-promo{
      min-width:0;
      width:100%;
      max-width:100%;
      box-sizing:border-box;
      border-left:none;
      border-top:1px solid var(--rule);
      margin-left:0;
      padding:14px 12px 16px;
    }
    .nav-events-promo-media{
      width:100%;
      max-width:none;
    }
  }

  @media (max-width:1024px) and (max-height:900px){
    .nav-dropdown.is-open .nav-dropdown-menu{
      max-height:min(52vh, 420px);
      overflow-y:auto;
      -webkit-overflow-scrolling:touch;
    }
  }

  @media (max-width:768px){
    :root{ --gutter:20px }

    .btn{
      white-space:normal;
      max-width:100%;
    }

    .nav .logo{
      min-width:0;
      max-width:calc(100vw - 7.5rem);
    }

    .nav .custom-logo-img{
      max-height:40px;
      max-width:100%;
      width:auto;
      height:auto;
      object-fit:contain;
    }

    .closer{
      padding:72px 0 64px;
    }

    .closer .sticker{
      margin-bottom:22px;
      font-size:10px;
      letter-spacing:0.08em;
      padding:6px 12px;
      max-width:calc(100% - 8px);
    }

    .closer h2{
      font-size:2.125rem;
      line-height:1.08;
      letter-spacing:-0.03em;
      margin-bottom:20px;
    }

    .closer h2 em{
      display:inline-block;
      padding:0 2px;
    }

    .closer h2 em::before{
      left:-6px;
      right:-8px;
      top:2%;
      bottom:6%;
    }

    .closer p{
      font-size:1rem;
      margin-bottom:28px;
      line-height:1.55;
    }

    .closer .ctas{
      flex-direction:column;
      align-items:stretch;
      gap:10px;
    }

    .closer .ctas .btn{
      width:100%;
      justify-content:center;
      text-align:center;
    }

    .closer .meta{
      margin-top:20px;
      font-size:0.75rem;
      line-height:1.55;
      padding:0 4px;
    }

    .nav{ top:12px; padding:0 16px }
    .nav-inner{ padding:10px 14px; gap:10px }

    .foot-top{ grid-template-columns:1fr 1fr; gap:24px }

    .foot-bottom{
      flex-direction:column;
      align-items:flex-start;
      gap:16px;
    }
    .foot-legal-links{
      order:2;
      width:100%;
    }
    .foot-social{
      order:3;
      width:100%;
      justify-content:center;
    }
  }

  @media (max-width:480px){
    :root{ --gutter:18px }

    .closer{
      padding:56px 0 48px;
    }

    .closer h2{
      font-size:1.875rem;
      line-height:1.1;
    }

    .closer::before,
    .closer::after{
      width:260px;
      height:260px;
      opacity:0.28;
    }
  }

  @media (max-width:360px){
    :root{ --gutter:16px }

    .closer h2{
      font-size:1.75rem;
    }

    .closer .btn{
      padding:14px 18px;
      font-size:14px;
    }
  }

  /* =========================================================
     NAV ACTIONS — logged-in state (profile.html design)
     ========================================================= */
  .nav-actions{
    display:flex;
    align-items:center;
    gap:12px;
    flex-shrink:0;
    margin-left:8px;
  }
  .nav-actions .icon-btn{
    width:32px;
    height:32px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    position:relative;
    flex-shrink:0;
    padding:0;
    border:1px solid var(--accent);
    background:var(--tint);
    box-sizing:border-box;
    text-decoration:none;
  }
  .nav-actions .icon-btn.is-active{ background:var(--tint) }
  .nav-actions .icon-btn--chat svg{ width:14px; height:14px; display:block }
  .nav-actions .icon-btn--notif svg{ width:16px; height:16px; display:block }
  .notif-badge{
    position:absolute;
    top:-5px;
    right:-5px;
    width:16px;
    height:16px;
    min-width:16px;
    padding:0;
    border-radius:50%;
    background:var(--accent);
    color:var(--ink);
    font-family:var(--sans);
    font-size:8px;
    font-weight:800;
    display:flex;
    align-items:center;
    justify-content:center;
    line-height:1;
    letter-spacing:-0.02em;
  }
  .user-menu{ position:relative; flex-shrink:0; z-index:2 }
  .user-avatar{
    width:32px;
    height:32px;
    border-radius:50%;
    background:var(--ink);
    color:var(--accent);
    font-family:var(--sans);
    font-size:13px;
    font-weight:700;
    letter-spacing:-0.02em;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    padding:0;
    border:none;
    cursor:pointer;
    transition:box-shadow .15s ease, transform .15s ease;
  }
  .user-avatar:hover{ box-shadow:0 0 0 2px var(--accent) }
  .user-avatar[aria-expanded="true"]{ box-shadow:0 0 0 2px var(--accent) }
  .user-avatar img, .profile-menu-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
  }

  /* Profile dropdown */
  .profile-menu-root{
    position:fixed;
    inset:0;
    z-index:200;
    pointer-events:none;
  }
  .profile-menu-root.is-open{ pointer-events:auto }
  .profile-menu-root[hidden]{ display:none !important }
  .profile-menu{
    position:fixed;
    width:min(300px,calc(100vw - 40px));
    border:1px solid var(--rule);
    border-radius:18px;
    background:var(--paper);
    box-shadow:0 16px 40px rgba(24,22,18,0.12),0 4px 12px rgba(24,22,18,0.06);
    overflow:hidden;
    z-index:2;
  }
  .profile-menu[hidden]{ display:none !important }
  .profile-menu-handle{
    display:none;
    width:40px;
    height:4px;
    margin:10px auto 2px;
    border-radius:999px;
    background:#DDD8C9;
    flex-shrink:0;
  }
  .profile-menu-head{
    display:flex;
    align-items:center;
    gap:14px;
    padding:12px 16px;
    background:#FFFAEA;
    border-bottom:1px solid var(--rule);
    border-radius:22px 22px 0 0;
  }
  .profile-menu-avatar{
    width:48px;
    height:48px;
    border-radius:50%;
    background:var(--ink);
    color:var(--accent);
    font-family:var(--sans);
    font-size:16px;
    font-weight:800;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
  }
  .profile-menu-meta{
    display:flex;
    flex-direction:column;
    gap:2px;
    min-width:0;
  }
  .profile-menu-name{
    font-size:16px;
    font-weight:700;
    color:var(--ink);
    line-height:1.2;
  }
  .profile-menu-email{
    font-size:13px;
    font-weight:400;
    color:#898377;
    line-height:1.3;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .profile-menu-nav{
    display:flex;
    flex-direction:column;
    padding:4px 0;
  }
  .profile-menu-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    min-height:52px;
    padding:0 16px;
    font-size:13px;
    font-weight:600;
    color:var(--ink);
    transition:background-color .15s ease;
    text-decoration:none;
  }
  .profile-menu-item:hover{ background:var(--tint-soft) }
  .profile-menu-item.is-active{ background:var(--tint-soft) }
  .profile-menu-item-main{
    display:flex;
    align-items:center;
    gap:11px;
    min-width:0;
  }
  .profile-menu-item-main svg{
    width:20px;
    height:20px;
    display:block;
    flex-shrink:0;
  }
  .profile-menu-badge{
    width:22px;
    height:22px;
    border-radius:50%;
    background:var(--accent);
    color:var(--ink);
    font-size:11px;
    font-weight:600;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    line-height:1;
  }
  .profile-menu-divider{
    margin:0;
    border:none;
    border-top:1px solid #EDE9DB;
    height:0;
  }
  .profile-menu-backdrop{
    position:fixed;
    inset:0;
    background:rgba(24,22,18,0.45);
    z-index:1;
    opacity:0;
    transition:opacity .2s ease;
  }
  .profile-menu-root.is-open .profile-menu-backdrop{ opacity:1 }
  @media (min-width:761px){
    .profile-menu-backdrop{ display:none }
  }
  @keyframes profileMenuSlideUp{
    from{ transform:translateY(100%); opacity:0 }
    to{ transform:translateY(0); opacity:1 }
  }

  /* Responsive: nav-actions on mobile/tablet */
  @media (max-width:1024px){
    .nav-actions{ order:2; flex-shrink:0 }
    .nav-actions .icon-btn, .user-avatar{ width:36px; height:36px }
  }
  @media (max-width:760px){
    .nav-actions{ gap:8px }
    .nav-actions .icon-btn, .user-avatar{ width:36px; height:36px }
    .profile-menu-handle{ display:block }
    .profile-menu{
      left:0 !important;
      right:0 !important;
      top:auto !important;
      bottom:0;
      width:100% !important;
      max-width:none;
      border-radius:20px 20px 0 0;
      border-bottom:none;
      border-left:none;
      border-right:none;
      max-height:min(90vh,580px);
      display:flex;
      flex-direction:column;
      overflow:hidden;
      padding-bottom:env(safe-area-inset-bottom,0);
      animation:profileMenuSlideUp .24s cubic-bezier(.22,1,.36,1);
    }
    .profile-menu-head{
      border-radius:0;
      padding:8px 16px 16px;
      flex-shrink:0;
    }
    .profile-menu-nav{
      overflow-y:auto;
      -webkit-overflow-scrolling:touch;
      flex:1;
      min-height:0;
      padding-bottom:8px;
    }
    .profile-menu-item{ min-height:54px; padding:0 20px }
  }
  @media (max-width:480px){
    .nav-actions .icon-btn--chat svg{ width:13px; height:13px }
    .nav-actions .icon-btn--notif svg{ width:15px; height:15px }
  }

  /* ── Dismissible flash alerts (whole new theme) ── */
  .events-alert,
  .flash-alert--dismissible {
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }
  .events-alert__text {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .events-alert__close {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    opacity: 0.55;
    font-size: 18px;
    line-height: 1;
    color: currentColor;
    padding: 0;
    margin-left: auto;
    transition: opacity 0.15s;
  }
  .events-alert__close:hover { opacity: 1; }

  /* ── iOS zoom prevention ──
     iOS Safari auto-zooms when a focused input/textarea/select has font-size < 16px.
     Setting font-size to at least 16px on all text-entry fields prevents this.
     max(16px, 1em) keeps fields with naturally larger sizes intact. ── */
  @media screen and (max-width: 767px) {
    input:not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
    textarea,
    select {
      font-size: max(16px, 1em) !important;
    }
  }


/* ===== Page Sections: Text Block =====
   No top padding by default: it usually follows a section that already has bottom padding.
   After a section with its own background/border, that edge would sit flush against the
   text, so add breathing room there. .values.text-block beats about.css's `.values{padding}`. */
.values.text-block{ padding:0 0 60px }
:is(.story-band, .team, .stats-strip, .closer, .terms-legal-cta, .section-tint, .compare-band, .feature-band.tint, .help-support, section[style*="background"], .wrap.old-theme-compat) + .values.text-block{ padding-top:96px }
.text-block .eyebrow{ margin-bottom:20px }
@media (max-width:900px){
  :is(.story-band, .team, .stats-strip, .closer, .terms-legal-cta, .section-tint, .compare-band, .feature-band.tint, .help-support, section[style*="background"], .wrap.old-theme-compat) + .values.text-block{ padding-top:64px }
}

/* ===== Page Sections: Stats Bar =====
   Lived in about.css, so the section was unstyled on any other page. min-width:0 +
   overflow-wrap let an over-long number wrap inside its column instead of running off-screen. */
.stats-strip{ padding:60px 0; background:var(--ink); color:#fff }
.stats-row{ display:flex; align-items:center; justify-content:space-around; flex-wrap:wrap; gap:24px }
.stats-row .stat{ display:flex; flex-direction:column; align-items:center; gap:4px; text-align:center; min-width:0; max-width:100% }
.stats-row .stat .n{ font-family:var(--display); font-size:clamp(28px, 3.2vw, 38px); font-weight:700; color:var(--accent); letter-spacing:-0.03em; line-height:1.05; overflow-wrap:anywhere }
.stats-row .stat .l{ font-size:12px; color:#a8a79f; font-weight:600; letter-spacing:0.06em; text-transform:uppercase; overflow-wrap:anywhere }
.stats-row .sep{ width:1px; height:36px; background:#2a2823 }
@media (max-width:1100px){
  .stats-row .sep{ display:none }
}

/* ===== Page Sections: shared centred section heading =====
   Same look as About's .section-head, but in global.css so sections that use it (feature_cards,
   video_embed) have a styled heading on every page, not only where about.css happens to load. */
.ps-head{ text-align:center; max-width:760px; margin:0 auto 48px; overflow-wrap:break-word; word-break:break-word; }
.ps-head .eyebrow{ margin-bottom:24px; max-width:100%; overflow-wrap:break-word; word-break:break-word; }
.ps-head h2{ font-family:var(--display); font-size:clamp(36px, 5vw, 64px); font-weight:600; line-height:1.1; letter-spacing:-0.03em; margin:0 0 16px; overflow-wrap:break-word; word-break:break-word; }
.ps-head h2 em{ font-style:italic; font-weight:500; color:var(--ink-2); }
.ps-head h2 :is(.highlight, .t-highlight){
  position:relative;
  display:inline-block;
  z-index:0;
  padding:0 0.14em;
  color:var(--ink);
}
.ps-head h2 :is(.highlight, .t-highlight)::before{
  content:"";
  position:absolute;
  left:-4px;
  right:-4px;
  top:12%;
  bottom:10%;
  background:var(--accent);
  z-index:-1;
  border-radius:8px;
  transform:rotate(-1deg);
}
.ps-head p{ font-size:17px; color:var(--ink-2); line-height:1.6; max-width:560px; margin:0 auto; overflow-wrap:break-word; word-break:break-word; }

/* ===== Page Sections: readability ===== */
/* Even out multi-line section headings so a single word ("of.", "with") isn't left alone on the
   last line. Browsers without support just wrap normally. Explicit <br> breaks are kept. */
body > :is(section, header) :is(h1, h2){ text-wrap:balance }
/* Text Block body: ~75 characters per line instead of the full 1240px container. */
.text-block-body{ max-width:760px }
.text-block-body.is-centered{ max-width:720px; margin:0 auto }
