:root {
  --blue:    #006EBE;
  --blue-dk: #005a9e;
  --blue-lt: #3a8fd4;
  --ink:     #0A0F1C;
  --mid:     #414141;
  --soft:    #767676;
  --off:     #F6F8FB;
  --white:   #FFFFFF;
  --rule:    #E0E6EF;
  --serif:   'EB Garamond', Georgia, serif;
  --sans:    'Inter', sans-serif;
  --max:     1280px;
  --pad:     clamp(1.5rem, 5vw, 5rem);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule); height: 62px; display: flex; align-items: center;
}
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); width: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: 'Arial Narrow', 'Arial', sans-serif; font-size: 1.45rem; font-weight: bold; font-style: italic; color: var(--ink); text-decoration: none; letter-spacing: 0.01em; }
.logo span { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.nav-links a { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.lang-select { font-size: 0.78rem; font-family: var(--sans); color: var(--soft); background: none; border: none; cursor: pointer; outline: none; font-weight: 500; }
.btn-login { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink); background: none; border: 1.5px solid var(--rule); text-decoration: none; padding: 0.5rem 1.1rem; transition: all 0.2s; }
.btn-login:hover { border-color: var(--blue); color: var(--blue); }
.nav-cta { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); background: var(--blue); text-decoration: none; padding: 0.55rem 1.25rem; transition: background 0.2s; }
.nav-cta:hover { background: var(--blue-dk); }

/* HERO */
#hero { min-height: 100vh; background: var(--off); padding-top: 62px; display: flex; align-items: center; overflow: hidden; }
.hero-content { max-width: var(--max); margin: 0 auto; padding: var(--pad); width: 100%; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.hero-copy { max-width: 640px; padding: clamp(3rem,7vw,6rem) 0; }
.hero-net { position: relative; width: 100%; aspect-ratio: 1 / 1; max-width: 600px; margin: 0 0 0 auto; pointer-events: none; }
.hero-net svg { width: 100%; height: 100%; display: block; }
.eyebrow { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); margin-bottom: 1.75rem; display: block; }
h1 { font-family: var(--serif); font-size: clamp(3.2rem,6.5vw,6rem); font-weight: 400; line-height: 1.06; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 2rem; max-width: 820px; }
h1 em { font-style: italic; color: var(--blue); }
.amp-alt { font-family: var(--sans); font-style: normal; font-weight: 300; font-size: 0.78em; vertical-align: 0.04em; }
.hero-sub { font-size: clamp(1rem,1.5vw,1.15rem); line-height: 1.65; color: var(--mid); max-width: 480px; margin-bottom: 3rem; }
.btn { display: inline-flex; align-items: center; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; padding: 0.9rem 2rem; transition: all 0.2s; }
.btn-solid { background: var(--blue); color: var(--white); }
.btn-solid:hover { background: var(--blue-dk); }

/* STRIP */
.strip { background: var(--ink); padding: clamp(3rem,6vw,5rem) var(--pad); }
.strip-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); border-left: 1px solid rgba(255,255,255,0.08); }
.strip-item { padding: 0 3rem; border-right: 1px solid rgba(255,255,255,0.08); }
.strip-num { font-family: var(--serif); font-size: clamp(2.8rem,4.5vw,4rem); font-weight: 400; color: var(--white); line-height: 1; margin-bottom: 0.5rem; letter-spacing: -0.03em; }
.strip-num b { color: var(--blue-lt); font-weight: 400; }
.strip-label { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.4); }

/* SHARED */
section { padding: clamp(5rem,10vw,8rem) var(--pad); }
.s-inner { max-width: var(--max); margin: 0 auto; }
h2 { font-family: var(--serif); font-size: clamp(2.2rem,4vw,3.8rem); font-weight: 400; line-height: 1.1; letter-spacing: -0.025em; color: var(--ink); }
.dark h2 { color: var(--white); }
.s-lead { font-size: 1rem; line-height: 1.65; color: var(--soft); max-width: 440px; }
.dark .s-lead { color: rgba(255,255,255,0.45); }

/* SERVICES */
#services { background: var(--white); }
.svc-header { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--rule); }
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); border-left: 1px solid var(--rule); }
.svc { padding: 2.5rem; border-right: 1px solid var(--rule); position: relative; overflow: hidden; }
.svc:nth-child(n+4) { border-top: 1px solid var(--rule); }
.svc-n { font-family: var(--serif); font-size: 0.85rem; font-style: italic; color: var(--blue); margin-bottom: 1.25rem; display: block; }
.svc h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; color: var(--ink); margin-bottom: 0.5rem; line-height: 1.2; }
.svc-bold { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--ink); line-height: 1.35; margin-bottom: 0.4rem; }
.svc p { font-size: 0.85rem; line-height: 1.65; color: var(--soft); }
.svc-blob { position: absolute; bottom: -40px; right: -40px; width: 120px; height: 120px; background: radial-gradient(circle, rgba(0,110,190,0.06), transparent 70%); border-radius: 50%; pointer-events: none; }

/* ABOUT */
#about { background: var(--off); position: relative; overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8rem; align-items: center; position: relative; z-index: 2; }
.about-left h2 { margin-bottom: 1.5rem; }
.about-statement { font-family: var(--serif); font-size: clamp(1.2rem,2vw,1.6rem); font-weight: 400; line-height: 1.45; color: var(--mid); margin-bottom: 1.5rem; }
.about-left .s-lead { margin-bottom: 2.5rem; max-width: 100%; }
.about-visual { aspect-ratio: 1/1; max-width: 480px; margin-left: auto; }

/* INVEST */
#invest { position: relative; overflow: hidden; }
.invest-blob { position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(0,110,190,0.2), transparent 65%); right: -200px; top: -200px; filter: blur(60px); pointer-events: none; }
.invest-blob-2 { position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(0,110,190,0.12), transparent 65%); left: -100px; bottom: -100px; filter: blur(50px); pointer-events: none; }
.invest-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 8rem; align-items: center; position: relative; z-index: 2; }
.invest-inner h2 { color: var(--white); margin-bottom: 1rem; }
.invest-statement { font-family: var(--serif); font-size: 1.2rem; color: rgba(255,255,255,0.6); line-height: 1.5; margin-bottom: 2.5rem; }
.tiers { display: flex; flex-direction: column; gap: 1px; background: rgba(255,255,255,0.07); }
.tier { background: rgba(255,255,255,0.03); padding: 2rem 2.5rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; transition: background 0.2s; }
.tier:hover { background: rgba(255,255,255,0.06); }
.tier-label { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 0.3rem; }
.tier-name { font-family: var(--serif); font-size: 1.1rem; color: var(--white); }
.tier-amt { font-family: var(--serif); font-size: 2.2rem; color: var(--blue-lt); white-space: nowrap; }

/* FOOTER */
footer { background: #05080F; padding: 5rem var(--pad) 2.5rem; }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 2rem; }
.footer-logo { font-family: 'Arial Narrow', 'Arial', sans-serif; font-size: 1.2rem; font-weight: bold; font-style: italic; color: var(--white); text-decoration: none; }
.footer-logo span { color: var(--blue-lt); }
.footer-tag { font-size: 0.8rem; color: rgba(255,255,255,0.25); line-height: 1.6; margin-top: 0.75rem; max-width: 220px; }
.footer-col h4 { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { font-size: 0.84rem; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-copy, .footer-legal { font-size: 0.72rem; color: rgba(255,255,255,0.18); }

/* PAGE HEADER + BREADCRUMB — reusable across all CMS pages.
   Clone a page = reuse <section class="page-header"> with .crumbs + <h1>.
   .s-inner keeps the header aligned with the nav logo (same --max + --pad). */
.page-header { background: var(--off); padding: calc(62px + clamp(2.5rem,5vw,3.5rem)) 0 clamp(2rem,4vw,3rem); }
/* Pad inside the centered inner (like .nav-inner) so content lines up with the
   nav logo's left edge, not 1×--pad to the left of it. */
.page-header .s-inner, .contact .s-inner { padding-left: var(--pad); padding-right: var(--pad); }
.page-header h1 { font-family: var(--serif); font-size: clamp(2.2rem,4.5vw,3.4rem); font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); margin: 0; max-width: none; }
.crumbs { position: static; height: auto; background: none; backdrop-filter: none; border: none; font-size: 0.78rem; color: var(--soft); margin-bottom: 0.9rem; }
.crumbs a { color: var(--blue); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { color: var(--soft); margin: 0 0.5rem; }

/* CONTACT */
.contact { background: var(--white); padding-left: 0; padding-right: 0; }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 5rem; align-items: start; }
.info-block { padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--rule); }
.info-block:last-of-type { border-bottom: none; }
.info-block h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--ink); margin-bottom: 0.5rem; }
.info-block p { font-size: 0.9rem; line-height: 1.6; color: var(--soft); max-width: 400px; margin-bottom: 1rem; }
.info-block a { color: var(--blue); text-decoration: none; }
.info-block a:hover { text-decoration: underline; }
.info-line { font-size: 0.9rem; color: var(--mid); line-height: 1.6; }
.form-card { background: var(--off); border: 1px solid var(--rule); padding: clamp(2rem,4vw,3rem); }
.form-card h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; color: var(--ink); margin-bottom: 1.5rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.f-group { margin-bottom: 1.5rem; }
.f-group.full { grid-column: 1 / -1; }
.form-card label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em; color: var(--ink); margin-bottom: 0.5rem; }
.form-card label .req { color: var(--blue); }
.form-card input, .form-card select, .form-card textarea { width: 100%; font-family: var(--sans); font-size: 0.92rem; color: var(--ink); background: var(--white); border: 1px solid var(--rule); padding: 0.75rem 0.9rem; outline: none; transition: border-color 0.2s; appearance: none; }
.form-card select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23767676' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.2rem; }
.form-card textarea { resize: vertical; min-height: 120px; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { border-color: var(--blue); }
.form-card input::placeholder, .form-card textarea::placeholder { color: #A3ADBC; }
.consent { display: flex; align-items: flex-start; gap: 0.65rem; margin-bottom: 1.75rem; }
.consent input[type="checkbox"] { width: 17px; height: 17px; margin-top: 0.15rem; flex-shrink: 0; accent-color: var(--blue); }
.consent label { font-size: 0.82rem; font-weight: 400; color: var(--soft); margin-bottom: 0; line-height: 1.5; }
.consent a { color: var(--blue); text-decoration: none; }
.consent a:hover { text-decoration: underline; }
.form-card .btn-solid { width: 100%; justify-content: center; padding: 1rem 2rem; border: none; cursor: pointer; font-family: var(--sans); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-content, .about-grid, .invest-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { max-width: 340px; margin: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .hero-net { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  .f-row { grid-template-columns: 1fr; }
  .svc-header { grid-template-columns: 1fr; gap: 2rem; }
  .svc-grid { grid-template-columns: 1fr; border: none; }
  .svc { border-right: none; border-bottom: 1px solid var(--rule); }
  .svc:last-child { border-bottom: none; }
  .strip-inner { grid-template-columns: 1fr; }
  .strip-item { padding: 1.5rem 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .strip-item:last-child { border-bottom: none; }
  .nav-links { display: none; }
  .btn-login { display: none; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition-duration: 0.01ms !important; } }

/* LARGE SCREENS - use more width instead of hugging left */
@media (min-width: 1600px) { :root { --max: 1480px; } }
@media (min-width: 2000px) { :root { --max: 1720px; } }

/* EDIT PAGE FAB (logged-in staff only) */
.nc-edit-fab {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 300;
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none;
  color: var(--white); background: var(--blue);
  padding: 0.7rem 1.15rem; border-radius: 999px;
  box-shadow: 0 6px 24px rgba(0,110,190,0.35);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.nc-edit-fab:hover { background: var(--blue-dk); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,110,190,0.45); }
.nc-edit-fab svg { display: block; }

/* STAFF LOGIN (footer) */
.nc-staff-login { text-align: center; margin-top: 2.25rem; }
.nc-staff-login .staff-login-button {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.4); background: none;
  border: 1px solid rgba(255,255,255,0.12); padding: 0.55rem 1.4rem; cursor: pointer; transition: all 0.2s;
}
.nc-staff-login .staff-login-button:hover { color: var(--white); border-color: var(--blue-lt); }
