/* captaincunningham.com — shared styles
 * One file for all pages. Page-specific tweaks (if any) go inline. */

:root {
  --paper: #ffffff;
  --paper-2: #f7f8fa;
  --rule: #d8dde4;
  --rule-2: #e8ecf1;
  --ink: #0d1421;
  --navy: #1A2B4A;
  --navy-2: #14223c;
  --slate: #3D5166;
  --slate-soft: #6a7787;
  --steel: #5B7FA6;
  --steel-soft: #9ab1c8;
  --amber: #B8860B;
}

*,*::before,*::after { box-sizing: border-box; }
html,body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (min-width: 760px) {
  body { font-size: 17px; }
}

a { color: var(--steel); text-decoration: none; }
a:hover { color: var(--navy); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 760px) {
  .container { padding: 0 40px; }
}

/* ── Nav ──────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule-2);
}
.nav .inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.nav .wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--navy);
  text-decoration: none;
}
.nav .wordmark .sub {
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-soft);
}
.nav .links { display: none; gap: 28px; }
@media (min-width: 760px) {
  .nav .links { display: flex; }
  .nav .inner { padding: 18px 40px; }
}
.nav .links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: -0.005em;
}
.nav .links a:hover { color: var(--navy); }
.nav .links a.active { color: var(--navy); }

.menu-btn {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 0;
  cursor: pointer;
}
@media (min-width: 760px) { .menu-btn { display: none; } }
.menu-btn .bar { display: block; width: 18px; height: 1.5px; background: var(--navy); }

.menu {
  display: none;
  border-bottom: 1px solid var(--rule-2);
  background: var(--paper);
}
.menu.open { display: block; }
.menu a {
  display: block;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  border-top: 1px solid var(--rule-2);
}
.menu a:first-child { border-top: 0; }

/* ── Eyebrow (used across pages) ────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 28px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--amber);
}

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn.primary {
  background: var(--navy);
  color: var(--paper);
  border: 1px solid var(--navy);
}
.btn.primary:hover { background: var(--navy-2); color: var(--paper); }
.btn.secondary {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--rule);
}
.btn.secondary:hover { border-color: var(--navy); }
.btn .arrow { font-weight: 400; font-size: 17px; line-height: 1; }

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}
@media (min-width: 520px) {
  .cta-row { flex-direction: row; align-items: center; }
}

/* ── Hero (Home only) ──────────────────────────────── */
.hero {
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--rule-2);
}
@media (min-width: 760px) {
  .hero { padding: 96px 0 80px; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 72px;
  }
}
.hero-photo {
  position: relative;
  max-width: 360px;
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 48px -24px rgba(13, 20, 33, 0.3);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (min-width: 880px) {
  .hero-photo { max-width: none; }
}
.hero h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 0 0 28px;
  max-width: 17ch;
}
.hero .lede {
  font-size: clamp(17px, 2.1vw, 21px);
  line-height: 1.55;
  color: var(--slate);
  max-width: 60ch;
  margin: 0 0 40px;
  font-weight: 400;
}

/* ── Page header (Speaking, Products, About, Contact) ─── */
.page-header {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--rule-2);
}
@media (min-width: 760px) {
  .page-header { padding: 88px 0 64px; }
}
.page-header h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5.5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 0 0 22px;
  max-width: 22ch;
}
.page-header .lede {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
  color: var(--slate);
  max-width: 60ch;
  margin: 0;
  font-weight: 400;
}

/* ── Credentials strip (Home) ──────────────────────── */
.creds {
  padding: 36px 0;
  border-bottom: 1px solid var(--rule-2);
  background: var(--paper-2);
}
.creds .list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 48px;
  justify-content: center;
  align-items: center;
}
.creds .list img {
  max-height: 44px;
  max-width: 140px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  opacity: 0.92;
  transition: opacity 160ms ease;
}
.creds .list img:hover { opacity: 1; }
.creds .list .metric {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
  white-space: nowrap;
  border-left: 1px solid var(--rule-2);
  padding-left: 28px;
}
@media (max-width: 760px) {
  .creds .list { gap: 18px 28px; }
  .creds .list img { max-height: 32px; max-width: 100px; }
  .creds .list .metric { border-left: 0; padding-left: 0; }
}

/* ── Three paths (Home) ────────────────────────────── */
.paths {
  padding: 80px 0 88px;
  border-bottom: 1px solid var(--rule-2);
}
@media (min-width: 760px) { .paths { padding: 112px 0 120px; } }

.paths .head { max-width: 740px; margin: 0 0 48px; }
.paths h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 16px;
}
.paths .head p {
  font-size: 17px;
  color: var(--slate);
  margin: 0;
  max-width: 56ch;
}
.path-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 760px) {
  .path-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.path-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: 6px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.path-card:hover { border-color: var(--steel); transform: translateY(-2px); }
.path-card .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-soft);
  margin-bottom: 12px;
}
.path-card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 12px;
}
.path-card .price {
  font-size: 13px;
  font-weight: 600;
  color: var(--steel);
  margin-bottom: 18px;
}
.path-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--slate);
  margin: 0 0 28px;
  flex: 1;
}
.path-card .go {
  align-self: flex-start;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  padding-bottom: 2px;
}
.path-card .go:hover { color: var(--steel); border-color: var(--steel); }

/* ── Bridge (Captain+Jess cross-link) ──────────────── */
.bridge {
  padding: 64px 0;
  border-bottom: 1px solid var(--rule-2);
  background: var(--paper-2);
}
.bridge .inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.bridge .small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-soft);
  margin-bottom: 16px;
}
.bridge h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 18px;
}
.bridge p {
  font-size: 16px;
  color: var(--slate);
  max-width: 56ch;
  margin: 0 auto 24px;
}
.bridge a.link {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--steel);
  border-bottom: 1px solid var(--steel);
  padding-bottom: 2px;
}
.bridge a.link:hover { color: var(--navy); border-color: var(--navy); }

/* ── Generic section ───────────────────────────────── */
.section {
  padding: 64px 0;
  border-bottom: 1px solid var(--rule-2);
}
@media (min-width: 760px) { .section { padding: 96px 0; } }
.section h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 18px;
}
.section h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 10px;
}
.section .lede {
  font-size: 17px;
  color: var(--slate);
  max-width: 60ch;
  margin: 0 0 40px;
}
.section.alt { background: var(--paper-2); }

/* ── Topic / format cards (Speaking) ───────────────── */
.cards-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 760px) {
  .cards-2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
.card {
  padding: 28px 28px 24px;
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: 6px;
}
.card .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-soft);
  margin-bottom: 10px;
}
.card h3 { margin-top: 0; }
.card p {
  font-size: 15px;
  color: var(--slate);
  margin: 8px 0 0;
  line-height: 1.55;
}

/* ── Pricing tiers (Speaking) ──────────────────────── */
.tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--rule-2);
  border-radius: 6px;
  overflow: hidden;
}
.tier {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  border-top: 1px solid var(--rule-2);
}
.tier:first-child { border-top: 0; }
.tier .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-soft);
  margin-bottom: 6px;
}
.tier h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 4px;
  letter-spacing: -0.015em;
}
.tier p {
  font-size: 14px;
  color: var(--slate);
  margin: 0;
  line-height: 1.5;
}
.tier .price {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* ── Testimonials ──────────────────────────────────── */
.quote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.quote blockquote {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 20px;
}
.quote .attr {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-soft);
}

/* ── Products grid ─────────────────────────────────── */
.product {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding: 36px 28px;
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: 6px;
}
@media (min-width: 760px) {
  .product { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; padding: 48px; }
}
.product .meta { color: var(--slate); }
.product .meta .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-soft);
  margin-bottom: 12px;
  display: inline-block;
}
.product h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 14px;
}
.product .price {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
}
.product p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate);
  margin: 0 0 24px;
}
.coming-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(184, 134, 11, 0.12);
  color: var(--amber);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 3px;
  margin-bottom: 14px;
}

/* ── Waitlist form (Products coming-soon) ──────────── */
.waitlist {
  background: var(--paper-2);
  border: 1px solid var(--rule-2);
  border-radius: 6px;
  padding: 24px;
}
@media (min-width: 760px) { .waitlist { padding: 28px; } }
.waitlist h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 14px;
  letter-spacing: -0.005em;
}
.waitlist .row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 520px) {
  .waitlist .row { flex-direction: row; }
}
.waitlist input {
  flex: 1;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.15s ease;
}
.waitlist input:focus { border-color: var(--navy); }
.waitlist input::placeholder { color: var(--slate-soft); }

/* ── About bio layout ──────────────────────────────── */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}
@media (min-width: 880px) {
  .bio-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 64px; }
}
.bio-photo {
  position: relative;
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
}
.bio-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 880px) { .bio-photo { max-width: none; } }

.bio-copy p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--slate);
  margin: 0 0 20px;
}
.bio-copy p strong { color: var(--ink); font-weight: 600; }
.bio-copy h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 32px 0 14px;
}
.bio-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bio-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--rule-2);
  font-size: 15px;
}
.bio-list li:last-child { border-bottom: 1px solid var(--rule-2); }
.bio-list li .k {
  font-weight: 600;
  color: var(--slate-soft);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 2px;
}
.bio-list li .v { color: var(--slate); }

/* ── Contact form ──────────────────────────────────── */
.form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 720px;
}
.form .row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 600px) {
  .form .row-2 { grid-template-columns: 1fr 1fr; }
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.15s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--navy); }
.field input::placeholder,
.field textarea::placeholder { color: var(--slate-soft); }
.field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%233D5166' stroke-width='1.5'><path d='M1 1.5l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  padding-right: 44px;
}
.form .submit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.form .submit-row .note {
  font-size: 13px;
  color: var(--slate-soft);
}

.form-status {
  padding: 14px 16px;
  border-radius: 4px;
  font-size: 14px;
  margin-top: 8px;
  display: none;
}
.form-status.ok {
  display: block;
  background: rgba(91, 127, 166, 0.08);
  color: var(--navy);
  border-left: 2px solid var(--steel);
}
.form-status.err {
  display: block;
  background: #fef3f2;
  color: #7a2f2d;
  border-left: 2px solid #a94442;
}

/* ── Footer ────────────────────────────────────────── */
footer {
  padding: 56px 0 40px;
  background: var(--navy);
  color: rgba(255,255,255,0.78);
}
footer .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (min-width: 760px) {
  footer .grid { grid-template-columns: 2fr 1fr 1fr; }
}
footer h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin: 0 0 14px;
}
footer .brand-mark {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 6px;
}
footer .brand-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.62);
  max-width: 32ch;
  margin: 0;
}
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 8px; }
footer a {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
}
footer a:hover { color: #fff; }
footer .legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.philosophy .head { margin-bottom: 36px; }
.beliefs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.belief {
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: 4px;
  padding: 24px 22px 22px;
  position: relative;
  transition: border-color 160ms ease, transform 160ms ease;
}
.belief:hover { border-color: var(--steel); transform: translateY(-2px); }
.belief .b-num {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--steel);
  margin-bottom: 12px;
}
.belief h3 {
  font-size: 19px;
  line-height: 1.25;
  margin: 0 0 8px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.belief p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--slate);
}

.speaking-hero {
  margin: 0;
  width: 100%;
  height: clamp(280px, 42vw, 560px);
  overflow: hidden;
  background: var(--ink);
  border-bottom: 1px solid var(--rule-2);
}
.speaking-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
