@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@600;700&display=swap');

:root {
  --primary: #0f172a;
  --primary-hover: #1e293b;
  --accent: #0284c7;
  --canvas: #f8fafc;
  --panel: #ffffff;
  --dark: #0f172a;
  --muted: #64748b;
  --border-line: #e2e8f0;
  --font-h: 'Space Grotesk', sans-serif;
  --font-p: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-p); background-color: var(--canvas); color: var(--dark); line-height: 1.6; }
h1, h2, h3, h4 { font-family: var(--font-h); color: var(--dark); line-height: 1.25; font-weight: 700; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.site-box { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Navbar */
.nav-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border-line); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand-title { font-family: var(--font-h); font-size: 1.55rem; font-weight: 700; color: var(--dark); letter-spacing: -0.02em; }
.brand-title span { color: var(--accent); }
.menu-group { display: flex; align-items: center; gap: 2rem; }
.menu-item { font-size: 0.95rem; font-weight: 600; color: var(--muted); transition: color 0.15s; }
.menu-item:hover, .menu-item.active { color: var(--dark); }
.btn-reach { background: var(--dark); color: #fff; padding: 0.65rem 1.3rem; border-radius: 6px; font-weight: 600; font-size: 0.92rem; }
.btn-reach:hover { background: var(--primary-hover); }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--dark); padding: 0.5rem; }
.drawer-menu { display: none; position: absolute; top: 74px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border-line); padding: 1.5rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.drawer-menu.open { display: block; }
.drawer-menu ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }

/* Hero */
.hero-deck { padding: 4.5rem 0 3.5rem; }
.hero-stage { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: center; }
.tag-badge { display: inline-block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); background: #e0f2fe; padding: 0.25rem 0.75rem; border-radius: 4px; margin-bottom: 1.25rem; }
.hero-head { font-size: 3rem; letter-spacing: -0.03em; margin-bottom: 1.25rem; color: var(--dark); }
.hero-copy { font-size: 1.15rem; color: var(--muted); margin-bottom: 2rem; max-width: 540px; }
.actions-row { display: flex; gap: 1rem; }
.btn-dark { background: var(--dark); color: #fff; padding: 0.75rem 1.4rem; border-radius: 6px; font-weight: 600; font-size: 0.95rem; }
.btn-dark:hover { background: var(--primary-hover); }
.btn-wire { border: 1.5px solid var(--border-line); background: #fff; color: var(--dark); padding: 0.75rem 1.4rem; border-radius: 6px; font-weight: 600; font-size: 0.95rem; }
.btn-wire:hover { border-color: var(--dark); }
.hero-visual { border-radius: 10px; overflow: hidden; box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.15); aspect-ratio: 4/3; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
.zone { padding: 4.5rem 0; }
.zone-white { background: #ffffff; border-top: 1px solid var(--border-line); border-bottom: 1px solid var(--border-line); }
.zone-title-block { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.zone-title-block h2 { font-size: 2.25rem; margin-top: 0.5rem; }
.zone-title-block p { color: var(--muted); margin-top: 0.5rem; }

.four-col-deck { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.desk-tile { background: var(--canvas); border: 1px solid var(--border-line); border-radius: 8px; padding: 1.75rem; transition: transform 0.2s; }
.desk-tile:hover { transform: translateY(-3px); }
.desk-tile h3 { font-size: 1.25rem; margin-bottom: 0.6rem; color: var(--dark); }
.desk-tile p { font-size: 0.92rem; color: var(--muted); }

/* Standards */
.charter-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.charter-rules { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.charter-rules li { display: flex; gap: 0.85rem; font-size: 0.95rem; }
.bullet-check { color: #0284c7; font-weight: bold; flex-shrink: 0; }

/* Metrics */
.metric-ribbon { background: var(--dark); color: #fff; padding: 3rem 0; }
.ribbon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.ribbon-figure { font-family: var(--font-h); font-size: 2.75rem; font-weight: 700; color: var(--accent); margin-bottom: 0.3rem; }
.ribbon-label { font-size: 0.92rem; color: #94a3b8; }

/* Team */
.masthead-matrix { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.matrix-person { background: #fff; border: 1px solid var(--border-line); border-radius: 8px; overflow: hidden; text-align: center; padding-bottom: 1.25rem; }
.matrix-photo { aspect-ratio: 1; overflow: hidden; margin-bottom: 1rem; }
.matrix-photo img { width: 100%; height: 100%; object-fit: cover; }
.matrix-person h3 { font-size: 1.15rem; color: var(--dark); margin-bottom: 0.2rem; }
.matrix-person p { font-size: 0.85rem; color: var(--muted); }

/* Gallery */
.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.strip-frame { background: #fff; border: 1px solid var(--border-line); border-radius: 8px; overflow: hidden; }
.strip-pic { aspect-ratio: 4/3; overflow: hidden; }
.strip-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.strip-frame:hover .strip-pic img { transform: scale(1.05); }
.strip-frame figcaption { padding: 0.75rem 1rem; font-size: 0.88rem; font-weight: 600; text-align: center; color: var(--dark); }

/* Dispatch Letter */
.dispatch-banner { background: var(--dark); color: #fff; border-radius: 12px; padding: 3.5rem 2rem; text-align: center; max-width: 800px; margin: 0 auto; }
.dispatch-banner h2 { color: #fff; font-size: 2.25rem; margin-bottom: 0.75rem; }
.dispatch-banner p { color: #94a3b8; margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.dispatch-form { display: flex; gap: 0.75rem; max-width: 480px; margin: 0 auto; }
.dispatch-input { flex: 1; padding: 0.8rem 1rem; border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.1); color: #fff; border-radius: 6px; outline: none; }
.dispatch-input::placeholder { color: #94a3b8; }
.dispatch-btn { background: var(--accent); color: #fff; border: none; padding: 0.8rem 1.4rem; border-radius: 6px; font-weight: 700; cursor: pointer; }

/* Pricing */
.rates-block { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.rate-unit { background: #fff; border: 1px solid var(--border-line); border-radius: 10px; padding: 2.5rem 2rem; display: flex; flex-direction: column; }
.rate-unit.top-tier { border: 2px solid var(--accent); box-shadow: 0 10px 20px -5px rgba(2, 132, 199, 0.15); position: relative; }
.top-flag { position: absolute; top: -12px; right: 20px; background: var(--accent); color: #fff; font-size: 0.75rem; font-weight: bold; padding: 0.25rem 0.6rem; border-radius: 4px; }
.rate-unit h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.rate-amount { font-family: var(--font-h); font-size: 2.4rem; font-weight: 700; color: var(--dark); margin-bottom: 0.2rem; }
.rate-freq { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.5rem; }
.rate-benefits { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 2rem; flex-grow: 1; font-size: 0.92rem; }

/* FAQ */
.qa-assembly { max-width: 780px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: 1rem; }
.qa-row { background: #fff; border: 1px solid var(--border-line); border-radius: 8px; overflow: hidden; }
.qa-btn { width: 100%; padding: 1.25rem 1.5rem; background: none; border: none; text-align: left; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-h); font-size: 1.05rem; font-weight: 600; color: var(--dark); cursor: pointer; }
.qa-answer { display: none; padding: 0 1.5rem 1.25rem; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
.qa-row.open .qa-answer { display: block; }

/* Contact Form */
.comms-split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3.5rem; margin-top: 2rem; }
.comms-form { background: #fff; border: 1px solid var(--border-line); border-radius: 10px; padding: 2.5rem; }
.comms-group { margin-bottom: 1.25rem; }
.comms-group label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.35rem; }
.comms-group input, .comms-group select, .comms-group textarea { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border-line); border-radius: 6px; font-family: inherit; font-size: 0.95rem; outline: none; }
.comms-group input:focus, .comms-group select:focus, .comms-group textarea:focus { border-color: var(--dark); }
.comms-sidebar { background: #fff; border: 1px solid var(--border-line); border-radius: 10px; padding: 2.5rem; display: flex; flex-direction: column; gap: 1.75rem; }

/* Legal Document */
.treatise-paper { max-width: 820px; margin: 3rem auto; background: #fff; border: 1px solid var(--border-line); border-radius: 10px; padding: 3rem; }
.treatise-paper h1 { font-size: 2.3rem; margin-bottom: 0.4rem; }
.treatise-date { font-size: 0.88rem; color: var(--muted); border-bottom: 1px solid var(--border-line); padding-bottom: 1rem; margin-bottom: 2rem; }
.treatise-paper h2 { font-size: 1.3rem; margin: 2rem 0 0.6rem; color: var(--dark); }
.treatise-paper p, .treatise-paper ul { margin-bottom: 1.2rem; font-size: 0.96rem; color: #374151; }
.treatise-paper ul { padding-left: 1.4rem; }
.treatise-paper li { margin-bottom: 0.4rem; }

/* Footer */
.footer-base { background: var(--dark); color: #fff; padding: 4.5rem 0 2rem; margin-top: 5rem; }
.base-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; margin-bottom: 3.5rem; }
.footer-base h4 { color: #fff; font-size: 1.1rem; margin-bottom: 1.2rem; }
.footer-base p { color: #94a3b8; font-size: 0.92rem; line-height: 1.6; }
.base-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.base-links a { color: #94a3b8; font-size: 0.9rem; }
.base-links a:hover { color: #fff; }
.base-disclaimer { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 2rem; font-size: 0.82rem; color: #64748b; line-height: 1.6; }

/* Cookie */
.cookie-float { position: fixed; bottom: 1.5rem; left: 1.5rem; right: 1.5rem; max-width: 580px; background: #fff; border: 2px solid var(--dark); border-radius: 8px; padding: 1.25rem 1.5rem; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.15); display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; z-index: 100; transform: translateY(150%); transition: transform 0.3s ease; }
.cookie-float.show { transform: translateY(0); }
.cookie-float p { font-size: 0.88rem; color: var(--muted); }
.cookie-float a { color: var(--dark); text-decoration: underline; }

@media (max-width: 900px) {
  .hero-stage, .charter-stage, .comms-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .four-col-deck, .masthead-matrix, .gallery-strip, .rates-block { grid-template-columns: repeat(2, 1fr); }
  .base-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .menu-group, .btn-reach { display: none; }
  .mobile-toggle { display: block; }
  .four-col-deck, .masthead-matrix, .gallery-strip, .rates-block, .ribbon-grid { grid-template-columns: 1fr; }
  .hero-head { font-size: 2.2rem; }
  .dispatch-form { flex-direction: column; }
  .base-grid { grid-template-columns: 1fr; }
  .cookie-float { flex-direction: column; align-items: stretch; }
}
