/* IMPCT — base styles. Layout lives in the inline styles carried over from the
   Claude Design source; this file holds what inline styles cannot express. */

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

a { color: #D63A0A; text-decoration: none; }
a:hover { color: #0B0B0B; }

img { max-width: 100%; }

::selection { background: #FF4A17; color: #FFFFFF; }

:focus-visible { outline: 2px solid #FF4A17; outline-offset: 2px; }

@keyframes impct-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sticky header is 52–56px tall; keep anchored sections clear of it. */
section[id], div[id] { scroll-margin-top: 64px; }

.skip {
  position: absolute;
  left: -9999px;
  z-index: 100;
  background: #0B0B0B;
  color: #FFFFFF;
  padding: 12px 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.skip:focus { left: 8px; top: 8px; color: #FFFFFF; }

/* ---- Mobile navigation ------------------------------------------------- */
/* The mockup's nav is a single non-wrapping row of seven items. Below 1040px
   it is collapsed behind a Menu button. */

header > div { position: relative; }

@media (max-width: 1040px) {
  #burger { display: flex !important; }

  #nav {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #FFFFFF;
    border-bottom: 1px solid #161614;
    box-shadow: 0 12px 24px rgba(11, 11, 11, 0.08);
  }
  #nav.open { display: flex !important; }

  #nav a {
    border-left: none !important;
    border-top: 1px solid #D9D7CF !important;
    padding: 16px clamp(16px, 3vw, 32px) !important;
  }
}

/* ---- Hover states ------------------------------------------------------ */
/* Generated from the design's style-hover attributes by build.py. */

[data-h="1"]:hover, [data-h="1"]:focus-visible { color:#0B0B0B !important; background:#F3F1EA !important; }
[data-h="2"]:hover, [data-h="2"]:focus-visible { background:#0B0B0B !important; color:#FFFFFF !important; }
[data-h="3"]:hover, [data-h="3"]:focus-visible { background:#F3F1EA !important; }
[data-h="4"]:hover, [data-h="4"]:focus-visible { background:#FFFFFF !important; color:#0B0B0B !important; }
[data-h="5"]:hover, [data-h="5"]:focus-visible { color:#0B0B0B !important; }
