:root{
  --navy-950:#0b1220;
  --navy-900:#0f1b2e;
  --navy-850:#14233a;

  --ink-900:#111827;
  --ink-700:#374151;
  --ink-500:#6b7280;

  --canvas:#f5f7fb;
  --card:#ffffff;

  --gold:#caa24a; /* accent */
  --link:#2563eb;

  --radius:16px;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

/* ===== Base ===== */
*{ box-sizing:border-box; }

html,body{ height:100%; }

body{
  margin:0;
  font-family:"Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink-900);

background:
  /* strong blue atmosphere */
  radial-gradient(1200px 800px at 12% 12%, rgba(80,150,220,0.52), transparent 60%),
  radial-gradient(1000px 700px at 88% 18%, rgba(60,130,210,0.42), transparent 62%),

  /* strong gold presence */
  radial-gradient(1000px 700px at 85% 20%, rgba(210,170,82,0.52), transparent 58%),
  radial-gradient(1000px 800px at 18% 85%, rgba(210,170,82,0.38), transparent 62%),

  /* dominant swirl energy */
  conic-gradient(
    from 215deg at 30% 35%,
    rgba(210,170,82,0.38),
    rgba(80,150,220,0.28) 20%,
    transparent 42%,
    rgba(20,35,58,0.28) 60%,
    transparent 76%,
    rgba(210,170,82,0.34)
  ),
  conic-gradient(
    from 35deg at 72% 42%,
    rgba(80,150,220,0.34),
    transparent 26%,
    rgba(210,170,82,0.32) 52%,
    transparent 70%,
    rgba(80,150,220,0.30)
  ),

  /* light mist – reduced so color shows through */
  radial-gradient(
    1200px 900px at 50% 50%,
    rgba(245,247,251,0.30),
    rgba(245,247,251,0.82) 60%
  ),

  var(--canvas);
}

a{
  color: var(--navy-850);
  text-decoration: none;
  border-bottom: 1px solid rgba(202,162,74,0.45);
  transition: border-color 140ms ease, color 140ms ease, background 140ms ease;
}

a:hover{
  color: var(--navy-900);
  border-bottom-color: rgba(202,162,74,0.95);
  background: rgba(202,162,74,0.10);
  border-radius: 6px;
  padding: 0 4px;
  margin: 0 -4px; /* keeps layout stable */
}

/* Shared icon image sizing */
.icon-img{
  display:block;
  width:24px;
  height:24px;
  object-fit:contain;
}

/* ===== Top Header ===== */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:var(--navy-950);
  color:#eef2ff;
  border-bottom:1px solid rgba(255,255,255,0.06);
}

.topbar-inner{
  max-width:1200px;
  margin:0 auto;
  padding:12px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

/* Accessibility skip link: visually hidden unless focused */
.toplink{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

.toplink:focus{
  position:static;
  width:auto;
  height:auto;
  padding:8px 10px;
  background:rgba(255,255,255,0.12);
  border-radius:10px;
  color:#fff;
  font-weight:600;
  text-decoration:none;
}

.brand-logo{
  height:56px; /* you said it could be a bit larger */
  width:auto;
  display:block;
}

@media (max-width: 720px){
  .brand-logo{ height:42px; }
}

.top-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
}

/* ===== Main Layout ===== */
.layout{
  max-width:1200px;
  margin:0 auto;
  padding:18px 16px 28px;
  display:grid;
  grid-template-columns: 280px 1fr; 
  
  gap:18px;
  align-items:start;
}

/* ===== Left Nav ===== */
.sidenav{
  position:sticky;
  top:72px; /* below topbar */
  background:var(--navy-900);
  border:1px solid rgba(255,255,255,0.06);
  border-radius:14px;
  overflow:hidden;
}

.navlist{
  list-style:none;
  padding:8px;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.navitem button{
  width:100%;
  border:0;
  background:transparent;
  color:rgba(255,255,255,0.84);
  border-radius:12px;

  /* icon left, label right */
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-start;
  gap:10px;

  padding:10px 12px;
  cursor:pointer;
  text-align:left;

  transition: background 140ms ease, color 140ms ease;
}

.navitem button:hover{
  /* “slightly less subtle” hover */
  background:rgba(255,255,255,0.10);
  color:#fff;
}

.navitem button:focus-visible{
  outline:3px solid rgba(202,162,74,0.70);
  outline-offset:2px;
}

.navicon{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
}

.navlabel{
  font-size:15px;
  font-weight:650;
  letter-spacing:-0.01em;

  /* Keep labels to one line */
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Subtle icon lift on hover */
.navitem button .icon-img{ transition: transform 120ms ease; }
.navitem button:hover .icon-img{ transform: translateY(-0.5px); }

/* Active state */
.navitem.active button{
  background:rgba(202,162,74,0.14);
  color:#fff;
}
.navitem.active .navlabel{ color:var(--gold); }

/* ===== Content Canvas + Floating Card ===== */
.content{
  background:transparent;
  padding:0; /* aligns with left menu */
}

.card{
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:
    0 14px 34px rgba(15, 23, 42, 0.18),
    0 2px 8px rgba(15, 23, 42, 0.06);
  border:1px solid rgba(15,23,42,0.07);
  overflow:hidden;
}

.card-head{
  background:var(--navy-850);
  color:#f8fafc;
  padding:16px 20px 12px;
}

.card-head-row{
  display:flex;
  align-items:center;
  gap:12px;
}

.head-icon{
  width:36px;
  height:36px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
}
.head-icon .icon-img{
  width:36px;
  height:36px;
}

.head-title{
  font-size:26px;
  font-weight:700;
  letter-spacing:-0.02em;
  margin:0;
  line-height:1.05;
}

/* thin gold divider line */
.gold-rule{
  height:2px;
  width:min(340px, 72%);
  background:var(--gold);
  margin:10px 0 0 48px;
  border-radius:2px;
  opacity:0.95;
}

.card-body{
  padding:22px 24px 26px;
  max-width:760px;
}

.summary{
  font-size:18px;
  line-height:1.45;
  color:var(--ink-700);
  margin:0 0 16px;
}

.bodytext{
  font-size:16.5px;
  line-height:1.62;
  color:var(--ink-900);
}
.bodytext p{ margin:0 0 1.1em; }
.bodytext ul{ margin:0 0 1.1em; padding-left:1.2em; }
.bodytext li{ margin:0.35em 0; }

/* ===== Contact form ===== */
.form{
  display:grid;
  gap:12px;
  margin-top:10px;
  max-width:640px;
}

.field label{
  display:block;
  font-weight:700;
  margin-bottom:6px;
  color:var(--ink-900);
}

.field input, .field textarea{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(15,23,42,0.14);
  font:inherit;
  background:#fff;
}

.field textarea{
  min-height:140px;
  resize:vertical;
}

.helper{
  margin-top:6px;
  color:var(--ink-500);
  font-size:14px;
  line-height:1.45;
}

.btn{
  justify-self:start;
  border:0;
  border-radius:12px;
  padding:10px 14px;
  font-weight:800;
  cursor:pointer;
  background:var(--navy-850);
  color:#fff;
}
.btn:hover{ filter:brightness(1.06); }

/* ===== Footer ===== */
footer{
  margin-top:26px;
  background:var(--navy-950);
  color:rgba(255,255,255,0.80);
  border-top:1px solid rgba(255,255,255,0.06);
}

.footer-inner{
  max-width:1200px;
  margin:0 auto;
  padding:18px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

/* If you use the simplified footer HTML */
.footer-single{
  justify-content:center;
  text-align:center;
}

.footer-line{ justify-content:center; }

.footer-inline{
  display:flex;
  align-items:center;
  gap:10px;
  color: rgba(255,255,255,0.86);
  font-weight:700;
}

.footer-wave{
  height: 18px;
  width: auto;
  display:block;
  transform: translateY(1px);
  opacity: 0.95;
}


/* ===== Responsive ===== */
@media (max-width: 920px){
  .layout{ grid-template-columns: 1fr; }
  .sidenav{ position:static; top:auto; }
  .card-body{ max-width:none; }
}

