/* Arcframe v1.0.0 — Base system | CUSTOMIZE global tokens here */
:root {
  color-scheme: dark;
  --bg: #101112;
  --surface: #17191a;
  --surface-2: #222527;
  --text: #f5f1ea;
  --muted: #a6aaac;
  --line: rgba(255, 255, 255, 0.15);
  --line-strong: rgba(255, 255, 255, 0.32);
  --accent: #ff5b3d;
  --focus: #8fd7ff;
  --danger: #ff7b78;
  --success: #78d6a6;
  --sans:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --s-1: 0.35rem;
  --s-2: 0.65rem;
  --s-3: 1rem;
  --s-4: 1.5rem;
  --s-5: 2.25rem;
  --s-6: 3.5rem;
  --s-7: 5.5rem;
  --s-8: 8rem;
  --r-sm: 0.55rem;
  --r-md: 1rem;
  --r-lg: 1.8rem;
  --r-pill: 999px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --container: 88rem;
  --gutter: clamp(1rem, 3vw, 3.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --fast: 180ms;
  --dur: 430ms;
  --slow: 850ms;
  --z-nav: 80;
  --z-modal: 120;
  --z-loader: 200;
  --motion: 1;
  --step--1: clamp(0.78rem, 0.74rem + 0.18vw, 0.9rem);
  --step-0: clamp(0.98rem, 0.92rem + 0.26vw, 1.12rem);
  --step-1: clamp(1.2rem, 1.05rem + 0.65vw, 1.55rem);
  --step-2: clamp(1.48rem, 1.18rem + 1.2vw, 2.15rem);
  --step-3: clamp(2rem, 1.45rem + 2.35vw, 3.4rem);
  --step-4: clamp(2.8rem, 1.8rem + 4.2vw, 5.9rem);
  --step-5: clamp(4rem, 2rem + 8vw, 10rem);
}
[data-theme="light"],
.theme-minimal {
  color-scheme: light;
  --bg: #f2eee6;
  --surface: #fbf8f2;
  --surface-2: #e6e0d6;
  --text: #171717;
  --muted: #68665f;
  --line: rgba(17, 17, 17, 0.14);
  --line-strong: rgba(17, 17, 17, 0.28);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: var(--step-0)/1.55 var(--sans);
  overflow-x: hidden;
}
body.menu-open {
  overflow: hidden;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
::selection {
  background: var(--accent);
  color: #111;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 0.98;
  letter-spacing: -0.04em;
}
h1 {
  font-size: var(--step-5);
}
h2 {
  font-size: var(--step-4);
}
h3 {
  font-size: var(--step-2);
}
p {
  max-width: 70ch;
}
.eyebrow,
.meta {
  font: var(--step--1)/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.serif {
  font-family: var(--serif);
  font-weight: 400;
}
.mono {
  font-family: var(--mono);
}
.muted {
  color: var(--muted);
}
.accent {
  color: var(--accent);
}
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  padding: 0.7rem 1rem;
  border-radius: var(--r-sm);
  background: var(--text);
  color: var(--bg);
  z-index: 300;
}
.skip-link:focus {
  transform: none;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.no-js [data-js-only] {
  display: none !important;
}

/* The hidden attribute must override component display declarations. */
[hidden] {
  display: none !important;
}
