/* mansamuhammad.com — brand stylesheet
   Navy #0C1B2E · Card #142D4A · Copper #C87941 · Warm white #FAF7F2 · Muted #7A5C40 · Border #1E3A5A */

:root {
  --navy: #0C1B2E;
  --navy-deep: #0A1422;
  --card: #142D4A;
  --copper: #C87941;
  --copper-soft: rgba(200, 121, 65, 0.15);
  --white: #FAF7F2;
  --muted: #7A5C40;
  --border: #1E3A5A;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "tnum" 1, "lnum" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--copper); text-decoration: none; transition: color .2s ease, border-color .2s ease; }
a:hover { color: var(--white); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--white); letter-spacing: -.005em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); }
h2 { font-size: clamp(1.8rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
p { margin: 0 0 1.1em; }
.eyebrow { font-family: var(--sans); letter-spacing: .22em; font-size: .78rem; text-transform: uppercase; color: var(--copper); font-weight: 500; }
.muted { color: rgba(250, 247, 242, 0.72); }
.small { font-size: .9rem; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* ---- navigation ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 0;
  background: transparent;
  transition: background .3s ease, border-color .3s ease, padding .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(12, 27, 46, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: var(--border); padding: 14px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-family: var(--serif); color: var(--copper); letter-spacing: .18em; text-transform: uppercase; font-size: .95rem; font-weight: 700; }
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--white); font-size: .92rem; letter-spacing: .02em; border-bottom: 1px solid transparent; padding-bottom: 2px; }
.nav-links a:hover, .nav-links a.active { color: var(--copper); border-bottom-color: var(--copper); }
.nav-cta {
  display: inline-block; background: var(--copper); color: var(--navy); padding: 10px 20px;
  font-weight: 600; font-size: .88rem; letter-spacing: .04em; border-radius: 2px;
  border: 1px solid var(--copper); transition: transform .2s ease, background .2s ease;
}
.nav-cta:hover { background: transparent; color: var(--copper); }
.hamburger { display: none; background: none; border: none; color: var(--copper); padding: 8px; cursor: pointer; }
.hamburger svg { width: 26px; height: 26px; }

/* mobile drawer */
.mobile-menu {
  position: fixed; inset: 0; background: var(--navy); z-index: 200;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 32px; padding: 48px 24px;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu a { color: var(--white); font-family: var(--serif); font-size: 1.7rem; }
.mobile-menu a:hover { color: var(--copper); }
.mobile-menu .nav-cta { font-family: var(--sans); font-size: 1rem; padding: 14px 28px; }
.mobile-close { position: absolute; top: 24px; right: 24px; background: none; border: none; color: var(--copper); cursor: pointer; }
.mobile-close svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .nav-links, .nav > .container > .nav-inner > .nav-cta { display: none; }
  .hamburger { display: inline-flex; }
}

/* ---- sections ---- */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }
.hero {
  min-height: 100vh; padding: 140px 0 96px; display: flex; align-items: center; position: relative;
  overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper) 50%, transparent);
  opacity: .55;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.hero h1 { margin-top: 18px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  section { padding: 72px 0; }
  .hero { padding: 120px 0 72px; }
}

/* ---- buttons ---- */
.btn {
  display: inline-block; padding: 14px 28px; font-family: var(--sans); font-weight: 600;
  font-size: .95rem; letter-spacing: .04em; border-radius: 2px; cursor: pointer;
  border: 1px solid transparent; transition: all .25s ease; text-align: center;
}
.btn-primary { background: var(--copper); color: var(--navy); border-color: var(--copper); }
.btn-primary:hover { background: transparent; color: var(--copper); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--copper-soft); color: var(--copper); border-color: var(--copper); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* ---- photo placeholders ---- */
.photo {
  background: var(--card);
  border: 1px solid var(--copper);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-family: var(--serif); font-size: 1rem; letter-spacing: .1em;
  text-transform: uppercase; text-align: center; padding: 40px;
  min-height: 480px;
  position: relative;
}
.photo::before {
  content: ''; position: absolute; inset: 12px; border: 1px solid rgba(200, 121, 65, 0.25);
  pointer-events: none;
}
.photo.tall { min-height: 560px; aspect-ratio: 3/4; }
.photo.square { aspect-ratio: 1/1; }

/* ---- cards ---- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 36px;
  border-radius: 3px;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.card:hover { border-color: var(--copper); transform: translateY(-3px); }
.card-icon { color: var(--copper); margin-bottom: 20px; }
.card-icon svg { width: 42px; height: 42px; stroke-width: 1.2; }
.card h3 { margin-bottom: 12px; }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .cards-grid { grid-template-columns: 1fr; } }

/* ---- credibility bar ---- */
.cred {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  overflow-x: auto;
}
.cred-inner { display: flex; gap: 0; justify-content: space-between; align-items: center; min-width: max-content; }
.cred-item {
  padding: 0 28px; font-family: var(--sans); color: var(--white); font-size: .92rem;
  letter-spacing: .08em; text-transform: uppercase; text-align: center; white-space: nowrap;
  border-right: 1px solid var(--copper);
}
.cred-item:last-child { border-right: none; }
@media (max-width: 900px) { .cred-item { padding: 0 20px; font-size: .8rem; } }

/* ---- timeline ---- */
.timeline { position: relative; padding-left: 48px; }
.timeline::before { content: ''; position: absolute; left: 12px; top: 4px; bottom: 4px; width: 1px; background: var(--copper); }
.timeline-item { position: relative; padding: 0 0 44px 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -42px; top: 10px; width: 10px; height: 10px;
  background: var(--navy); border: 2px solid var(--copper); border-radius: 50%;
}
.timeline-year { font-family: var(--sans); color: var(--copper); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.timeline-title { font-family: var(--serif); color: var(--white); font-size: 1.25rem; margin: 6px 0 2px; }
.timeline-desc { color: rgba(250, 247, 242, 0.72); font-size: .95rem; margin: 0; }
.timeline-item.highlight { padding: 18px 24px; background: rgba(200, 121, 65, 0.08); border-left: 2px solid var(--copper); margin-left: -26px; }
.timeline-item.highlight::before { left: -68px; width: 14px; height: 14px; background: var(--copper); box-shadow: 0 0 24px rgba(200, 121, 65, 0.5); }
.timeline-item.highlight .timeline-title { font-size: 1.5rem; }

/* ---- timelines: reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-x { opacity: 0; transform: translateX(-24px); transition: opacity .7s ease, transform .7s ease; }
.reveal-x.visible { opacity: 1; transform: translateX(0); }

/* ---- forms ---- */
.field { display: block; margin-bottom: 18px; }
.field label { display: block; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--copper); margin-bottom: 8px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--navy); color: var(--white); border: 1px solid var(--border);
  padding: 14px 16px; font-family: var(--sans); font-size: 1rem; border-radius: 2px;
  transition: border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--copper); }
.field textarea { min-height: 140px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }
.form-msg { margin-top: 14px; font-size: .92rem; color: var(--copper); min-height: 1.4em; }

/* ---- newsletter ---- */
.newsletter { background: var(--navy-deep); }
.newsletter-form { display: flex; gap: 12px; max-width: 560px; }
.newsletter-form input {
  flex: 1; background: var(--card); color: var(--white); border: 1px solid var(--border);
  padding: 16px 18px; font-family: var(--sans); font-size: 1rem; border-radius: 2px;
}
.newsletter-form input:focus { outline: none; border-color: var(--copper); }
@media (max-width: 600px) { .newsletter-form { flex-direction: column; } }

/* ---- footer ---- */
footer { background: #0A0A0A; color: rgba(250, 247, 242, 0.72); padding: 64px 0 28px; font-size: .88rem; }
footer .container { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
footer .brand { display: block; margin-bottom: 10px; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 8px; }
footer a { color: rgba(250, 247, 242, 0.72); }
footer a:hover { color: var(--copper); }
.footer-socials { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.footer-socials a { color: var(--copper); }
.footer-socials svg { width: 22px; height: 22px; stroke-width: 1.3; }
.footer-bottom { text-align: center; margin-top: 44px; padding-top: 24px; border-top: 1px solid #1a1a1a; color: var(--muted); font-size: .82rem; }
@media (max-width: 900px) { footer .container { grid-template-columns: 1fr; gap: 28px; } }

/* ---- offer (autonomous architect page) ---- */
.offer-list { list-style: none; padding: 0; margin: 0; }
.offer-list li {
  padding: 14px 0 14px 36px; position: relative; border-bottom: 1px solid var(--border);
  color: var(--white); font-size: 1.02rem;
}
.offer-list li:last-child { border-bottom: none; }
.offer-list li::before {
  content: '✓'; position: absolute; left: 0; top: 12px; color: var(--copper);
  font-size: 1.2rem; font-weight: bold;
}
.cohort-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .cohort-grid { grid-template-columns: 1fr; } }
.cohort {
  background: var(--card); border: 1px solid var(--border); padding: 36px 32px;
  border-radius: 3px; display: flex; flex-direction: column;
}
.cohort.featured { border-color: var(--copper); box-shadow: 0 0 64px rgba(200, 121, 65, 0.08); position: relative; }
.cohort .badge { position: absolute; top: -12px; left: 32px; background: var(--copper); color: var(--navy); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 14px; font-weight: 700; }
.cohort h3 { font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--copper); font-family: var(--sans); font-weight: 600; margin-bottom: 6px; }
.cohort .cohort-date { font-family: var(--serif); font-size: 1.65rem; color: var(--white); margin-bottom: 4px; }
.cohort .cohort-location { color: rgba(250, 247, 242, 0.72); font-size: .92rem; margin-bottom: 24px; }
.cohort .cohort-price { font-family: var(--serif); font-size: 2.6rem; color: var(--copper); margin: 12px 0; }
.cohort .cohort-includes { font-size: .9rem; color: rgba(250, 247, 242, 0.65); line-height: 1.55; margin-bottom: 24px; flex: 1; }
.cohort .cohort-seats { margin-top: 14px; font-size: .82rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.cohort.muted { opacity: .85; }

/* ---- FAQ ---- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  padding: 22px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between;
  align-items: center; font-family: var(--serif); font-size: 1.15rem; color: var(--white);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--copper); font-size: 1.6rem; font-weight: 300; transition: transform .2s ease; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 0 22px; color: rgba(250, 247, 242, 0.78); }

/* ---- pull-quote ---- */
.pullquote {
  text-align: center; padding: 56px 24px; background: rgba(200, 121, 65, 0.06);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 48px 0;
}
.pullquote .stat { font-family: var(--serif); font-size: clamp(3rem, 9vw, 6rem); color: var(--copper); line-height: 1; }
.pullquote .label { font-family: var(--sans); color: rgba(250, 247, 242, 0.8); letter-spacing: .14em; text-transform: uppercase; font-size: .9rem; margin-top: 16px; }

/* ---- loading splash ---- */
.splash {
  position: fixed; inset: 0; background: var(--navy); z-index: 999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease;
}
.splash.hide { opacity: 0; pointer-events: none; }
.splash-text { font-family: var(--serif); color: var(--copper); letter-spacing: .24em; text-transform: uppercase; font-size: 1.1rem; }

/* utility */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-lg { margin-bottom: 28px; }
