@font-face {
  font-family: "Chakra Petch";
  src: url("assets/fonts/chakra-petch-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Chakra Petch";
  src: url("assets/fonts/chakra-petch-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Chakra Petch";
  src: url("assets/fonts/chakra-petch-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #081018;
  --bg-deep: #04090d;
  --surface: rgba(11, 18, 26, 0.82);
  --surface-strong: rgba(8, 14, 20, 0.94);
  --surface-soft: rgba(12, 20, 30, 0.7);
  --line: rgba(130, 176, 214, 0.14);
  --line-strong: rgba(130, 176, 214, 0.26);
  --text: #edf4fb;
  --muted: #92a4b7;
  --brand-blue: #5bc7eb;
  --brand-blue-bright: #8fe7ff;
  --brand-red: #1f2b34;
  --brand-red-soft: #283744;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
  --radius: 22px;
  --radius-small: 14px;
  --font-display: "Chakra Petch", sans-serif;
  --font-body: "Manrope", sans-serif;
  --font-mono:
    ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Monaco, Consolas,
    "Liberation Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  background:
    radial-gradient(
      circle at 12% 14%,
      rgba(143, 231, 255, 0.1),
      transparent 24%
    ),
    radial-gradient(
      circle at 84% 18%,
      rgba(116, 165, 255, 0.08),
      transparent 22%
    ),
    radial-gradient(
      circle at 50% 110%,
      rgba(143, 231, 255, 0.05),
      transparent 34%
    ),
    linear-gradient(180deg, #050a0e 0%, #081018 42%, #091119 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background:
    url("assets/ai-background.svg") center top / cover no-repeat,
    linear-gradient(rgba(130, 176, 214, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 176, 214, 0.025) 1px, transparent 1px);
  background-size:
    cover,
    56px 56px,
    56px 56px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      circle at center top,
      transparent 0,
      rgba(4, 8, 12, 0.12) 54%,
      rgba(2, 5, 8, 0.76) 100%
    ),
    linear-gradient(180deg, rgba(4, 8, 12, 0) 0%, rgba(4, 8, 12, 0.14) 100%);
}

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

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

strong {
  font-weight: 700;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 11, 16, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(130, 176, 214, 0.1);
}

.header-inner,
.section,
.hero,
.footer-inner,
.legal-shell {
  width: 80%;
  max-width: none;
  padding-inline: clamp(1.25rem, 3vw, 2.75rem);
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  width: 3.15rem;
  height: 3.15rem;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(130, 176, 214, 0.16);
  background: rgba(255, 255, 255, 0.02);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  gap: 0.08rem;
}

.brand-copy strong,
.hero h1,
.section h2,
.panel h3,
.project-copy h3,
.contact-form h3,
.legal-card h1,
.legal-card h2 {
  font-family: var(--font-display);
}

.brand-copy strong {
  letter-spacing: 0.11em;
  font-size: 0.98rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.site-nav a {
  padding: 0.72rem 0.92rem;
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
  border-radius: 10px;
  border: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(130, 176, 214, 0.14);
}

.site-nav .nav-cta {
  color: var(--text);
  border-color: rgba(143, 231, 255, 0.2);
  background: rgba(143, 231, 255, 0.06);
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(130, 176, 214, 0.14);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 0.7rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 0.28rem 0;
  background: var(--text);
  border-radius: 999px;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 3rem;
  align-items: start;
  padding: 5.2rem 0 6.4rem;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow,
.signal-row,
.chip,
.policy-kicker,
.card-index,
.contrast-label,
.metric-grid span {
  color: var(--brand-blue-bright);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-mono);
}

.hero h1,
.section h2 {
  margin: 0.55rem 0 1rem;
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 6vw, 5.3rem);
}

.hero h1 em {
  font-style: normal;
  color: #cbf5ff;
  text-shadow: 0 0 18px rgba(143, 231, 255, 0.12);
}

.hero-text,
.section-header p,
.panel p,
.project-copy p,
.contact-card p,
.form-intro p,
.legal-card p,
.legal-card li {
  color: var(--muted);
}

.hero-text {
  max-width: 60ch;
  font-size: 1.05rem;
}

.hero-actions,
.contact-actions,
.footer-links {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.05rem;
  padding: 0.82rem 1.1rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(
    180deg,
    rgba(143, 231, 255, 0.12),
    rgba(143, 231, 255, 0.06)
  );
  border-color: rgba(143, 231, 255, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 8px 22px rgba(0, 0, 0, 0.16);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(130, 176, 214, 0.16);
  color: var(--text);
}

.hero-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2.2rem;
}

.mini-stat,
.panel,
.feature-card,
.metric-grid article,
.legal-card {
  position: relative;
  border-radius: var(--radius-small);
  border: 1px solid rgba(130, 176, 214, 0.12);
  background: var(--surface);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    var(--shadow);
  overflow: hidden;
}

.mini-stat {
  padding: 1rem 1rem 1.1rem;
}

.mini-stat::before,
.panel::before,
.feature-card::before,
.legal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 22%),
    linear-gradient(90deg, rgba(143, 231, 255, 0.04), transparent 20%);
}

.mini-stat span {
  display: block;
  color: var(--brand-blue-bright);
  font-size: 0.72rem;
  margin-bottom: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.mini-stat strong {
  display: block;
  max-width: 20ch;
  font-size: 0.95rem;
  line-height: 1.35;
}

.hero-visual {
  min-height: 520px;
}

.system-map {
  display: grid;
  gap: 1.15rem;
  min-height: 100%;
  padding: 1.25rem;
  background:
    linear-gradient(180deg, rgba(10, 17, 24, 0.96), rgba(8, 14, 20, 0.98)),
    linear-gradient(90deg, rgba(143, 231, 255, 0.04), transparent);
}

.signal-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(130, 176, 214, 0.1);
}

.hero-preview,
.principle-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(130, 176, 214, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.hero-preview {
  min-height: 220px;
}

.hero-preview img,
.principle-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-preview::after,
.principle-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 8, 12, 0.04), rgba(4, 8, 12, 0.62)),
    linear-gradient(90deg, rgba(143, 231, 255, 0.08), transparent 28%);
}

.hero-preview figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  display: grid;
  gap: 0.28rem;
}

.hero-preview figcaption span {
  color: var(--brand-blue-bright);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-preview figcaption strong {
  max-width: 28ch;
  font-size: 0.95rem;
  line-height: 1.35;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
  align-content: start;
}

.signal-card {
  padding: 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(130, 176, 214, 0.11);
  background: rgba(255, 255, 255, 0.025);
  min-height: 160px;
}

.signal-card h2 {
  margin: 0.28rem 0 0.6rem;
  font-size: 1.55rem;
  line-height: 1.05;
}

.signal-card p {
  margin: 0;
  color: var(--muted);
}

.signal-card--primary {
  background: linear-gradient(
    180deg,
    rgba(143, 231, 255, 0.08),
    rgba(255, 255, 255, 0.02)
  );
}

.signal-card--blue {
  background: linear-gradient(
    180deg,
    rgba(112, 176, 255, 0.07),
    rgba(255, 255, 255, 0.02)
  );
}

.signal-card--dark {
  grid-column: 1 / -1;
  background: linear-gradient(
    180deg,
    rgba(8, 13, 19, 0.96),
    rgba(9, 16, 24, 0.96)
  );
}

.signal-label {
  display: inline-flex;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  background: rgba(143, 231, 255, 0.06);
  color: #dceaf4;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.hero-policy {
  padding: 1rem 1.1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(130, 176, 214, 0.14);
  background: linear-gradient(
    180deg,
    rgba(143, 231, 255, 0.05),
    rgba(9, 14, 20, 0.88)
  );
}

.hero-policy strong {
  display: block;
  margin: 0.35rem 0 0.35rem;
  font-size: 1.05rem;
}

.section {
  padding: 0 0 5.8rem;
}

.section--tight {
  padding-bottom: 5rem;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.75rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(130, 176, 214, 0.08);
}

.section h2 {
  font-size: clamp(2.15rem, 4vw, 3.4rem);
  max-width: 12ch;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  padding: 1.2rem;
  min-height: 220px;
}

.feature-card h3 {
  margin: 1.2rem 0 0.65rem;
  font-size: 1.55rem;
  line-height: 1.05;
}

.feature-card--accent {
  border-color: rgba(143, 231, 255, 0.18);
  background: linear-gradient(
    180deg,
    rgba(14, 21, 30, 0.92),
    rgba(9, 14, 20, 0.96)
  );
}

.project-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.05rem;
}

.project-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.2rem;
  grid-column: span 4;
  align-content: start;
}

.project-card--wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  align-items: start;
  background:
    radial-gradient(
      circle at right top,
      rgba(143, 231, 255, 0.08),
      transparent 24%
    ),
    linear-gradient(135deg, rgba(10, 17, 24, 0.96), rgba(8, 14, 20, 0.96));
}

.project-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 1rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(130, 176, 214, 0.1);
}

.project-image--jackapp {
  background:
    radial-gradient(
      circle at top left,
      rgba(143, 231, 255, 0.08),
      transparent 35%
    ),
    linear-gradient(135deg, rgba(12, 19, 28, 0.96), rgba(8, 14, 20, 0.92));
}

.project-image--tzolkin {
  background:
    radial-gradient(
      circle at top right,
      rgba(123, 190, 255, 0.08),
      transparent 35%
    ),
    linear-gradient(135deg, rgba(14, 18, 22, 0.95), rgba(10, 12, 15, 0.92));
}

.project-image--voxelprint {
  background:
    radial-gradient(
      circle at top left,
      rgba(143, 231, 255, 0.1),
      transparent 34%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(112, 176, 255, 0.07),
      transparent 26%
    ),
    linear-gradient(135deg, rgba(11, 18, 27, 0.96), rgba(7, 14, 21, 0.92));
}

.project-image img {
  width: 100%;
  max-width: 270px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35));
}

.project-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-copy .button {
  align-self: flex-start;
  margin-top: 1rem;
}

.chip {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.4rem 0.62rem;
  border-radius: 8px;
  background: rgba(143, 231, 255, 0.06);
  border: 1px solid rgba(143, 231, 255, 0.1);
}

.project-copy h3 {
  margin: 0.75rem 0 0.7rem;
  font-size: 2rem;
  line-height: 1.02;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 0.48rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(130, 176, 214, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: #d6e3ed;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.metric-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

.project-card--wide .metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-grid article {
  padding: 1rem 1rem 1.05rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(130, 176, 214, 0.1);
}

.metric-grid strong {
  display: block;
  margin: 0.38rem 0 0.35rem;
  font-size: 1.18rem;
}

.metric-grid p {
  margin: 0;
}

.manifest-grid,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
  gap: 1rem;
}

.panel {
  padding: 1.4rem;
}

.panel h3 {
  margin: 0 0 1rem;
  font-size: 1.85rem;
  line-height: 1.04;
}

.principle-figure {
  aspect-ratio: 16 / 9;
  margin-bottom: 1rem;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.timeline li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: start;
}

.timeline span {
  display: inline-flex;
  width: 2.3rem;
  height: 2.3rem;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(143, 231, 255, 0.08);
  border: 1px solid rgba(143, 231, 255, 0.18);
  color: var(--brand-blue-bright);
  font-family: var(--font-mono);
  font-weight: 600;
}

.timeline strong {
  display: block;
  margin-bottom: 0.32rem;
  font-size: 1.1rem;
}

.timeline p,
.contrast-list p {
  margin: 0;
}

.contrast-list {
  display: grid;
  gap: 0.9rem;
}

.contrast-list article {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(130, 176, 214, 0.1);
}

.contrast-label {
  display: inline-block;
  margin-bottom: 0.55rem;
}

.contact-card h2 {
  margin: 0.55rem 0 0.85rem;
  max-width: 12ch;
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  line-height: 0.96;
  font-family: var(--font-display);
}

.contact-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.contact-meta article {
  padding: 0.95rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(130, 176, 214, 0.1);
}

.contact-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 0.3rem;
}

.form-intro h3 {
  margin: 0.75rem 0 0.45rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.form-field {
  display: grid;
  gap: 0.42rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field span {
  font-size: 0.88rem;
  color: #dce7ef;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(130, 176, 214, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  padding: 0.95rem 1rem;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(143, 231, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(143, 231, 255, 0.08);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.consent input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.18rem;
}

.form-submit {
  margin-top: 1rem;
}

.form-status {
  min-height: 1.5rem;
  margin: 0.75rem 0 0;
  color: #d8e8f4;
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid rgba(130, 176, 214, 0.08);
  background: rgba(5, 10, 15, 0.86);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0 1.7rem;
}

.footer-inner p,
.footer-links a {
  color: var(--muted);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.legal-page {
  background:
    radial-gradient(
      circle at top left,
      rgba(143, 231, 255, 0.08),
      transparent 28%
    ),
    linear-gradient(180deg, #050a0e, #081018 45%, #091119 100%);
}

.legal-shell {
  padding: 4rem 0 5rem;
}

.legal-card {
  padding: 1.6rem;
  max-width: none;
  width: 100%;
  background: var(--surface-strong);
}

.legal-card h1 {
  margin: 0.45rem 0 1rem;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 0.95;
}

.legal-card h2 {
  margin: 1.8rem 0 0.6rem;
  font-size: 1.6rem;
  line-height: 1.05;
}

.legal-card p,
.legal-card li {
  max-width: 70ch;
}

.legal-card ul {
  padding-left: 1.2rem;
}

.legal-note {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(143, 231, 255, 0.05);
  border: 1px solid rgba(143, 231, 255, 0.12);
}

html.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 560ms ease,
    transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

html.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .hero,
  .section-header,
  .manifest-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card {
    grid-column: 1 / -1;
  }

  .project-card--wide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.7rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.7rem;
    border-radius: 20px;
    border: 1px solid rgba(130, 176, 214, 0.14);
    background: rgba(8, 13, 19, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.9rem 1rem;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-notes,
  .contact-meta,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .signal-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .signal-card--dark {
    grid-column: auto;
  }

  .project-card,
  .project-card--wide {
    grid-template-columns: 1fr;
  }

  .project-card--wide .metric-grid {
    grid-template-columns: 1fr;
  }

  .hero-preview {
    min-height: 190px;
  }

  .project-image {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .section,
  .hero,
  .footer-inner,
  .legal-shell {
    width: 100%;
    padding-inline: 1rem;
  }

  .hero {
    gap: 1.4rem;
    padding-bottom: 4.5rem;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 14vw, 4.3rem);
  }

  .section,
  .section--tight {
    padding-bottom: 4.2rem;
  }

  .panel,
  .feature-card,
  .project-card,
  .legal-card {
    padding: 1.15rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-copy small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
