@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #0a0a1a;
  --bg-soft: #111122;
  --bg-elevated: #16162d;
  --bg-elevated-2: #1b1b37;
  --text: #e0e0e0;
  --text-strong: #f4f7ff;
  --text-muted: #8a90ad;
  --line: rgba(224, 224, 224, 0.1);
  --line-strong: rgba(224, 224, 224, 0.2);
  --cyan: #00d4ff;
  --purple: #7b2fff;
  --green: #00ff88;
  --cyan-soft: rgba(0, 212, 255, 0.18);
  --purple-soft: rgba(123, 47, 255, 0.16);
  --shadow-soft: 0 24px 80px rgba(3, 5, 16, 0.45);
  --shadow-glow: 0 0 0 1px rgba(0, 212, 255, 0.16), 0 20px 60px rgba(0, 212, 255, 0.1);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --nav-height: 78px;
  --max-width: 1180px;
  --section-space: clamp(4.5rem, 9vw, 8rem);
  --body-copy: clamp(1rem, 1rem + 0.35vw, 1.125rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(123, 47, 255, 0.12), transparent 30%),
    radial-gradient(circle at 80% 15%, rgba(0, 212, 255, 0.1), transparent 28%),
    linear-gradient(180deg, #070712 0%, #0a0a1a 38%, #090914 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  border-radius: 999px;
  filter: blur(100px);
  pointer-events: none;
  z-index: -2;
}

body::before {
  top: -12rem;
  left: -8rem;
  width: 22rem;
  height: 22rem;
  background: rgba(123, 47, 255, 0.08);
}

body::after {
  right: -6rem;
  bottom: 10rem;
  width: 18rem;
  height: 18rem;
  background: rgba(0, 212, 255, 0.08);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.section-anchor {
  scroll-margin-top: calc(var(--nav-height) + 1.5rem);
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  transform: translateY(-160%);
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: var(--text-strong);
  color: var(--bg);
  z-index: 999;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 1rem 0 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-height);
  padding: 0.9rem 1rem;
  border: 1px solid rgba(224, 224, 224, 0.08);
  border-radius: 999px;
  background: rgba(10, 10, 26, 0.72);
  backdrop-filter: blur(22px);
  box-shadow: 0 20px 60px rgba(3, 5, 16, 0.18);
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 212, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(0, 212, 255, 0.16), rgba(123, 47, 255, 0.16)),
    rgba(255, 255, 255, 0.03);
  color: var(--text-strong);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  box-shadow: inset 0 0 24px rgba(0, 212, 255, 0.08);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.brand-copy strong {
  color: var(--text-strong);
  font-size: 0.98rem;
  line-height: 1;
  letter-spacing: -0.01em;
}

.brand-copy span {
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-menu a {
  position: relative;
  color: var(--text-muted);
  font-size: 0.94rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.04);
}

.nav-cta {
  border: 1px solid rgba(0, 212, 255, 0.2);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.14), rgba(123, 47, 255, 0.14));
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.12), 0 14px 36px rgba(0, 212, 255, 0.12);
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(224, 224, 224, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-strong);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0.24rem auto;
  border-radius: 99px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.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 {
  position: relative;
  min-height: calc(100svh - 1rem);
  display: flex;
  align-items: center;
  padding: calc(2rem + var(--nav-height)) 0 4rem;
  overflow: clip;
}

.hero-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.hero-stage__canvas,
.hero-stage__fallback,
.hero-stage__grid {
  position: absolute;
  inset: 0;
}

.hero-stage__canvas {
  opacity: 0;
  transition: opacity 420ms ease;
}

.hero-stage__canvas.is-ready {
  opacity: 1;
}

.hero-stage__fallback {
  background:
    radial-gradient(circle at 25% 20%, rgba(0, 212, 255, 0.18), transparent 20rem),
    radial-gradient(circle at 75% 25%, rgba(123, 47, 255, 0.18), transparent 18rem),
    linear-gradient(140deg, rgba(255, 255, 255, 0.02), transparent 45%);
  animation: heroPulse 16s ease-in-out infinite alternate;
}

.hero-stage__grid {
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0), #000 18%, #000 85%, rgba(0, 0, 0, 0));
  opacity: 0.6;
}

.hero-stage__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(120px);
  opacity: 0.7;
}

.hero-stage__glow--cyan {
  top: 8%;
  right: 14%;
  width: 22rem;
  height: 22rem;
  background: rgba(0, 212, 255, 0.16);
}

.hero-stage__glow--purple {
  bottom: 6%;
  left: 10%;
  width: 24rem;
  height: 24rem;
  background: rgba(123, 47, 255, 0.16);
}

.hero-shell {
  display: grid;
  gap: 2rem;
  align-items: end;
}

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

.eyebrow,
.panel-label {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  max-width: 10ch;
}

.hero h1 span {
  display: block;
  background: linear-gradient(135deg, #ffffff 0%, #9fe8ff 45%, #cca8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead,
.section-heading p,
.product-card p,
.value-card p,
.teaser-card p,
.footer-copy p {
  color: var(--text-muted);
  font-size: var(--body-copy);
}

.hero-lead {
  max-width: 42rem;
  margin: 1.5rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.85rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.button-primary {
  color: #041018;
  background: linear-gradient(135deg, var(--cyan), #7ef2ff);
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.22), 0 18px 40px rgba(0, 212, 255, 0.22);
}

.button-secondary {
  border-color: rgba(224, 224, 224, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-strong);
}

.hero-signals {
  display: grid;
  gap: 0.8rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-signals li {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(224, 224, 224, 0.08);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.hero-signals strong {
  color: var(--text-strong);
  font-size: 1rem;
}

.hero-signals span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hero-panel {
  max-width: 36rem;
  justify-self: end;
  padding: clamp(1.4rem, 2vw, 2rem);
  border: 1px solid rgba(224, 224, 224, 0.08);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(13, 16, 34, 0.72);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.hero-panel h2 {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-panel p {
  margin: 1rem 0 0;
  color: var(--text-muted);
}

.panel-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.panel-grid div {
  padding: 1rem;
  border: 1px solid rgba(224, 224, 224, 0.08);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

.panel-grid strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text-strong);
}

.panel-grid span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-cue__line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(180deg, rgba(224, 224, 224, 0.5), transparent);
}

.section {
  padding: var(--section-space) 0;
}

.section-heading {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

#pillars .section-heading {
  text-align: center;
  max-width: 100%;
  padding: clamp(2rem, 6vw, 5rem) 0;
  margin-bottom: 0;
}

#pillars .section-heading h2 {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

#pillars .section-heading p {
  max-width: 36rem;
  margin: 1rem auto 0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.section-heading h2 {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.section-heading p {
  margin: 1rem 0 0;
}

/* Pillars motion background */
#pillars {
  position: relative;
  overflow: hidden;
}

.pillars-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

#pillars > .site-shell {
  position: relative;
  z-index: 1;
}

.pillar-grid,
.portfolio-grid,
.values-grid,
.footer-contact {
  display: grid;
  gap: 1rem;
}

.pillar-card,
.product-card,
.value-card,
.teaser-card,
.portfolio-meta,
.footer-contact a {
  border: 1px solid rgba(224, 224, 224, 0.08);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(17, 17, 34, 0.88);
  box-shadow: var(--shadow-soft);
}

.pillar-card,
.product-card,
.value-card,
.footer-contact a {
  border-radius: var(--radius-md);
  padding: 1.35rem;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.pillar-card:hover,
.product-card:hover,
.value-card:hover,
.footer-contact a:hover,
.footer-contact a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(0, 212, 255, 0.22);
  box-shadow: var(--shadow-glow);
}

.card-icon,
.product-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  height: 3.2rem;
  padding: 0 0.9rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.18), rgba(123, 47, 255, 0.2));
  color: var(--text-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-indent: 0;
}

.card-icon svg {
  display: block;
  flex-shrink: 0;
}

/* Per-pillar accent colors */
.pillar-card--cyan .card-icon {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.22), rgba(0, 212, 255, 0.08));
  border: 1px solid rgba(0, 212, 255, 0.18);
  color: var(--cyan);
}

.pillar-card--green .card-icon {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.22), rgba(0, 255, 136, 0.08));
  border: 1px solid rgba(0, 255, 136, 0.18);
  color: var(--green);
}

.pillar-card--purple .card-icon {
  background: linear-gradient(135deg, rgba(123, 47, 255, 0.25), rgba(123, 47, 255, 0.1));
  border: 1px solid rgba(123, 47, 255, 0.2);
  color: var(--purple);
}

/* Hover glow per pillar */
.pillar-card--cyan:hover {
  border-color: rgba(0, 212, 255, 0.25);
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.12), 0 20px 60px rgba(0, 212, 255, 0.1);
}

.pillar-card--green:hover {
  border-color: rgba(0, 255, 136, 0.25);
  box-shadow: 0 0 0 1px rgba(0, 255, 136, 0.12), 0 20px 60px rgba(0, 255, 136, 0.08);
}

.pillar-card--purple:hover {
  border-color: rgba(123, 47, 255, 0.3);
  box-shadow: 0 0 0 1px rgba(123, 47, 255, 0.15), 0 20px 60px rgba(123, 47, 255, 0.1);
}

.product-mark {
  border-radius: 999px;
}

.pillar-card h3,
.product-card h3,
.value-card h3 {
  margin: 1rem 0 0.6rem;
  color: var(--text-strong);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.pillar-card p,
.value-card p {
  margin: 0;
}

.section-portfolio {
  position: relative;
}

.portfolio-meta {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 1.1rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.2rem;
}

.portfolio-meta div {
  padding: 1rem 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}

.portfolio-meta strong {
  display: block;
  color: var(--text-strong);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.portfolio-meta span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.product-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product-tagline {
  margin: 0 0 0.85rem;
  color: #b8c0e4;
  font-size: 0.98rem;
  font-weight: 500;
}

.product-card p:last-of-type {
  margin: 0;
}

.product-card a {
  display: inline-flex;
  margin-top: 1.3rem;
  color: var(--cyan);
  font-weight: 600;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-live {
  color: var(--green);
  background: rgba(0, 255, 136, 0.11);
}

.status-build {
  color: #ffd66d;
  background: rgba(255, 214, 109, 0.12);
}

.status-soon {
  color: #c7a7ff;
  background: rgba(123, 47, 255, 0.15);
}

.product-card--live {
  background:
    linear-gradient(180deg, rgba(0, 212, 255, 0.06), transparent 50%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(17, 17, 34, 0.88);
}

.product-card--build {
  background:
    linear-gradient(180deg, rgba(123, 47, 255, 0.06), transparent 50%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(17, 17, 34, 0.88);
}

.product-card--soon {
  background:
    linear-gradient(180deg, rgba(0, 255, 136, 0.05), transparent 50%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(17, 17, 34, 0.88);
}

.section-teaser {
  padding-top: 2rem;
}

.teaser-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
}

.teaser-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(123, 47, 255, 0.16), transparent 55%),
    linear-gradient(0deg, rgba(0, 212, 255, 0.12), transparent 45%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 56px
    );
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.86));
  opacity: 0.7;
}

.teaser-card > * {
  position: relative;
  z-index: 1;
}

.teaser-card__copy {
  max-width: 40rem;
}

.teaser-card h2 {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.teaser-card__copy p:last-child {
  margin-top: 1rem;
}

.teaser-card__details {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.teaser-card__details div {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(224, 224, 224, 0.08);
  background: rgba(9, 10, 24, 0.45);
}

.teaser-card__details strong {
  display: block;
  color: var(--text-strong);
  margin-bottom: 0.35rem;
}

.teaser-card__details span {
  color: var(--text-muted);
}

.about-grid {
  display: grid;
  gap: 1.2rem;
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-shell {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(224, 224, 224, 0.08);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(0, 212, 255, 0.06), transparent 45%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(14, 14, 28, 0.92);
  box-shadow: var(--shadow-soft);
}

.footer-contact a {
  display: grid;
  gap: 0.25rem;
}

.footer-contact span {
  color: var(--text-muted);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-contact strong {
  color: var(--text-strong);
  font-size: 1rem;
  line-height: 1.4;
}

.footer-meta {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(224, 224, 224, 0.08);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-nav a,
.footer-meta p {
  color: var(--text-muted);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.no-js .reveal,
html[data-motion="reduced"] .reveal {
  opacity: 1;
  transform: none;
}

.js .hero-stage__fallback {
  opacity: 1;
}

.has-3d .hero-stage__fallback {
  opacity: 0.18;
}

.hero-stage__canvas canvas {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes heroPulse {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.08) translate3d(1.5%, -1.5%, 0);
    opacity: 1;
  }
}

@media (min-width: 720px) {
  .hero-signals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pillar-grid,
  .values-grid,
  .footer-contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .teaser-card__details {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .hero-shell,
  .about-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
  }

  .hero-shell {
    gap: 2.5rem;
  }

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

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

  .values-grid {
    align-content: start;
  }

  .footer-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 1.5rem 2rem;
    align-items: start;
  }

  .footer-meta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 899px) {
  .site-header {
    padding-top: 0.85rem;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 0.85rem);
    left: 0;
    right: 0;
    display: grid;
    gap: 0.35rem;
    padding: 0.8rem;
    border: 1px solid rgba(224, 224, 224, 0.08);
    border-radius: 1.25rem;
    background: rgba(10, 10, 26, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .site-nav {
    position: relative;
  }

  .site-nav.is-open .nav-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 0.9rem 0.95rem;
  }

  .nav-cta {
    margin-top: 0.25rem;
    text-align: center;
  }
}

@media (max-width: 767px) {
  html:not([data-motion="reduced"]) {
    scroll-behavior: smooth;
  }

  .hero {
    align-items: start;
    padding-top: calc(1rem + var(--nav-height));
  }

  .scroll-cue {
    display: none;
  }

  .portfolio-meta {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    grid-template-columns: 1fr;
  }
}

@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;
  }
}
