/* Another Machines — v3 shell (home + DETRITUS). Header, footer, type, actions.
   Pages that still use am-design-system-2026.css are not affected. */

@font-face { font-family: "Unbounded"; src: url("fonts/unbounded-latin-200-normal.woff2") format("woff2"); font-weight: 200; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("fonts/unbounded-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("fonts/unbounded-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("../voltra/assets/fonts/Unbounded-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Saira Condensed"; src: url("fonts/saira-condensed-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Saira Condensed"; src: url("fonts/saira-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --v3-black: #050505;
  --v3-carbon: #0a0a0a;
  --v3-graphite: #161716;
  --v3-panel: #1d1e1d;
  --v3-rule: rgba(236, 232, 226, 0.12);
  --v3-rule-strong: rgba(236, 232, 226, 0.24);
  --v3-bone: #ece8e2;
  --v3-ash: #9a958d;
  --v3-dim: #6c6862;
  --v3-signal: #e0321f;
  --v3-copper: #d9773f;
  --v3-mineral: #c9cdd0;
  --v3-shell: 1440px;
  --v3-gutter: clamp(16px, 3.2vw, 44px);
  --v3-header: 64px;
  --v3-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --v3-display: "Unbounded", "Helvetica Neue", Arial, sans-serif;
  --v3-label: "Saira Condensed", "Arial Narrow", sans-serif;
  --v3-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--v3-header) + 56px); }
body.v3 {
  margin: 0;
  background: var(--v3-carbon);
  color: var(--v3-bone);
  font-family: var(--v3-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
.v3 img, .v3 video, .v3 canvas { display: block; max-width: 100%; }
:where(.v3) img { height: auto; }
.v3 :where(a) { color: inherit; }
.v3 :where(button) { font: inherit; color: inherit; }
.v3 h1, .v3 h2, .v3 h3, .v3 h4, .v3 p, .v3 figure, .v3 dl, .v3 dd, .v3 ol, .v3 ul { margin: 0; }
.v3 ol, .v3 ul { padding: 0; list-style: none; }

.v3 :focus-visible { outline: 2px solid var(--v3-bone); outline-offset: 3px; border-radius: 2px; }
.v3-skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; background: var(--v3-bone); color: var(--v3-black); text-decoration: none; font-weight: 600; }
.v3-skip:focus { top: 12px; }
.v3-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.v3-shell { width: 100%; max-width: var(--v3-shell); margin: 0 auto; padding: 0 var(--v3-gutter); }

/* ---------------------------------------------------------------- header */
.v3-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--v3-header);
  transition: background-color .4s var(--v3-ease), border-color .4s var(--v3-ease), transform .45s var(--v3-ease);
  border-bottom: 1px solid transparent;
}
.v3-header.is-solid { background: rgba(5, 5, 5, 0.86); border-bottom-color: var(--v3-rule); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.v3-header.is-hidden { transform: translateY(-100%); }
.v3-nav { height: 100%; display: flex; align-items: center; gap: 28px; }
.v3-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.v3-brand img { width: 30px; height: 30px; }
.v3-brand span { font-family: var(--v3-label); font-weight: 600; font-size: 15px; letter-spacing: .2em; }
.v3-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.v3-links a {
  position: relative; padding: 8px 11px; text-decoration: none;
  font-family: var(--v3-label); font-weight: 500; font-size: 15px; letter-spacing: .12em; color: var(--v3-ash);
  transition: color .2s;
}
.v3-links a:hover, .v3-links a[aria-current="page"] { color: var(--v3-bone); }
.v3-links a[aria-current="page"]::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 1px; background: currentColor; }
.v3-links .v3-new::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--v3-copper); vertical-align: 2px; box-shadow: 0 0 10px var(--v3-copper); }
.v3-store {
  flex: none; display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 16px;
  border: 1px solid var(--v3-rule-strong); text-decoration: none;
  font-family: var(--v3-label); font-weight: 600; font-size: 14px; letter-spacing: .14em;
  transition: background-color .2s, color .2s, border-color .2s;
}
.v3-store:hover { background: var(--v3-bone); color: var(--v3-black); border-color: var(--v3-bone); }
.v3-menu { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; position: relative; }
.v3-menu span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--v3-bone); transition: transform .3s var(--v3-ease), top .3s var(--v3-ease); }
.v3-menu span:nth-child(1) { top: 17px; }
.v3-menu span:nth-child(2) { top: 26px; }
.v3-menu[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.v3-menu[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .v3-menu { display: block; }
  .v3-store { display: none; }
  .v3-links {
    position: fixed; inset: var(--v3-header) 0 auto 0; height: calc(100svh - var(--v3-header));
    flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 18px var(--v3-gutter) 40px;
    background: var(--v3-black); border-top: 1px solid var(--v3-rule);
    overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .3s var(--v3-ease), transform .3s var(--v3-ease), visibility 0s .3s;
  }
  .v3-links.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--v3-ease), transform .3s var(--v3-ease); }
  .v3-links a { padding: 16px 0; font-size: 24px; color: var(--v3-bone); border-bottom: 1px solid var(--v3-rule); }
  .v3-links a[aria-current="page"]::after { display: none; }
  .v3-links a[aria-current="page"] { color: var(--v3-copper); }
  .v3-header.menu-open { background: var(--v3-black); }
}

/* ---------------------------------------------------------------- actions */
.v3-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 24px; border: 1px solid transparent; cursor: pointer;
  font-family: var(--v3-label); font-weight: 600; font-size: 16px; letter-spacing: .14em; text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.v3-btn svg { width: 14px; height: 14px; flex: none; }
.v3-btn-solid { background: var(--v3-bone); color: var(--v3-black); }
.v3-btn-solid:hover { background: #fff; }
.v3-btn-line { border-color: var(--v3-rule-strong); color: var(--v3-bone); background: transparent; }
.v3-btn-line:hover { border-color: var(--v3-bone); }
.v3-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--v3-label); font-weight: 600; letter-spacing: .14em; font-size: 15px; border-bottom: 1px solid var(--v3-rule-strong); padding-bottom: 4px; transition: border-color .2s; }
.v3-link:hover { border-color: currentColor; }

/* ---------------------------------------------------------------- footer */
.v3-footer { border-top: 1px solid var(--v3-rule); background: var(--v3-black); padding: 56px 0 40px; }
.v3-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.v3-footer h2 { font-family: var(--v3-label); font-weight: 600; font-size: 13px; letter-spacing: .18em; color: var(--v3-dim); margin-bottom: 14px; }
.v3-footer ul li + li { margin-top: 6px; }
.v3-footer a { text-decoration: none; color: var(--v3-ash); font-size: 15px; }
.v3-footer a:hover { color: var(--v3-bone); }
.v3-footer-brand p { color: var(--v3-ash); font-size: 15px; max-width: 34ch; margin-top: 14px; }
.v3-footer-base { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--v3-rule); color: var(--v3-dim); font-size: 13px; }
@media (max-width: 820px) {
  .v3-footer-grid { grid-template-columns: 1fr 1fr; }
  .v3-footer-brand { grid-column: 1 / -1; }
  .v3-footer-base { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .v3 *, .v3 *::before, .v3 *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
