/* CTO Bridge — static rebuild of the Squarespace site */
:root {
  --bg: #2a2829;
  --bg-deep: #1d1c1c;
  --ink: #ffffff;
  --ink-muted: rgba(255, 255, 255, 0.78);
  --gold: #d9c378;
  --sand: #d9d5c8;
  --sand-ink: #111111;
  --radius-pill: 300px;
  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.5em;
}
.gold { color: var(--gold); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; }

/* Buttons */
.btn {
  display: inline-block;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-family: var(--font-body);
  padding: 16px 22px;
  border-radius: var(--radius-pill);
  line-height: 1.2;
  transition: transform .15s ease, box-shadow .15s ease;
  border: 0;
  cursor: pointer;
  font-size: 16px;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-dark { background: var(--bg); color: #fff; }

/* Header */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  padding: 28px 0;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; color: #fff; opacity: .9; }
.nav a:not(.btn):hover { color: var(--gold); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 40px; height: 1px; background: #fff; margin: 9px 0; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: #000 url("/assets/img/hero.webp") center / cover no-repeat;
  padding: 160px 0 120px;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.hero .wrap { position: relative; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 14ch; }
.hero .lede { font-family: var(--font-head); font-size: clamp(1.2rem, 2.2vw, 1.5rem); max-width: 34ch; margin: 1.5em 0 2em; }

/* Pillars */
.pillars { background: #000; padding: 40px 0 120px; }
.pillars .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.pillar img { width: 140px; height: 140px; object-fit: contain; margin-bottom: 24px; border-radius: 50%; background: rgba(255,255,255,.85); padding: 18px; }
.pillar h3 { font-size: 1.4rem; }
.pillar h3 strong { color: var(--gold); font-weight: 700; display: block; }
.pillar p { color: var(--ink-muted); }

/* Value props */
.values { background: var(--sand); color: var(--sand-ink); padding: 110px 0; }
.values h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 700; margin-bottom: 1.4em; }
.values .grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 64px; }
.values h3 { font-size: 1.35rem; font-weight: 700; }
.values p { margin: 0; }

/* Engagement models */
.models { background: var(--bg); padding: 110px 0; }
.models > .wrap > h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); letter-spacing: .12em; margin-bottom: 1.6em; }
.model { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; padding: 48px 0; border-top: 1px solid rgba(255,255,255,.12); }
.model:nth-of-type(even) .model-img { order: 2; }
.model-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.model h3 { font-size: 1.5rem; }
.model p, .model li { color: var(--ink-muted); }
.model ul { padding-left: 1.1em; }
.model li { margin-bottom: .5em; }
.model li strong { color: #fff; }
.model .btn { margin-top: 1em; }

/* Playbook */
.playbook { padding: 180px 0 110px; }
.playbook .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.playbook h1 { font-size: clamp(2rem, 4vw, 3rem); }
.playbook ul { padding-left: 1.1em; color: var(--ink-muted); }
.playbook-preview { border-radius: 8px; margin: 24px 0; }
form.lead { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 32px; }
form.lead label { display: block; font-size: .9rem; margin: 0 0 6px; }
form.lead input, form.lead textarea {
  width: 100%; margin-bottom: 18px; padding: 12px 14px; border-radius: 6px;
  border: 1px solid rgba(255,255,255,.25); background: var(--bg-deep); color: #fff; font: inherit;
}
form.lead input:focus, form.lead textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
form.lead .hp { position: absolute; left: -9999px; }
.form-status { margin-top: 14px; min-height: 1.5em; }
.form-status.ok { color: var(--gold); }
.form-status.err { color: #ff9b8a; }

/* Footer */
.site-footer { background: var(--bg); border-top: 1px solid rgba(255,255,255,.1); padding: 64px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.site-footer img { height: 44px; width: auto; }
.site-footer small { color: var(--ink-muted); letter-spacing: .08em; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; color: var(--ink-muted); }
.site-footer a:hover { color: var(--gold); }

/* Floating CTA (mirrors Squarespace's sticky button) */
.float-cta { position: fixed; right: 20px; bottom: 20px; z-index: 20; box-shadow: 0 6px 24px rgba(0,0,0,.35); }

/* Responsive */
@media (max-width: 900px) {
  .pillars .grid, .values .grid, .playbook .grid { grid-template-columns: 1fr; }
  .model { grid-template-columns: 1fr; gap: 24px; }
  .model:nth-of-type(even) .model-img { order: 0; }
}
@media (max-width: 760px) {
  .logo img { height: 42px; }
  .menu-toggle { display: block; position: relative; z-index: 31; }
  .logo { position: relative; z-index: 31; }
  /* Hamburger lines animate into an X */
  .menu-toggle span { transition: transform .35s cubic-bezier(.65,0,.35,1); transform-origin: center; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }
  /* Full-screen menu fades and slides in */
  .nav {
    display: flex; position: fixed; inset: 0; z-index: 30;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px;
    background: var(--bg-deep); padding: 96px var(--gutter) 48px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .35s ease, visibility 0s linear .35s;
  }
  .nav.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .35s ease, visibility 0s; }
  .nav a:not(.btn) { font-family: var(--font-head); font-size: 1.75rem; opacity: 0; transform: translateY(12px); transition: opacity .3s ease, transform .3s ease, color .2s; }
  .nav.open a:not(.btn) { opacity: 1; transform: none; }
  .nav.open a:nth-child(1) { transition-delay: .08s; }
  .nav.open a:nth-child(2) { transition-delay: .13s; }
  .nav.open a:nth-child(3) { transition-delay: .18s; }
  .nav.open a:nth-child(4) { transition-delay: .23s; }
  .nav.open a:nth-child(5) { transition-delay: .28s; }
  .nav .btn { margin-top: 12px; opacity: 0; transition: opacity .3s ease .33s; }
  .nav.open .btn { opacity: 1; }
  body.menu-open { overflow: hidden; }
  body.menu-open .float-cta { display: none; }
  .pillars { padding-bottom: 80px; }
  .values, .models { padding: 72px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* AI Strategy & Implementation */
.ai { background: var(--bg-deep); padding: 110px 0; border-top: 1px solid rgba(217,195,120,.18); }
.ai .eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .18em; color: var(--bg); background: var(--gold); padding: 4px 10px; border-radius: 4px; margin: 0 0 18px; }
.ai h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); letter-spacing: .06em; }
.ai-lede { color: var(--ink-muted); max-width: 70ch; font-size: 1.05rem; margin: 0 0 48px; }
.ai-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ai-card { background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 28px 28px 24px; transition: border-color .2s ease; }
.ai-card:hover { border-color: rgba(217,195,120,.55); }
.ai-num { font-family: var(--font-head); font-weight: 700; color: var(--gold); font-size: .95rem; letter-spacing: .1em; }
.ai-card h3 { font-size: 1.3rem; margin: 10px 0 10px; }
.ai-card p { color: var(--ink-muted); margin: 0; }
.ai-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 48px 0 40px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; overflow: hidden; }
.ai-steps div { padding: 22px 24px; border-right: 1px solid rgba(255,255,255,.12); }
.ai-steps div:last-child { border-right: 0; }
.ai-steps strong { display: block; font-family: var(--font-head); color: var(--gold); font-size: 1.15rem; margin-bottom: 4px; }
.ai-steps span { color: var(--ink-muted); font-size: .95rem; }
@media (max-width: 900px) {
  .ai-grid, .ai-steps { grid-template-columns: 1fr; }
  .ai-steps div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .ai-steps div:last-child { border-bottom: 0; }
  .ai { padding: 72px 0; }
}

/* Leadership experience */
.values .grid { grid-template-columns: repeat(3, 1fr); }
.experience { background: var(--bg); padding: 100px 0; border-top: 1px solid rgba(255,255,255,.1); }
.experience h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); letter-spacing: .06em; margin-bottom: 1.2em; }
.exp-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.exp-list li { border-left: 2px solid var(--gold); padding: 6px 0 6px 16px; }
.exp-list strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.exp-list span { color: var(--ink-muted); }
.exp-note { color: var(--ink-muted); margin-top: 32px; }
.exp-note a { color: var(--gold); }
@media (max-width: 1100px) { .values .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .values .grid { grid-template-columns: 1fr; } .experience { padding: 72px 0; } }
