/* ==========================================================================
   Antwork.hk — Brand-Guideline Base + Futuristic Telemetry Accents
   Official Brand Background & Logo Palette:
     Deep Graphite : #414042 | Slate Steel : #58595B
     Platinum Mist : #E5E5E5 | Pure Vapor  : #F1F2F2
   Futuristic Chart / Telemetry / Interactive Accents:
     Cyber Cyan    : #00E5FF | Signal Ember : #FF5A3C | Electric Amber : #F59E0B
   ========================================================================== */

:root {
  /* Official Antwork Brand Guideline Base */
  --graphite-deep: #2B2A2C;
  --graphite: #414042;
  --steel: #58595B;
  --platinum: #E5E5E5;
  --vapor: #F1F2F2;

  --bg: #414042;
  --bg-alt: #363537;
  --surface: rgba(54, 53, 55, 0.78);
  --surface-elevated: rgba(88, 89, 91, 0.64);

  --ink: #F1F2F2;
  --ink-soft: #E5E5E5;
  --ink-muted: #B6B7B9;

  /* Futuristic Telemetry, Charts & Figures Accents */
  --cyan: #00E5FF;
  --cyan-dim: rgba(0, 229, 255, 0.14);
  --cyan-glow: rgba(0, 229, 255, 0.34);

  --ember: #FF5A3C;
  --ember-dim: rgba(255, 90, 60, 0.16);
  --amber: #F59E0B;

  --border: rgba(229, 229, 229, 0.14);
  --border-strong: rgba(229, 229, 229, 0.28);
  --border-cyan: rgba(0, 229, 255, 0.42);

  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-card: 0 20px 50px rgba(20, 20, 22, 0.42);
  --shadow-cyan: 0 0 36px rgba(0, 229, 255, 0.14);

  --container: 1160px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  background-color: var(--graphite);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  /* Official #414042 Deep Graphite base with subtle #58595B architectural depth */
  background: radial-gradient(1200px 720px at 78% 0%, #58595B 0%, #414042 46%, #323133 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

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

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

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

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 16px;
  background: var(--cyan);
  color: var(--graphite-deep);
  font-weight: 600;
  z-index: 999;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  border-radius: var(--radius-sm);
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

/* Interactive Hex Canvas & Subtle Ambient Glows */
.hex-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.72;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-top {
  width: 540px;
  height: 540px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
}

.ambient-glow-bottom {
  width: 500px;
  height: 500px;
  bottom: -200px;
  left: -140px;
  background: radial-gradient(circle, rgba(255, 90, 60, 0.09) 0%, transparent 70%);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.14;
}

.mono-meta,
.mono-label,
.section-index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mono-meta {
  color: var(--ink-muted);
}

.mono-label {
  color: var(--cyan);
  font-weight: 500;
}

.section-index {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-weight: 500;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 600;
  color: var(--vapor);
}

.section-intro {
  margin: 0;
  max-width: 470px;
  color: var(--platinum);
  opacity: 0.88;
  font-size: 1.02rem;
}

/* Glass Cards & Interactive Spotlight */
.glass-card {
  position: relative;
  background: var(--surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(0, 229, 255, 0.11),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.spotlight-card:hover::before {
  opacity: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.22s var(--ease), background-color 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), color 0.22s var(--ease);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.86rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, #38BDF8 100%);
  color: #1F1F21;
  box-shadow: 0 4px 22px rgba(0, 229, 255, 0.24);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 32px rgba(0, 229, 255, 0.44);
  filter: brightness(1.06);
}

.btn-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1F1F21;
}

.btn-ghost {
  background: rgba(241, 242, 242, 0.06);
  color: var(--vapor);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.08);
  transform: translateY(-2px);
}

/* Header — Official #414042 Graphite + Pure #F1F2F2 Logo Mark on #58595B */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(65, 64, 66, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark-wrap {
  width: 46px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--steel);
  border: 1px solid var(--border-strong);
  padding: 5px;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease);
}

.brand-mark-img {
  width: 100%;
  height: auto;
}

.brand:hover .brand-mark-wrap {
  transform: translateY(-1px);
  border-color: var(--vapor);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--vapor);
}

.brand-tld {
  color: var(--platinum);
  opacity: 0.72;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--platinum);
  opacity: 0.7;
  margin-top: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--platinum);
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-idx {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--cyan);
}

.site-nav a:hover {
  color: var(--vapor);
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: rgba(241, 242, 242, 0.06);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 16px;
  height: 1.6px;
  background: var(--vapor);
  border-radius: 2px;
  transition: transform 0.25s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.3px) rotate(-45deg);
}

.mobile-nav {
  border-top: 1px solid var(--border);
  background: rgba(54, 53, 55, 0.96);
  backdrop-filter: blur(20px);
  padding: 20px 0 28px;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-inner a:not(.btn) {
  font-family: var(--font-mono);
  font-size: 0.96rem;
  padding: 6px 0;
  color: var(--platinum);
}

/* Hero Section */
.hero {
  padding-top: clamp(40px, 5vw, 68px);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
  padding-bottom: clamp(48px, 6vw, 78px);
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.32);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.65);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.65); }
  70% { box-shadow: 0 0 0 9px rgba(0, 229, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

.hero-title {
  font-size: clamp(2.45rem, 4.9vw, 3.85rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  color: var(--vapor);
}

.gradient-text {
  background: linear-gradient(120deg, var(--cyan) 0%, #93C5FD 55%, var(--ember) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 22px;
  font-size: clamp(1.02rem, 1.35vw, 1.12rem);
  color: var(--platinum);
  opacity: 0.9;
  max-width: 56ch;
}

.hero-subtitle strong {
  color: var(--vapor);
  font-weight: 600;
}

.motto-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(50, 49, 51, 0.72);
  border: 1px solid var(--border);
  border-left: 3px solid var(--ember);
}

.motto-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ember);
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--ember-dim);
}

.motto-text {
  font-size: 0.9rem;
  color: var(--platinum);
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* Futuristic HUD Panel — Official #58595B Logo Surface + Colorful Telemetry Below */
.hud-panel {
  position: relative;
  background: rgba(54, 53, 55, 0.92);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), var(--shadow-cyan);
  overflow: hidden;
}

.hud-inner-frame {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(229, 229, 229, 0.14);
  border-radius: 13px;
  pointer-events: none;
  z-index: 2;
}

.hud-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--cyan);
  border-style: solid;
  pointer-events: none;
  z-index: 3;
}

.hud-corner.tl { top: 7px; left: 7px; border-width: 1.5px 0 0 1.5px; }
.hud-corner.tr { top: 7px; right: 7px; border-width: 1.5px 1.5px 0 0; }
.hud-corner.bl { bottom: 7px; left: 7px; border-width: 0 0 1.5px 1.5px; }
.hud-corner.br { bottom: 7px; right: 7px; border-width: 0 1.5px 1.5px 0; }

.hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--border);
  background: rgba(43, 42, 44, 0.55);
}

.hud-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  color: var(--platinum);
}

.hud-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 10px var(--ember);
}

.hud-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--cyan-dim);
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

/* Official Logo Stage strictly following #58595B Slate Steel + #F1F2F2 Pure Vapor Logo */
.logo-stage {
  position: relative;
  padding: 28px 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--steel);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.logo-scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  top: 0;
  background: linear-gradient(90deg, transparent, rgba(241, 242, 242, 0.65), transparent);
  box-shadow: 0 0 12px rgba(241, 242, 242, 0.45);
  animation: scanSweep 5.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scanSweep {
  0%, 100% { transform: translateY(10px); opacity: 0; }
  14% { opacity: 0.85; }
  86% { opacity: 0.85; }
  50% { transform: translateY(205px); opacity: 0.65; }
}

.hero-logo-img {
  width: min(232px, 68%);
  height: auto;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

/* Colorful Live Telemetry Readout Figures */
.telemetry-bar {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.tele-cell {
  background: rgba(43, 42, 44, 0.82);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  text-align: center;
}

.tele-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.09em;
  color: var(--ink-muted);
  margin-bottom: 2px;
}

.tele-val {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cyan);
}

.tele-cell:nth-child(2) .tele-val {
  color: var(--ember);
}

.tele-cell:nth-child(3) .tele-val {
  color: var(--amber);
}

/* Interactive Schematic Stage */
.schematic-stage {
  background: rgba(43, 42, 44, 0.86);
  border-bottom: 1px solid var(--border);
}

.schematic-svg {
  width: 100%;
  height: auto;
}

.svg-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  fill: var(--vapor);
  letter-spacing: 0.06em;
}

.svg-mono-dim {
  font-family: var(--font-mono);
  font-size: 8.5px;
  fill: var(--ink-muted);
}

.svg-node {
  cursor: pointer;
}

.svg-node:hover > rect:first-of-type {
  stroke: var(--cyan);
}

.svg-node.is-active > rect:first-of-type {
  stroke: var(--cyan);
  stroke-width: 2;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.36));
}

.rf-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: rfPulse 3.2s ease-out infinite;
}

.rf-ring-2 {
  animation-delay: 1.1s;
}

@keyframes rfPulse {
  0% { opacity: 0.85; transform: scale(0.96); }
  50% { opacity: 0.25; transform: scale(1.06); }
  100% { opacity: 0.85; transform: scale(0.96); }
}

.signal-pulse {
  animation: dashFlow 1.8s linear infinite;
}

.signal-pulse-delay {
  animation-delay: 0.6s;
}

@keyframes dashFlow {
  from { stroke-dashoffset: 24; }
  to { stroke-dashoffset: 0; }
}

.schematic-inspector {
  padding: 16px 22px 22px;
  background: rgba(54, 53, 55, 0.86);
}

.inspector-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.inspector-tab {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(241, 242, 242, 0.04);
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.inspector-tab:hover {
  border-color: var(--cyan);
  color: var(--vapor);
}

.inspector-tab.is-active {
  background: var(--cyan-dim);
  color: var(--cyan);
  border-color: var(--border-cyan);
}

.inspector-heading {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--vapor);
}

.inspector-desc {
  margin: 0;
  font-size: 0.87rem;
  color: var(--platinum);
  opacity: 0.86;
  line-height: 1.55;
}

/* Spec Strip */
.spec-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(46, 45, 47, 0.84);
  backdrop-filter: blur(12px);
  padding: 16px 0;
}

.spec-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--platinum);
}

.spec-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hex-bullet {
  color: var(--cyan);
  font-size: 11px;
}

/* Sections */
.section {
  padding: clamp(72px, 9vw, 112px) 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, rgba(50, 49, 51, 0.72) 0%, rgba(43, 42, 44, 0.84) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-header-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
}

/* About Section (Top-Aligned Narrative + Bespoke Hardware Graphic) */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.about-narrative {
  border-left: 2px solid var(--border-strong);
  padding-left: clamp(18px, 2.5vw, 28px);
}

.about-narrative p {
  margin: 0 0 18px;
  color: var(--platinum);
  opacity: 0.88;
  font-size: 1.02rem;
}

.about-narrative p:last-child {
  margin-bottom: 0;
}

.about-narrative strong {
  color: var(--vapor);
  font-weight: 600;
}

.lead-paragraph {
  font-size: 1.16rem !important;
  line-height: 1.62;
  color: var(--vapor) !important;
  opacity: 1 !important;
}

.about-visual {
  margin: 0;
}

.about-frame {
  position: relative;
  border-color: var(--border-strong);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.about-frame:hover {
  border-color: var(--border-cyan);
  box-shadow: var(--shadow-card), var(--shadow-cyan);
}

.about-graphic-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.about-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  background: rgba(43, 42, 44, 0.9);
  border-top: 1px solid var(--border);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-cyan);
  box-shadow: var(--shadow-card), 0 0 28px rgba(0, 229, 255, 0.14);
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--cyan);
  letter-spacing: 0.08em;
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.28);
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.service-card:hover .service-icon {
  background: var(--cyan);
  color: var(--graphite-deep);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.42);
}

.service-card h3 {
  font-size: 1.32rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--vapor);
}

.service-card p {
  margin: 0 0 24px;
  color: var(--platinum);
  opacity: 0.86;
  font-size: 0.94rem;
  flex: 1;
}

.deliverables {
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.deliverables li {
  font-size: 0.87rem;
  color: var(--vapor);
  display: flex;
  align-items: center;
  gap: 10px;
}

.deliverables li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--ember);
  flex-shrink: 0;
}

/* Selected Work Grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.work-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.work-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-cyan);
  box-shadow: var(--shadow-card), 0 0 30px rgba(0, 229, 255, 0.16);
}

.work-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.work-index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.work-category {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.26);
  color: var(--cyan);
}

.work-card h3 {
  font-size: 1.28rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--vapor);
}

.work-card p {
  margin: 0 0 22px;
  color: var(--platinum);
  opacity: 0.86;
  font-size: 0.94rem;
  flex: 1;
}

.work-metric {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(43, 42, 44, 0.88);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--ember);
  letter-spacing: -0.03em;
  flex-shrink: 0;
  text-shadow: 0 0 18px rgba(255, 90, 60, 0.34);
}

.work-card:nth-child(2) .metric-value {
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.32);
}

.work-card:nth-child(3) .metric-value {
  color: var(--amber);
  text-shadow: 0 0 18px rgba(245, 158, 11, 0.32);
}

.metric-label {
  font-size: 0.82rem;
  color: var(--platinum);
  opacity: 0.86;
  line-height: 1.35;
}

.work-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.work-tags {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}

.work-link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cyan);
  white-space: nowrap;
  transition: transform 0.2s var(--ease);
}

.work-card:hover .work-link {
  transform: translateX(4px);
}

/* Why Antwork & Pipeline */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 44px;
}

.pillar-card {
  padding: 30px;
  transition: border-color 0.25s var(--ease);
}

.pillar-card:hover {
  border-color: var(--border-cyan);
}

.pillar-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ember);
  margin-bottom: 16px;
}

.pillar-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--vapor);
}

.pillar-card p {
  margin: 0;
  color: var(--platinum);
  opacity: 0.86;
  font-size: 0.94rem;
}

.pillar-card code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--cyan-dim);
  color: var(--cyan);
}

.process-band {
  border-top: 1px solid var(--border);
  padding-top: 38px;
}

.process-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 24px;
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.process-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-hex {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--cyan);
  background: var(--cyan-dim);
  clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
}

.process-steps strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--vapor);
}

.process-steps span {
  display: block;
  font-size: 0.87rem;
  color: var(--platinum);
  opacity: 0.82;
  line-height: 1.5;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: start;
}

.contact-lead {
  margin: 18px 0 32px;
  font-size: 1.06rem;
  color: var(--platinum);
  opacity: 0.9;
  max-width: 44ch;
}

.contact-lead strong {
  color: var(--cyan);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.email-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-link {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 600;
  color: var(--vapor);
  border-bottom: 1.5px solid var(--cyan);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease);
}

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

.copy-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(241, 242, 242, 0.06);
  color: var(--vapor);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.copy-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
}

.contact-value {
  font-size: 0.95rem;
  color: var(--vapor);
  font-weight: 500;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.social-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--platinum);
  transition: color 0.2s var(--ease);
}

.social-links a:hover {
  color: var(--cyan);
}

/* Contact Form */
.contact-form {
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-color: var(--border-strong);
}

.form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  border: none;
  padding: 0;
  margin: 0;
}

.form-group label,
.form-group legend {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--vapor);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: rgba(43, 42, 44, 0.8);
  color: var(--vapor);
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--ink-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: rgba(43, 42, 44, 0.96);
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-dim);
}

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

.topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-pill {
  position: relative;
  cursor: pointer;
}

.topic-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.topic-pill span {
  display: inline-block;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(43, 42, 44, 0.72);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--platinum);
  transition: all 0.2s var(--ease);
}

.topic-pill input:checked + span {
  background: var(--cyan-dim);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.18);
}

.topic-pill input:focus-visible + span {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.form-note {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
  text-align: center;
}

/* Footer — Official #58595B Brand Lockup Tone */
.site-footer {
  border-top: 1px solid var(--border);
  background: #363537;
  padding: 52px 0;
  position: relative;
  z-index: 2;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px 48px;
}

.footer-brand-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  max-width: 680px;
}

.footer-logo-img {
  width: 132px;
  height: auto;
  opacity: 0.94;
  transition: opacity 0.2s var(--ease);
}

.footer-logo-img:hover {
  opacity: 1;
}

.footer-bio {
  margin: 0;
  flex: 1 1 320px;
  font-size: 0.9rem;
  color: var(--platinum);
  opacity: 0.84;
}

.footer-bio strong {
  color: var(--vapor);
}

.footer-meta {
  text-align: right;
}

.footer-meta p {
  margin: 0 0 4px;
  font-size: 0.86rem;
  color: var(--platinum);
  opacity: 0.82;
}

.footer-meta p:last-child {
  margin-bottom: 0;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(24, 23, 25, 0.78);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-dialog {
  width: min(640px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--graphite);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-card), var(--shadow-cyan);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.modal-header > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(241, 242, 242, 0.06);
  color: var(--vapor);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.modal-close:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
}

.modal-title {
  font-size: 1.55rem;
  margin-bottom: 20px;
  color: var(--vapor);
}

.modal-section {
  margin-bottom: 18px;
}

.modal-section h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
}

.modal-section p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--platinum);
  opacity: 0.88;
}

.modal-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.modal-stack span {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 229, 255, 0.28);
  color: var(--cyan);
}

.modal-footer {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  background: var(--graphite-deep);
  color: var(--cyan);
  border: 1px solid var(--border-cyan);
  padding: 12px 18px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  box-shadow: var(--shadow-card), var(--shadow-cyan);
}

.toast[hidden] {
  display: none;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .pulse-dot,
  .rf-ring,
  .signal-pulse,
  .logo-scanline {
    animation: none;
  }
}

/* Responsive Breakpoints */
@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .site-nav,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .services-grid,
  .work-grid,
  .pillars-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .spec-strip-inner {
    justify-content: flex-start;
  }

  .brand-sub {
    display: none;
  }
}
