/* Uptime Lab Services — shared styles */

:root {
  --primary: #1c3a4a;
  --primary-dark: #0e1f2a;
  --accent: #6b8e6f;
  --tan: #b5c7a8;
  --cream: #f2efe7;
  --bg: #fafaf7;
  --surface: #ffffff;
  --text: #1f1f1f;
  --text-muted: #5a5a5a;
  --border: #e6e1d4;
  --shadow: 0 2px 12px rgba(14, 31, 42, 0.06);
  --shadow-lg: 0 8px 32px rgba(14, 31, 42, 0.10);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'IBM Plex Serif', Georgia, 'Times New Roman', serif;
  color: var(--primary-dark);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

h1 {
  font-size: 54px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 38px;
  margin-bottom: 24px;
}

h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

p {
  margin-bottom: 18px;
  color: var(--text);
}

p.muted {
  color: var(--text-muted);
}

.eyebrow {
  display: inline-block;
  font-family: 'IBM Plex Mono', 'SF Mono', Consolas, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

/* Header */
header.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary-dark);
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: block;
}

.logo-text {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--primary-dark);
}

.logo-text span {
  font-weight: 400;
  font-style: italic;
  color: var(--primary-dark);
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 38px;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.15s;
}

nav a:hover {
  color: var(--accent);
}

nav a.active {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s;
  border: none;
  font-family: inherit;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-dark);
  border: 1.5px solid var(--primary-dark);
}

.btn-secondary:hover {
  background: var(--primary-dark);
  color: white;
}

/* Hero */
.hero {
  padding: 130px 0 120px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 880px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-bottom: 28px;
}

.hero .lede {
  font-size: 21px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 720px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Photo hero (homepage) */
.hero-image {
  background:
    linear-gradient(135deg, rgba(14, 31, 42, 0.88) 0%, rgba(28, 58, 74, 0.65) 55%, rgba(14, 31, 42, 0.88) 100%),
    url('https://images.unsplash.com/photo-1581093588401-fbb62a02f120?fm=jpg&q=80&w=2400&auto=format&fit=crop') center/cover no-repeat;
  padding: 150px 0 140px;
  color: white;
}

.hero-image h1,
.hero-image h2,
.hero-image h3 {
  color: white;
}

.hero-image .lede {
  color: rgba(255, 255, 255, 0.9);
}

.hero-image .eyebrow {
  color: var(--tan);
}

.hero-image .btn-primary {
  background: var(--accent);
  color: white;
}

.hero-image .btn-primary:hover {
  background: var(--tan);
  color: var(--primary-dark);
}

.hero-image .btn-secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.7);
  background: transparent;
}

.hero-image .btn-secondary:hover {
  background: white;
  color: var(--primary-dark);
  border-color: white;
}

/* Sections */
section {
  padding: 90px 0;
}

section.compact {
  padding: 60px 0;
}

section.cream {
  background: var(--cream);
}

section.dark {
  background: var(--primary-dark);
  color: white;
}

section.dark h2,
section.dark h3 {
  color: white;
}

section.dark p {
  color: rgba(255, 255, 255, 0.85);
}

section.dark .eyebrow {
  color: var(--tan);
}

/* Mission / pull quote */
.pull-quote {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.pull-quote h2 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.pull-quote p {
  font-size: 19px;
  color: var(--text-muted);
}

/* Two-column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.two-col-content h2 {
  margin-bottom: 22px;
}

.image-block {
  background: linear-gradient(135deg, var(--cream) 0%, var(--tan) 100%);
  border-radius: 6px;
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.image-block.dark-fill {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.image-block svg,
.image-block img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Three pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.pillar {
  background: var(--surface);
  padding: 34px 32px;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.pillar-number {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.pillar h3 {
  margin-bottom: 14px;
  font-size: 21px;
}

.pillar p {
  font-size: 15.5px;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Feature row */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-top: 50px;
}

.feature h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.feature h3::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.feature p {
  font-size: 15.5px;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* CTA section */
.cta-section {
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 18px;
}

.cta-section p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand .logo-text {
  color: white;
}

.footer-brand .logo-text span {
  color: var(--tan);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  margin-top: 18px;
  max-width: 380px;
  line-height: 1.6;
}

.footer-col h4 {
  color: white;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--tan);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 22px;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 18px;
}

.contact-detail {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.contact-detail-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.contact-detail-value {
  font-size: 17px;
  color: var(--primary-dark);
  font-weight: 500;
}

.contact-detail-value a {
  color: var(--primary-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--tan);
}

form.contact-form {
  background: var(--surface);
  padding: 44px;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
  background: white;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(28, 58, 74, 0.10);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

form.contact-form button {
  margin-top: 8px;
  width: 100%;
}

/* Advisor spotlight (homepage) */
.advisor-spotlight {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 48px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}

.spotlight-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--cream) 0%, var(--tan) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 34px;
  border: 1px solid var(--border);
}

.advisor-spotlight blockquote {
  font-size: 23px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--primary-dark);
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}

.advisor-spotlight cite {
  font-style: normal;
  font-size: 15px;
  color: var(--text-muted);
}

.advisor-spotlight cite strong {
  display: block;
  font-weight: 600;
  font-size: 16px;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

/* Thesis card grid */
.thesis-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.thesis-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 38px 32px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.thesis-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.thesis-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(107, 142, 111, 0.10);
  border-radius: 8px;
}

.thesis-card-icon svg {
  width: 28px;
  height: 28px;
}

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

.thesis-card p {
  font-size: 15.5px;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

/* Advisor rows (vertical, for About) */
.advisor-rows {
  margin-top: 48px;
}

.advisor-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  align-items: flex-start;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.advisor-row:first-of-type {
  border-top: 1px solid var(--border);
}

.advisor-photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  background: linear-gradient(135deg, var(--cream) 0%, var(--tan) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  border: 1px solid var(--border);
}

.advisor-row .advisor-photo {
  width: 120px;
  height: 120px;
  font-size: 30px;
}

.advisor-row-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.advisor-name {
  font-size: 22px;
  font-weight: 600;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
  margin-bottom: 0;
}

.advisor-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0;
}

.advisor-bio {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.advisor-quote {
  font-size: 15px;
  color: var(--primary-dark);
  font-style: italic;
  line-height: 1.55;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  margin-bottom: 0;
}

/* Stages list (engagement walkthrough) */
.stages {
  margin-top: 44px;
}

.stage {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}

.stage:last-child {
  border-bottom: 1px solid var(--border);
}

.stage-label {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stage-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.stage h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.stage p {
  font-size: 15.5px;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

.stage-duration {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 8px;
  font-style: italic;
}

/* Responsive */
@media (max-width: 880px) {
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .hero, .hero-image { padding: 70px 0; }
  section { padding: 60px 0; }
  .two-col,
  .pillars,
  .features,
  .footer-inner,
  .contact-grid,
  .advisor-spotlight,
  .thesis-cards {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .advisor-row,
  .stage {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .advisor-spotlight {
    text-align: center;
    justify-items: center;
    gap: 24px;
  }
  .advisor-spotlight blockquote { font-size: 20px; }
  nav ul { gap: 22px; }
  .hero .lede { font-size: 18px; }
  .pull-quote h2 { font-size: 30px; }
  .form-row { grid-template-columns: 1fr; }
  form.contact-form { padding: 28px; }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .container,
  .container-narrow { padding: 0 22px; }
  h1 { font-size: 32px; }
  nav ul { gap: 16px; font-size: 14px; }
  .logo-text { font-size: 16px; }
}
