/* ========================================
   FOB CONSULTING SERVICES — BRAND SYSTEM
   Palette: Deep navy, signal orange, graphite
   (matches the FOB mark used across other
   FOB Solutions materials — not a generic
   template palette)
======================================== */
:root {
  --navy:        #0D1B2E;
  --navy-2:      #142A45;
  --navy-3:      #1D3A5F;
  --orange:      #E8510A;
  --orange-light:#FF7A3D;
  --paper:       #F5F6F4;
  --white:       #FFFFFF;
  --ink:         #10161F;
  --muted:       #5B6572;
  --muted-soft:  #8A93A0;
  --line:        #DBDFDF;
  --line-soft:   #E7E9E8;
  --green:       #1E8E5A;
  --shadow-sm:   0 8px 22px rgba(13, 27, 46, 0.08);
  --shadow-lg:   0 30px 70px rgba(13, 27, 46, 0.16);
  --radius-sm:   3px;
  --radius-md:   6px;
  --radius-lg:   10px;
  --max-width:   1180px;
}

/* ========================================
   GLOBAL RESET AND BASE STYLES
======================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-light {
  background: var(--white);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--orange);
}

.section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.14;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.section-description {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.06rem;
  margin-bottom: 40px;
}

.accent {
  color: var(--orange);
}

/* ========================================
   BUTTONS
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-light);
  box-shadow: 0 14px 30px rgba(232, 81, 10, 0.28);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

/* ========================================
   LAYOUT UTILITIES
======================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 44px;
  align-items: center;
}

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-3);
}

/* Signature device: corner registration ticks —
   a small nod to blueprints / schematics, echoing
   "systems" as FOB's core promise. Used sparingly
   on the primary framed panels only. */
.corner-ticks {
  position: relative;
}

.corner-ticks::before,
.corner-ticks::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--orange);
  opacity: 0.9;
  pointer-events: none;
}

.corner-ticks::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.corner-ticks::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

/* ========================================
   HEADER AND NAVIGATION
======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 246, 244, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 1.2rem;
  position: relative;
  overflow: hidden;
}

.logo-mark::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--orange);
  position: absolute;
  bottom: 6px;
  right: 6px;
}

.logo-mark::after {
  display: none;
}

.logo-text {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 600;
}

.logo-text span {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  margin-top: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}

.nav-links a {
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
  padding: 64px 0 40px;
  background:
    repeating-linear-gradient(0deg, rgba(13, 27, 46, 0.035) 0, rgba(13, 27, 46, 0.035) 1px, transparent 1px, transparent 88px),
    repeating-linear-gradient(90deg, rgba(13, 27, 46, 0.035) 0, rgba(13, 27, 46, 0.035) 1px, transparent 1px, transparent 88px),
    var(--paper);
}

.hero-shell {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 52px;
  box-shadow: var(--shadow-lg);
}

.hero-content {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  line-height: 1.06;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero p {
  color: var(--muted);
  font-size: 1.14rem;
  max-width: 610px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}

.highlight-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.93rem;
}

.highlight-icon {
  color: var(--orange);
  font-size: 1.3rem;
  line-height: 1.1;
  font-family: 'IBM Plex Mono', monospace;
}

.highlight-item strong {
  display: block;
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  margin-bottom: 3px;
  font-weight: 700;
}

/* ========================================
   SYSTEM PREVIEW DASHBOARD
======================================== */
.system-preview {
  position: relative;
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 480px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.system-preview::before {
  content: "FIG. 01 \2014  OPERATIONS OVERVIEW";
  position: absolute;
  top: -26px;
  left: 2px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted-soft);
  text-transform: uppercase;
}

.preview-sidebar {
  background: var(--navy);
  color: var(--white);
  padding: 32px 20px;
}

.mini-logo {
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--orange);
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  margin-bottom: 32px;
}

.side-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 0.88rem;
}

.side-item.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-left: 2px solid var(--orange);
}

.preview-main {
  padding: 36px 34px;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.preview-header h3 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--navy);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  background: var(--paper);
  min-height: 124px;
}

.metric strong {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-variant-numeric: tabular-nums;
  font-size: 2rem;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 8px;
}

.metric span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.sparkline {
  height: 26px;
  margin-top: 18px;
  border-bottom: 2px solid var(--orange);
  transform: skewY(-6deg);
  opacity: 0.85;
}

.sparkline.blue {
  border-color: var(--navy-3);
}

.sparkline.green {
  border-color: var(--green);
}

.task-list {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 26px;
}

.task-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.92rem;
}

.task-item:last-child {
  border-bottom: 0;
}

.status-ready,
.status-active {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 3px;
}

.status-ready {
  color: var(--orange);
  background: rgba(232, 81, 10, 0.1);
}

.status-active {
  color: var(--navy-3);
  background: rgba(29, 58, 95, 0.1);
}

.preview-bottom {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.chart-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  background: var(--white);
}

.chart-box h4 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
}

.fake-chart {
  height: 104px;
  background:
    linear-gradient(to right, transparent 0 14%, rgba(13, 27, 46, 0.06) 14% 15%, transparent 15% 31%, rgba(13, 27, 46, 0.06) 31% 32%, transparent 32% 48%, rgba(13, 27, 46, 0.06) 48% 49%, transparent 49% 65%, rgba(13, 27, 46, 0.06) 65% 66%, transparent 66%),
    linear-gradient(to top, rgba(232, 81, 10, 0.12), transparent);
  border-bottom: 2px solid var(--orange);
  border-radius: var(--radius-sm);
}

.donut {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: conic-gradient(var(--navy) 0 52%, var(--orange) 52% 82%, var(--line) 82% 100%);
  margin: 8px auto 0;
  position: relative;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 18px;
  background: var(--white);
  border-radius: 50%;
}

/* ========================================
   SERVICES SECTION
======================================== */
.service-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--orange);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  font-size: 1.28rem;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--muted);
  font-size: 0.98rem;
}

.learn-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ========================================
   PROCESS SECTION
======================================== */
.process-step {
  position: relative;
  padding-left: 64px;
  margin-bottom: 30px;
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--orange-light);
  display: grid;
  place-items: center;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
}

.process-step h3 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.process-step p {
  color: var(--muted);
}

.feature-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.feature-box h3 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.7rem;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.feature-box p {
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 24px;
}

.feature-list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.feature-list li {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 13px 14px 13px 34px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: "\2192";
  position: absolute;
  left: 13px;
  color: var(--orange-light);
  font-weight: 700;
}

/* ========================================
   ABOUT AND CONTACT SECTION
======================================== */
.about-badge {
  display: inline-flex;
  padding: 9px 15px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  font-weight: 700;
  margin: 6px 8px 0 0;
  font-size: 0.86rem;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.01em;
}

.quote-box {
  border-left: 3px solid var(--orange);
  padding: 28px;
  background: var(--white);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  color: var(--navy);
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.4;
  box-shadow: var(--shadow-sm);
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.86rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--navy-3);
  box-shadow: 0 0 0 3px rgba(29, 58, 95, 0.12);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-message {
  display: none;
  margin-top: 14px;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  background: rgba(30, 142, 90, 0.1);
  border: 1px solid rgba(30, 142, 90, 0.25);
  color: #146341;
  font-weight: 700;
  font-size: 0.92rem;
}

.contact-info {
  display: grid;
  gap: 18px;
}

.info-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.info-item strong {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: var(--orange);
  margin-bottom: 6px;
}

.info-item span {
  color: var(--navy);
  font-weight: 500;
}

/* ========================================
   FOOTER
======================================== */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 40px 0;
  border-top: 3px solid var(--orange);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer strong {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--orange-light);
}

/* ========================================
   ACCESSIBILITY
======================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .card,
  .nav-links a::after {
    transition: none;
  }
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 1020px) {
  .hero-shell {
    padding: 30px;
  }

  .hero-content,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .system-preview {
    grid-template-columns: 1fr;
  }

  .system-preview::before {
    position: static;
    display: block;
    margin-bottom: 10px;
  }

  .preview-sidebar {
    display: none;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .nav-links {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px 4%;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .mobile-menu-btn {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-shell,
  .contact-card,
  .feature-box {
    padding: 24px;
  }

  .form-grid,
  .metric-row,
  .preview-bottom {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .logo-text {
    font-size: 1.2rem;
  }
}