/* ENNCloud Technologies — Shared Base Styles */
:root{
    --gold-500:#B19148;
    --gold-300:#D7B86F;
    --gold-100:#E9D394;
    --gold-700:#8A6F2E;   /* derived: body-size gold text, 4.8:1 on white */
    --gold-050:#FAF4E4;   /* derived: section wash */
    --ink-900:#000000;
    --ink-700:#3E3A3B;
    --surface:#FFFFFF;

    --serif:"Source Serif 4",Georgia,serif;
    --sans:"Source Sans 3",system-ui,sans-serif;
    --gutter:clamp(1.25rem,5vw,4.5rem);
    --navh:3.5rem;
    --headh:4.5rem;
  }

  *,*::before,*::after{box-sizing:border-box}
  html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
  @media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

  body{
    margin:0;font-family:var(--sans);
    font-size:clamp(1rem,.95rem + .2vw,1.125rem);
    line-height:1.6;color:var(--ink-700);background:var(--surface);
  }

  :focus-visible{outline:3px solid var(--gold-700);outline-offset:3px}

  .shell{max-width:78rem;margin-inline:auto;padding-inline:var(--gutter)}
  .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

  /* ---------- Site header ---------- */

  .site-header{
    position:sticky;top:0;z-index:30;
    border-bottom:1px solid rgba(177,145,72,.35);
  }
  /* Frosted bar lives on a pseudo-element: a backdrop-filter on the header itself
     would stop the dropdown panels from seeing (and blurring) the page behind them */
  .site-header::before{
    content:"";position:absolute;inset:0;z-index:-1;
    background:rgba(255,255,255,.94);
    -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  }
  .site-header__bar{display:flex;align-items:center;justify-content:space-between;height:var(--headh);gap:1.5rem}

  .brand{display:inline-flex;align-items:center;gap:.6rem;text-decoration:none;color:var(--ink-900)}
  .brand__logo{display:block;height:clamp(2.6rem,2.2rem + 1vw,3.25rem);width:auto}

  /* Main nav with dropdowns (modelled on communityforce.com) */
  .mainnav__list{display:flex;align-items:center;gap:clamp(1rem,2.2vw,2rem);margin:0;padding:0;list-style:none}
  .mainnav__item{position:relative}
  .mainnav__top{
    display:inline-flex;align-items:center;gap:.35em;
    font:inherit;font-weight:600;font-size:.98rem;color:var(--ink-700);
    background:none;border:0;border-bottom:2px solid transparent;
    padding:.3rem 0;cursor:pointer;text-decoration:none;
  }
  .mainnav__top:hover,.mainnav__top[aria-expanded="true"]{color:var(--gold-700);border-bottom-color:var(--gold-300)}
  .mainnav__chev{width:.8em;height:.8em;transition:transform .18s ease}
  .mainnav__top[aria-expanded="true"] .mainnav__chev{transform:rotate(180deg)}

  .subnav{
    display:none;position:absolute;left:50%;top:calc(100% + .9rem);transform:translateX(-50%);
    min-width:15rem;margin:0;padding:.5rem;list-style:none;white-space:nowrap;
    /* Transparent glass: the hero shows through, lightly softened so links stay readable */
    background:rgba(255,255,255,.55);
    -webkit-backdrop-filter:blur(6px) saturate(140%);backdrop-filter:blur(6px) saturate(140%);
    border:1px solid rgba(255,255,255,.7);border-radius:14px;
    box-shadow:0 12px 32px rgba(62,58,59,.10),inset 0 0 0 1px rgba(177,145,72,.18);
  }
  .subnav::before{content:"";position:absolute;left:0;right:0;top:-1rem;height:1rem} /* hover bridge */
  .mainnav__top[aria-expanded="true"] + .subnav{display:block}
  .subnav a,.subnav__empty{
    display:block;padding:.65rem .9rem;border-radius:10px;
    font-weight:600;font-size:.95rem;color:var(--ink-900);text-decoration:none;
  }
  .subnav a:hover,.subnav a:focus-visible{background:rgba(250,244,228,.75);color:var(--gold-700)}
  .subnav__empty{color:var(--ink-700);font-weight:400;font-style:italic}
  @supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
    .subnav{background:rgba(255,255,255,.92)}
  }

  .mainnav .mainnav__cta{display:inline-block;font-weight:600;font-size:.98rem;text-decoration:none;background:var(--gold-500);color:var(--ink-900);padding:.6rem 1.4rem;border:0;border-radius:999px;transition:background-color .18s ease,color .18s ease}
  .mainnav .mainnav__cta:hover{background:var(--gold-700);color:var(--surface)}

  .navtoggle{display:none;background:none;border:1px solid rgba(177,145,72,.55);padding:.45rem;cursor:pointer;color:var(--ink-900)}
  .navtoggle svg{width:1.4rem;height:1.4rem;display:block}

  @media (max-width:59.99rem){
    .navtoggle{display:inline-flex}
    .mainnav{
      position:absolute;left:0;right:0;top:var(--headh);
      background:var(--surface);border-bottom:1px solid rgba(177,145,72,.35);
      box-shadow:0 12px 24px rgba(0,0,0,.06);display:none;
    }
    .mainnav.is-open{display:block}
    .mainnav__list{flex-direction:column;align-items:stretch;gap:0;padding:.5rem var(--gutter) 1.25rem}
    .mainnav__top{display:flex;width:100%;justify-content:space-between;padding:.85rem 0;border-bottom:1px solid rgba(62,58,59,.1)}
    .mainnav__top:hover,.mainnav__top[aria-expanded="true"]{border-bottom-color:rgba(62,58,59,.1)}
    .subnav{position:static;transform:none;min-width:0;white-space:normal;background:none;-webkit-backdrop-filter:none;backdrop-filter:none;border:0;box-shadow:none;border-radius:0;padding:.25rem 0 .5rem .75rem}
    .subnav::before{display:none}
    .mainnav .mainnav__cta{display:block;margin-top:1rem;text-align:center;padding:.85rem 1rem}
    .mainnav__social{margin:1rem 0 0}
    .mainnav__social .social{justify-content:flex-end}
  }

  /* ---------- Hero ---------- */

  .hero{
    --hero-img:none;
    --hero-pos:70% 55%;
    --hero-pos-mob:62% 50%;
    position:relative;
    background:
      linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.93) 45%, rgba(255,255,255,.72) 60%, rgba(250,244,228,.25) 80%, rgba(177,145,72,.10) 100%),
      var(--hero-img) var(--hero-pos) / cover no-repeat,
      var(--gold-050);
  }
  @media (max-width:52rem){
    .hero{
      background:
        linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.86) 100%),
        var(--hero-img) var(--hero-pos-mob) / cover no-repeat,
        var(--gold-050);
    }
  }
  .hero__inner{padding-block:clamp(3.5rem,11vh,7rem)}

  .hero__rule{width:clamp(3.5rem,8vw,6rem);height:3px;background:var(--gold-500);border:0;margin:0 0 clamp(1.5rem,3.5vh,2.25rem)}

  .hero h1{
    font-family:var(--serif);font-weight:600;
    font-size:clamp(2.2rem,1.5rem + 3.2vw,4rem);
    line-height:1.06;letter-spacing:-.02em;
    margin:0;max-width:19ch;color:var(--ink-900);text-wrap:balance;
  }

  .cycler{display:inline-grid;vertical-align:baseline}
  .cycler__word{
    grid-area:1/1;color:var(--gold-500);
    opacity:0;transform:translateY(.18em);
    transition:opacity .45s ease,transform .45s ease;text-align:left;
  }
  .cycler__word.is-active{opacity:1;transform:none}
  .cycler.is-static{display:inline}
  .cycler.is-static .cycler__word{opacity:1;transform:none;display:inline;transition:none}
  .cycler.is-static .cycler__word:not(:last-child)::after{content:", "}
  .cycler.is-static .cycler__word:last-child::before{content:"and "}


  .hero__lede{margin:clamp(1.4rem,3vh,1.9rem) 0 0;max-width:52ch;font-size:clamp(1.05rem,1rem + .3vw,1.25rem);line-height:1.55}

  .actions{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:clamp(1.9rem,4.5vh,2.5rem)}
  .btn{display:inline-block;font:inherit;font-weight:600;text-decoration:none;padding:.85em 1.9em;border:2px solid transparent;border-radius:999px;cursor:pointer;transition:background-color .18s ease,color .18s ease,border-color .18s ease}
  .btn--primary{background:var(--gold-500);color:var(--ink-900)}
  .btn--primary:hover{background:var(--gold-700);color:var(--surface)}
  .btn--ghost{border-color:var(--gold-500);color:var(--ink-700);background:var(--surface)}
  .btn--ghost:hover{background:var(--gold-050)}

  .subnav a[aria-current="page"]{background:rgba(250,244,228,.75);color:var(--gold-700)}
  .hero__eyebrow{margin:0 0 .75rem;font-weight:600;font-size:.9rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-700)}

  /* Pill button with a circular arrow (modelled on Sendero's "Get in touch with a consultant") */
  .btn-arrow{
    display:inline-flex;align-items:center;gap:.9rem;
    padding:.45rem .45rem .45rem 1.6rem;border-radius:999px;
    font-weight:600;color:var(--ink-900);text-decoration:none;
    background:var(--surface);border:2px solid var(--gold-500);
    box-shadow:0 1px 2px rgba(0,0,0,.06),0 2px 8px rgba(138,111,46,.12);
    transition:background-color .2s ease,box-shadow .2s ease;
  }
  .btn-arrow__icon{
    display:grid;place-items:center;flex:none;width:2.6rem;height:2.6rem;border-radius:999px;
    background:var(--gold-500);color:var(--surface);
    transition:background-color .2s ease;
  }
  .btn-arrow__icon svg{width:1.1rem;height:1.1rem;transition:transform .2s ease}
  .btn-arrow:hover{background:var(--gold-050);box-shadow:0 2px 4px rgba(0,0,0,.06),0 6px 16px rgba(138,111,46,.18)}
  .btn-arrow:hover .btn-arrow__icon{background:var(--gold-700)}
  .btn-arrow:hover .btn-arrow__icon svg{transform:translateX(3px)}
  .btn-arrow:focus-visible{outline:3px solid var(--gold-700);outline-offset:3px}
  @media (prefers-reduced-motion:reduce){.btn-arrow__icon svg{transition:none}.btn-arrow:hover .btn-arrow__icon svg{transform:none}}

/* ---------- Footer (modelled on instrumentl.com) ---------- */
  .site-footer{
    background:var(--gold-050);border-top:3px solid var(--gold-500);
    padding-top:clamp(3rem,8vh,4.75rem);color:var(--ink-700);font-size:.98rem;
  }
  .footer__grid{
    display:grid;grid-template-columns:minmax(14rem,1.3fr) minmax(13rem,1.5fr) repeat(4,minmax(0,1fr));
    gap:clamp(1.75rem,3vw,2.5rem);
  }
  .footer__brand img{display:block;height:3.25rem;width:auto}
  .footer__tagline{margin:1rem 0 0;max-width:24ch;font-family:var(--serif);font-size:1.15rem;line-height:1.35;color:var(--ink-900)}
  .footer__cta{margin-top:1.4rem}
  .footer__cta .btn--ghost:hover{background:#F3E7C6} /* footer is already gold-050, so hover goes one step warmer */
  .footer__col h2{
    margin:0 0 .9rem;font-size:.8rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-700);
  }
  .footer__col ul{list-style:none;margin:0;padding:0;display:grid;gap:.6rem}
  .footer__col a{color:var(--ink-700);text-decoration:none;line-height:1.4}
  .footer__col a:hover{color:var(--gold-700);text-decoration:underline;text-underline-offset:3px}
  .footer__soon{font-style:italic;color:var(--ink-700);opacity:.8}

  .footer__verse{
    margin:clamp(2rem,5vh,3rem) 0 0 auto;max-width:30rem;text-align:right;
    font-family:var(--serif);font-style:italic;font-size:1.1rem;line-height:1.45;color:var(--ink-900);
  }
  .footer__verse p{margin:0}
  .footer__verse cite{display:block;margin-top:.4rem;font-style:normal;font-family:var(--sans);font-size:.85rem;font-weight:600;letter-spacing:.06em;color:var(--gold-700)}
  @media (max-width:36rem){.footer__verse{margin-left:0;text-align:left}}

  .footer__bottom{
    display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem 2rem;
    margin-top:1.5rem;padding-block:1.5rem;
    border-top:1px solid rgba(177,145,72,.35);font-size:.9rem;
  }
  .footer__legal{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1.5rem}
  .footer__legal p{margin:0}
  .footer__legal a{color:var(--ink-700);text-decoration:none}
  .footer__legal a:hover{color:var(--gold-700);text-decoration:underline;text-underline-offset:3px}

  .social{display:flex;gap:.6rem;list-style:none;margin:0;padding:0}
  .social a{
    display:grid;place-items:center;width:2.6rem;height:2.6rem;border-radius:999px;
    color:var(--gold-700);background:var(--surface);border:1px solid rgba(177,145,72,.45);
    transition:background-color .18s ease,color .18s ease,border-color .18s ease;
  }
  .social a:hover{background:var(--gold-500);border-color:var(--gold-500);color:var(--surface)}
  .social svg{width:1.15rem;height:1.15rem;display:block}
  .social--sm{gap:.4rem}
  .social--sm a{width:2.15rem;height:2.15rem}
  .social--sm svg{width:.95rem;height:.95rem}
  /* Header icons: shown on wide screens and inside the mobile drawer; hidden in between so the bar doesn't crowd */
  .mainnav__social{margin-left:calc(-1 * clamp(1rem,2.2vw,2rem) + .75rem)}
  @media (min-width:60rem) and (max-width:74.99rem){.mainnav__social{display:none}}
  
  @media (max-width:64rem){
    .footer__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .footer__brand{grid-column:1 / -1}
  }
  @media (max-width:36rem){
    .footer__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .footer__bottom{flex-direction:column;align-items:flex-start}
  }

  /* ---------- Motion ---------- */

  @media (prefers-reduced-motion:no-preference){
    .hero__rule{animation:draw .7s cubic-bezier(.2,.7,.3,1) both}
    .hero h1{animation:rise .8s cubic-bezier(.2,.7,.3,1) .1s both}
    .hero__lede{animation:rise .8s cubic-bezier(.2,.7,.3,1) .22s both}
    .actions{animation:rise .8s cubic-bezier(.2,.7,.3,1) .34s both}
  }
  @keyframes draw{from{transform:scaleX(0)}to{transform:scaleX(1)}}
  @keyframes rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}

  /* ---------- Shared Accent & Play Button Variants ---------- */
  .hero__accent{color:var(--gold-500)}
  .hero__lede .accent{color:var(--gold-700);font-weight:600}
  .btn-arrow--play .btn-arrow__icon{background:var(--gold-050);color:var(--gold-700);border:1.5px solid var(--gold-500)}
  .btn-arrow--play .btn-arrow__icon svg{width:1rem;height:1rem;margin-left:2px}
  .btn-arrow--play:hover .btn-arrow__icon{background:var(--gold-500);color:var(--surface)}
  .btn-arrow--play:hover .btn-arrow__icon svg{transform:scale(1.1)}

  /* ---------- Skip Link ---------- */
  .skip-link{
    position:absolute;left:-9999px;top:0;z-index:100;
    background:var(--ink-900);color:var(--surface);
    padding:.75rem 1.25rem;font-weight:600;text-decoration:none;border-radius:0 0 8px 0;
  }
  .skip-link:focus{left:0}

  /* ---------- Cookie Consent Banner ---------- */
  .footer__cookie-btn{
    font:inherit;font-size:inherit;color:var(--ink-700);background:none;border:0;
    padding:0;cursor:pointer;text-decoration:none;
  }
  .footer__cookie-btn:hover{color:var(--gold-700);text-decoration:underline;text-underline-offset:3px}

  .cookie-banner{
    position:fixed;left:0;right:0;bottom:0;z-index:60;
    background:var(--surface);
    border-top:2px solid var(--gold-500);
    box-shadow:0 -8px 28px rgba(0,0,0,.12);
    padding-block:1rem;
  }
  .cookie-banner[hidden]{display:none}
  .cookie-banner__inner{
    display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem 2rem;
  }
  .cookie-banner__text{margin:0;flex:1 1 26rem;font-size:.94rem;line-height:1.5;color:var(--ink-700)}
  .cookie-banner__text a{color:var(--gold-700);font-weight:600;text-underline-offset:3px}
  .cookie-banner__actions{display:flex;flex-wrap:wrap;gap:.65rem;flex:none}
  .cookie-banner__btn{padding:.55em 1.25em;font-size:.92rem}
