/* ================================================================
   Built By Wes — Design System
   Theme: Deep Navy / Metallic Silver / Coral Orange
   Inspired by the BuiltByWes logo badge
   ================================================================ */

:root {
  /* Core surfaces */
  --bg: #07101e;
  --surface: rgba(10, 20, 40, 0.88);
  --surface-strong: rgba(13, 25, 48, 0.96);
  --surface-dark: #050c17;
  --surface-glass: rgba(11, 22, 46, 0.75);
  --surface-mid: rgba(16, 30, 58, 0.7);

  /* Borders */
  --border: rgba(100, 148, 210, 0.14);
  --border-light: rgba(160, 200, 245, 0.06);
  --border-bright: rgba(100, 148, 210, 0.28);

  /* Text */
  --text: #ccdbe8;
  --text-bright: #e8f2fc;
  --muted: #587896;

  /* Accent — logo coral/orange (seaweed element) */
  --accent: #d44e1c;
  --accent-deep: #b53e14;
  --accent-bright: #e8622a;
  --accent-soft: rgba(212, 78, 28, 0.12);
  --accent-glow: rgba(212, 78, 28, 0.22);

  /* Silver/metallic — logo W lettermark */
  --silver: #b0c8de;
  --silver-bright: #d8eaf8;
  --silver-dim: rgba(176, 200, 222, 0.4);

  /* Navy palette */
  --navy-1: #07101e;
  --navy-2: #0c1a34;
  --navy-3: #142848;
  --navy-4: #1e3a65;

  /* Shadows */
  --shadow: 0 24px 80px rgba(2, 6, 16, 0.55);
  --shadow-hover: 0 32px 90px rgba(2, 6, 16, 0.72), 0 4px 16px rgba(0, 0, 0, 0.28);
  --shadow-orange: 0 12px 36px rgba(212, 78, 28, 0.38);
  --shadow-card: 0 8px 32px rgba(2, 6, 16, 0.42);

  /* Radii */
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --max-width: 1160px;
  --ring: 0 0 0 3px rgba(212, 78, 28, 0.38);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ================================================================
   Reset & Base
   ================================================================ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background-color: var(--bg);
  cursor: none;
  background-image:
    radial-gradient(ellipse 90% 55% at 12% -8%, rgba(20, 58, 130, 0.38), transparent),
    radial-gradient(circle at 88% 12%, rgba(212, 78, 28, 0.1), transparent 26%),
    radial-gradient(ellipse 70% 45% at 50% 105%, rgba(10, 28, 68, 0.55), transparent);
  position: relative;
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("BuiltByWesLogo.png");
  background-size: min(680px, 90vw);
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 0.22;
  mix-blend-mode: screen;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.14em;
}

.brand,
.site-nav a,
.button,
.back-link {
  text-decoration: none;
}

a:hover {
  text-decoration-thickness: 2px;
}

p,
li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text-bright);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-shell,
.project-page {
  position: relative;
}

/* Ambient radial light layer */
.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 65% 45% at 8% 6%, rgba(24, 58, 140, 0.26), transparent),
    radial-gradient(circle at 94% 7%, rgba(212, 78, 28, 0.09), transparent 20%);
  z-index: -1;
}

/* Film-grain noise overlay */
.page-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  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");
  opacity: 0.03;
  mix-blend-mode: screen;
  z-index: 9999;
}

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

/* ================================================================
   Reveal Animations
   ================================================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

.reveal-base { animation: fadeUp 0.72s var(--ease-out-expo) both; }
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.18s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.44s; }
.delay-5 { animation-delay: 0.58s; }

/* ================================================================
   Site Header
   ================================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  background: rgba(7, 14, 28, 0.88);
  border-bottom: 1px solid rgba(100, 148, 210, 0.1);
  box-shadow: 0 1px 0 rgba(212, 78, 28, 0.07), 0 8px 32px rgba(2, 6, 16, 0.45);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

/* Logo lockup */
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(100, 148, 210, 0.22);
  background: radial-gradient(circle at 40% 35%, #0e1e3a, #070e1c);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(212, 78, 28, 0.1), 0 0 24px rgba(22, 52, 120, 0.45), inset 0 1px 0 rgba(176, 200, 230, 0.07);
}

.brand {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(110deg, #ddeaf8 0%, #b0c8de 52%, #d44e1c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-note {
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 1.6rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding-bottom: 0.2rem;
  color: var(--silver);
  transition: color 160ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.site-nav a:hover { color: var(--text-bright); }
.site-nav a:hover::after { transform: scaleX(1); }

/* ================================================================
   Hero
   ================================================================ */

.hero {
  padding: 4.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}

.hero-visual {
  position: relative;
  min-height: 100%;
}

.hero-stage {
  position: relative;
  min-height: 560px;
}

/* Shared glass card base */
.hero-copy,
.feature-card,
.project-card,
.info-card,
.contact-panel,
.project-main-card,
.project-side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 var(--border-light), var(--shadow);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  transition: transform 500ms var(--ease-out-expo), box-shadow 500ms var(--ease-out-expo);
}

.hero-copy {
  border-radius: calc(var(--radius-xl) + 4px);
  padding: 3rem;
  background: linear-gradient(145deg, rgba(12, 24, 48, 0.94), rgba(8, 16, 34, 0.9));
  position: relative;
  overflow: hidden;
}

/* Orange ambient glow — top right */
.hero-copy::after {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 78, 28, 0.18), rgba(212, 78, 28, 0));
  pointer-events: none;
}

/* Blue ambient glow — bottom left */
.hero-copy::before {
  content: "";
  position: absolute;
  inset: auto auto 1.8rem 1.8rem;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 62, 140, 0.32), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}

.eyebrow,
.section-label {
  margin: 0 0 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-label-light {
  color: rgba(176, 200, 222, 0.6);
}

.hero h1,
.project-hero h1 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.9rem, 6vw, 5.2rem);
  line-height: 0.93;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 12ch;
  color: var(--text-bright);
  text-shadow: 0 4px 28px rgba(2, 6, 18, 0.55);
}

.hero-text,
.project-lead {
  max-width: 56ch;
  margin: 1.4rem 0 0;
  font-size: 1.05rem;
}

.hero-text strong { color: var(--silver-bright); }

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.hero-callout {
  margin-top: 1.35rem;
  padding: 1.15rem 1.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) auto;
  gap: 1rem;
  align-items: end;
  border-radius: 20px;
  border: 1px solid rgba(100, 148, 210, 0.16);
  background: rgba(12, 26, 56, 0.82);
  box-shadow: 0 8px 32px rgba(2, 6, 18, 0.32), inset 0 1px 0 rgba(100, 148, 210, 0.06);
}

.hero-callout-copy { display: grid; gap: 0.4rem; }

.hero-callout-label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-callout-title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--text-bright);
}

.hero-callout-text {
  max-width: 46ch;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}

.hero-callout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ================================================================
   Buttons
   ================================================================ */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.3rem;
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 0;
  cursor: pointer;
  transition: all 360ms var(--ease-out-spring);
}

.button:hover { transform: translateY(-2px) scale(1.02); }

/* Primary — coral orange */
.button-solid {
  background: linear-gradient(135deg, #d84f1d 0%, #b83e13 100%);
  color: #fff5ef;
  box-shadow: 0 8px 24px rgba(212, 78, 28, 0.36), 0 2px 8px rgba(0, 0, 0, 0.22);
}

.button-solid:hover {
  background: linear-gradient(135deg, #e85f28 0%, #c44820 100%);
  box-shadow: 0 16px 42px rgba(212, 78, 28, 0.52), 0 4px 12px rgba(0, 0, 0, 0.28);
}

/* Secondary — glass outline */
.button-outline {
  border: 1px solid rgba(100, 148, 210, 0.24);
  background: rgba(12, 24, 50, 0.7);
  color: var(--silver);
}

.button-outline:hover {
  border-color: rgba(212, 78, 28, 0.48);
  color: var(--text-bright);
  box-shadow: 0 8px 24px rgba(2, 6, 18, 0.32);
}

.button-outline-soft { background: rgba(12, 22, 46, 0.56); }

.button:focus-visible,
.site-nav a:focus-visible,
a:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 999px;
}

.button-light {
  background: rgba(176, 200, 222, 0.1);
  color: var(--silver-bright);
  border: 1px solid rgba(176, 200, 222, 0.18);
}

.button-light:hover {
  background: rgba(176, 200, 222, 0.2);
  box-shadow: 0 8px 24px rgba(2, 6, 18, 0.3);
}

.button-ghost {
  border: 1px solid rgba(176, 200, 222, 0.14);
  background: transparent;
  color: var(--silver);
}

.button-ghost:hover {
  border-color: rgba(176, 200, 222, 0.3);
  color: var(--silver-bright);
}

/* ================================================================
   Cards (shared base)
   ================================================================ */

.feature-card,
.project-card,
.info-card,
.contact-panel,
.project-main-card,
.project-side-card {
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.feature-card:hover,
.project-card:hover,
.info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 78, 28, 0.22);
  box-shadow: 0 30px 90px rgba(2, 6, 18, 0.65), 0 0 0 1px rgba(212, 78, 28, 0.1);
}

.feature-heading,
.project-top,
.section-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.feature-heading h2,
.section-header h2,
.info-card h2 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.85rem, 2.8vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
}

/* ================================================================
   Hero Visual — Showcase Panels
   ================================================================ */

.showcase-panel {
  position: absolute;
  border-radius: 26px;
  border: 1px solid rgba(100, 148, 210, 0.16);
  box-shadow: 0 28px 80px rgba(2, 6, 18, 0.58);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.showcase-panel-main {
  inset: 1rem 0 0 2.5rem;
  padding: 1.4rem;
  background: linear-gradient(145deg, rgba(12, 24, 50, 0.98), rgba(8, 18, 38, 0.94));
}

.showcase-panel-small {
  width: min(240px, 46%);
  padding: 1rem 1rem 1.1rem;
  background: rgba(9, 18, 36, 0.96);
}

.showcase-panel-gis { right: 0; bottom: 0; }

.showcase-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
}

.showcase-panel-body { margin-top: 1.2rem; }

.project-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 800;
}

.showcase-title {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.4rem, 2.8vw, 2.3rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--text-bright);
}

.showcase-description {
  margin: 0.75rem 0 0;
  max-width: 34ch;
  font-size: 0.92rem;
  line-height: 1.7;
}

.showcase-art {
  margin-top: 1.4rem;
  min-height: 280px;
  border-radius: 20px;
  border: 1px solid rgba(100, 148, 210, 0.1);
  overflow: hidden;
  position: relative;
}

.showcase-art-prepflow {
  background: linear-gradient(140deg, rgba(8, 18, 42, 0.99), rgba(12, 24, 54, 0.94) 55%, rgba(10, 20, 46, 0.96));
}

.showcase-art-window {
  display: flex;
  gap: 0.45rem;
  padding: 1rem 1rem 0;
}

.showcase-art-window span,
.featured-preview-topbar span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: rgba(176, 200, 222, 0.22);
}

.showcase-bars {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 0.9rem;
  padding: 1.1rem 1rem 0;
}

.showcase-bars i,
.featured-column span {
  display: block;
  height: 0.9rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(176, 200, 222, 0.32), rgba(176, 200, 222, 0.05));
}

.showcase-grid {
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.showcase-grid i {
  display: block;
  min-height: 108px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(24, 60, 130, 0.24), rgba(212, 78, 28, 0.1));
  border: 1px solid rgba(100, 148, 210, 0.1);
}

.mini-preview {
  margin-top: 0.85rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(100, 148, 210, 0.1);
}

.mini-preview img {
  width: 100%;
  height: 124px;
  object-fit: cover;
  display: block;
}

.mini-preview-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.35rem;
  background: rgba(8, 16, 34, 0.92);
}

.mini-preview-strip img {
  height: 124px;
  border-radius: 10px;
  border: 1px solid rgba(100, 148, 210, 0.1);
  object-position: top center;
}

/* ================================================================
   Section Spacing
   ================================================================ */

.featured-section,
.projects-section,
.contact-section {
  padding: 2rem 0 2.5rem;
}

/* ================================================================
   Featured Layout
   ================================================================ */

.featured-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.75rem;
  align-items: stretch;
}

.featured-showcase,
.featured-copy {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.featured-showcase {
  padding: 1.2rem;
  background: linear-gradient(145deg, rgba(11, 22, 46, 0.98), rgba(8, 16, 36, 0.95));
}

.featured-preview {
  min-height: 100%;
  border-radius: 22px;
  padding: 1rem;
  background: linear-gradient(150deg, rgba(7, 14, 30, 1), rgba(10, 20, 44, 0.96));
  border: 1px solid rgba(100, 148, 210, 0.1);
}

.featured-preview-shell {
  min-height: 100%;
  border-radius: 18px;
  border: 1px solid rgba(176, 200, 222, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
}

.featured-preview-topbar {
  display: flex;
  gap: 0.45rem;
  padding: 1rem 1rem 0;
}

.featured-preview-content {
  padding: 1rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1rem;
  min-height: 290px;
}

.featured-column {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(176, 200, 222, 0.07);
}

.featured-column strong {
  color: var(--silver);
  font-size: 0.88rem;
}

.featured-column-wide {
  background: linear-gradient(145deg, rgba(212, 78, 28, 0.1), rgba(255, 255, 255, 0.02));
}

.featured-copy {
  padding: 2rem;
  display: grid;
  align-content: center;
  background: linear-gradient(145deg, rgba(11, 22, 46, 0.96), rgba(8, 16, 34, 0.92));
}

.proof-list {
  margin-top: 1.15rem;
  display: grid;
  gap: 0.85rem;
}

.proof-list li {
  position: relative;
  padding-left: 1.2rem;
}

.proof-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(212, 78, 28, 0.55);
}

/* ================================================================
   Section Header
   ================================================================ */

.section-header {
  align-items: end;
  margin-bottom: 1.5rem;
}

.section-note {
  max-width: 34rem;
  margin: 0;
}

/* ================================================================
   Status Pills & Tags
   ================================================================ */

.status-pill,
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  white-space: nowrap;
}

.status-pill {
  height: fit-content;
  padding: 0.4rem 0.82rem;
  background: rgba(212, 78, 28, 0.12);
  border: 1px solid rgba(212, 78, 28, 0.22);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent-bright);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.tag {
  padding: 0.38rem 0.8rem;
  background: rgba(22, 44, 90, 0.72);
  border: 1px solid rgba(100, 148, 210, 0.15);
  color: var(--silver);
  font-size: 0.8rem;
  font-weight: 700;
}

/* ================================================================
   Image Frames & Screenshots
   ================================================================ */

.image-frame {
  margin-top: 1.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--navy-2);
}

.project-frame-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.screenshot-strip-frame {
  padding: 1rem;
  background: linear-gradient(145deg, rgba(11, 22, 46, 0.99), rgba(8, 16, 34, 0.95));
}

.screenshot-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.screenshot-card {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(10, 20, 42, 0.82);
  box-shadow: 0 8px 32px rgba(2, 6, 18, 0.32);
}

.screenshot-card .project-frame-image {
  height: 250px;
  object-position: top center;
}

.screenshot-card figcaption {
  padding: 0.8rem 0.9rem 0.9rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.large-frame { margin-top: 0; }

/* ================================================================
   Placeholder Art
   ================================================================ */

.placeholder-art {
  min-height: 230px;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(176, 200, 222, 0.35);
}

.placeholder-baseball {
  background:
    linear-gradient(135deg, rgba(212, 78, 28, 0.22) 0%, rgba(10, 20, 44, 0.94) 100%),
    repeating-linear-gradient(90deg, rgba(176,200,222,0.04), rgba(176,200,222,0.04) 12px, transparent 12px, transparent 24px);
}

.placeholder-gis {
  background:
    linear-gradient(135deg, rgba(26, 80, 160, 0.28) 0%, rgba(8, 18, 40, 0.96) 100%),
    radial-gradient(circle at 20% 30%, rgba(100, 148, 210, 0.12), transparent 30%);
}

.placeholder-inventory {
  background:
    linear-gradient(135deg, rgba(176, 200, 222, 0.1) 0%, rgba(8, 18, 40, 0.96) 100%),
    repeating-linear-gradient(0deg, rgba(176,200,222,0.04), rgba(176,200,222,0.04) 8px, transparent 8px, transparent 16px);
}

.placeholder-teal-leopard {
  background:
    linear-gradient(135deg, rgba(24, 76, 150, 0.26) 0%, rgba(8, 18, 40, 0.96) 100%),
    radial-gradient(circle at 24% 28%, rgba(100, 148, 210, 0.14), transparent 28%);
}

.placeholder-game {
  background:
    linear-gradient(135deg, rgba(92, 87, 186, 0.28) 0%, rgba(8, 16, 38, 0.96) 100%),
    radial-gradient(circle at 22% 22%, rgba(140, 120, 220, 0.12), transparent 28%),
    repeating-linear-gradient(90deg, rgba(176,200,222,0.04), rgba(176,200,222,0.04) 10px, transparent 10px, transparent 20px);
}

.placeholder-next {
  background:
    linear-gradient(135deg, rgba(50, 100, 170, 0.22) 0%, rgba(8, 18, 40, 0.96) 100%),
    radial-gradient(circle at 72% 24%, rgba(100, 148, 210, 0.1), transparent 26%);
}

/* ================================================================
   Feature / Project Text
   ================================================================ */

.feature-text,
.project-top p,
.info-card p {
  margin: 1rem 0 0;
}

/* ================================================================
   Projects Section
   ================================================================ */

.projects-section { position: relative; }

.projects-section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(96%, 1120px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(212, 78, 28, 0.35), rgba(100, 148, 210, 0.25), transparent);
}

.project-grid,
.split-grid,
.project-layout {
  display: grid;
  gap: 1.5rem;
}

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

.project-top h3 { font-size: 1.4rem; }

.project-card {
  background: linear-gradient(145deg, rgba(10, 20, 42, 0.97), rgba(7, 14, 30, 0.93));
  padding: 0;
  overflow: hidden;
}

.project-card-media {
  min-height: 220px;
  padding: 1.25rem;
  display: grid;
  align-content: space-between;
  gap: 0.75rem;
}

.project-card-media strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: rgba(176, 200, 222, 0.5);
  max-width: 8ch;
}

.project-card-media-image { position: relative; padding: 0; }

.project-card-media-image img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.project-card-media-image .project-kicker {
  position: absolute;
  left: 1rem;
  top: 1rem;
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  background: rgba(7, 14, 28, 0.88);
  border: 1px solid rgba(100, 148, 210, 0.2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.project-card-copy { padding: 1.5rem; }

.check-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-top: 0.9rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(212, 78, 28, 0.5);
}

/* ================================================================
   Contact / Info Section
   ================================================================ */

.contact-panel {
  padding: 2.2rem;
  color: var(--text);
  background: linear-gradient(145deg, rgba(11, 22, 46, 0.98), rgba(8, 16, 36, 0.96));
  border: 1px solid rgba(100, 148, 210, 0.16);
  position: relative;
  overflow: hidden;
}

.contact-panel::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 78, 28, 0.14), transparent 68%);
  pointer-events: none;
}

.contact-panel::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 60, 140, 0.24), transparent 68%);
  pointer-events: none;
  filter: blur(8px);
}

.contact-panel h2 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.85rem, 3.2vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-bright);
  position: relative;
  z-index: 1;
}

.contact-panel p {
  max-width: 46rem;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.info-card {
  background: linear-gradient(145deg, rgba(10, 20, 42, 0.96), rgba(8, 16, 34, 0.92));
}

/* ================================================================
   Project Pages
   ================================================================ */

.project-page { padding: 2rem 0 3rem; }

.back-link {
  display: inline-block;
  margin-bottom: 1.2rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.project-hero { padding: 1rem 0 2rem; }

.project-hero-premium {
  padding: 1.5rem;
  border-radius: calc(var(--radius-xl) + 4px);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(11, 22, 46, 0.98), rgba(8, 16, 34, 0.94));
  box-shadow: var(--shadow);
}

.project-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.project-meta-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.project-meta-card {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(12, 26, 54, 0.65);
}

.project-meta-card span {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.project-meta-card strong {
  display: block;
  margin-top: 0.45rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--text-bright);
}

.project-meta-card p {
  margin: 0.45rem 0 0;
  font-size: 0.88rem;
  line-height: 1.6;
}

.project-layout {
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  align-items: start;
}

.project-main-card,
.project-side-card {
  background: rgba(10, 20, 42, 0.95);
}

.content-stack {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.project-screen-caption {
  margin: 0.85rem 0 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--muted);
}

.project-proof-grid { margin-top: 1.5rem; }

.project-proof-card {
  padding: 1.55rem;
  background: linear-gradient(145deg, rgba(11, 22, 46, 0.99), rgba(8, 16, 34, 0.95));
}

.project-proof-card h2 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.project-side-card {
  display: grid;
  gap: 1.3rem;
  position: sticky;
  top: 6rem;
}

.project-side-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.2rem;
}

.project-side-actions .button { width: 100%; }

.cta-band { padding: 2.6rem; }

/* ================================================================
   Hero Metrics
   ================================================================ */

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

.hero-metrics li {
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(100, 148, 210, 0.14);
  background: rgba(12, 24, 52, 0.68);
  position: relative;
  overflow: hidden;
}

.hero-metrics li::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(212, 78, 28, 0.06), transparent 60%);
  pointer-events: none;
}

.hero-metrics strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--silver-bright);
  position: relative;
}

.hero-metrics span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: var(--muted);
  position: relative;
}

/* ================================================================
   Misc Components
   ================================================================ */

.repo-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.feature-preview {
  margin-top: 1.4rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(10, 20, 42, 0.8);
}

.feature-preview img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.feature-preview p {
  margin: 0;
  padding: 0.8rem 1rem;
  font-size: 0.86rem;
  line-height: 1.5;
}

.repo-list li {
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
}

.repo-list li:first-child { padding-top: 0; border-top: 0; }

.repo-list strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text-bright);
  font-size: 1rem;
}

.repo-list span { display: block; color: var(--muted); }

.card-path {
  margin: 1rem 0 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.card-path::before { content: "\2937  "; }

.note-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.note-list li {
  position: relative;
  padding-left: 1.2rem;
}

.note-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(212, 78, 28, 0.5);
}

code {
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: rgba(22, 46, 92, 0.65);
  border: 1px solid rgba(100, 148, 210, 0.15);
  color: var(--silver);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9em;
}

.compact-actions { margin-top: 1.25rem; }

/* ================================================================
   Site Footer
   ================================================================ */

.site-footer {
  margin-top: 2rem;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(100, 148, 210, 0.1);
  background: rgba(5, 10, 20, 0.6);
}

.site-footer p {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0;
}

.site-footer a { color: var(--silver); font-weight: 600; }
.site-footer a:hover { color: var(--accent-bright); }

/* ================================================================
   Responsive
   ================================================================ */

@media (max-width: 960px) {
  .hero-grid,
  .featured-layout,
  .project-layout,
  .project-grid,
  .split-grid { grid-template-columns: 1fr; }

  .section-header,
  .feature-heading,
  .project-top { flex-direction: column; align-items: flex-start; }

  .hero-callout,
  .project-meta-grid,
  .screenshot-strip { grid-template-columns: 1fr; }

  .project-side-card { position: static; }
  .hero-metrics { grid-template-columns: 1fr; }
  .hero-stage { min-height: 640px; }
  .showcase-panel-main { inset: 0 0 auto; }
  .showcase-panel-gis { right: 0; bottom: 0; }
  .featured-preview-content { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header { position: static; }

  .nav-row { flex-direction: column; align-items: flex-start; }

  .site-nav { flex-wrap: wrap; gap: 1rem; }

  .hero { padding-top: 2rem; }

  .hero-copy,
  .feature-card,
  .project-card,
  .info-card,
  .contact-panel,
  .project-main-card,
  .project-side-card { border-radius: 22px; }

  .hero-copy,
  .info-card,
  .contact-panel,
  .project-main-card,
  .project-side-card,
  .featured-copy,
  .featured-showcase,
  .project-hero-premium { padding: 1.2rem; }

  .placeholder-art { min-height: 190px; }
  .hero-stage { min-height: 680px; }

  .showcase-panel {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 1rem;
  }

  .showcase-panel-main { margin-top: 0; }
  .project-card-copy { padding: 1.2rem; }
  .mini-preview-strip { grid-template-columns: 1fr; }
  .project-card-media { min-height: 190px; }
  .cta-band { padding: 1.4rem; }
}


/* ================================================================
   HOMEPAGE v2 — Flip Lineup & Immersive UI
   ================================================================ */

/* ── Custom Cursor ──────────────────────────────────────────── */
*, *::before, *::after {
  cursor: none !important;
}
@media (hover: none) {
  *, *::before, *::after { cursor: auto !important; }
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  margin: -3px 0 0 -3px;
  transition: opacity 0.15s;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(176,200,222,0.45);
  margin: -18px 0 0 -18px;
  transition: width 0.25s, height 0.25s, border-color 0.25s;
}
.cursor-ring.cursor-hover {
  width: 56px; height: 56px;
  border-color: var(--accent);
  background: rgba(212,78,28,0.06);
}
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ── Reveal-scroll (IntersectionObserver driven) ────────────── */
.reveal-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.reveal-scroll.in-view { opacity: 1; transform: none; }
.reveal-scroll.delay-1 { transition-delay: 0.1s; }
.reveal-scroll.delay-2 { transition-delay: 0.22s; }
.reveal-scroll.delay-3 { transition-delay: 0.36s; }
.reveal-scroll.delay-4 { transition-delay: 0.5s; }
.reveal-scroll.delay-5 { transition-delay: 0.64s; }

/* ── Hero V2 ────────────────────────────────────────────────── */
.hero-v2 {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9rem 0 4rem;
  position: relative;
}
.hero-v2 .container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.hero-v2-content { max-width: 780px; }

.hero-headline {
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0.6rem 0 1.5rem;
  display: block;
}
.hw {
  display: inline-block;
  opacity: 0;
  transform: translateY(44px);
  animation: wordReveal 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hw + .hw { margin-left: 0.28em; }
.hw-accent {
  font-style: normal;
  background: linear-gradient(110deg, #e8f2fc 0%, var(--silver) 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@keyframes wordReveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 2.25rem;
}
.hero-cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Stat row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; }
.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}
.stat-divider {
  width: 1px;
  height: 2.8rem;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Scroll cue ─────────────────────────────────────────────── */
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  width: fit-content;
  opacity: 0.65;
  transition: opacity 0.2s;
}
.scroll-cue:hover { opacity: 1; }
.scroll-cue-track {
  width: 22px; height: 36px;
  border: 1.5px solid var(--border-light);
  border-radius: 99px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.scroll-cue-dot {
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: scrollBounce 1.7s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  65% { transform: translateY(14px); opacity: 0; }
  66% { transform: translateY(0); opacity: 0; }
  80% { opacity: 1; }
}

/* ── Marquee Strip ──────────────────────────────────────────── */
.marquee-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(10,20,42,0.7);
  overflow: hidden;
  padding: 0.9rem 0;
  user-select: none;
}
.marquee-track {
  display: flex;
  gap: 1.8rem;
  width: max-content;
  animation: marquee 32s linear infinite;
  align-items: center;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-track > span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--silver-dim);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.marquee-dot { color: var(--accent) \!important; font-size: 1rem \!important; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Book Section ───────────────────────────────────────────── */
.book-section {
  padding: 7rem 0 6rem;
}

.book-header {
  margin-bottom: 0;
  padding-bottom: 2.5rem;
}
.book-header-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}
.book-header h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin: 0.5rem 0 0;
  line-height: 1.12;
}
.book-edition {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
  padding-bottom: 0.35rem;
  white-space: nowrap;
}
.book-rule {
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--silver-dim), transparent 70%);
}

/* ── Book Entries ───────────────────────────────────────────── */
.book-entries {
  position: relative;
}

.book-entry {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 3rem;
  align-items: start;
  padding: 3.5rem 0 3.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background 0.4s var(--ease-out-expo), padding-left 0.4s var(--ease-out-expo);
}
.book-entry::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo);
}
.book-entry:hover {
  background: rgba(212, 78, 28, 0.03);
  padding-left: 2rem;
}
.book-entry:hover::before {
  opacity: 1;
}

.book-entry-num {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  color: rgba(176, 200, 222, 0.08);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  padding-top: 0.2rem;
  user-select: none;
  transition: color 0.4s var(--ease-out-expo);
}
.book-entry:hover .book-entry-num {
  color: rgba(212, 78, 28, 0.22);
}

.book-kicker {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.book-entry-body h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--text-bright);
  margin: 0 0 1rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.book-entry-body p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  margin: 0 0 1.25rem;
  max-width: 520px;
}

.book-entry-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  padding-top: 0.4rem;
  min-width: 150px;
}
.book-entry-aside .button {
  width: 100%;
  text-align: center;
  font-size: 0.82rem;
  padding: 0.55rem 1.15rem;
}

@media (max-width: 820px) {
  .book-entry {
    grid-template-columns: 60px 1fr;
    gap: 1.5rem;
  }
  .book-entry-aside {
    grid-column: 2;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .book-entry-aside .button { width: auto; }
  .book-header-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .book-entry {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    padding-left: 1rem;
  }
  .book-entry:hover { padding-left: 1.5rem; }
  .book-entry-num { font-size: 2.5rem; }
  .book-entry-aside { grid-column: 1; align-items: flex-start; }
}

/* ── Spotlight Section ──────────────────────────────────────── */
.spotlight-section {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
  position: relative;
}
.spotlight-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--silver), transparent);
}
.spotlight-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 820px) {
  .spotlight-inner { grid-template-columns: 1fr; gap: 3rem; }
  .spotlight-visual { order: -1; }
}
.spotlight-copy h2 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  margin: 0.5rem 0 1.1rem;
  line-height: 1.12;
}
.spotlight-copy .feature-text {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

/* Fake UI window */
.spot-window {
  background: rgba(7,14,30,0.95);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(100,148,210,0.06);
}
.spot-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 1rem;
  background: rgba(12,22,44,0.9);
  border-bottom: 1px solid var(--border);
}
.spot-topbar > span:not(.spot-title) {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.spot-topbar > span:nth-child(1) { background: rgba(255,96,90,0.75); }
.spot-topbar > span:nth-child(2) { background: rgba(255,189,46,0.75); }
.spot-topbar > span:nth-child(3) { background: rgba(40,200,64,0.75); }
.spot-title { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; margin-left: 0.4rem; flex: 1; text-align: center; }
.spot-body { display: flex; }
.spot-sidebar {
  width: 54px;
  background: rgba(9,16,36,0.85);
  border-right: 1px solid var(--border);
  padding: 1rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.spot-nav-item { height: 32px; border-radius: 7px; background: rgba(255,255,255,0.05); }
.spot-nav-active {
  background: linear-gradient(135deg, rgba(212,78,28,0.38), rgba(212,78,28,0.12));
  border: 1px solid rgba(212,78,28,0.28);
}
.spot-content { flex: 1; padding: 1.1rem; display: flex; flex-direction: column; gap: 0.55rem; }
.spot-row { display: grid; grid-template-columns: 0.9fr 2fr 0.65fr; gap: 0.5rem; align-items: center; }
.spot-row-header .spot-cell { height: 8px; background: rgba(255,255,255,0.06); border-radius: 3px; }
.spot-cell { height: 28px; border-radius: 6px; background: rgba(255,255,255,0.05); }
.spot-cell-pill { border-radius: 99px; height: 22px; }
.spot-cell-badge { background: rgba(176,200,222,0.08); border-radius: 6px; height: 22px; }
.pill-orange { background: rgba(212,78,28,0.22); border: 1px solid rgba(212,78,28,0.38); }
.pill-blue   { background: rgba(60,120,220,0.18); border: 1px solid rgba(60,120,220,0.32); }
.pill-green  { background: rgba(40,180,80,0.18);  border: 1px solid rgba(40,180,80,0.3); }

/* ── Contact CTA Section ────────────────────────────────────── */
.cta-section {
  padding: 7rem 0 6rem;
  text-align: center;
  position: relative;
}
.cta-inner {
  max-width: 640px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  margin: 0.5rem 0 1rem;
  letter-spacing: -0.025em;
}
.cta-inner p {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.cta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Status pill new variant ────────────────────────────────── */
.status-pill-new {
  background: rgba(100,148,210,0.18);
  border-color: rgba(100,148,210,0.35);
  color: var(--silver);
}

/* ================================================================
   Contact Section
   ================================================================ */
.contact-section {
  padding: 7rem 0 6rem;
  position: relative;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(212,78,28,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem 5rem;
  align-items: start;
}

/* Left column */
.contact-left h2 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.07;
  margin: 0.5rem 0 1.25rem;
  color: var(--text-bright);
}

.contact-blurb {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--silver);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-link:hover {
  color: var(--accent-bright);
}

.contact-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-bright);
  background: var(--surface);
  color: var(--silver);
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.contact-link:hover .contact-link-icon {
  border-color: var(--accent);
  color: var(--accent-bright);
  background: var(--accent-soft);
}

/* Right column — form */
.contact-right {
  background: linear-gradient(160deg, rgba(10,20,42,0.96), rgba(7,14,30,0.98));
  border: 1px solid rgba(100,148,210,0.22);
  border-radius: 18px;
  padding: 0 2.25rem 2.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(2,6,18,0.55), inset 0 1px 0 rgba(100,148,210,0.1);
}

/* Top accent line */
.contact-right::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,78,28,0.75) 40%, rgba(232,98,42,0.9) 50%, rgba(212,78,28,0.75) 60%, transparent);
  pointer-events: none;
}

/* Ambient corner glow */
.contact-right::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,78,28,0.08), transparent 70%);
  pointer-events: none;
}

/* Window chrome bar */
.form-chrome {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(100,148,210,0.1);
}

.form-chrome-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.form-chrome-dot-red    { background: #ff5f56; box-shadow: 0 0 6px rgba(255,95,86,0.5); }
.form-chrome-dot-yellow { background: #ffbd2e; box-shadow: 0 0 6px rgba(255,189,46,0.4); }
.form-chrome-dot-green  { background: #27c93f; box-shadow: 0 0 6px rgba(39,201,63,0.4); }

.form-chrome-label {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(176,200,222,0.3);
}

/* Form layout */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

/* Floating-label field */
.form-field {
  position: relative;
}

.field-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(176,200,222,0.3);
  pointer-events: none;
  display: flex;
  align-items: center;
  transition: color 0.22s var(--ease-out-expo);
  z-index: 2;
}

.form-field-textarea .field-icon {
  display: none;
}

.field-input {
  width: 100%;
  box-sizing: border-box;
  padding: 1.4rem 1rem 0.5rem 2.65rem;
  background: rgba(4,10,22,0.6);
  border: 1.5px solid rgba(100,148,210,0.16);
  border-radius: 11px;
  color: var(--text-bright);
  font-family: "Manrope", sans-serif;
  font-size: 0.93rem;
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  appearance: none;
  -webkit-appearance: none;
}

.field-textarea {
  padding: 1.4rem 1rem 2rem 1rem;
  min-height: 138px;
  resize: vertical;
}

/* Floating label */
.field-label {
  position: absolute;
  left: 2.65rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.88rem;
  color: var(--muted);
  pointer-events: none;
  transition: top 0.22s var(--ease-out-expo),
              font-size 0.22s var(--ease-out-expo),
              color 0.22s var(--ease-out-expo),
              letter-spacing 0.22s var(--ease-out-expo),
              font-weight 0.22s ease;
  white-space: nowrap;
  z-index: 2;
}

.form-field-textarea .field-label {
  left: 1rem;
  top: 1.05rem;
  transform: none;
}

/* Floating state */
.field-input:focus + .field-label,
.field-input:not(:placeholder-shown) + .field-label {
  top: 0.42rem;
  transform: none;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.form-field-textarea .field-input:focus + .field-label,
.form-field-textarea .field-input:not(:placeholder-shown) + .field-label {
  top: 0.42rem;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

/* Focus glow */
.field-input:focus {
  border-color: rgba(212,78,28,0.62);
  box-shadow:
    0 0 0 3px rgba(212,78,28,0.13),
    0 0 18px rgba(212,78,28,0.08),
    inset 0 1px 0 rgba(212,78,28,0.06);
  background: rgba(6,13,28,0.75);
}

.form-field:focus-within .field-icon {
  color: var(--accent-bright);
}

/* Character counter */
.field-char-count {
  position: absolute;
  bottom: 0.6rem;
  right: 0.8rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(176,200,222,0.25);
  pointer-events: none;
  transition: color 0.2s ease;
  font-variant-numeric: tabular-nums;
}

.field-char-count.near-limit { color: var(--accent); }
.field-char-count.at-limit   { color: #ff5f56; }

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  align-self: flex-start;
  padding: 0.75rem 1.75rem;
  cursor: pointer;
  border: none;
  margin-top: 0.25rem;
}

.contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.submit-arrow {
  transition: transform 0.2s;
}

.contact-submit:hover:not(:disabled) .submit-arrow {
  transform: translateX(4px);
}

/* Success state */
.contact-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
  z-index: 1;
  gap: 0.75rem;
}

.contact-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(212,78,28,0.15);
  border: 1px solid rgba(212,78,28,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-bright);
  margin-bottom: 0.5rem;
}

.contact-success h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-bright);
  margin: 0;
}

.contact-success p {
  color: var(--muted);
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .contact-right {
    padding: 1.75rem;
  }
}
