/* reset + typography */

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;
    transition-duration:.01ms !important;scroll-behavior:auto !important}
}
body{
  margin:0;
  background:var(--paper);
  color:var(--text);
  font-family:var(--font-body);
  font-size:var(--fs-body);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
/* keep the global img reset out of WordPress chrome, or admin-bar icons blow up */
#wpadminbar img{max-width:none;display:inline-block}

h1,h2,h3,h4,h5,h6{
  font-family:var(--font-display);
  font-weight:800;
  line-height:var(--lh-display);
  letter-spacing:var(--tr-display);
  text-transform:uppercase;
  margin:0 0 .5em;
  color:var(--text);
  text-wrap:balance;
}
p{margin:0 0 1em}
p:last-child{margin-bottom:0}
a{color:var(--red);text-decoration:none}
a:hover{color:var(--red-bright)}
::selection{background:var(--red);color:#fff}
ul,ol{margin:0 0 1em;padding-left:1.15em}
strong{font-weight:700}
hr{border:0;height:var(--hairline);background:var(--rule);margin:2rem 0}

/* Focus: never remove the outline. :focus-visible only, with a light-ring
   variant for dark surfaces where brand red would be ~1.8:1 and invisible. */
:focus-visible{
  outline:var(--rule-bold) solid var(--red);
  outline-offset:2px;
  border-radius:0;
}
.sec-proof :focus-visible,.sec-cap :focus-visible,.sec-why :focus-visible,
.sec-cta :focus-visible,.hero :focus-visible,.site-footer :focus-visible,
.nav-drawer :focus-visible,.topbar :focus-visible,.site-header :focus-visible{
  /* Brand red on an ink ground is ~1.8:1 — invisible. Dark surfaces get a
     light ring instead. */
  outline:var(--rule-bold) solid var(--on-ink);
  outline-offset:2px;
}

.skip-link{
  position:absolute;left:-9999px;top:0;z-index:1000;
  background:var(--ink);color:var(--on-ink);
  padding:.9rem 1.4rem;
  font-family:var(--font-mono);font-size:var(--fs-meta);font-weight:600;
  letter-spacing:var(--tr-meta);text-transform:uppercase;
}
.skip-link:focus{left:0;color:#fff}

.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;
}

/* Scroll reveal — FAILS OPEN. Visible by default; only `html.js`, which is
   set from main.js (the same file that reveals things again), may hide. No
   main.js, nothing hidden. Never set html.js from an inline head script. */
.reveal{opacity:1;transform:none}
html.js .reveal{opacity:0;transform:translateY(24px);
  transition:opacity .7s var(--ease),transform .7s var(--ease)}
html.js .reveal.in{opacity:1;transform:none}
body.elementor-editor-active .reveal,
body.elementor-editor-active .reveal.in{opacity:1 !important;transform:none !important}

/* Shared container. Elementor replaces .container with .elementor-container,
   so both are sized here. */
.container,
body .elementor .elementor-section.elementor-section-boxed > .elementor-container{
  width:100%;
  max-width:var(--container);
  margin-inline:auto;
  padding-inline:var(--gutter);
}
