/* Echnify theme: tokens, base, header, footer.
   Fonts: drop Agrandir woff2 files into assets/fonts (see README.txt there). */
@font-face{font-family:"Agrandir";font-weight:300;font-style:normal;font-display:swap;src:local("Agrandir Light"),url("../fonts/Agrandir-Light.woff2") format("woff2")}
@font-face{font-family:"Agrandir";font-weight:400;font-style:normal;font-display:swap;src:local("Agrandir Regular"),local("Agrandir"),url("../fonts/Agrandir-Regular.woff2") format("woff2")}
@font-face{font-family:"Agrandir";font-weight:500;font-style:normal;font-display:swap;src:local("Agrandir Medium"),url("../fonts/Agrandir-Medium.woff2") format("woff2")}
@font-face{font-family:"Agrandir";font-weight:700;font-style:normal;font-display:swap;src:local("Agrandir Bold"),url("../fonts/Agrandir-Bold.woff2") format("woff2")}
@font-face{font-family:"Agrandir";font-weight:900;font-style:normal;font-display:swap;src:local("Agrandir Heavy"),local("Agrandir GrandHeavy"),url("../fonts/Agrandir-Heavy.woff2") format("woff2")}

@font-face{font-family:"Agrandir Wide";font-weight:300;font-style:normal;font-display:swap;src:local("Agrandir Wide Light"),url("../fonts/Agrandir-WideLight.woff2") format("woff2")}
@font-face{font-family:"Agrandir Wide";font-weight:400;font-style:normal;font-display:swap;src:local("Agrandir Wide Regular"),local("Agrandir Wide"),url("../fonts/Agrandir-WideRegular.woff2") format("woff2")}
@font-face{font-family:"Agrandir Wide";font-weight:500;font-style:normal;font-display:swap;src:local("Agrandir Wide Medium"),url("../fonts/Agrandir-WideMedium.woff2") format("woff2")}
@font-face{font-family:"Agrandir Wide";font-weight:700;font-style:normal;font-display:swap;src:local("Agrandir Wide Bold"),url("../fonts/Agrandir-WideBold.woff2") format("woff2")}
@font-face{font-family:"Agrandir Wide";font-weight:900;font-style:normal;font-display:swap;src:local("Agrandir Wide Heavy"),local("Agrandir Grand"),url("../fonts/Agrandir-WideHeavy.woff2") format("woff2")}

:root{
  --ech-black:#000;
  --ech-white:#fff;
  --ech-lime:#8CE634;
  --ech-lime-soft:rgba(140,230,52,.14);
  --ech-surface:rgba(255,255,255,.04);
  --ech-surface-2:rgba(255,255,255,.08);
  --ech-line:rgba(255,255,255,.14);
  --ech-text:rgba(255,255,255,.82);
  --ech-muted:rgba(255,255,255,.62);
  --ech-lime-hot:#A8FF3E;
  --ech-font-head:"Agrandir Wide","Agrandir","Helvetica Neue",Arial,sans-serif;
  --ech-head-w:300;
  --ech-head-ls:-.035em;
  --ech-head-tt:none;
  --ech-font:"Agrandir","Helvetica Neue",Arial,sans-serif;
  --ech-gutter:clamp(20px,4vw,64px);
  --ech-max:1440px;
  --ech-radius:4px;
  --ech-ease:cubic-bezier(.2,.7,.1,1);
  --ech-header-h:84px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;overflow-x:hidden}
body{margin:0;background:var(--ech-black);color:var(--ech-text);font-family:var(--ech-font);font-size:var(--ech-body-size,17px);line-height:1.6;font-weight:400;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img,svg,video{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
::selection{background:var(--ech-lime);color:var(--ech-black)}
:focus-visible{outline:2px solid var(--ech-lime);outline-offset:3px}
h1,h2,h3,h4,h5,h6{margin:0;color:var(--ech-white);font-family:var(--ech-font-head,var(--ech-font));font-weight:var(--ech-head-w,700);letter-spacing:var(--ech-head-ls);text-transform:var(--ech-head-tt);line-height:1}
h1 b,h1 strong,h2 b,h2 strong,h3 b,h3 strong{font-weight:900}
h1{font-size:clamp(2.3rem,5.2vw,5.4rem)}
h2{font-size:clamp(1.9rem,3.7vw,3.6rem)}
h3{font-size:clamp(1.3rem,1.9vw,1.75rem);line-height:1.12}
h4{font-size:1.1rem;letter-spacing:-.01em;line-height:1.25;text-transform:none;font-family:var(--ech-font)}
p{margin:0 0 1.1em}
p:last-child{margin-bottom:0}
.ech-wrap{width:100%;max-width:var(--ech-max);margin-inline:auto;padding-inline:var(--ech-gutter)}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}
.skip-link{position:absolute;left:-9999px;top:8px;background:var(--ech-lime);color:var(--ech-on-lime,#000);padding:.7em 1.1em;z-index:1000;font-weight:700}
.skip-link:focus{left:8px}

/* Buttons */
.ech-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:.6em;padding:1.05em 1.7em;border:1.5px solid var(--ech-lime);border-radius:var(--ech-radius);background:var(--ech-lime);color:var(--ech-on-lime,#000);font:700 .9375rem/1 var(--ech-font);letter-spacing:-.005em;cursor:pointer;overflow:hidden;transition:background .3s var(--ech-ease),color .3s var(--ech-ease),border-color .3s var(--ech-ease)}
.ech-btn .ech-btn__txt{display:block;position:relative;transform-origin:center;transition:transform .5s cubic-bezier(.34,1.8,.5,1),letter-spacing .5s cubic-bezier(.34,1.8,.5,1)}
.ech-btn .ech-btn__txt>span+span{display:none}
.ech-btn:hover,.ech-btn:focus-visible{background:var(--ech-lime-hot);border-color:var(--ech-lime-hot);color:var(--ech-on-lime,#000)}
.ech-btn:hover .ech-btn__txt,.ech-btn:focus-visible .ech-btn__txt{transform:scaleX(.9);letter-spacing:-.04em}
.ech-btn--ghost{background:transparent;color:var(--ech-white);border-color:var(--ech-line)}
.ech-btn--ghost:hover,.ech-btn--ghost:focus-visible{background:var(--ech-lime-hot);border-color:var(--ech-lime-hot);color:var(--ech-on-lime,#000)}
.ech-btn--dark{background:var(--ech-black);border-color:var(--ech-black);color:var(--ech-white)}
.ech-btn--dark:hover,.ech-btn--dark:focus-visible{background:#161616;border-color:#161616;color:var(--ech-white)}

/* Header */
.ech-header{position:fixed;inset:0 0 auto 0;z-index:100;height:var(--ech-header-h);transition:background .3s,border-color .3s;border-bottom:1px solid transparent}
.ech-header::before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.88);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);opacity:0;transition:opacity .3s;pointer-events:none}
.ech-header.is-stuck{border-color:var(--ech-line)}
.ech-header.is-stuck::before{opacity:1}
.ech-header__in{position:relative}
.ech-header__in{height:100%;display:flex;align-items:center;justify-content:space-between;gap:2rem}
.ech-logo{display:inline-flex;align-items:center;font-weight:900;font-size:1.5rem;letter-spacing:-.04em;color:var(--ech-white)}
.ech-logo img{max-height:34px;width:auto}
.ech-logo i{font-style:normal;color:var(--ech-lime)}
.ech-nav{display:flex;align-items:center;gap:2.2rem}
.ech-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:2rem}
.ech-nav li{position:relative}
.ech-nav a{display:block;padding:.5rem 0;font-weight:500;font-size:.9375rem;color:var(--ech-text);transition:color .2s}
.ech-nav a:hover,.ech-nav .current-menu-item>a,.ech-nav .current-menu-ancestor>a{color:var(--ech-lime)}
.ech-nav .sub-menu{position:absolute;left:-1.2rem;top:100%;min-width:270px;padding:.6rem;background:#000;border:1px solid var(--ech-line);border-radius:var(--ech-radius);opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .25s,transform .25s var(--ech-ease),visibility .25s;display:block}
.ech-nav li:hover>.sub-menu,.ech-nav li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:none}
.ech-nav a.ech-btn{padding:1.05em 1.7em;color:var(--ech-black);font-weight:700}
.ech-nav a.ech-btn:hover{color:var(--ech-on-lime,#000)}
.ech-nav .sub-menu a{padding:.7rem .8rem;border-radius:3px}
.ech-nav .sub-menu a:hover{background:var(--ech-surface-2)}
.ech-burger{display:none;width:46px;height:46px;border:1px solid var(--ech-line);border-radius:var(--ech-radius);background:none;cursor:pointer;position:relative}
.ech-burger span{position:absolute;left:12px;right:12px;height:2px;background:var(--ech-white);transition:transform .3s var(--ech-ease),top .3s var(--ech-ease)}
.ech-burger span:first-child{top:18px}.ech-burger span:last-child{top:26px}
.menu-open .ech-burger span:first-child{top:22px;transform:rotate(45deg)}
.menu-open .ech-burger span:last-child{top:22px;transform:rotate(-45deg)}
.ech-main{display:block}
.ech-main--pad{padding-top:calc(var(--ech-header-h) + 4rem);padding-bottom:6rem}

@media (max-width:1024px){
  .ech-burger{display:block}
  .ech-nav{position:fixed;inset:var(--ech-header-h) 0 0 0;background:#000;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:2rem;padding:2rem var(--ech-gutter);overflow:auto;transform:translateY(-8px);opacity:0;visibility:hidden;transition:opacity .3s,transform .4s var(--ech-ease),visibility .3s}
  .menu-open .ech-nav{opacity:1;visibility:visible;transform:none}
  .ech-nav ul{flex-direction:column;gap:0;width:100%}
  .ech-nav a:not(.ech-btn){font-size:2rem;font-weight:700;letter-spacing:-.03em;color:var(--ech-white);padding:.7rem 0;border-bottom:1px solid var(--ech-line)}
  .ech-nav .sub-menu{position:static;opacity:1;visibility:visible;transform:none;border:0;padding:0 0 0 1rem;min-width:0}
  .ech-nav .sub-menu a:not(.ech-btn){font-size:1.25rem;font-weight:500;color:var(--ech-muted);border:0;padding:.5rem 0}
}

/* Footer (fallback) */
.ech-footer{border-top:1px solid var(--ech-line);padding:5rem 0 2.5rem;background:#000}
.ech-footer__grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:3rem}
.ech-footer h4{color:var(--ech-muted);font-weight:500;font-size:.9375rem;margin-bottom:1.1rem}
.ech-footer ul{list-style:none;margin:0;padding:0}
.ech-footer li{margin-bottom:.55rem}
.ech-footer a:not(.ech-btn):hover{color:var(--ech-lime)}
.ech-footer__big{font-family:var(--ech-font-head);text-transform:var(--ech-head-tt);font-size:clamp(1.3rem,2vw,1.8rem);font-weight:var(--ech-head-w);letter-spacing:var(--ech-head-ls);color:var(--ech-white);line-height:1.1;max-width:18ch}
.ech-footer__base{margin-top:4rem;padding-top:1.5rem;border-top:1px solid var(--ech-line);display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.875rem;color:var(--ech-muted)}
@media (max-width:860px){.ech-footer__grid{grid-template-columns:1fr 1fr}.ech-footer__grid>:first-child{grid-column:1/-1}}

/* Blog / default content */
.ech-entry{max-width:760px}
.ech-entry h1{margin-bottom:1.5rem}
.ech-entry a:not(.ech-btn){color:var(--ech-lime);text-decoration:underline;text-underline-offset:3px}
.ech-entry img{border-radius:var(--ech-radius);margin-block:2rem}
.ech-posts{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:3rem 2rem}
.ech-posts--2{grid-template-columns:repeat(2,minmax(0,1fr))}.ech-posts--3{grid-template-columns:repeat(3,minmax(0,1fr))}.ech-posts--4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:980px){.ech-posts--3,.ech-posts--4{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:620px){.ech-posts--2,.ech-posts--3,.ech-posts--4{grid-template-columns:1fr}}
.ech-post{border-top:1px solid var(--ech-line);padding-top:1.2rem}
.ech-post h2{font-size:1.6rem;margin-bottom:.6rem}
.ech-post:hover h2{color:var(--ech-lime)}
.ech-404{min-height:80vh;display:flex;flex-direction:column;justify-content:center;gap:1.5rem}
.ech-404 h1{font-size:clamp(4.5rem,14vw,13rem);color:var(--ech-lime);line-height:.85}
input[type=text],input[type=email],input[type=search],input[type=tel],input[type=url],textarea,select{width:100%;padding:1rem 1.1rem;background:var(--ech-surface);border:1px solid var(--ech-line);border-radius:var(--ech-radius);color:var(--ech-white);font:inherit;transition:border-color .2s}
input:focus,textarea:focus,select:focus{border-color:var(--ech-lime);outline:none}
::placeholder{color:var(--ech-muted)}
/* Page and post bits */
.ech-ptitle{margin-bottom:3.5rem}
.ech-crumb{display:flex;flex-wrap:wrap;gap:.5rem;font-size:.875rem;color:var(--ech-muted);margin-bottom:1.6rem}
.ech-crumb a:hover{color:var(--ech-lime)}
.ech-crumb i{font-style:normal;opacity:.5}
.ech-crumb span{color:var(--ech-white)}
.ech-entry__meta,.ech-post__meta{color:var(--ech-muted);font-size:.875rem;margin:.9rem 0 0}
.ech-entry__hero{margin:2.2rem 0;overflow:hidden;border-radius:var(--ech-radius)}
.ech-entry__hero img{width:100%;margin:0;border-radius:0}
.ech-post__img{display:block;overflow:hidden;border-radius:var(--ech-radius);margin-bottom:1.1rem}
.ech-post__img img{width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .8s var(--ech-ease)}
.ech-post:hover .ech-post__img img{transform:scale(1.05)}
.ech-postnav{display:flex;justify-content:space-between;gap:1rem;margin-top:4rem;padding-top:1.5rem;border-top:1px solid var(--ech-line);max-width:760px}
.ech-postnav a:hover{color:var(--ech-lime)}
.ech-pager{margin-top:3.5rem}
.ech-pager .nav-links{display:flex;gap:.5rem;flex-wrap:wrap}
.ech-pager .page-numbers{min-width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 .9rem;border:1px solid var(--ech-line);border-radius:var(--ech-radius)}
.ech-pager .page-numbers.current,.ech-pager a.page-numbers:hover{background:var(--ech-lime);border-color:var(--ech-lime);color:var(--ech-on-lime,#000)}
.ech-404__t{font-size:1.6rem;color:#fff;font-weight:700;margin:0}
.ech-404__x{max-width:30rem}
.ech-no-header .ech-header{display:none}
.ech-no-header .ech-main--pad{padding-top:4rem}
.ech-no-footer .ech-footer{display:none}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
