/* ============================================================
   Company X — static stylesheet
   Edit colours, sizes and spacing here.
   ============================================================ */

:root {
  --bg: #f7f4ef;
  --fg: #0f2030;
  --muted: #5a6b7c;
  --border: #d8dde3;
  --accent: #218079;
  --accent-soft: #e0eeec;
  --highlight: #e25240;
  --dark: #0d1f2d;
  --dark-fg: #f7f4ef;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 2px 4px rgba(15,32,48,.04), 0 24px 48px -16px rgba(15,32,48,.12);
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-serif: 'Fraunces', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { margin: 0; font-family: var(--font-sans); color: var(--fg); background: var(--bg); line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.01em; margin: 0; }
em { font-style: italic; color: var(--accent); }

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

/* ============== NAV ============== */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .4s, border-color .4s, box-shadow .4s;
  background: rgba(13,31,45,.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
#site-header.scrolled {
  background: rgba(247,244,239,.95);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo img { height: 48px; width: auto; transition: filter .3s; }

.nav-links { display: none; gap: 32px; }
.nav-links a { font-size: 14px; color: rgba(255,255,255,.7); transition: color .2s; }
.nav-links a:hover { color: #fff; }
#site-header.scrolled .nav-links a { color: var(--muted); }
#site-header.scrolled .nav-links a:hover { color: var(--fg); }

.btn-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: transform .2s, background .2s; }
.btn-pill:hover { transform: translateY(-1px); }
.nav-cta { background: #fff; color: var(--dark); display: none; }
#site-header.scrolled .nav-cta { background: var(--accent); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 12px 40px -8px rgba(33,128,121,.35); }

@media (min-width: 768px) {
  .nav-links, .nav-cta { display: inline-flex; }
}

/* ============== HERO ============== */
.hero { position: relative; min-height: 100vh; overflow: hidden; background: var(--dark); color: var(--dark-fg); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .65; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(13,31,45,.95), rgba(13,31,45,.85) 40%, transparent),
    linear-gradient(to top, var(--dark), transparent 50%);
}
.hero-content { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 130px 24px 90px; }
.hero-grid { display: grid; gap: 48px; width: 100%; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 7fr 5fr; align-items: center; } }

.logo-large { height: 130px; width: auto; margin-bottom: 28px; }
@media (min-width: 640px) { .logo-large { height: 180px; } }
@media (min-width: 1024px) { .logo-large { height: 210px; } }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 28px; }
.eyebrow-light { color: rgba(255,255,255,.7); }
.eyebrow-light .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.eyebrow .bar { width: 40px; height: 1px; background: var(--accent); display: inline-block; }
.eyebrow-small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }

.hero h1 { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.05; margin-bottom: 24px; }
.hero-body p { color: rgba(255,255,255,.78); font-size: 17px; max-width: 620px; margin: 0 0 16px; }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.text-link { font-size: 14px; color: rgba(255,255,255,.8); text-decoration: underline; text-underline-offset: 4px; }

/* Figure frame — drop in your own image at images/hero-figure.png or images/approach-figure.png */
.figure-frame {
  width: 100%; border-radius: var(--radius); overflow: hidden;
}
.figure-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.figure-frame-dark { aspect-ratio: 4 / 5; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05); max-width: 420px; margin: 0 auto; }
.figure-frame-light { aspect-ratio: 4 / 3; background: var(--bg); border: 1px solid var(--border); box-shadow: var(--shadow); }
.hero-figure { display: none; }
@media (min-width: 1024px) { .hero-figure { display: block; } }

/* ============== SECTIONS ============== */
.section { padding: 110px 0; }
.section-light { background: linear-gradient(180deg, var(--bg) 0%, #eaf0ee 100%); }
.section-dark { background: var(--dark); color: var(--dark-fg); }

.section h2 { font-size: clamp(1.75rem, 3.5vw, 3rem); line-height: 1.15; max-width: 1000px; margin-bottom: 56px; }
.h2-large { font-size: clamp(2rem, 4.5vw, 3.75rem); line-height: 1.05; max-width: 900px; }
.h2-xl { font-size: clamp(2.25rem, 5.5vw, 4.5rem); line-height: 1.02; }

.prose p { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 780px; margin: 0 0 20px; }
.prose-light p { color: rgba(255,255,255,.78); max-width: none; }
.prose-full p { max-width: none; }

/* Stats */
.stat-grid { display: grid; gap: 20px; margin-bottom: 56px; }
@media (min-width: 640px) { .stat-grid { grid-template-columns: repeat(3, 1fr); } }
.stat-card { background: var(--dark); color: var(--dark-fg); padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); }
.stat-value { font-family: var(--font-serif); font-size: 60px; line-height: 1; color: var(--highlight); margin-bottom: 16px; letter-spacing: -0.02em; }
.stat-card p { margin: 0; color: rgba(255,255,255,.75); font-size: 15px; }

/* References */
.refs { border-top: 1px solid var(--border); padding-top: 32px; margin-top: 32px; }
.refs ol { margin: 0; padding-left: 20px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.refs ol li { margin-bottom: 8px; }
.refs ol li::marker { color: var(--accent); }

/* Approach */
.approach-grid { display: grid; gap: 40px; margin-bottom: 48px; align-items: center; }
@media (min-width: 1024px) { .approach-grid { grid-template-columns: 5fr 7fr; } }

.steps { list-style: none; margin: 0; padding: 32px 0 0; border-top: 1px solid rgba(255,255,255,.1); display: grid; gap: 24px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps h3 { font-size: 20px; margin-bottom: 8px; color: #fff; }
.steps p { font-size: 14px; color: rgba(255,255,255,.7); margin: 0; line-height: 1.6; }
.step-num { font-family: var(--font-serif); font-size: 24px; color: var(--accent); margin-bottom: 8px; }

/* Platform — prose left, pillars right (vertical stack) */
.platform-grid { display: grid; gap: 48px; margin-bottom: 72px; align-items: start; }
@media (min-width: 1024px) { .platform-grid { grid-template-columns: 7fr 5fr; } }
.pillars-wrap { }
.pillar-stack { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
.pillar-card { background: var(--dark); color: var(--dark-fg); padding: 28px 28px 28px 32px; border-radius: var(--radius); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.pillar-card::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: linear-gradient(180deg, var(--accent), #2d9aa3); }
.pillar-num { font-family: var(--font-serif); font-size: 11px; letter-spacing: .2em; color: var(--accent); margin-bottom: 8px; }
.pillar-card h3 { font-size: 26px; color: #fff; margin-bottom: 8px; }
.pillar-card p { margin: 0; color: rgba(255,255,255,.75); font-size: 15px; }

/* Audiences */
.audiences-wrap { background: var(--accent-soft); border: 1px solid rgba(33,128,121,.2); border-radius: var(--radius); padding: 36px; }
.audience-grid { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .audience-grid { grid-template-columns: 1fr 1fr; } }
.audience-grid li { background: #fff; padding: 18px; border-radius: 12px; display: flex; align-items: flex-start; gap: 14px; font-size: 15px; box-shadow: 0 1px 2px rgba(15,32,48,.04); }
.check { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; flex-shrink: 0; }

/* Team */
.team-grid { display: grid; gap: 28px; }
@media (min-width: 640px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card { border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05); backdrop-filter: blur(6px); border-radius: var(--radius); padding: 32px; text-align: center; transition: transform .4s, background .4s; }
.team-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); }
.team-photo { width: 112px; height: 112px; margin: 0 auto 24px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px rgba(33,128,121,.4); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 18px; color: #fff; margin-bottom: 8px; }
.team-card p { margin: 0; font-size: 14px; color: rgba(255,255,255,.65); }
.linkedin-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-top: 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: rgba(255,255,255,.7); font-size: 12px; font-weight: 600; }
.linkedin-btn:hover { color: var(--accent); border-color: var(--accent); }

/* Contact / footer — stacked */
.contact-stack { margin-top: 24px; max-width: 900px; }
.contact-body { margin-top: 24px; max-width: 700px; color: var(--muted); font-size: 17px; }
.email-link { font-family: var(--font-serif); font-size: 24px; border-bottom: 1px solid var(--border); padding-bottom: 8px; display: inline-flex; align-items: center; gap: 12px; transition: color .2s, border-color .2s; margin-top: 32px; }
.email-link:hover { color: var(--accent); border-color: var(--accent); }

.footer-row { margin-top: 80px; padding-top: 32px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 24px; justify-content: space-between; font-size: 14px; color: var(--muted); }
@media (min-width: 640px) { .footer-row { flex-direction: row; align-items: center; } }
.footer-meta { display: flex; align-items: center; gap: 12px; }
.footer-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.footer-meta .brand { font-family: var(--font-serif); color: var(--fg); font-size: 16px; }
.footer-links { display: flex; gap: 32px; }
.footer-links a:hover { color: var(--fg); }
