/* ===== Theme ===== */
:root {
  --brand: #1877e6;
  --brand-dark: #0b5ec4;
  --brand-light: #eaf3fe;
  --ink: #031e3f;
  --muted: #51617a;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --border: #dde7f3;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(3, 30, 63, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--brand-dark); }

.container { width: min(1100px, 92%); margin: 0 auto; }
.narrow { width: min(760px, 92%); }
.hidden { display: none !important; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--brand-dark); border: 2px solid var(--brand); }
.btn-ghost:hover { background: var(--brand-light); }
.btn-small { padding: 0.5rem 1.1rem; font-size: 0.9rem; color: #fff !important; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 0; }
.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.logo-mark { height: 42px; width: auto; }
.logo-word { height: 26px; width: auto; }
.eyebrow .leaf { color: #ed171d; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; }
.nav a:hover { color: var(--brand); }

/* ===== Hero ===== */
/* Navy gradient shows when there's no video (phones, reduced motion, or no file yet) */
.hero {
  position: relative; overflow: hidden;
  min-height: 82vh; display: flex; align-items: center;
  padding: 6rem 0 5rem;
  background: radial-gradient(circle at 75% 20%, #1877e6 0%, transparent 45%),
              linear-gradient(150deg, #031e3f 0%, #08356b 60%, #0b5ec4 100%);
  color: #fff;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1.2s ease;
}
.hero-video.is-playing { opacity: 1; }
/* Dark navy overlay keeps text readable over any footage */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(3, 30, 63, 0.92) 0%, rgba(3, 30, 63, 0.7) 45%, rgba(3, 30, 63, 0.15) 75%, rgba(3, 30, 63, 0.05) 100%);
}

/* Key dates strip under the hero */
.dates-strip { background: var(--ink); color: #fff; padding: 1.4rem 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.dates-inner { display: grid; grid-template-columns: auto 1fr 1fr; gap: 2.5rem; align-items: center; }
.dates-inner h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; color: #8cc4ff; }
.date-item { display: grid; gap: 0.15rem; padding-left: 1rem; border-left: 3px solid var(--brand); }
.date-item strong { font-size: 1.15rem; }
.date-item span { color: #c9d6e8; font-size: 0.92rem; }
/* Text stays on the left so the skyline / CN Tower shows on the right */
.hero-inner { position: relative; z-index: 1; }
.hero-text { max-width: 620px; }
.eyebrow { color: #8cc4ff; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; margin-bottom: 0.75rem; }
.hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1.12; margin-bottom: 1rem; }
.lead { font-size: 1.15rem; color: #d5e3f5; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
/* Frosted-glass card */
.hero-card {
  background: rgba(255, 255, 255, 0.1); color: #fff;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius); padding: 2rem;
}
.hero .dates li { border-left-color: #8cc4ff; }
.hero .dates strong { color: #fff; }
.hero .dates span { color: #d5e3f5; }

/* Fade-in on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
.hero-card h3 { margin-bottom: 1rem; }
.dates { list-style: none; display: grid; gap: 1rem; }
.dates li { display: grid; gap: 0.2rem; padding-left: 1rem; border-left: 4px solid var(--brand); }
.dates strong { font-size: 1.2rem; color: var(--brand-dark); }
.dates span { color: var(--muted); font-size: 0.95rem; }

/* ===== Sections ===== */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.5rem; }
.section-intro { color: var(--muted); margin-bottom: 2.5rem; font-size: 1.05rem; }

/* ===== Cards ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); transition: transform 0.2s; }
.card:hover { transform: translateY(-4px); }
.icon { font-size: 2rem; width: 56px; height: 56px; display: grid; place-items: center; background: var(--brand-light); border-radius: 14px; margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); }

/* ===== Steps ===== */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.steps li { background: #fff; border-radius: var(--radius); padding: 1.75rem; border: 1px solid var(--border); }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 0.75rem; }
.steps p { color: var(--muted); }

/* ===== Two-column layout ===== */
.two-col { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: start; }

/* ===== Checklists ===== */
.checklists { display: grid; gap: 1.5rem; }
.checklist { background: var(--bg-alt); border-radius: var(--radius); padding: 1.5rem 1.75rem; }
.checklist h3 { margin-bottom: 0.75rem; }
.checklist ul { list-style: none; display: grid; gap: 0.5rem; }
.checklist li::before { content: "✓"; color: var(--brand); font-weight: 700; margin-right: 0.6rem; }

/* ===== FAQ ===== */
details { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 1.1rem 1.4rem; margin-top: 1rem; }
summary { font-weight: 600; cursor: pointer; }
details p { margin-top: 0.75rem; color: var(--muted); }

/* ===== Contact ===== */
.contact-info { list-style: none; display: grid; gap: 0.6rem; margin-bottom: 1.5rem; font-size: 1.05rem; }
.note { font-size: 0.9rem; color: var(--muted); background: var(--brand-light); padding: 0.9rem 1.1rem; border-radius: 12px; }
.form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); display: grid; gap: 1rem; }
.form label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.95rem; }
.form input, .form select, .form textarea {
  font: inherit; padding: 0.75rem 0.9rem; border: 1px solid var(--border); border-radius: 10px; background: #fbfdfd;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brand); border-color: transparent; }
.form-status { font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: var(--brand-dark); }
.form-status.err { color: #c0392b; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #c9d6e8; padding: 2rem 0; }
.footer-inner { display: grid; gap: 0.4rem; text-align: center; }
.small { font-size: 0.85rem; opacity: 0.8; }

/* ===== Mobile ===== */
@media (max-width: 820px) {
  .hero-inner, .two-col { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
  .logo-mark { height: 34px; }
  .logo-word { height: 20px; }
  .hero { padding: 4rem 0 3rem; min-height: auto; }
  .dates-inner { grid-template-columns: 1fr; gap: 1rem; }
  .section { padding: 3rem 0; }
}
