/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #869db6;
  --blue-mid:    #4d7095;
  --blue-dark:   #2d4a62;
  --blue-darker: #1c3247;
  --blue-pale:   #eaf0f7;
  --gold:        #f4bb5a;
  --gold-light:  #fad48a;
  --green:       #9cc665;
  --green-pale:  #ecf7df;
  --text-dark:   #1e2a35;
  --text-body:   #3a4a58;
  --text-muted:  #6a7f94;
  --white:       #ffffff;
  --off-white:   #f5f8fb;
  --border:      #cdd8e8;

  --font-sans:  'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --max-w: 1160px;
  --section-py: 96px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  padding-top: 64px; /* reserve space for fixed navbar on all screen sizes */
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Utility ── */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.eyebrow.light { color: var(--gold-light); }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--blue-darker);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

/* ── Navbar ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(28, 50, 71, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow 0.3s;
}
#navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.3); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
}

/* ── Hero ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--blue-darker) 0%, #162840 50%, #1e3a54 100%);
  text-align: center;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 50%, rgba(134,157,182,0.2) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 75% 40%, rgba(244,187,90,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 60% 80%, rgba(156,198,101,0.08) 0%, transparent 60%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 80px 24px 80px;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.35);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Open House Banner ── */
#open-house-banner {
  background: var(--gold);
  padding: 14px 24px;
  text-align: center;
  position: relative;
  z-index: 90;
}
#open-house-banner p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-darker);
  line-height: 1.5;
}
#open-house-banner a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--blue-darker);
}

/* Hero no longer needs to account for navbar offset (banner does it) */

/* ── Partners Strip ── */
#partners {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.partners-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.partner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}
.partner-icon { font-size: 1.4rem; }
.partner-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ── Section Shared ── */
section { padding: var(--section-py) 0; }

.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--text-dark);
  line-height: 1.25;
}

.section-intro {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.section-intro-left {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 640px;
}

/* ── About ── */
#about { background: var(--off-white); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.col-text p {
  margin-bottom: 18px;
  font-size: 1.02rem;
  line-height: 1.8;
}
.col-text strong { color: var(--blue-dark); }

.col-cards { display: flex; flex-direction: column; gap: 20px; }

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  padding: 24px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.info-card:hover {
  box-shadow: 0 8px 32px rgba(45,74,98,0.1);
  transform: translateY(-2px);
}
.info-card-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 8px;
}
.info-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.info-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; }

/* ── What Is Incorporation ── */
#what-is { background: var(--white); }

.explainer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.explainer-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.explainer-card:hover {
  box-shadow: 0 8px 32px rgba(45,74,98,0.09);
  transform: translateY(-3px);
}
.explainer-icon { font-size: 2rem; margin-bottom: 16px; }
.explainer-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.explainer-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ── Possibilities ── */
#possibilities { background: var(--blue-darker); }
#possibilities .eyebrow { color: var(--gold-light); }
#possibilities h2 { color: var(--white); }
#possibilities .section-intro-left { color: rgba(255,255,255,0.65); }

.scenarios { display: flex; flex-direction: column; gap: 0; }

.scenario {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.scenario:first-child { border-top: 1px solid rgba(255,255,255,0.1); }

.scenario-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(244,187,90,0.15);
  border: 1.5px solid rgba(244,187,90,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold);
  margin-top: 4px;
}

.scenario-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.scenario-body p { font-size: 0.95rem; color: rgba(255,255,255,0.68); line-height: 1.7; }

/* ── Resources ── */
#resources { background: var(--off-white); }

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.resource-card:hover {
  box-shadow: 0 8px 32px rgba(45,74,98,0.1);
  transform: translateY(-2px);
}

.resource-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--blue-pale);
  color: var(--blue-mid);
  width: fit-content;
}
.resource-tag.team {
  background: var(--green-pale);
  color: #4d7a1a;
}
.resource-tag.external {
  background: #fff7e6;
  color: #8a5e0a;
}

.resource-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}
.resource-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; flex: 1; }

.resource-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-mid);
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.resource-link:hover { color: var(--blue-darker); }

/* ── Contact ── */
#contact { background: var(--blue-dark); }

/* CONTACT FORM: when uncommenting form, restore .contact-box to:
   display: grid; grid-template-columns: 1fr 1fr; max-width: var(--max-w);
   and remove text-align: center from .contact-text and .contact-text > p */
.contact-box {
  max-width: 860px;
  margin: 0 auto;
}

.contact-text {
  text-align: center;
}

.contact-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 16px;
}
.contact-text > p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  line-height: 1.75;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.contact-ways {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: left;
}
/* Email row spans full width and is centered */
.contact-ways li.contact-email-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.contact-ways li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 20px;
}
.contact-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.contact-ways strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.contact-ways p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.6;
}
.contact-ways a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Event highlight boxes inside contact */
.open-house-highlight {
  background: rgba(244,187,90,0.14);
  border: 1px solid rgba(244,187,90,0.32);
  border-radius: 8px;
  padding: 14px 18px;
  margin-top: 8px;
}
.open-house-highlight .oh-date {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 5px;
}
.open-house-highlight .oh-detail {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.55;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
}
.contact-form-wrap h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: -8px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(134,157,182,0.2);
  background: var(--white);
}
.contact-form textarea { resize: vertical; }
.contact-form .btn { margin-top: 4px; width: 100%; text-align: center; }

.form-note {
  font-size: 0.875rem;
  color: var(--green);
  font-weight: 500;
  margin-top: 4px;
}

/* ── Footer ── */
footer {
  background: var(--blue-darker);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 8px;
}
.footer-left p { font-size: 0.875rem; line-height: 1.65; }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
}
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  :root { --section-py: 72px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .explainer-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-ways { grid-template-columns: 1fr; }
  .partner-divider { display: none; }
}

@media (max-width: 640px) {
  :root { --section-py: 56px; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--blue-darker);
    padding: 16px 24px 24px; gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-actions { flex-direction: column; align-items: center; }
  .explainer-grid { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-links { text-align: left; }
  .contact-form-wrap { padding: 28px 24px; }
}
