/* ==========================================================================
   Keith Williams — Bespoke Luxury Editorial & Anodized Red Metal
   Rolls-Royce Black Badge / Hypercar Atelier Aesthetic
   ========================================================================== */

:root {
  --black: #000000;
  --obsidian: #050507;
  --glass: rgba(7, 7, 10, 0.72);
  --glass-heavy: rgba(6, 6, 8, 0.84);
  --hairline: rgba(255, 255, 255, 0.09);
  --hairline-strong: rgba(255, 255, 255, 0.18);

  /* True Anodized Candy-Apple Crimson Red Metal (Restrained, Not Neon) */
  --red-dark: #4b050d;
  --red-anodized: #9e0b19;
  --red-specular: #cf1426;
  --red-glint: #e86b76;
  --red-metal-grad: linear-gradient(
    115deg,
    #660611 0%,
    #b30e1e 28%,
    #e02234 48%,
    #f0858e 54%,
    #a80c1b 74%,
    #4c040c 100%
  );
  --red-rule-grad: linear-gradient(
    90deg,
    transparent 0%,
    rgba(179, 14, 30, 0.85) 30%,
    rgba(240, 133, 142, 0.65) 50%,
    rgba(179, 14, 30, 0.85) 70%,
    transparent 100%
  );

  --white: #f7f7f9;
  --silver: #a8a8b3;
  --gunmetal: #686873;

  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-badge: 'Syncopate', 'Outfit', sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --max-w: 1220px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  background-color: var(--black);
}

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 36px;
}

/* Whisper-Fine Photographic Film Grain */
.film-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Fixed Pixel-Locked 3-Stage Photorealistic Armored Suit Stage
   ========================================================================== */
.suit-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--black);
}

.suit-canvas {
  position: absolute;
  inset: 0;
  transform: scale(1.02) translateY(0px);
  transform-origin: 62% 45%;
  will-change: transform;
}

.suit-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 28%;
  user-select: none;
  -webkit-user-drag: none;
}

.suit-base {
  opacity: 0.92;
}

.suit-ignited {
  opacity: 0;
  will-change: opacity;
}

.suit-repulsors {
  opacity: 0;
  will-change: opacity;
}

/* Editorial Scrim — keeps left typography razor-clear & blends bottom smoothly */
.suit-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.72) 34%, rgba(0, 0, 0, 0.18) 64%, rgba(0, 0, 0, 0.45) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.08) 22%, rgba(0, 0, 0, 0.25) 75%, rgba(0, 0, 0, 0.9) 100%);
}

/* All Foreground Content Sits Above the Suit Stage */
.navbar,
main,
.footer {
  position: relative;
  z-index: 10;
}

/* Right-Edge Precision Power Rail */
.power-rail {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  pointer-events: none;
}

.power-track {
  width: 2px;
  height: 120px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.power-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 12%;
  background: var(--red-metal-grad);
  box-shadow: 0 0 12px rgba(207, 20, 38, 0.85);
}

.power-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  color: var(--silver);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

/* ==========================================================================
   Minimalist Luxury Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(3, 3, 5, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--hairline);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.monogram-seal {
  width: 34px;
  height: 34px;
  border-radius: 2px;
  background: linear-gradient(145deg, #6e0712, #b80f20 48%, #47040b);
  border: 1px solid rgba(240, 133, 142, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 18px rgba(0, 0, 0, 0.55);
  display: grid;
  place-items: center;
  color: #ffffff;
}

.monogram-seal.small {
  width: 24px;
  height: 24px;
}

.brand-name {
  font-family: var(--font-badge);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
}

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

.nav-cta {
  padding: 11px 22px;
  border: 1px solid rgba(207, 20, 38, 0.65);
  background: linear-gradient(135deg, rgba(158, 11, 25, 0.35), rgba(75, 5, 13, 0.25));
  color: var(--white) !important;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-cta:hover {
  background: linear-gradient(135deg, #9e0b19, #cf1426);
  border-color: rgba(240, 133, 142, 0.65);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--hairline-strong);
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 1px;
  background: var(--white);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 20px;
  padding: 24px 36px 32px;
  background: rgba(4, 4, 6, 0.96);
  border-top: 1px solid var(--hairline);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.mobile-nav.open {
  display: flex;
}

/* ==========================================================================
   Full-Bleed Editorial Hero (100vh)
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  padding-top: 86px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100vh - 86px);
  padding-top: clamp(56px, 10vh, 128px);
  padding-bottom: 36px;
}

.hero-editorial {
  max-width: 660px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--silver);
  margin-bottom: 32px;
}

.eyebrow-line {
  width: 34px;
  height: 1px;
  background: var(--red-metal-grad);
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 5.8vw, 5.15rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.hero-headline .line-chrome {
  display: inline-block;
  padding-bottom: 0.08em;
  padding-right: 0.12em;
  background: linear-gradient(
    118deg,
    #8c92a3 0%,
    #dfe3ee 18%,
    #ffffff 30%,
    #b7bdc9 44%,
    #666b7a 56%,
    #e2e6f0 70%,
    #ffffff 80%,
    #8c92a3 100%
  );
  background-size: 240% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: liquidMetalSheen 9s ease-in-out infinite;
  filter:
    drop-shadow(1px 1px 0 #9da2b0)
    drop-shadow(1px 1px 0 #7b808e)
    drop-shadow(1px 1px 0 #5e6270)
    drop-shadow(1px 1px 0 #454854)
    drop-shadow(1px 1px 0 #31333c)
    drop-shadow(1px 1px 0 #21232a)
    drop-shadow(1px 1px 0 #15161b)
    drop-shadow(1px 1px 0 #0b0c0f)
    drop-shadow(12px 18px 20px rgba(0, 0, 0, 0.95))
    drop-shadow(20px 28px 42px rgba(0, 0, 0, 0.85));
}

.hero-headline .line-metal,
.line-metal {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.12;
  padding-bottom: 0.16em;
  padding-right: 0.12em;
  letter-spacing: -0.02em;
  background: linear-gradient(
    118deg,
    #69050f 0%,
    #c71124 18%,
    #ffadb6 31%,
    #e0192e 43%,
    #57030c 56%,
    #cf1427 70%,
    #ff9ca7 81%,
    #69050f 100%
  );
  background-size: 240% 100%;
  background-position: 15% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: liquidMetalSheen 9s ease-in-out infinite;
  animation-delay: -1.4s;
  filter:
    drop-shadow(1px 1px 0 #bf1224)
    drop-shadow(1px 1px 0 #990c1a)
    drop-shadow(1px 1px 0 #7a0814)
    drop-shadow(1px 1px 0 #5e050f)
    drop-shadow(1px 1px 0 #45030a)
    drop-shadow(1px 1px 0 #300207)
    drop-shadow(1px 1px 0 #1f0104)
    drop-shadow(1px 1px 0 #100102)
    drop-shadow(12px 18px 22px rgba(0, 0, 0, 0.96))
    drop-shadow(18px 26px 46px rgba(196, 15, 34, 0.65));
}

@keyframes liquidMetalSheen {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-statement {
  font-size: 1.06rem;
  font-weight: 300;
  color: var(--silver);
  max-width: 530px;
  margin-bottom: 42px;
}

.hero-statement strong {
  color: var(--white);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}

/* Machined Anodized Metal Button */
.btn-anodized {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 2px;
  background: linear-gradient(135deg, #680610 0%, #b30e1e 42%, #d41c2d 54%, #820814 100%);
  border: 1px solid rgba(240, 133, 142, 0.42);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 16px 36px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn-anodized::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.28) 50%, transparent 75%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
}

.btn-anodized:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 180, 188, 0.65);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 20px 44px rgba(158, 11, 25, 0.38);
}

.btn-anodized:hover::after {
  transform: translateX(130%);
}

.btn-hairline {
  display: inline-flex;
  align-items: center;
  padding: 16px 30px;
  border-radius: 2px;
  border: 1px solid var(--hairline-strong);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: border-color 0.25s ease, background 0.25s ease;
}

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

/* Bottom Architectural Spec Strip */
.hero-spec-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--hairline);
  padding-top: 22px;
  gap: 24px;
}

.spec-cell {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.spec-k {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  color: var(--gunmetal);
}

.spec-v {
  font-size: 0.86rem;
  font-weight: 400;
  color: #e4e4ea;
}

/* ==========================================================================
   Sections & Architectural Typography
   ========================================================================== */
.section {
  padding: 124px 0;
}

.section-header {
  max-width: 680px;
  margin-bottom: 64px;
}

.section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 56px;
}

.header-note {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--silver);
  max-width: 340px;
}

.section-index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--red-glint);
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.15rem, 4vw, 3.45rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--white);
}

.title-muted {
  color: var(--gunmetal);
}

/* ==========================================================================
   01 // Capabilities Architectural Index (Smoked Glass + Hairline Rules)
   ========================================================================== */
.capability-index {
  background: var(--glass);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-top: 1px solid var(--hairline-strong);
  border-bottom: 1px solid var(--hairline-strong);
}

.cap-row {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1.05fr 1.45fr;
  gap: 32px;
  align-items: start;
  padding: 36px 32px;
  border-bottom: 1px solid var(--hairline);
  transition: background 0.35s ease;
}

.cap-row:last-child {
  border-bottom: none;
}

.cap-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--red-metal-grad);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s ease;
}

.cap-row:hover {
  background: rgba(158, 11, 25, 0.08);
}

.cap-row:hover::before {
  transform: scaleY(1);
}

.cap-num {
  font-family: var(--font-badge);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: var(--red-glint);
  line-height: 1.4;
}

.cap-title h3 {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}

.cap-sub {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  color: var(--gunmetal);
}

.cap-desc {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--silver);
}

/* ==========================================================================
   02 // Flagship M.O.R.T.I.S. Dossier & Selected Builds
   ========================================================================== */
.flagship-panel {
  position: relative;
  background: var(--glass-heavy);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--hairline-strong);
  padding: 48px;
  margin-bottom: 24px;
  overflow: hidden;
}

.flagship-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red-rule-grad);
}

.flagship-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
}

.flagship-tag {
  color: var(--red-glint);
}

.flagship-status {
  color: var(--silver);
}

.flagship-body {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: end;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--hairline);
}

.flagship-headline h3 {
  font-family: var(--font-badge);
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.1;
  padding-bottom: 0.1em;
  padding-right: 0.12em;
  margin-bottom: 14px;
  background: linear-gradient(175deg, #ffffff 0%, #e4e6ee 42%, #adb2c0 78%, #7f8493 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter:
    drop-shadow(1px 1px 0 #7f8493)
    drop-shadow(1px 1px 0 #5b5f6c)
    drop-shadow(1px 1px 0 #3d404a)
    drop-shadow(1px 1px 0 #262830)
    drop-shadow(1px 1px 0 #15161b)
    drop-shadow(10px 14px 20px rgba(0, 0, 0, 0.92));
}

.flagship-expansion {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-glint);
}

.flagship-copy {
  font-size: 1.02rem;
  font-weight: 300;
  color: var(--silver);
}

.flagship-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-top: 32px;
}

.f-spec {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.f-spec-val {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--white);
}

.f-spec-key {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gunmetal);
}

/* Secondary Work Grid (Sharp Architectural 2x2) */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}

.work-card {
  background: var(--glass-heavy);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  padding: 40px;
  transition: background 0.3s ease;
}

.work-card:hover {
  background: rgba(18, 6, 9, 0.86);
}

.work-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  color: var(--gunmetal);
  margin-bottom: 20px;
}

.work-meta span:first-child {
  color: var(--red-glint);
}

.work-card h3 {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

.work-card p {
  font-size: 0.94rem;
  font-weight: 300;
  color: var(--silver);
}

/* ==========================================================================
   03 // Ethos / Profile Panel
   ========================================================================== */
.ethos-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  background: var(--glass);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--hairline);
  padding: 64px 56px;
}

.ethos-right p {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--silver);
  margin-bottom: 22px;
}

.ethos-right strong {
  color: var(--white);
  font-weight: 500;
}

.fluency-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-top: 28px;
  margin-top: 12px;
  border-top: 1px solid var(--hairline);
}

.fluency-k {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  color: var(--gunmetal);
  margin-bottom: 6px;
}

.fluency-v {
  font-size: 0.88rem;
  color: var(--white);
}

/* ==========================================================================
   04 // Commission Vault (Upwork & Fiverr)
   ========================================================================== */
.section-commission {
  padding-bottom: 140px;
}

.commission-vault {
  position: relative;
  background: var(--glass-heavy);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  border: 1px solid rgba(179, 14, 30, 0.42);
  padding: 64px;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.72);
}

.commission-vault::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red-rule-grad);
}

.vault-header {
  max-width: 620px;
  margin-bottom: 40px;
}

.vault-sub {
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 300;
  color: var(--silver);
}

/* Primary Direct Hiring Box */
.direct-box {
  background: linear-gradient(155deg, rgba(24, 6, 9, 0.72) 0%, rgba(10, 10, 14, 0.88) 60%);
  border: 1px solid rgba(207, 20, 38, 0.45);
  padding: 40px;
  margin-bottom: 40px;
}

.direct-box-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--hairline);
}

.direct-badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  color: var(--red-glint);
}

.direct-badge-muted {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  color: var(--gunmetal);
}

.direct-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  color: var(--silver);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--hairline-strong);
  border-radius: 2px;
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.field select option {
  background: #09090d;
  color: var(--white);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--gunmetal);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--red-specular);
  background: rgba(10, 4, 6, 0.8);
}

.field textarea {
  resize: vertical;
  min-height: 112px;
}

.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 6px;
}

.form-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--red-glint);
}

.marketplace-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.26em;
  color: var(--gunmetal);
}

.marketplace-divider::before,
.marketplace-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--hairline);
}

.vault-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.vault-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 30px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--hairline);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.vault-card:hover {
  border-color: rgba(207, 20, 38, 0.75);
  background: rgba(158, 11, 25, 0.1);
  transform: translateY(-3px);
}

.vault-card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.vault-platform {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.vault-type {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--red-glint);
}

.vault-card p {
  font-size: 0.94rem;
  font-weight: 300;
  color: var(--silver);
}

.vault-cta {
  margin-top: auto;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
}

.vault-card:hover .vault-cta {
  color: var(--red-glint);
}

.vault-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}

.vault-direct-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  color: var(--gunmetal);
}

.vault-email {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--white);
  transition: color 0.2s ease;
}

.vault-email:hover {
  color: var(--red-glint);
}

/* Footer */
.footer {
  border-top: 1px solid var(--hairline);
  background: rgba(2, 2, 3, 0.9);
  padding: 32px 0;
  font-size: 0.8rem;
  color: var(--gunmetal);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-right {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .power-rail {
    display: none;
  }

  .cap-row {
    grid-template-columns: 52px 1fr;
  }

  .cap-desc {
    grid-column: 2;
  }

  .flagship-body,
  .ethos-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-spec-strip,
  .flagship-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    padding: 0 22px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .suit-layer {
    object-position: 60% 24%;
  }

  .work-grid,
  .vault-grid,
  .fluency-bar,
  .form-row {
    grid-template-columns: 1fr;
  }

  .direct-box {
    padding: 24px 20px;
  }

  .flagship-panel,
  .ethos-panel,
  .commission-vault {
    padding: 32px 24px;
  }

  .cap-row {
    padding: 28px 20px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cap-desc {
    grid-column: auto;
  }
}
