/* Aument Bionics — main stylesheet */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f7f7f5;
  --ink: #131414;
  --ink-muted: #6b6f76;
  --line: #e5e5e2;
  --yellow: #f5c518;
  --yellow-ink: #1a1608;
  --font-display: "Archivo", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--yellow);
  color: var(--yellow-ink);
}

/* ——— Hazard stripe rail ——— */
.stripe-bar {
  height: 9px;
  width: 100%;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0px,
    var(--yellow) 10px,
    var(--ink) 10px,
    var(--ink) 20px
  );
  animation: stripe-scroll 1.4s linear infinite;
}

@keyframes stripe-scroll {
  from { background-position: 0 0; }
  to { background-position: 28.28px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .stripe-bar {
    animation: none;
  }
}

/* ——— Top bar ——— */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 20px;
  height: 20px;
  background: var(--ink);
  position: relative;
  flex-shrink: 0;
  display: inline-block;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--yellow);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.nav a {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.nav a:hover {
  color: var(--ink);
}

.nav a.active {
  background: var(--yellow);
  color: var(--yellow-ink);
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}

.menu-btn-icon {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: var(--ink);
  position: relative;
}

.menu-btn-icon::before,
.menu-btn-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}

.menu-btn-icon::before {
  top: -5px;
}

.menu-btn-icon::after {
  top: 5px;
}

.menu-panel {
  display: none;
  border-bottom: 1px solid var(--line);
  padding: 0.5rem clamp(1.25rem, 4vw, 3rem) 1rem;
}

.menu-panel a {
  display: block;
  padding: 0.75rem 0.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line);
}

.menu-panel a:last-child {
  border-bottom: none;
}

.menu-panel a.active {
  color: var(--ink);
}

.menu-panel a.active::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  margin-left: 0.5rem;
  vertical-align: middle;
}

.menu-panel.is-open {
  display: block;
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }
  .menu-btn {
    display: flex;
  }
}

/* ——— Eyebrow tag ——— */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.25);
  flex-shrink: 0;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--yellow);
  color: var(--yellow-ink);
  border: none;
  border-radius: 8px;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover {
  box-shadow: 0 6px 20px rgba(245, 197, 24, 0.4);
  transform: translateY(-1px);
}

.btn-ghost {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s var(--ease);
}

.btn-ghost:hover {
  color: var(--ink);
}

/* ——— Hero (home) ——— */
.hero {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 8vw, 5rem);
  text-align: center;
}

.hero .eyebrow {
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0 0 1rem;
  text-wrap: balance;
}

.hero h1 mark {
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
  color: inherit;
  padding: 0 0.05em;
}

.hero .lead {
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 30rem;
  margin: 0 auto 2rem;
  line-height: 1.5;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
  flex-wrap: wrap;
}

/* ——— Product frame ——— */
.frame {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: 2.5rem clamp(1.25rem, 5vw, 3rem) 0;
}

.corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 2px solid var(--ink);
}

.corner.tl {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.corner.tr {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

.corner.bl {
  bottom: 34px;
  left: 0;
  border-right: none;
  border-top: none;
}

.corner.br {
  bottom: 34px;
  right: 0;
  border-left: none;
  border-top: none;
}

.spec-tag {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.spec-tag.left {
  left: -1rem;
  top: 36%;
  transform: translateX(-100%);
  text-align: right;
}

.spec-tag.right {
  right: -1rem;
  top: 55%;
  transform: translateX(100%);
}

.spec-tag .line {
  display: block;
  width: 1.5rem;
  height: 1px;
  background: var(--line);
  margin: 0.3rem 0;
}

@media (max-width: 900px) {
  .spec-tag {
    display: none;
  }
}

.arm {
  width: 100%;
  display: block;
}

.status-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  margin-top: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-muted);
  flex-wrap: wrap;
  text-align: center;
}

.status-strip[hidden] {
  display: none;
}

.status-strip .badge {
  background: var(--ink);
  color: var(--yellow);
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

/* ——— Inner page hero ——— */
.page-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) clamp(1.25rem, 4vw, 3rem) clamp(2rem, 5vw, 3rem);
}

.page-hero .eyebrow {
  margin-bottom: 1.5rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 1rem;
  text-wrap: balance;
}

.page-hero .lead {
  font-size: 1rem;
  color: var(--ink-muted);
  max-width: 34rem;
  line-height: 1.55;
  margin: 0 0 1.5rem;
}

/* ——— Timeline (roadmap) — one connected line, not repeated rows ——— */
.timeline {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 8vw, 5rem);
  border-top: 1px solid var(--line);
}

.timeline-track {
  position: relative;
  margin-left: 4px;
  padding-left: 1.75rem;
}

.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.timeline-track::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 66.6667%;
  background: var(--yellow);
}

.timeline-item {
  position: relative;
  height: 3rem;
  display: flex;
  align-items: center;
}

.timeline-dot {
  position: absolute;
  left: calc(-1.75rem - 5px);
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
}

.timeline-item span {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-cta {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(1.25rem, 3vw, 1.75rem);
  text-align: center;
}

.btn-lg {
  padding: 1.15rem 2.25rem;
  font-size: 1rem;
}

.page-cta .status-strip {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

/* ——— Profile (team members) ——— */
.profile-list {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 8vw, 5rem);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.profile {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.profile .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.profile h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.15rem;
}

.profile p {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin: 0;
}

.profile--featured {
  flex-direction: column;
  text-align: center;
  gap: 0.85rem;
}

.profile--featured .avatar {
  width: 84px;
  height: 84px;
}

.profile--featured h3 {
  font-size: 1.15rem;
  margin: 0 0 0.15rem;
}

.profile-row {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem 3rem;
}

/* ——— Topic list (research focus areas, team roles) — one typographic
   statement, not a repeated card pattern ——— */
.topic-list {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--line);
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.7;
}

.page-note {
  max-width: 780px;
  margin: 0 auto;
  padding: 1.75rem clamp(1.25rem, 4vw, 3rem) clamp(3rem, 8vw, 5rem);
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.topic-list span:not(:first-child)::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yellow);
  margin: 0 0.75em;
  vertical-align: middle;
}

@media (max-width: 640px) {
  .topic-list {
    font-size: 1.3rem;
  }
  .topic-list span:not(:first-child)::before {
    margin: 0 0.6em;
  }
}

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--line);
}

.footer-top {
  max-width: 1160px;
  margin: 0 auto;
  padding: 2rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.footer-nav a {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.footer-nav a:hover {
  background: var(--surface);
  color: var(--ink);
}

.footer-contact {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
  transition: color 0.2s var(--ease);
}

.footer-contact:hover {
  color: var(--ink);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.7rem;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}
