@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;700&family=IBM+Plex+Mono:wght@400;500;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0A2540;
  --white: #FFFFFF;
  --rust: #C8531C;
  --gray: #697386;
  --border: #E3E8EE;
  --bg-alt: #F6F9FC;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', sans-serif;
  background: var(--white);
  color: var(--navy);
  line-height: 1.6;
}

/* NAV */
nav {
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.01em;
  padding: 1.1rem 0;
  display: flex;
  align-items: center;
}

.nav-logo span { color: var(--rust); margin-right: 0.5rem; font-weight: 400; }

.nav-cta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  background: var(--navy);
  text-decoration: none;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  letter-spacing: 0.04em;
  border-left: 1px solid var(--border);
  transition: background 0.15s;
}

.nav-cta:hover { background: var(--rust); }

/* HERO */
.hero {
  background: var(--navy);
  padding: 5rem 2rem 4rem;
  border-bottom: 3px solid var(--rust);
}

.hero-inner { max-width: 1200px; margin: 0 auto; }

.hero-mono {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-bottom: 1.5rem;
}

.hero h1 em { color: var(--rust); font-style: normal; }

.hero-rule { border: none; border-top: 1px solid #1e3a52; margin: 2rem 0; }

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: end;
}

.hero-sub {
  font-size: 0.975rem;
  color: #8da8bf;
  max-width: 56ch;
  line-height: 1.75;
}

.btn-primary {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--rust);
  text-decoration: none;
  padding: 0.9rem 2rem;
  border: 1px solid var(--rust);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.btn-primary:hover { background: transparent; color: var(--rust); }

/* SHARED */
.page-section { padding: 4rem 2rem; border-bottom: 1px solid var(--border); }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-mono {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gray);
  display: block;
  margin-bottom: 0.5rem;
}

.section-heading {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}

/* SERVICES — tabular */
.services-section { background: var(--bg-alt); }

.services-table { width: 100%; border-collapse: collapse; }

.services-table thead tr { border-bottom: 2px solid var(--navy); }

.services-table th {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray);
  padding: 0 1rem 0.75rem;
  text-align: left;
}

.services-table th:first-child { padding-left: 0; }

.services-table tbody tr { border-bottom: 1px solid var(--border); }
.services-table tbody tr:last-child { border-bottom: none; }

.services-table td {
  padding: 1.5rem 1rem;
  vertical-align: top;
  font-size: 0.9rem;
}

.services-table td:first-child { padding-left: 0; font-family: 'IBM Plex Mono', monospace; font-size: 0.8rem; font-weight: 700; color: var(--navy); white-space: nowrap; width: 30%; }

.services-table td:nth-child(2) { color: #444; line-height: 1.65; }

.services-table td:last-child { font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; color: var(--rust); white-space: nowrap; width: 28%; }

/* WHO WE WORK WITH */
.clients-section {}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.client-block {
  padding: 2rem;
  border-right: 1px solid var(--border);
}

.client-block:last-child { border-right: none; }

.client-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--rust);
  display: block;
  margin-bottom: 0.5rem;
}

.client-block h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.client-block p { font-size: 0.85rem; color: var(--gray); line-height: 1.65; }

/* ABOUT */
.about-section {}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
}

.about-text p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-sidebar {}

.sidebar-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.sidebar-card-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray);
  display: block;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.35rem;
}

.sidebar-card-val {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
}

/* TEAM */
.team-section { background: var(--bg-alt); }

.team-table { width: 100%; border-collapse: collapse; border: 1px solid var(--border); }

.team-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.team-table tr:last-child td { border-bottom: none; }

.team-table td:first-child {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray);
  width: 180px;
  white-space: nowrap;
}

.team-table td:last-child { font-size: 0.9rem; color: #444; line-height: 1.65; }

.team-name-cell { font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.team-name-cell .mono-sub { font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; color: var(--rust); font-weight: 500; display: block; margin-top: 0.15rem; }

/* CONTACT */
.contact-section { background: var(--navy); }
.contact-section .section-heading { color: var(--white); }
.contact-section .section-mono { color: var(--gray); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info p { font-size: 0.9rem; color: #8da8bf; line-height: 1.7; margin-bottom: 1rem; }

.info-row { margin-bottom: 0.75rem; }
.info-mono { font-family: 'IBM Plex Mono', monospace; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gray); display: block; margin-bottom: 0.2rem; }
.info-val { font-size: 0.9rem; color: #8da8bf; }
.info-val a { color: var(--rust); text-decoration: none; }
.info-val a:hover { text-decoration: underline; }

.contact-form { display: flex; flex-direction: column; gap: 0; }

.contact-form input,
.contact-form textarea {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  background: #071828;
  border: 1px solid #1e3a52;
  border-bottom: none;
  color: var(--white);
  width: 100%;
  outline: none;
  transition: border-color 0.15s;
}

.contact-form input:focus, .contact-form textarea:focus { border-color: var(--rust); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #3a5870; }
.contact-form textarea { border-bottom: 1px solid #1e3a52; resize: vertical; min-height: 120px; margin-bottom: 1rem; }

.btn-submit {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--rust);
  color: var(--white);
  border: 1px solid var(--rust);
  padding: 0.9rem 2rem;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.15s, color 0.15s;
}

.btn-submit:hover { background: transparent; color: var(--rust); }

/* FOOTER */
footer {
  background: #060f1a;
  border-top: 1px solid #1e3a52;
  padding: 1.5rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: #8da8bf;
}

.footer-logo span { color: var(--rust); }

.footer-address { font-size: 0.72rem; color: #3a5870; line-height: 1.5; }

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-family: 'IBM Plex Mono', monospace; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: #3a5870; text-decoration: none; }
.footer-links a:hover { color: var(--rust); }

.footer-copy { font-family: 'IBM Plex Mono', monospace; font-size: 0.65rem; color: #1e3a52; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .clients-grid { grid-template-columns: 1fr; }
  .client-block { border-right: none; border-bottom: 1px solid var(--border); }
  .client-block:last-child { border-bottom: none; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .services-table thead { display: none; }
  .services-table tbody tr { display: block; border-bottom: 1px solid var(--border); padding: 1.25rem 0; }
  .services-table td { display: block; padding: 0.25rem 0; border: none; }
  .services-table td:first-child { width: auto; }
}

@media (max-width: 375px) {
  nav { padding: 0 1rem; }
  .page-section { padding: 3rem 1rem; }
  .hero { padding: 3.5rem 1rem 3rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
