/* ============================================
   buildwhatsnext.ca — Amanda Collinge Bae
   Design system
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ── Tokens ── */
:root {
  --navy:       #0A1B3E;
  --navy-light: #132850;
  --red:        #C8102E;
  --red-dark:   #A00D25;
  --white:      #FAF9F7;
  --slate:      #6B7A8D;
  --near-black: #111827;
  --border:     #E2E6EC;
  --bg-light:   #F4F6FA;

  --display: 'Cormorant Garamond', Georgia, serif;
  --body:    'Inter', system-ui, sans-serif;

  --max-w: 1200px;
  --section-pad: 100px 24px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--near-black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 27, 62, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
}
.nav-logo span { color: var(--red); }
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 2px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--red-dark) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* ── Hero ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  background: var(--navy);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-img {
  position: absolute;
  top: 0; left: 0;
  width: 55%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  mask-image: linear-gradient(to right, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}
.hero-text {
  width: 52%;
  padding-top: 72px;
}
.hero-eyebrow {
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--red);
}
.hero-headline {
  font-family: var(--display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 8px;
}
.hero-headline strong {
  font-weight: 700;
  color: var(--white);
  display: block;
}
.hero-headline em {
  font-style: italic;
  color: rgba(255,255,255,0.65);
}
.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  margin: 24px 0 40px;
  font-weight: 300;
  max-width: 420px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-outline {
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
}
.hero-credentials {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.credential-item {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── Results bar ── */
.results-bar {
  background: var(--near-black);
  padding: 64px 24px;
}
.results-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.results-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  text-align: center;
  margin-bottom: 40px;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}
.result-item {
  background: var(--near-black);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
}
.result-metric {
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.result-metric span { color: var(--red); }
.result-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  font-weight: 400;
}

/* ── Section shared ── */
.section { padding: var(--section-pad); }
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--red);
}
.section-title {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-title strong { font-weight: 700; }
.section-lead {
  font-size: 1.125rem;
  color: var(--slate);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ── Services grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  margin-top: 48px;
}
.service-card {
  background: var(--white);
  padding: 48px 40px;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--red);
  transition: height 0.3s;
}
.service-card:hover::before { height: 100%; }
.service-card:hover { background: #FAFBFD; }
.service-num {
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.2s;
}
.service-card:hover .service-num { color: rgba(200, 16, 46, 0.12); }
.service-title {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
}
.service-body {
  font-size: 0.925rem;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 16px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--slate);
  background: var(--bg-light);
  padding: 4px 10px;
  border-radius: 2px;
}

/* ── About strip ── */
.about-strip {
  background: var(--navy);
  padding: var(--section-pad);
}
.about-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
}
.about-img-wrap::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 100%;
  max-width: 440px;
  height: 100%;
  border: 2px solid var(--red);
  z-index: -1;
}
.about-content .section-eyebrow { color: var(--red); }
.about-content .section-eyebrow::before { background: var(--red); }
.about-content .section-title { color: var(--white); }
.about-body {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 32px;
}
.about-quote {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  border-left: 2px solid var(--red);
  padding-left: 20px;
  margin: 32px 0;
  line-height: 1.5;
}

/* ── Speaking section ── */
.speaking-section {
  background: var(--bg-light);
  padding: var(--section-pad);
}
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.topic-card {
  background: var(--white);
  padding: 32px 28px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}
.topic-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
}
.topic-icon {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.topic-title {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.topic-body {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.65;
}

/* ── Testimonial / Quote ── */
.quote-section {
  background: var(--white);
  padding: var(--section-pad);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.quote-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.big-quote {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 300;
  font-style: italic;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 32px;
}
.big-quote strong {
  font-weight: 700;
  font-style: normal;
  color: var(--red);
}
.quote-attr {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ── CTA section ── */
.cta-section {
  background: var(--navy);
  padding: 80px 24px;
  text-align: center;
}
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta-title {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.15;
}
.cta-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 40px;
  line-height: 1.65;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
.footer {
  background: #07122A;
  padding: 48px 24px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
}
.footer-logo span { color: var(--red); }
.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.footer-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.footer-links a:hover { color: var(--white); }
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  width: 100%;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 24px;
}

/* ── Page hero (inner pages) ── */
.page-hero {
  background: var(--navy);
  padding: 140px 24px 80px;
  text-align: center;
}
.page-hero-title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 16px;
}
.page-hero-title strong { font-weight: 700; }
.page-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.65;
}
.red-bar {
  width: 48px;
  height: 3px;
  background: var(--red);
  margin: 24px auto 0;
}

/* ── Contact form ── */
.contact-section { padding: var(--section-pad); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  align-items: start;
}
.contact-info-title {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
}
.contact-info-body {
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 32px;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}
.contact-detail-item {
  font-size: 0.875rem;
  color: var(--near-black);
  font-weight: 500;
}
.contact-detail-item span {
  color: var(--slate);
  font-weight: 400;
  display: block;
  font-size: 0.8rem;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--near-black);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--navy); }
.form-group textarea { min-height: 140px; resize: vertical; }
.btn-submit {
  width: 100%;
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 16px 32px;
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--red-dark); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-img { width: 100%; opacity: 0.25; }
  .hero-content { justify-content: center; }
  .hero-text { width: 100%; text-align: center; }
  .hero-eyebrow { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-credentials { justify-content: center; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .about-strip-inner { grid-template-columns: 1fr; }
  .about-img-wrap { display: none; }
  .topics-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 600px) {
  :root { --section-pad: 64px 20px; }
  .results-grid { grid-template-columns: 1fr; }
  .topics-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ── Mobile nav open ── */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--navy);
  padding: 24px;
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ── Scroll animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
