/* NYC SEM static site. Plain CSS, no build step. */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
}

:root {
  --red: #ba2626;
  --red-bright: #fe3f3f;
  --blue: #425eaa;
  --gold: #ffac0b;
  --ink: #111;
  --text: #1c1c1c;
  --purple-top: #3e2a8d;
  --purple-bottom: #7c3071;
  --hero-from: #d13a51;
  --hero-to: #3d2a8f;
  --container: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-top: 6px solid var(--purple-top);
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.brand img { width: 152px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 36px; }
.main-nav a { text-decoration: none; font-size: 16px; color: var(--ink); }
.main-nav a:hover { color: var(--red); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 4px; font-weight: 500; font-size: 17px;
  text-decoration: none; transition: background .2s, color .2s, border-color .2s;
}
.btn-outline-red { border: 1px solid var(--red); color: var(--red); }
.btn-outline-red:hover { background: var(--red); color: #fff; }
.nav-toggle, .nav-toggle-label { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--hero-from) 0%, #96336a 38%, #642e7c 62%, var(--hero-to) 100%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 20px; padding-top: 70px; }
.hero h1 { font-size: 56px; font-weight: 600; letter-spacing: -.5px; margin-bottom: 26px; }
.hero p { font-size: 18px; max-width: 500px; margin-bottom: 40px; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 36px; padding-bottom: 150px; }
.btn-white { background: #fff; color: var(--red); min-width: 230px; padding: 14px 22px; }
.btn-white:hover { background: #f6e9ec; }
.btn-ghost { border: 1px solid #fff; color: #fff; min-width: 230px; padding: 13px 22px; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.hero-figure { position: relative; margin: 0; align-self: end; justify-self: center; width: 100%; max-width: 520px; }
.hero-figure img { width: 100%; }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: auto; display: block; pointer-events: none; }
.hero .wave { z-index: 0; }

/* ---------- Section headings ---------- */
.section { padding: 90px 0; }
.section-head { text-align: center; margin-bottom: 30px; }
.section-head .kicker { font-size: 40px; font-weight: 200; color: var(--ink); margin: 0; line-height: 1.2; }
.section-head h2 { font-size: 40px; font-weight: 300; color: var(--ink); }
.section-head h2 strong, .section-head .red { color: var(--red); font-weight: 700; }
.section-head .sub { font-size: 16px; margin: 10px 0 0; color: var(--ink); font-weight: 400; }
.vline { width: 4px; height: 60px; background: var(--red); border-radius: 2px; margin: 26px auto 0; }

/* ---------- Services ---------- */
.services { padding-top: 40px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 30px; }
.service img { width: 100%; aspect-ratio: 565 / 308; object-fit: cover; }
.service h3 { font-size: 24px; font-weight: 500; margin: 22px 0 18px; color: var(--ink); }
.service p { font-size: 16px; line-height: 1.6; color: var(--text); }

/* ---------- Packages + founder (purple band) ---------- */
.packages { padding-bottom: 0; }
.band {
  position: relative;
  background: linear-gradient(180deg, var(--purple-top) 0%, #5a2d82 55%, var(--purple-bottom) 100%);
  color: #fff;
}
.cards-wrap { position: relative; }
.cards-wrap::before { /* white top half behind the cards */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 165px; background: #fff;
}
.cards { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { background: #fff; border-radius: 6px; color: var(--text); overflow: hidden; display: flex; flex-direction: column; }
.card-head {
  position: relative; height: 172px; color: #fff; text-align: center; overflow: hidden;
  border-radius: 6px 6px 0 0;
}
.card-head h3 { position: relative; z-index: 2; font-size: 26px; font-weight: 600; padding-top: 48px; }
.card-head::before, .card-head::after {
  content: ""; position: absolute; left: 50%; width: 260px; height: 260px;
  transform: translateX(-50%) rotate(45deg); background: rgba(255,255,255,.14);
}
.card-head::before { top: 28px; }
.card-head::after { top: 92px; background: rgba(255,255,255,.18); width: 170px; height: 170px; }
.card-blue .card-head { background: var(--blue); }
.card-gold .card-head { background: var(--gold); }
.card-red .card-head { background: var(--red); }
.card-icon { position: relative; z-index: 3; width: 108px; margin: -56px auto 0; }
.card ul { list-style: none; margin: 0; padding: 26px 20px 34px; }
.card li { position: relative; padding-left: 32px; margin-bottom: 10px; font-size: 16px; line-height: 1.5; }
.card li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--check, var(--blue)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.card-blue { --check: var(--blue); }
.card-gold { --check: var(--gold); }
.card-red { --check: var(--red); }

/* founder */
.founder { padding: 110px 0 60px; }
.founder-grid { position: relative; display: grid; grid-template-columns: 470px 1fr; align-items: start; }
.founder-photo { position: relative; }
.founder-photo img.photo { width: 100%; border-radius: 10px; }
.badge { position: absolute; width: 72px; right: -110px; top: -36px; z-index: 2; }
.founder-sign { text-align: center; margin-top: 30px; }
.founder-sign img { width: 325px; margin: 0 auto; }
.founder-sign p { margin: 2px 0 0; font-size: 16px; }
.founder-card {
  position: relative; z-index: 1; background: #fff; color: var(--text); border-radius: 12px;
  margin: 60px 0 0 -94px; padding: 60px 60px 54px; font-size: 16px; line-height: 1.9;
}
.founder-card .bar { width: 64px; height: 5px; background: var(--red); border-radius: 3px; margin-top: 26px; }

/* contact */
.contact { padding: 40px 0 70px; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.contact h2 { font-size: 40px; font-weight: 300; margin-bottom: 18px; }
.contact h2 strong { font-weight: 700; }
.contact .lead { font-weight: 600; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 17px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list svg { width: 22px; height: 22px; flex: none; }
.contact-card { background: #fff; color: var(--text); border-radius: 8px; padding: 40px 34px; text-align: center; }
.contact-card h3 { font-size: 24px; font-weight: 500; margin-bottom: 10px; color: var(--ink); }
.contact-card p { margin-bottom: 24px; }
.contact-card .btn { width: 100%; margin-top: 12px; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #9e1f1f; }

.band-bottom { position: relative; height: 120px; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; padding: 30px 0 50px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 40px; align-items: start; }
.footer-brand img { width: 152px; margin-bottom: 14px; }
.footer-brand p { max-width: 340px; font-size: 15px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--red); }
.footer-mail { display: flex; align-items: center; gap: 16px; }
.footer-mail .rule { width: 60px; height: 1px; background: var(--ink); }
.footer-mail a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--purple-top); }
.footer-mail svg { width: 18px; height: 18px; }
.copyright { margin-top: 30px; font-size: 14px; color: #666; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-grid { grid-template-columns: 400px 1fr; }
}
@media (max-width: 900px) {
  .header-inner { min-height: 70px; }
  .brand img { width: 120px; }
  .nav-toggle-label { display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; }
  .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
    content: ""; display: block; width: 26px; height: 2px; background: var(--ink); position: relative;
  }
  .nav-toggle-label span::before { position: absolute; top: -8px; }
  .nav-toggle-label span::after { position: absolute; top: 8px; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; display: none; box-shadow: 0 8px 16px rgba(0,0,0,.08); }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 20px 20px; }
  .main-nav li a { display: block; padding: 10px 0; border-bottom: 1px solid #eee; }
  .nav-toggle:checked ~ .main-nav { display: block; }
  .header-cta { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 50px; }
  .hero h1 { font-size: 42px; }
  .hero-actions { padding-bottom: 20px; gap: 20px; }

  .hero-figure { max-width: 420px; }
  .cards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { max-width: 470px; margin: 0 auto; }
  .badge { right: -10px; }
  .founder-card { margin: 30px 0 0; padding: 40px 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .section-head .kicker, .section-head h2, .contact h2 { font-size: 30px; }
  .founder-sign img { width: 260px; }
}
