:root {
  --navy: #0b2545;
  --navy-light: #13315c;
  --gold: #00a7d8;          /* Brand cyan from logo */
  --gold-light: #4cc6e6;    /* Lighter cyan */
  --accent-deep: #1f7bb6;   /* Deeper logo blue */
  --bg: #f6f8fb;
  --ink: #1a1a1a;
  --muted: #5b6470;
  --line: #e3e8ef;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--muted); }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.container-sm { max-width: 720px; margin: 0 auto; padding: 0 1.25rem; }

/* Internal banner (meeting pages only) */
.internal-banner {
  background: linear-gradient(90deg, var(--navy), var(--navy-light));
  color: var(--gold-light); font-size: 0.78rem; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 600;
  text-align: center; padding: 0.45rem 1rem; position: relative; z-index: 51;
}
.internal-banner span { color: rgba(255,255,255,0.55); margin: 0 0.5rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header.meeting { background: rgba(11,37,69,0.94); border-bottom: 1px solid rgba(255,255,255,0.12); }
.site-header.meeting .brand { color: white; }
.site-header.meeting .brand span { color: white; }
.site-header.meeting .nav-links a { color: rgba(255,255,255,0.85); }
.site-header.meeting .nav-links a:hover { color: var(--gold-light); }
.site-header.meeting .nav-toggle span { background: white; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 1.25rem; max-width: 1180px; margin: 0 auto; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.85rem; font-family: 'Fraunces', serif; font-weight: 600; color: var(--navy); font-size: 1.1rem; letter-spacing: -0.01em; min-height: 64px; }
.brand-mark {
  width: 56px;
  height: 56px;
  object-fit: contain;
  object-position: center;
  display: block;
  flex-shrink: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  clip-path: none;
  -webkit-mask-image: none;
  mask-image: none;
  padding: 0;
}
.brand-mark-circle {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: grid; place-items: center; color: var(--gold); font-family: 'Fraunces', serif; font-weight: 700;
}
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { font-size: 0.92rem; color: var(--ink); font-weight: 500; }
.nav-links a:hover { color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; padding: 0.5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: 0.2s; }

@media (max-width: 860px) {
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 1rem 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    transform: translateY(-110%); transition: transform 0.25s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 0.85rem 1.25rem; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer; transition: all 0.2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--navy); color: white; }
.btn-primary:hover { background: var(--navy-light); color: white; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(11,37,69,0.25); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(201,161,74,0.35); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: white; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  position: relative;
  background-color: var(--navy);
  background-image:
    linear-gradient(135deg, rgba(11,37,69,0.86) 0%, rgba(19,49,92,0.78) 50%, rgba(31,123,182,0.55) 100%),
    url('video/hero-poster.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white; padding: 5.5rem 0 6rem; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 0%, rgba(0,167,216,0.22), transparent 40%),
                    radial-gradient(circle at 90% 100%, rgba(0,167,216,0.16), transparent 50%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow { display: inline-block; color: var(--gold-light); font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; }
.hero h1 { color: white; max-width: 18ch; }
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero p { color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 56ch; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Sections */
section { padding: 5rem 0; }
.section-eyebrow { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.75rem; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Service grid */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: white; border-radius: 18px; padding: 1.75rem;
  border: 1px solid var(--line); transition: all 0.25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(11,37,69,0.18); border-color: var(--gold-light); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: grid; place-items: center; color: var(--gold); margin-bottom: 1rem;
}
.card h3 { color: var(--navy); }

/* Action cards (forms entrypoints) */
.actions { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .actions { grid-template-columns: 1fr; } }
.action {
  background: white; border-radius: 18px; padding: 2rem; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 0.5rem; transition: all 0.25s ease;
}
.action:hover { border-color: var(--gold); box-shadow: 0 18px 40px -20px rgba(11,37,69,0.2); }
.action .price { color: var(--gold); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em; }
.action h3 { color: var(--navy); margin-bottom: 0.25rem; }
.action p { flex: 1; font-size: 0.95rem; }
.action .arrow { color: var(--navy); font-weight: 600; display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.5rem; }

/* Footer */
.footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 3rem 0 2rem; }
.footer h4 { color: white; font-family: 'Inter', sans-serif; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer a { color: rgba(255,255,255,0.75); display: block; padding: 0.25rem 0; font-size: 0.95rem; }
.footer a:hover { color: var(--gold-light); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15); display: flex; justify-content: space-between; flex-wrap: wrap; font-size: 0.85rem; }

/* Forms */
.form-page { padding: 3rem 0 5rem; }
.form-wrap {
  background: white; border-radius: 22px; padding: 2.5rem;
  border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(11,37,69,0.2);
}
@media (max-width: 600px) { .form-wrap { padding: 1.5rem; border-radius: 16px; } }
.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; margin-bottom: 1rem; }
.form-row.single { grid-template-columns: 1fr; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.field .hint { font-size: 0.78rem; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.85rem 1rem; border-radius: 10px;
  border: 1px solid var(--line); background: #fafaf7; color: var(--ink);
  font: inherit; font-size: 0.97rem; transition: all 0.2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); background: white; box-shadow: 0 0 0 4px rgba(201,161,74,0.15);
}
.field textarea { min-height: 120px; resize: vertical; }
.field.required label::after { content: ' *'; color: #c84d3a; }

/* Pricing tiles for estoppel/questionnaire */
.tier-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; margin-bottom: 1.5rem; }
@media (max-width: 600px) { .tier-grid { grid-template-columns: 1fr; } }
.tier {
  position: relative; cursor: pointer; padding: 1.25rem; border-radius: 14px;
  border: 2px solid var(--line); background: #fafaf7; transition: all 0.2s ease;
}
.tier:hover { border-color: var(--gold-light); }
.tier input { position: absolute; opacity: 0; }
.tier .tier-name { font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.25rem; }
.tier .tier-price { color: var(--gold); font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 600; }
.tier .tier-desc { font-size: 0.85rem; color: var(--muted); }
.tier input:checked ~ .tier-content,
.tier:has(input:checked) { border-color: var(--gold); background: white; box-shadow: 0 8px 24px -16px rgba(201,161,74,0.5); }

/* Steps */
.steps { display: flex; gap: 0.5rem; margin-bottom: 2rem; }
.step { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.step.active { background: var(--gold); }
.step.done { background: var(--navy); }

/* Alerts */
.alert { padding: 1rem 1.25rem; border-radius: 12px; margin-bottom: 1.25rem; font-size: 0.9rem; }
.alert-info { background: #eef3fb; color: var(--navy); border: 1px solid #d3e0f1; }
.alert-success { background: #e8f5ec; color: #1a6b3b; border: 1px solid #b8dcc4; }
.alert-error { background: #fbeae6; color: #9b2f1a; border: 1px solid #f0c4ba; }

/* Misc */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; } .mb-2 { margin-bottom: 2rem; }
.divider { height: 1px; background: var(--line); margin: 1.75rem 0; }
.lead { font-size: 1.15rem; color: var(--muted); }
.tag { display: inline-block; padding: 0.25rem 0.75rem; background: rgba(201,161,74,0.15); color: var(--gold); font-size: 0.78rem; font-weight: 600; border-radius: 999px; letter-spacing: 0.04em; }

/* Stat band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 3rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat { text-align: center; }
.stat .num { font-family: 'Fraunces', serif; font-size: 2.5rem; font-weight: 600; color: var(--navy); display: block; }
.stat .label { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

/* Spinner */
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
