/* Danaris Innovation Corp. — danaris.ca
   Theme: Mockup C "Eddy" · grain #5A6B7C on navy rgb(13,37,58) · light sections white + grey-237 pattern */

:root{
  --navy: rgb(13,37,58);
  --grey: rgb(237,237,237);
  --grain: #5A6B7C;
  --lpat: rgb(237,237,237);
  --header-h: 80px;
  --pad-x: 8vw;
}

*{ box-sizing: border-box; margin: 0; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}
body{
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #111;
  background: #fff;
}
h1, h2, h3{ font-family: 'Space Grotesk', 'Inter', sans-serif; }
a:focus-visible, button:focus-visible{
  outline: 3px solid #1a6ecc;
  outline-offset: 2px;
}

/* ---------- header ---------- */
header{
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: var(--grey);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,.10);
}
.ua{
  display: block;
  text-decoration: none;
  line-height: 0;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,.12);
  flex-shrink: 0;
}
.ua .band{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 14px;
  font: 700 8px/1 'Inter', sans-serif;
  letter-spacing: .18em;
}
.ua .top{ background: #0057B7; color: #fff; }
.ua .bot{ background: #FFD700; color: #0057B7; }
.home{ line-height: 0; flex-shrink: 0; }
.logo{ height: 56px; display: block; }

nav{
  margin-left: auto;
  display: flex;
  gap: 28px;
}
nav a{
  text-decoration: none;
  color: #222;
  font-size: 15px;
  padding: 6px 2px;
}
nav a:hover{ color: var(--navy); text-decoration: underline; }

/* hamburger (mobile) */
.menu-toggle{
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-toggle span{
  display: block;
  width: 22px;
  height: 2px;
  background: #222;
}

@media (max-width: 720px){
  .menu-toggle{ display: flex; }
  nav{
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--grey);
    flex-direction: column;
    gap: 0;
    margin: 0;
    border-bottom: 1px solid rgba(0,0,0,.12);
    display: none;
  }
  nav.open{ display: flex; }
  nav a{
    padding: 14px 24px;
    border-top: 1px solid rgba(0,0,0,.06);
    font-size: 16px;
  }
  .logo{ height: 47px; }
}

/* ---------- sections ---------- */
section{
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) var(--pad-x) 72px;
  scroll-margin-top: 0; /* sections are full-height; header overlays their top padding */
}
.dark{ background: var(--navy); color: #fff; }
.light{ background: #fff; color: #111; }

.bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.grain{ fill: var(--grain); }
.lpat{ stroke: var(--lpat); }

.content{
  position: relative;
  max-width: 640px;
}
.content.right{ margin-left: auto; }
@media (max-width: 900px){
  .content.right{ margin-left: 0; }
}

.eyebrow{
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: 12px;
}
h1, h2{
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  margin-bottom: 16px;
}
section p{
  line-height: 1.65;
  opacity: .88;
  max-width: 56ch;
  margin-bottom: 14px;
}
.hero-tag{
  font-size: clamp(16px, 2vw, 20px);
  opacity: .75;
  margin-bottom: 40px;
  font-style: italic;
}
.subtitle{
  font-size: clamp(16px, 2vw, 19px);
  opacity: .95;
}
.email-blob{
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(18px, 2.4vw, 26px);
  margin: 10px 0 18px;
}
.email-blob a{
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 2px;
}
.email-blob a:hover{ opacity: .75; }
.fineprint{ font-size: 13px; opacity: .6; }

/* ---------- footer ---------- */
footer{
  background: var(--navy);
  color: rgba(255,255,255,.75);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  align-items: center;
  padding: 18px var(--pad-x);
  font-size: 13px;
}
footer a{ color: rgba(255,255,255,.75); }
footer a:hover{ color: #fff; }

/* ---------- titled items (Solutions / Services) ---------- */
.content.wide{ max-width: 1040px; }
.lede{ margin-bottom: 26px; }
.items{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 40px;
}
.item h3{
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}
.item p{
  font-size: 15px;
  line-height: 1.55;
  opacity: .82;
  margin-bottom: 0;
}
@media (max-width: 900px){
  .items{ grid-template-columns: 1fr; gap: 16px; }
}
