:root {
  --ink: #0f172a;
  --navy: #0b162c;
  --accent: #1d4ed8;
  --accent-deep: #1e3a8a;
  --accent-soft: #eff6ff;
  --muted: #475569;
  --surface: #ffffff;
  --tint: #f8fafc;
  --border: #e2e8f0;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif; background: var(--surface); color: var(--ink); line-height: 1.68; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
:where(a:any-link, button, input, select, textarea):focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.visually-hidden:where(:not(:focus-within, :active)) { position: absolute !important; clip-path: inset(50%) !important; overflow: hidden !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; border: 0 !important; white-space: nowrap !important; }
.skip-link:focus-visible { position: fixed; top: 12px; left: 12px; z-index: 120; background: var(--navy); color: #fff; padding: 10px 16px; text-decoration: none; border-radius: 4px; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Header */
header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 74px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--navy); white-space: nowrap; flex-shrink: 0; }
.monogram { width: 40px; height: 40px; border-radius: 8px; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: 'Libre Baskerville', Georgia, serif; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em; border: 1.5px solid var(--accent); }
.brand-name { font-family: 'Libre Baskerville', Georgia, serif; font-size: 0.98rem; font-weight: 700; line-height: 1.15; color: var(--navy); }
.brand-sub { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.13em; color: var(--accent); font-weight: 700; margin-top: 2px; }

.nav-links { display: flex; gap: 22px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--ink); font-size: 0.85rem; font-weight: 600; white-space: nowrap; padding: 6px 0; }
.nav-links a:hover { color: var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-block-size: 44px; padding: 10px 20px; border-radius: 6px; font-family: inherit; font-weight: 600; font-size: 0.86rem; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; white-space: nowrap; flex-shrink: 0; transition: background 0.16s ease, transform 0.14s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--accent-deep); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-deep); }
.btn-outline { background: transparent; color: var(--navy); border-color: #cbd5e1; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.btn-white { background: #fff; color: var(--navy); }
.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.28); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); }

/* Hero */
.hero { background: linear-gradient(145deg, #071022 0%, #0b162c 55%, #122854 100%); color: #fff; padding: 84px 0 88px; border-bottom: 3px solid var(--accent); }
.hero-wrap { max-width: 820px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; color: #93c5fd; background: rgba(59,130,246,0.16); border: 1px solid rgba(147,197,253,0.28); padding: 6px 13px; border-radius: 999px; margin-bottom: 20px; }
.hero h1 { font-family: 'Libre Baskerville', Georgia, serif; font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.18; font-weight: 400; color: #fff; margin-bottom: 18px; }
.hero h1 em { color: #60a5fa; font-style: italic; }
.hero-lead { color: #cbd5e1; font-size: clamp(0.98rem, 1.4vw, 1.08rem); max-width: 680px; margin-bottom: 28px; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.14); }
.stat-val { font-family: 'Libre Baskerville', serif; font-size: clamp(1.1rem, 1.9vw, 1.38rem); font-weight: 700; color: #fff; }
.stat-lbl { font-size: 0.78rem; color: #94a3b8; margin-top: 3px; line-height: 1.4; }

/* Sections */
.section { padding: 76px 0; }
.section-tint { background: var(--tint); border-block: 1px solid var(--border); }
.section-head { max-width: 700px; margin-bottom: 38px; }
.sec-kicker { display: inline-block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 4px 11px; border-radius: 4px; margin-bottom: 12px; }
.section-head h2 { font-family: 'Libre Baskerville', Georgia, serif; font-size: clamp(1.55rem, 2.8vw, 2.25rem); font-weight: 400; color: var(--navy); line-height: 1.24; margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 0.96rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--navy); border-radius: 8px; padding: 26px; display: flex; flex-direction: column; gap: 10px; min-width: 0; transition: transform 0.16s ease, box-shadow 0.16s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(11, 22, 44, 0.08); }
.card-accent { border-top-color: var(--accent); }
.card-tag { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); font-weight: 700; }
.card h3 { font-family: 'Libre Baskerville', serif; font-size: 1.08rem; color: var(--navy); line-height: 1.35; }
.card p { font-size: 0.9rem; color: var(--muted); }
.price { font-family: 'Libre Baskerville', serif; font-size: 1.45rem; font-weight: 700; color: var(--navy); margin-top: 4px; }
.price span { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.pill-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-top: 6px; }
.pill-list li { font-size: 0.73rem; font-weight: 600; color: var(--navy); background: var(--accent-soft); padding: 3px 9px; border-radius: 4px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 7px; margin: 8px 0 14px; font-size: 0.87rem; color: #334155; }
.check-list li { padding-left: 18px; position: relative; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.card-link { margin-top: auto; padding-top: 10px; font-size: 0.85rem; font-weight: 700; color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.card-link:hover { color: var(--navy); text-decoration: underline; }

/* Stack Pills */
.stack-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stack-box { background: #fff; border: 1px solid var(--border); border-radius: 7px; padding: 20px 22px; }
.stack-box h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); font-weight: 800; margin-bottom: 8px; }
.stack-box p { font-size: 0.89rem; color: #334155; line-height: 1.65; }

/* Contact Form */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 5px; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 6px; font-family: inherit; font-size: 0.92rem; background: #fff; }
.form-2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

footer { background: var(--navy); color: #94a3b8; padding: 38px 0; font-size: 0.84rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
footer a { color: #bfdbfe; text-decoration: none; font-weight: 600; }
footer a:hover { color: #fff; text-decoration: underline; }

/* Mobile Drawer */
.menu-btn { display: none; width: 44px; height: 44px; border: 1.5px solid var(--border); border-radius: 6px; background: #fff; color: var(--navy); cursor: pointer; place-items: center; flex-shrink: 0; }
.header-right { display: flex; align-items: center; gap: 10px; }
dialog.mobile-drawer { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(310px, 86vw); border: none; padding: 24px; background: var(--navy); color: #fff; box-shadow: -20px 0 60px rgba(0,0,0,0.45); }
dialog.mobile-drawer::backdrop { background: rgba(7, 16, 34, 0.68); backdrop-filter: blur(4px); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.drawer-close { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.28); border-radius: 6px; background: transparent; color: #fff; font-size: 1.1rem; cursor: pointer; }
.drawer-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.drawer-list a { display: block; padding: 12px 14px; border-radius: 6px; color: #fff; text-decoration: none; font-weight: 600; background: rgba(255,255,255,0.07); }
.drawer-list a:hover { background: rgba(255,255,255,0.16); }

@media (max-width: 1024px) {
  .nav-links, .header-cta-desk { display: none; }
  .menu-btn { display: grid; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .grid-2, .stack-grid, .form-2col { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
  .hero { padding: 56px 0 62px; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .card { padding: 22px; }
}
