/* ===== Fonts ===== */
@font-face {
  font-family: 'Monument Grotesk';
  src: url('fonts/MonumentGrotesk-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Monument Grotesk';
  src: url('fonts/MonumentGrotesk-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Monument Grotesk';
  src: url('fonts/MonumentGrotesk-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Monument Grotesk';
  src: url('fonts/MonumentGrotesk-Heavy.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Monument Grotesk Mono';
  src: url('fonts/MonumentGroteskMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Monument Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f5f7fa;
  background-image:
    linear-gradient(rgba(0, 15, 30, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 15, 30, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  color: #000F1E;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Noise overlay for depth */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px;
  z-index: 1000;
}

/* Skip to content — accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: #000F1E;
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 6px 6px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  z-index: 100;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

.page {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  padding: 56px 64px;
  box-shadow:
    0 1px 3px rgba(0, 15, 30, .04),
    0 8px 32px rgba(0, 15, 30, .06);
}

/* ===== Header ===== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 3px solid #FFFF00;
  padding-bottom: 24px;
  margin-bottom: 36px;
}
.logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.logo-row .logo-x {
  color: #b7b8b9;
  font-size: 20px;
  font-weight: 300;
}
.header-left h1 {
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: #000F1E;
  text-wrap: balance;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.header-left p {
  font-size: 14.5px;
  color: #656A6D;
  margin-top: 6px;
  letter-spacing: .3px;
}
.badge-group { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.badge {
  font-family: 'Monument Grotesk', sans-serif;
  background: #000F1E;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: .2px;
}
.badge-dark { background: #000F1E; }

/* ===== Intro ===== */
.intro {
  background: rgba(0, 15, 30, 0.03);
  border-left: 3px solid #000F1E;
  border-radius: 0 8px 8px 0;
  padding: 22px 28px;
  margin-bottom: 40px;
  font-size: 14.5px;
  line-height: 1.75;
  color: #000F1E;
  text-wrap: pretty;
}
.intro strong { color: #000F1E; font-weight: 700; }

/* ===== Section Titles ===== */
.section-title {
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #000F1E;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 15, 30, 0.08);
}

/* ===== Column Grids ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 36px; }
.three-col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-bottom: 36px; }
.four-col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 36px; }

/* ===== Generic Cards ===== */
.card {
  background: #f5f5f4;
  border-radius: 8px;
  padding: 24px 26px;
  border: 1px solid rgba(0, 15, 30, 0.06);
  transition: box-shadow .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover {
  box-shadow: 0 4px 16px rgba(0, 15, 30, .06);
}
.card h3 {
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 15px;
  letter-spacing: .2px;
  color: #000F1E;
  font-weight: 700;
  margin-bottom: 14px;
}
.card ul { list-style: none; }
.card ul li {
  font-size: 14.5px;
  line-height: 1.7;
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
  color: #53565a;
  text-wrap: pretty;
}
.card ul li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: #b7b8b9;
  font-size: 14px;
}

/* ===== Workshop Cards (Connect) ===== */
.workshop-card {
  background: #fff;
  border: 1px solid rgba(0, 15, 30, 0.08);
  border-radius: 8px;
  padding: 26px 28px;
  position: relative;
  transition: box-shadow .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.workshop-card:hover {
  box-shadow: 0 6px 20px rgba(0, 15, 30, .07);
}
.workshop-card .wnum {
  font-family: 'Monument Grotesk', sans-serif;
  display: inline-block;
  background: #000F1E;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  letter-spacing: .3px;
}
.workshop-card h3 {
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #000F1E;
  margin-bottom: 10px;
  line-height: 1.35;
}
.workshop-card .goal {
  font-size: 14.5px;
  color: #000F1E;
  font-weight: 600;
  margin-bottom: 12px;
}
.workshop-card ul { list-style: none; margin-bottom: 16px; }
.workshop-card ul li {
  font-size: 14.5px;
  line-height: 1.7;
  padding: 3px 0 3px 18px;
  position: relative;
  color: #53565a;
  text-wrap: pretty;
}
.workshop-card ul li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  color: #000F1E;
  font-size: 14.5px;
}
.deliverable {
  background: #f5f7fa;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 14px;
  color: #53565a;
  line-height: 1.6;
}
.deliverable strong { color: #000F1E; }

/* ===== Why / Four Cards ===== */
.why-card, .four-card {
  background: #f5f5f4;
  border: 1px solid rgba(0, 15, 30, 0.06);
  border-radius: 8px;
  padding: 24px 26px;
  transition: box-shadow .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.why-card:hover, .four-card:hover {
  box-shadow: 0 4px 16px rgba(0, 15, 30, .06);
}
.why-card h4, .four-card h4 {
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #000F1E;
  letter-spacing: .1px;
  margin-bottom: 10px;
}
.why-card p, .four-card p {
  font-size: 14.5px;
  color: #53565a;
  line-height: 1.7;
  text-wrap: pretty;
}

/* ===== Table ===== */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 36px;
  font-size: 14.5px;
  box-shadow: 0 1px 4px rgba(0, 15, 30, .06);
}
thead tr { background: #000F1E; color: #fff; }
thead th {
  font-family: 'Monument Grotesk', sans-serif;
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .3px;
}
tbody tr { transition: background .15s ease; }
tbody tr:nth-child(even) { background: #f5f5f4; }
tbody tr:hover { background: #f0f1f5; }
tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0, 15, 30, 0.08);
  color: #53565a;
  vertical-align: top;
  line-height: 1.6;
}
tbody tr:last-child td { border-bottom: none; }
tbody td:first-child {
  font-family: 'Monument Grotesk', sans-serif;
  font-weight: 700;
  color: #000F1E;
  white-space: nowrap;
}
tbody td:last-child {
  color: #000F1E;
  font-weight: 500;
  background: rgba(0, 15, 30, .04);
}
.td-icon { float: left; margin-right: 10px; margin-top: 2px; }

/* ===== Logistics Tiles ===== */
.logistics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}
.log-tile {
  background: #000F1E;
  border-radius: 8px;
  padding: 20px 22px;
  text-align: center;
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.log-tile:hover { transform: translateY(-2px); }
.log-tile .log-value {
  font-family: 'Monument Grotesk Mono', monospace;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.log-tile .log-label {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

/* ===== Qualification Grid ===== */
.qual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.qual-col { list-style: none; }
.qual-col li {
  font-size: 14.5px;
  line-height: 1.7;
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
  color: #53565a;
  text-wrap: pretty;
}
.qual-col li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #00c853;
  font-weight: 700;
}

/* ===== CTA ===== */
.cta-heading {
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #000F1E;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: -.2px;
  text-wrap: balance;
}
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cta-card {
  background: #000F1E;
  border-radius: 8px;
  padding: 28px 30px;
  text-decoration: none;
  display: block;
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.cta-card:hover, .cta-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 15, 30, .18);
}
.cta-card:active {
  transform: translateY(-1px) scale(.99);
}
.cta-card:focus-visible { outline: 2px solid #000F1E; outline-offset: 3px; }
.cta-card .cta-icon { margin-bottom: 12px; }
.cta-card .cta-label {
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: .2px;
}
.cta-card .cta-detail {
  font-size: 15px;
  color: rgba(255, 255, 255, .5);
  line-height: 1.55;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

/* ===== Entrance Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.card, .workshop-card, .why-card, .four-card, .log-tile, .cta-card, .tile {
  animation: fadeUp .6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.card:nth-child(2), .why-card:nth-child(2), .four-card:nth-child(2), .tile:nth-child(2) { animation-delay: .08s; }
.card:nth-child(3), .why-card:nth-child(3), .four-card:nth-child(3), .tile:nth-child(3) { animation-delay: .16s; }
.four-card:nth-child(4) { animation-delay: .24s; }
.log-tile:nth-child(2) { animation-delay: .08s; }
.log-tile:nth-child(3) { animation-delay: .16s; }
.log-tile:nth-child(4) { animation-delay: .24s; }

.cta-card:nth-child(2) { animation-delay: .08s; }

/* ===== Responsive: Tablet ===== */
@media (max-width: 860px) {
  .page { padding: 36px 32px; }
  .two-col { grid-template-columns: 1fr; }
  .three-col { grid-template-columns: 1fr 1fr; }
  .four-col { grid-template-columns: 1fr 1fr; }
  .logistics-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== Responsive: Mobile ===== */
@media (max-width: 600px) {
  .page { padding: 28px 22px; }
  .header { flex-direction: column; gap: 14px; }
  .header-left h1 { font-size: 24px; }
  .badge-group { align-items: flex-start; }
  .intro { padding: 16px 20px; }
  .section-title { font-size: 18px; }
  .two-col { grid-template-columns: 1fr; gap: 14px; }
  .three-col { grid-template-columns: 1fr; gap: 14px; }
  .four-col { grid-template-columns: 1fr; gap: 14px; }
  .qual-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .logistics-grid { grid-template-columns: 1fr; }
  table { font-size: 13px; }
  thead th { padding: 10px 12px; }
  tbody td { padding: 10px 12px; }
  tbody td:first-child { white-space: normal; }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  .cta-card,
  .tile,
  .log-tile,
  .card,
  .workshop-card,
  .why-card,
  .four-card { transition: none; animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== Print ===== */
@media print {
  body::after { display: none; }
  .skip-link { display: none; }
}
