@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

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

:root {
  --ink:        #0d0d0d;
  --ink-soft:   #4a4a4a;
  --ink-faint:  #9a9a9a;
  --paper:      #f6f4f1;
  --white:      #ffffff;
  --accent:     #1a56db;
  --accent-2:   #0e3ba8;
  --accent-light: #e8effe;
  --accent-glow: rgba(26,86,219,0.12);
  --border:     #e2ddd8;
  --radius:     3px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── CURSOR ── */
#cursor {
  width: 10px; height: 10px;
  background: var(--accent); border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transition: width .2s, height .2s, background .2s;
  transform: translate(-50%,-50%);
}
#cursor.hover {
  width: 34px; height: 34px;
  background: rgba(26,86,219,.12);
  border: 1.5px solid var(--accent);
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: 72px;
  background: rgba(246,244,241,.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 22px; letter-spacing: -.5px;
  color: var(--ink); text-decoration: none;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; font-size: 14px; font-weight: 400;
  color: var(--ink-soft); letter-spacing: .01em;
  transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--accent); }
.nav-cta {
  background: var(--accent) !important; color: var(--white) !important;
  padding: 10px 22px; border-radius: var(--radius);
  font-weight: 500 !important; font-size: 14px !important;
  transition: background .2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--accent-2) !important; }

/* ── FOOTER ── */
footer {
  background: var(--ink); padding: 64px 60px 36px;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 24px; color: var(--white);
  text-decoration: none; display: block; margin-bottom: 16px;
}
.footer-brand-logo span { color: var(--accent); }
.footer-brand-desc { font-size: 14px; font-weight: 300; color: rgba(255,255,255,.4); line-height: 1.7; max-width: 220px; }
.footer-col-title { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 20px; }
.footer-col-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a { text-decoration: none; font-size: 14px; font-weight: 300; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-col-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 32px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,.2); }
.footer-contact { font-size: 13px; color: rgba(255,255,255,.4); }
.footer-contact a { color: var(--accent); text-decoration: none; }

/* ── ABSTRACT GRAPHICS ── */
.blob {
  position: absolute; border-radius: 50%;
  background: var(--accent-glow);
  filter: blur(60px); pointer-events: none; z-index: 0;
}
.dot-grid {
  position: absolute; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle, rgba(26,86,219,.15) 1px, transparent 1px);
  background-size: 28px 28px;
}
.ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(26,86,219,.12);
  pointer-events: none; z-index: 0;
}
.line-accent {
  position: absolute; pointer-events: none; z-index: 0;
  background: linear-gradient(90deg, transparent, rgba(26,86,219,.15), transparent);
  height: 1px; width: 100%;
}

/* ── SHARED SECTION ELEMENTS ── */
.section-tag {
  font-size: 11px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.section-tag::before { content: ''; width: 20px; height: 2px; background: var(--accent); }
.section-heading {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px,4vw,52px); letter-spacing: -1px;
  line-height: 1.08; color: var(--ink);
}
.section-heading em { font-style: italic; color: var(--accent); }
.section-heading.light { color: var(--white); }
.section-sub {
  font-size: 17px; font-weight: 300; color: var(--ink-soft);
  line-height: 1.75; max-width: 560px;
}
.section-sub.light { color: rgba(255,255,255,.55); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 14px 28px; border-radius: var(--radius);
  transition: all .2s; letter-spacing: .01em;
}
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--accent); transform: translateY(-1px); }
.btn-blue { background: var(--accent); color: var(--white); }
.btn-blue:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-outline { border: 1.5px solid var(--border); color: var(--ink-soft); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--accent-light); transform: translateY(-1px); }
.btn-ghost-white { color: rgba(255,255,255,.55); border-bottom: 1px solid rgba(255,255,255,.2); padding: 0 0 2px; border-radius: 0; font-size: 14px; text-decoration: none; transition: color .2s, border-color .2s; }
.btn-ghost-white:hover { color: var(--white); border-color: var(--white); }

/* ── CARD BASE ── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px 36px;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,.07); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: .1s; } .rd2 { transition-delay: .2s; } .rd3 { transition-delay: .3s; } .rd4 { transition-delay: .4s; }

/* ── HAMBURGER BUTTON ── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px; cursor: pointer;
  background: none; border: none; padding: 0; z-index: 400;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform .3s, opacity .3s, width .3s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── SIDE DRAWER ── */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 350;
  background: rgba(13,13,13,.35);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
  backdrop-filter: blur(2px);
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 360;
  width: 300px; background: var(--white);
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}
.drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; height: 64px;
  border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.drawer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 20px; letter-spacing: -.5px;
  color: var(--ink); text-decoration: none;
}
.drawer-logo span { color: var(--accent); }
.drawer-close {
  width: 32px; height: 32px; display: flex; align-items: center;
  justify-content: center; cursor: pointer; background: none;
  border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--ink-soft); font-size: 16px; transition: all .2s;
}
.drawer-close:hover { border-color: var(--accent); color: var(--accent); }

.drawer-nav { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0; }
.drawer-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 28px; text-decoration: none;
  font-size: 18px; font-weight: 400; color: var(--ink-soft);
  border-left: 3px solid transparent;
  border-bottom: 1px solid var(--border);
  transition: all .2s;
}
.drawer-nav a:first-child { border-top: 1px solid var(--border); }
.drawer-nav a:hover { color: var(--accent); background: var(--accent-light); border-left-color: var(--accent); }
.drawer-nav a.active { color: var(--accent); border-left-color: var(--accent); background: var(--accent-light); font-weight: 500; }
.drawer-nav a .drawer-arrow { font-size: 13px; opacity: .35; transition: opacity .2s, transform .2s; }
.drawer-nav a:hover .drawer-arrow { opacity: 1; transform: translateX(4px); }
.drawer-divider { height: 1px; background: var(--border); margin: 10px 28px; flex-shrink: 0; }

.drawer-footer {
  padding: 16px 28px 20px; border-top: 1px solid var(--border); flex-shrink: 0;
}
.drawer-footer-label { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 6px; }
.drawer-footer-email { font-size: 13px; color: var(--accent); margin-bottom: 12px; }
.drawer-cta {
  display: block; text-align: center;
  background: var(--accent); color: var(--white);
  text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 12px 24px; border-radius: var(--radius);
  transition: background .2s;
}
.drawer-cta:hover { background: var(--accent-2); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  footer { padding: 48px 24px 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
/* Show hamburger on desktop too — right of nav links */
@media (min-width: 901px) {
  .nav-hamburger { display: flex; margin-left: 16px; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes spin { from { transform:rotate(0deg); } to { transform:rotate(360deg); } }
@keyframes float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-12px); } }
@keyframes marquee { from { transform:translateX(0); } to { transform:translateX(-50%); } }
