/* ============================================================
   P1N GROUP — Cinematic ultra-premium stylesheet
   ============================================================ */

/* ===== TOKENS ===== */
:root {
  --black: #050505;
  --obsidian: #0a0a0c;
  --graphite: #14141a;
  --steel: #1a1d24;
  --ash: #2a2d36;
  --slate: #3a3d48;
  --silver: #888c95;
  --platinum: #c0c4ce;
  --white: #fafafa;
  --warm: #ece9e0;

  --lime: #c4ff3d;
  --lime-dim: #88aa1a;
  --lime-glow: rgba(196, 255, 61, 0.18);
  --lime-soft: rgba(196, 255, 61, 0.06);

  --line: rgba(250, 250, 250, 0.08);
  --line-soft: rgba(250, 250, 250, 0.04);
  --line-strong: rgba(250, 250, 250, 0.16);

  --max-w: 1280px;
  --pad-x: clamp(1.4rem, 3.5vw, 3rem);

  --ease-out: cubic-bezier(0.2, 0.85, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --font-sans: "Space Grotesk", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
}

/* ===== RESET ===== */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }

/* ===== GLOBAL ===== */
html, body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(70, 80, 120, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(196, 255, 61, 0.025) 0%, transparent 45%),
    var(--black);
  min-height: 100vh;
  position: relative;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--lime); color: var(--black); }

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ===== AMBIENT BACKDROPS ===== */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 99;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.halo {
  position: fixed;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 255, 61, 0.06) 0%, rgba(180, 200, 255, 0.02) 30%, transparent 60%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.8s ease;
  opacity: 0;
  will-change: transform;
  filter: blur(40px);
  mix-blend-mode: screen;
}

/* ===== LOADER ===== */
.loader {
  position: fixed; inset: 0;
  background: var(--black);
  z-index: 9999;
  display: grid;
  place-items: center;
  transition: opacity 0.9s var(--ease-out), visibility 0.9s var(--ease-out);
}

.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.loader-mark {
  width: 36px; height: 36px;
  color: var(--white);
  animation: loaderPulse 1.6s ease-in-out infinite;
  filter: drop-shadow(0 0 6px var(--lime-glow));
}

.loader-dot {
  filter: drop-shadow(0 0 4px var(--lime));
}

.loader-text {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.55em;
  color: var(--silver);
}

.loader-progress {
  width: 60px;
  height: 1px;
  background: var(--ash);
  position: relative;
  overflow: hidden;
}

.loader-bar {
  position: absolute;
  top: 0; left: 0;
  height: 100%; width: 100%;
  background: var(--lime);
  transform-origin: left;
  animation: loaderBar 1.4s var(--ease-out) infinite;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.94); opacity: 0.85; }
}

@keyframes loaderBar {
  0% { transform: scaleX(0); transform-origin: left; }
  50% { transform: scaleX(1); transform-origin: left; }
  50.01% { transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem var(--pad-x);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom-color: var(--line-soft);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 2;
}

.nav-symbol {
  width: 22px; height: 22px;
  color: var(--white);
  transition: transform 0.4s var(--ease-out);
}

.nav-brand:hover .nav-symbol { transform: scale(1.06); }

.nav-wordmark {
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.36em;
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 2.4rem;
  align-items: center;
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--silver);
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.4s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  background: none; border: none;
  width: 32px; height: 32px;
  cursor: pointer;
  position: relative;
  padding: 0;
  z-index: 2;
}

.nav-toggle span {
  position: absolute;
  left: 6px;
  width: 20px;
  height: 1px;
  background: var(--white);
  transition: transform 0.4s var(--ease-out), opacity 0.3s ease;
}
.nav-toggle span:nth-child(1) { top: 11px; }
.nav-toggle span:nth-child(2) { top: 16px; }
.nav-toggle span:nth-child(3) { top: 21px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 16px; transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 16px; transform: rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 6rem var(--pad-x) 4rem;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse at center, black 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 10%, transparent 80%);
}

.hero-monolith {
  position: absolute;
  top: 50%; left: 50%;
  width: clamp(180px, 26vw, 380px);
  height: clamp(360px, 60vh, 720px);
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.monolith-frame {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.02) 0%,
    rgba(255,255,255,0.04) 35%,
    rgba(196,255,61,0.06) 50%,
    rgba(255,255,255,0.04) 65%,
    rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  box-shadow:
    0 0 80px rgba(196, 255, 61, 0.04),
    inset 0 0 60px rgba(196, 255, 61, 0.04);
}

.monolith-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  transform: translate(-50%, -50%);
  filter: blur(8px);
  animation: monolithBreathe 5s var(--ease-in-out) infinite;
}

.monolith-pulse {
  position: absolute;
  top: 50%; left: 50%;
  width: 6px; height: 6px;
  background: var(--lime);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px var(--lime), 0 0 40px var(--lime-glow);
  animation: monolithPulse 3s ease-in-out infinite;
}

@keyframes monolithBreathe {
  0%, 100% { width: 60%; opacity: 0.6; }
  50% { width: 80%; opacity: 1; }
}

@keyframes monolithPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.4); opacity: 0.7; }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.4) 75%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 60rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--silver);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime), 0 0 20px var(--lime-glow);
  animation: dotPulse 2.4s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--white);
  text-wrap: balance;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(135deg, var(--white) 0%, var(--platinum) 50%, var(--lime) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  font-family: var(--font-mono);
  font-size: clamp(0.78rem, 1.1vw, 0.95rem);
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--platinum);
}

.hero-sub .sep { color: var(--slate); margin: 0 0.5em; }

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.8rem;
}

/* ===== BUTTONS ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  overflow: hidden;
}

.btn-primary {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-primary:hover {
  background: var(--lime);
  border-color: var(--lime);
  transform: translateY(-1px);
  box-shadow: 0 0 30px var(--lime-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.04);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.4s var(--ease-out);
}

.btn:hover .arrow { transform: translateX(4px); }

/* ===== SCROLL INDICATOR ===== */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  pointer-events: none;
}

.scroll-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--silver);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, var(--silver), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 30%;
  background: var(--lime);
  animation: scrollDrip 2.4s var(--ease-in-out) infinite;
}

@keyframes scrollDrip {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(400%); }
}

/* ===== SECTION ===== */
.section {
  position: relative;
  padding: clamp(5rem, 11vh, 9rem) 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 50rem;
  margin-bottom: clamp(3rem, 6vh, 5rem);
}

.section-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.section-num::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--lime);
}

.section-title {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  text-wrap: balance;
}

.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--platinum);
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 5rem;
  align-items: start;
}

.lead {
  font-family: var(--font-sans);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--white);
  letter-spacing: -0.005em;
  margin-bottom: 1.6rem;
  text-wrap: balance;
}

.lead em {
  font-style: italic;
  color: var(--lime);
}

.body {
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--platinum);
  max-width: 36rem;
}

.about-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line-soft);
  padding-top: 1.6rem;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.meta-key { color: var(--silver); }
.meta-val { color: var(--white); display: inline-flex; align-items: center; gap: 0.5rem; }

.status-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--lime);
  animation: dotPulse 2.4s ease-in-out infinite;
}

/* ===== INFRASTRUCTURE CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.card {
  position: relative;
  background: linear-gradient(180deg, rgba(20,22,30,0.7) 0%, rgba(8,8,12,0.95) 100%);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  padding: 0;
  overflow: hidden;
  transition: transform 0.6s var(--ease-out), border-color 0.6s var(--ease-out);
  isolation: isolate;
  cursor: default;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 255, 61, 0.35);
}

.card-glow {
  position: absolute;
  inset: -1px;
  border-radius: 4px;
  background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, var(--lime) 90deg, transparent 180deg);
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: -1;
  filter: blur(20px);
}

.card:hover .card-glow { opacity: 0.4; animation: cardSpin 4s linear infinite; }

@keyframes cardSpin {
  to { transform: rotate(360deg); }
}

.card-inner {
  position: relative;
  padding: 2rem 1.8rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  height: 100%;
  background: linear-gradient(180deg, rgba(20,22,30,0.5) 0%, rgba(5,5,8,0.95) 100%);
  border-radius: 3px;
}

.card-num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--silver);
}

.card-icon {
  width: 38px; height: 38px;
  color: var(--white);
  margin-bottom: 0.4rem;
  transition: color 0.5s ease, transform 0.6s var(--ease-out);
}

.card:hover .card-icon {
  color: var(--lime);
  transform: scale(1.04);
}

.card-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: -0.012em;
  color: var(--white);
}

.card-text {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--platinum);
  flex: 1;
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver);
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-soft);
}

/* ===== VISION ===== */
.vision {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(196, 255, 61, 0.04) 0%, transparent 60%),
    var(--black);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.vision-statement {
  margin: 4rem 0 6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.vision-line {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(2.4rem, 8vw, 6.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
}

.vision-line em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(135deg, var(--white) 0%, var(--platinum) 30%, var(--lime) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vision-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  border-top: 1px solid var(--line-soft);
  padding-top: 4rem;
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.pillar-num {
  font-family: var(--font-mono);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--lime);
  letter-spacing: 0.05em;
}

.pillar-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

.pillar-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--platinum);
  font-weight: 300;
}

/* ===== BRAND BOARD ===== */
.brand-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 1.4rem;
}

.brand-tile {
  background: linear-gradient(160deg, rgba(20,22,30,0.4) 0%, rgba(5,5,8,0.95) 100%);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.5s ease, transform 0.5s var(--ease-out);
}

.brand-tile:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.tile-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--silver);
}

.tile-display {
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 120px;
  color: var(--white);
}

.brand-primary {
  grid-column: span 2;
  grid-row: span 2;
}

.primary-symbol { width: 60%; max-width: 200px; height: auto; }

.tile-horizontal {
  display: flex; flex-direction: row; gap: 1rem;
  align-items: center; justify-content: center;
}

.horiz-symbol { width: 36px; }
.horiz-wordmark {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.32em;
  color: var(--white);
}

.isolated-symbol { width: 60px; }

.favicon-display svg { width: 64px; height: 64px; }
.appicon-display svg { width: 96px; height: 96px; box-shadow: 0 8px 24px rgba(0,0,0,0.5); border-radius: 22px; }

.brand-typography .tile-display {
  flex-direction: column;
  gap: 0.6rem;
}

.spec-display {
  font-family: var(--font-sans);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
}

.type-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: center;
}

.type-name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--white);
}

.type-cuts {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--silver);
}

.brand-palette { grid-column: span 2; }
.tile-swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  width: 100%;
}

.swatch {
  aspect-ratio: 1 / 1.3;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.5rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid var(--line-soft);
}

.swatch span { display: block; line-height: 1.5; }
.swatch .hex { font-size: 0.5rem; opacity: 0.7; letter-spacing: 0.1em; }
.swatch-accent { box-shadow: 0 0 20px var(--lime-glow); }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 7rem;
}

.contact-lead {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--platinum);
  font-weight: 300;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line-soft);
}

.channel {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.4s ease;
}

a.channel:hover { color: var(--lime); }

.channel-key { color: var(--silver); }
.channel-val { color: var(--white); text-transform: none; letter-spacing: 0.06em; }

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  background: linear-gradient(160deg, rgba(20,22,30,0.6) 0%, rgba(5,5,8,0.92) 100%);
  border: 1px solid var(--line-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 2.4rem;
  border-radius: 4px;
  position: relative;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  opacity: 0.4;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field-full { grid-column: span 2; }

.field label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--silver);
}

.field input, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 0.7rem 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.005em;
  transition: border-color 0.4s ease;
  outline: none;
  resize: vertical;
}

.field input:focus, .field textarea:focus {
  border-color: var(--lime);
}

.field textarea {
  resize: vertical;
  min-height: 100px;
  font-family: var(--font-sans);
}

.form-submit {
  grid-column: span 2;
  justify-self: flex-end;
  margin-top: 0.5rem;
}

.form-status {
  grid-column: span 2;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  min-height: 1.2em;
  text-align: right;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: 4.5rem 0 2.2rem;
  position: relative;
}

.footer-line {
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lime) 50%, transparent);
  opacity: 0.4;
  animation: footerSweep 6s ease-in-out infinite;
}

@keyframes footerSweep {
  0%, 100% { transform: translateX(-30%); opacity: 0.3; }
  50% { transform: translateX(30%); opacity: 0.6; }
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-soft);
}

.footer-identity {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--white);
}

.footer-symbol {
  width: 20px;
  height: 20px;
  color: var(--white);
}

.footer-wordmark {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.36em;
  color: var(--white);
}

.footer-tag {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--platinum);
  letter-spacing: 0;
  max-width: 24rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-col-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 0.4rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line-soft);
}

.footer-col a,
.footer-col .footer-meta-line {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0;
  color: var(--platinum);
  line-height: 1.4;
  transition: color 0.4s ease;
}

.footer-col a:hover {
  color: var(--lime);
}

.footer-col .footer-meta-line {
  color: var(--silver);
}

.footer-bottom {
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
}

.footer-copy { color: var(--platinum); }
.footer-legal { color: var(--silver); letter-spacing: 0.14em; }

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  will-change: opacity, transform;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .vision-pillars { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-meta { position: static; }
  .brand-board { grid-template-columns: repeat(2, 1fr); }
  .brand-primary, .brand-palette { grid-column: span 2; }
}

@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 5, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out);
    z-index: 1;
    padding-top: 4rem;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 1.4rem; letter-spacing: -0.005em; }
  .nav-toggle { display: block; }

  .hero-cta { flex-direction: column; width: 100%; max-width: 280px; }
  .hero-cta .btn { justify-content: center; }

  .contact-form { grid-template-columns: 1fr; padding: 1.5rem; }
  .field-full, .form-submit, .form-status { grid-column: span 1; }
  .form-submit { justify-self: stretch; }

  .brand-board { grid-template-columns: 1fr; }
  .brand-primary, .brand-palette { grid-column: span 1; grid-row: auto; }
  .tile-swatches { grid-template-columns: repeat(5, 1fr); gap: 0.3rem; }
  .swatch { padding: 0.4rem 0.4rem; font-size: 0.5rem; }

  .meta-row { font-size: 0.62rem; gap: 1rem; }

  .footer-cols { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
}

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