/* Hallmark · checked: 2026-11-09 · genre: modern-minimal (inferred: B2B engineering consultancy)
 * floor: see sweep · fixed: 2b 6a 10a 15 19 26b 29 30a 33 34 38iii 40 41 48 49a 50 54 64 67 81 F1 F3 F6 F19 · structural: printed in handoff (6b 42 44c 58 78 79)
 * dismissed 49 · the team tabs set a name over a role on purpose, two short lines inside a 350px column
 * dismissed 29 · the two fixed brand orbs sit behind the network canvas at 12% opacity, the brand's own backdrop, not a halo behind text
 * reworded "AI Enablement & Custom "Brains"" to curly quotes · F1 names straight quotes in prose
 * reworded "Let's build something impactful." to a typographic apostrophe · F1 names straight quotes in prose
 * dropped "01 / Capabilities", "02 / Expertise", "03 / Philosophy", hero chip "JMKN Tech" · 54 names the eyebrow; each h2 already says what follows
 * dropped five emoji card icons · 30a names an emoji as an icon
 * finish-review: fix · 4 resolved (bullets, card padding, numerals, role chip) · kept the gold-gradient CTA, it is the brand's MacBook Gold token shared with the logo
 * content pass (keeps the polish system and layout): reworded hero head "Enabling measurable business impact through smart, lean, & scalable technology." to "Lean technology, measurable business impact." · 58 names a nine-word head
 * reworded hero paragraph (29 words) to "An embedded strike team building AI agents, stablecoin rails and marketplaces for startups and SMEs." · 58 names the hero paragraph
 * reworded "High-End Engineering Verticals" to "What we build", its intro, five service paragraphs, the principles intro and three principle paragraphs to the same facts in fewer words · 58 names the screen budget
 * added a track record from the team's own bios on this page, in the strategy card, credited by name
 * dismissed 46a · the four track record figures (84%, 30%, 40%, 55%) are copied from the team profiles already published on this page
 * reworded "Enabling measurable business impact…" head and "High-End Engineering Verticals" as listed above · 58 names the head and the screen budget
 * built: the project · redesign: polish · v2.0.0 */

/* --- JMKN Tech Brand Style System --- */

:root {
  /* OPTION A: SKY CYAN & MACBOOK GOLD (LIGHT THEME DEFAULT) */
  --jmkn-bg-primary: #F5F5F7;          /* Apple anodized silver */
  --jmkn-bg-card: #FFFFFF;
  --jmkn-bg-well: #FFFFFF;             /* Pure white well */

  --jmkn-gold-primary: #FFC107;        /* MacBook Gold */
  --jmkn-gold-gradient: linear-gradient(135deg, #FFE082 0%, #FFC107 40%, #FF8F00 100%);
  --jmkn-gold-ink: #8A5A00;            /* Gold for text on light paper (4.5:1+) */
  --jmkn-gold-tint: rgba(255, 193, 7, 0.10);
  --jmkn-on-gold: #1D1D1F;             /* Ink on gold fills */
  --jmkn-gold-shadow: 0 8px 24px rgba(255, 193, 7, 0.2);

  --jmkn-violet-primary: #0EA5C4;      /* Sky Cyan for Light theme contrast */
  --jmkn-accent-ink: #0B7A91;          /* Sky Cyan for text on light paper (4.5:1+) */
  --jmkn-accent-tint: rgba(14, 165, 196, 0.06);
  --jmkn-wash-hover: rgba(0, 0, 0, 0.05);
  --jmkn-error: #B42318;

  --jmkn-border: #D2D2D7;              /* Apple clean silver border */
  --jmkn-border-hover: #86868B;

  --jmkn-text-primary: #1D1D1F;        /* Deep obsidian black */
  --jmkn-text-secondary: #515154;      /* Soft slate gray */
  --jmkn-text-muted: #6E6E73;          /* Muted gray, darkened to clear 4.5:1 on silver */

  --jmkn-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  --jmkn-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.08);

  --logo-well: #EFEFEF;
  --logo-key: #1C1C1E;
  --logo-key-border: #2C2C2E;
  --logo-key-text: #D1D1D6;

  --jmkn-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --jmkn-font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  
  --jmkn-radius-large: 20px;
  --jmkn-radius-medium: 12px;
  --jmkn-radius-small: 8px;
  
  --transition-speed: 0.3s;
}

[data-theme="dark"] {
  /* OPTION A: SKY CYAN & MACBOOK GOLD (DARK THEME ACTIVE) */
  --jmkn-bg-primary: #09090C;          /* Obsidian dark background */
  --jmkn-bg-card: #111118;
  --jmkn-bg-well: #12121A;             /* Charcoal well */

  --jmkn-gold-primary: #FFC107;
  --jmkn-gold-gradient: linear-gradient(135deg, #FFE082 0%, #FFC107 40%, #FF8F00 100%);
  --jmkn-gold-ink: #FFC107;

  --jmkn-violet-primary: #92E2EC;      /* Vibrant Sky Cyan for Dark mode */
  --jmkn-accent-ink: #92E2EC;
  --jmkn-accent-tint: rgba(146, 226, 236, 0.06);
  --jmkn-wash-hover: rgba(255, 255, 255, 0.05);
  --jmkn-error: #FF6B6B;

  --jmkn-border: #21222D;              /* Dark slate border */
  --jmkn-border-hover: #3E4057;
  
  --jmkn-text-primary: #FFFFFF;        /* Space white */
  --jmkn-text-secondary: #FFF8E7;      /* Champagne white */
  --jmkn-text-muted: #8E8E93;
  
  --jmkn-shadow: none;
  --jmkn-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.4);

  --logo-well: #111215;
  --logo-key: #1C1C1E;
  --logo-key-border: #2C2C2E;
  --logo-key-text: #D1D1D6;
}

/* --- BASE STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  background-color: var(--jmkn-bg-primary);
  color: var(--jmkn-text-secondary);
  font-family: var(--jmkn-font-family);
  line-height: 1.6;
  overflow-x: clip;
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

::selection {
  background: var(--jmkn-gold-primary);
  color: var(--jmkn-on-gold);
}

h1, h2, h3, h4 {
  color: var(--jmkn-text-primary);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  overflow-wrap: break-word;
  min-width: 0;
}

h1, h2, h3 {
  text-wrap: balance;
}

p, li {
  text-wrap: pretty;
}

strong, b {
  font-weight: 600;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

/* --- NETWORK BACKGROUND CANVAS --- */
#network-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

/* --- BACKGROUND GLOWING ORBS --- */
.bg-orb {
  position: fixed; /* fixed boxes never extend document scroll width -> no horizontal overflow */
  border-radius: 50%;
  filter: blur(150px);
  z-index: -3;
  opacity: 0.12;
  transition: background var(--transition-speed) ease;
  pointer-events: none;
}

.orb-left {
  width: 500px;
  height: 500px;
  background: var(--jmkn-violet-primary);
  top: -100px;
  left: -150px;
}

.orb-right {
  width: 600px;
  height: 600px;
  background: var(--jmkn-gold-primary);
  top: 500px;
  right: -250px;
}

/* --- HEADER & NAVIGATION --- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  border-bottom: 1px solid var(--jmkn-border);
  background: var(--jmkn-bg-primary);
  transition: background var(--transition-speed) ease, border var(--transition-speed) ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

/* Adapt SVG properties through custom class mappings */
.logo-mark .logo-well {
  fill: var(--logo-well);
  transition: fill var(--transition-speed) ease;
}

.logo-mark .logo-key {
  fill: var(--logo-key);
  stroke: var(--logo-key-border);
}

.logo-mark .logo-key-text {
  fill: var(--logo-key-legend);
}

.logo-mark .logo-key-highlight {
  fill: var(--logo-key);
}

.logo-text {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--jmkn-text-primary);
  white-space: nowrap;
}

.logo-accent {
  color: var(--jmkn-gold-ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.85;
}

.nav-links a:hover {
  color: var(--jmkn-accent-ink);
  opacity: 1;
}

.btn-nav-cta {
  background: var(--jmkn-text-primary);
  color: var(--jmkn-bg-primary) !important;
  padding: 8px 16px;
  border-radius: var(--jmkn-radius-small);
  font-weight: 600 !important;
  white-space: nowrap;
  transition: background var(--transition-speed) ease, transform 0.2s ease !important;
}

.btn-nav-cta:hover {
  transform: translateY(-1px);
  background: var(--jmkn-accent-ink);
  opacity: 1;
}

.btn-nav-cta:active {
  transform: translateY(0);
}

.btn-theme-toggle {
  background: none;
  border: 1px solid var(--jmkn-border);
  color: var(--jmkn-text-primary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background var(--transition-speed) ease, border var(--transition-speed) ease;
}

.btn-theme-toggle:hover {
  background: var(--jmkn-wash-hover);
}

.btn-theme-toggle:active {
  transform: scale(0.95);
}

/* Theme icons: inline SVG, the one shown follows the active theme */
.theme-icon-svg {
  width: 18px;
  height: 18px;
  display: block;
}

.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

/* Mobile Toggle */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}

.mobile-menu-btn .bar {
  width: 22px;
  height: 2px;
  background-color: var(--jmkn-text-primary);
  transition: transform var(--transition-speed) ease, opacity var(--transition-speed) ease;
}

/* --- MOBILE NAVIGATION OVERLAY --- */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100dvh;
  background: var(--jmkn-bg-primary);
  border-left: 1px solid var(--jmkn-border);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 100px 32px 32px;
  gap: 24px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.4s;
}

/* Hidden from focus only once the script that opens it is running */
.js .mobile-nav:not(.open) {
  visibility: hidden;
}

.mobile-nav.open {
  transform: translateX(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0s;
}

.mobile-link {
  font-size: 18px;
  font-weight: 600;
  color: var(--jmkn-text-primary);
}

.btn-mobile-cta {
  background: var(--jmkn-text-primary);
  color: var(--jmkn-bg-primary) !important;
  text-align: center;
  padding: 12px;
  border-radius: var(--jmkn-radius-small);
  margin-top: 20px;
  white-space: nowrap;
}

/* Mobile Menu Active animation */
.mobile-menu-btn.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- HERO SECTION --- */
.hero-section {
  padding: 120px 24px;
  position: relative;
  min-height: 80svh;
  display: flex;
  align-items: center;
}

.section-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: 54px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--jmkn-text-secondary);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.btn {
  padding: 14px 28px;
  border-radius: var(--jmkn-radius-small);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--transition-speed) ease, transform 0.2s ease, border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  background: var(--jmkn-gold-gradient);
  color: var(--jmkn-on-gold);
  border: 1px solid transparent;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--jmkn-gold-shadow);
}

.btn-secondary {
  background: transparent;
  color: var(--jmkn-text-primary);
  border: 1px solid var(--jmkn-border);
}

.btn-secondary:hover {
  border-color: var(--jmkn-text-primary);
  background: var(--jmkn-wash-hover);
}

/* --- LAYOUT SECTIONS --- */
section {
  padding: 100px 24px;
  position: relative;
}

.section-header {
  max-width: 600px;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--jmkn-text-muted);
}

/* --- TILT CARD --- */
.tilt-card {
  background: var(--jmkn-bg-card);
  color: var(--jmkn-text-secondary);
  border: 1px solid var(--jmkn-border);
  border-radius: var(--jmkn-radius-large);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.1s ease, border var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  will-change: transform;
}

.tilt-card:hover {
  border-color: var(--jmkn-violet-primary);
  box-shadow: var(--jmkn-shadow-hover);
}

/* --- SERVICES GRID --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.service-card {
  z-index: 5;
}

/* Flagship offering: span the full grid width for a balanced 5-card layout */
.service-card-wide {
  grid-column: 1 / -1;
}

.service-card p.card-pricing-note {
  margin-bottom: 0;
}

.card-pricing-note {
  margin-top: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--jmkn-text-muted);
}
.card-pricing-note strong {
  color: var(--jmkn-accent-ink);
  font-weight: 600;
}

.service-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
}

.service-card p {
  color: var(--jmkn-text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.card-bullets {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.card-bullets li {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--jmkn-text-primary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.card-bullets li::before {
  content: "•";
  color: var(--jmkn-violet-primary);
  font-size: 16px;
  line-height: 1.3;
}

/* --- TEAM SECTION --- */
.team-container {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.team-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.team-tab-btn {
  background: var(--jmkn-bg-card);
  border: 1px solid var(--jmkn-border);
  border-radius: var(--jmkn-radius-medium);
  padding: 16px 20px;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border var(--transition-speed) ease, background var(--transition-speed) ease, transform 0.2s ease;
}

.team-tab-btn:hover {
  border-color: var(--jmkn-border-hover);
  transform: translateX(4px);
}

.team-tab-btn:active {
  transform: translateX(2px);
}

.team-tab-btn.active {
  border-color: var(--jmkn-violet-primary);
  background: var(--jmkn-accent-tint);
}

.tab-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--jmkn-text-primary);
}

.tab-subtitle {
  font-size: 12px;
  color: var(--jmkn-text-muted);
}

/* Member detail layout */
.profile-detail-card {
  padding: 48px;
}

.profile-card-header {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}

.profile-image-container {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--jmkn-bg-well);
  border: 2px solid var(--jmkn-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-meta h3 {
  font-size: 24px;
  margin-bottom: 4px;
}

.profile-role-badge {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--jmkn-gold-ink);
  margin-bottom: 8px;
}

.profile-tagline {
  font-size: 14px;
  font-style: italic;
  color: var(--jmkn-text-muted);
}

.profile-divider {
  border: 0;
  height: 1px;
  background: var(--jmkn-border);
  margin-bottom: 28px;
}

.profile-card-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.profile-column h4 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--jmkn-accent-ink);
  margin-bottom: 12px;
}

.profile-column p {
  font-size: 14px;
  color: var(--jmkn-text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.achievements-list {
  list-style: none;
}

.achievements-list li {
  font-size: 13px;
  color: var(--jmkn-text-secondary);
  margin-bottom: 10px;
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}

.achievements-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--jmkn-gold-ink);
}

.tech-stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tech-stack-pills span {
  font-family: var(--jmkn-font-mono);
  font-size: 12px;
  font-weight: 500;
  background: var(--jmkn-bg-well);
  border: 1px solid var(--jmkn-border);
  color: var(--jmkn-text-primary);
  padding: 4px 10px;
  border-radius: 6px;
}

/* --- STRATEGY SECTION --- */
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.strategy-card {
  background: var(--jmkn-bg-well);
  color: var(--jmkn-text-secondary);
  border: 1px solid var(--jmkn-border);
  border-radius: var(--jmkn-radius-large);
  padding: 40px;
}

.strat-number {
  font-family: var(--jmkn-font-mono);
  font-size: 32px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--jmkn-text-muted);
  margin-bottom: 20px;
}

.strategy-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.strategy-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--jmkn-text-secondary);
}

/* --- TRACK RECORD (reuses the strategy card) --- */
.record-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.record-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
}

.record-card .strat-number {
  font-size: 40px;
  font-variant-numeric: tabular-nums;
  color: var(--jmkn-text-primary);
  margin-bottom: 16px;
}

.record-more {
  max-width: 820px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--jmkn-text-muted);
}

@media (max-width: 1024px) {
  .record-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .record-grid { grid-template-columns: minmax(0, 1fr); }
}

.strategy-card p.record-who {
  margin-top: auto;
  padding-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--jmkn-gold-ink);
}

.inline-link {
  color: var(--jmkn-accent-ink);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

/* --- CONTACT SECTION --- */
.contact-section {
  padding-bottom: 120px;
}

.contact-card {
  padding: 0;
  z-index: 5;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
}

.contact-info-panel {
  padding: 60px;
  background: var(--jmkn-accent-tint);
  border-right: 1px solid var(--jmkn-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-panel h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.contact-info-panel p {
  font-size: 15px;
  color: var(--jmkn-text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
}

.domain-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.domain-info span {
  font-size: 14px;
  color: var(--jmkn-text-muted);
}

.domain-info a {
  font-size: 20px;
  font-weight: 600;
  color: var(--jmkn-accent-ink);
}

.contact-form-panel {
  padding: 60px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--jmkn-text-primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--jmkn-radius-small);
  border: 1px solid var(--jmkn-text-muted);
  background: var(--jmkn-bg-well);
  color: var(--jmkn-text-primary);
  caret-color: var(--jmkn-accent-ink);
  font-family: var(--jmkn-font-family);
  font-size: 16px;
  transition: border-color var(--transition-speed) ease;
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: var(--jmkn-text-secondary);
}

.form-group input:focus-visible,
.form-group textarea:focus-visible {
  border-color: var(--jmkn-violet-primary);
  outline: 2px solid var(--jmkn-violet-primary);
  outline-offset: 2px;
}

.form-group input:disabled,
.form-group textarea:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-submit {
  width: 100%;
}

/* --- FOOTER --- */
footer {
  border-top: 1px solid var(--jmkn-border);
  padding: 40px 24px;
  background: var(--jmkn-bg-well);
  text-align: center;
  font-size: 13px;
  color: var(--jmkn-text-muted);
  transition: background var(--transition-speed) ease, border var(--transition-speed) ease;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .team-container {
    grid-template-columns: minmax(0, 1fr);
  }

  .team-tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .team-tab-btn {
    flex: 1 1 200px;
  }
  
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  
  .contact-info-panel {
    border-right: none;
    border-bottom: 1px solid var(--jmkn-border);
    padding: 40px;
  }
  
  .contact-form-panel {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  header {
    position: relative;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .services-grid,
  .strategy-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-card-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .card-bullets {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .nav-container,
  .hero-section,
  section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .tilt-card,
  .strategy-card,
  .profile-detail-card {
    padding: 24px;
  }

  .contact-info-panel,
  .contact-form-panel {
    padding: 24px;
  }

  .hero-title {
    font-size: 32px;
  }

  .logo-text {
    font-size: 18px;
    letter-spacing: 1px;
  }
}

/* --- ACCESSIBILITY: VISIBLE KEYBOARD FOCUS --- */
a:focus-visible,
button:focus-visible,
.team-tab-btn:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--jmkn-violet-primary);
  outline-offset: 3px;
  border-radius: var(--jmkn-radius-small);
}

/* --- ACCESSIBILITY: RESPECT REDUCED-MOTION --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  /* Disable the interactive 3D tilt + node canvas drift */
  .tilt-card {
    transform: none !important;
  }

  #network-canvas,
  .bg-orb {
    display: none;
  }
}

/* --- CONTACT FORM STATUS MESSAGE --- */
.form-status {
  margin-top: 14px;
  min-height: 18px;
  font-size: 13px;
  line-height: 1.5;
}
.form-status[data-state="pending"] { color: var(--jmkn-text-muted); }
.form-status[data-state="success"] { color: var(--jmkn-accent-ink); }
.form-status[data-state="error"]   { color: var(--jmkn-error); }
