/* ==========================================================================
   Aasgard Developments Inc. — aasgarddev.com
   Single stylesheet. Edit copy in index.html; edit look here.
   ========================================================================== */

:root{
  --navy:        #1E2636;   /* brand ground, sampled from the banner artwork */
  --navy-deep:   #161C29;
  --lime:        #B9D531;   /* Aasgard mark */
  --green:       #39B54A;   /* DECK Assets / TagSafety */
  --blue:        #0A76BC;   /* DECK Assets / EquipTag */
  --paper:       #F5F6F4;
  --white:       #FFFFFF;

  --ink:         #E8EBF0;   /* body text on navy */
  --ink-dim:     #A8B2C2;
  --ink-faint:   #7E8899;
  --ink-dark:    #1E2636;   /* body text on paper */
  --ink-dark-dim:#4A5563;

  --rule-light:  rgba(255,255,255,.08);
  --rule-mid:    rgba(255,255,255,.12);

  --serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --sans:  'IBM Plex Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono:  'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --pad: 88px;              /* horizontal page padding, desktop */
  --maxw: 1440px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html { scroll-behavior: auto; } }

body{
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; }
p  { margin: 0; }
ul, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

a { color: var(--lime); text-decoration: none; }
a:hover { color: #D3E86A; }
a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.skip{
  position: absolute; left: -9999px;
  background: var(--lime); color: var(--navy);
  padding: 12px 18px; z-index: 100; font-weight: 600;
}
.skip:focus { left: 16px; top: 16px; }

.vis-hidden{
  position:absolute; width:1px; height:1px; overflow:hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- shared type ------------------------------------------------- */

.eyebrow{
  font-family: var(--mono);
  font-size: 11.5px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--lime);
}
.eyebrow--dark { color: #6B7688; }
.eyebrow--rule { display: flex; align-items: center; gap: 14px; }
.eyebrow--rule::before{
  content: ""; width: 46px; height: 2px; background: var(--lime); flex: none;
}

.lead  { font-size: 20.5px; line-height: 1.62; color: var(--ink-dim); max-width: 740px; text-wrap: pretty; }
.body  { font-size: 17px;  line-height: 1.7;  color: var(--ink-dim); text-wrap: pretty; }
.kicker{ font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.3;
         letter-spacing: -.015em; color: var(--lime); }

/* ---------- buttons ----------------------------------------------------- */

.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 2px;
  font-size: 15.5px; font-weight: 500; line-height: 1;
  min-height: 48px;
}
.btn svg{ width: 15px; height: 15px; fill: none; stroke: currentColor;
          stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn--solid{ background: var(--lime); color: var(--navy); font-weight: 600; }
.btn--solid:hover{ background: #C9E345; color: var(--navy); }
.btn--ghost{ color: var(--ink); border: 1px solid rgba(255,255,255,.22); }
.btn--ghost:hover{ color: var(--white); border-color: rgba(255,255,255,.45); }
.btn--sm{ padding: 11px 22px; min-height: 40px; font-size: 14.5px; }

.actions{ display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; }

/* ---------- nav --------------------------------------------------------- */

.nav{
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px var(--pad);
  border-bottom: 1px solid var(--rule-light);
  max-width: var(--maxw); margin: 0 auto;
}
.nav__brand img{ height: 40px; width: auto; }
.nav__links{ display: flex; align-items: center; gap: 40px; }
.nav__links > a{ font-size: 14.5px; font-weight: 500; color: #C3CAD6; }
.nav__links > a:hover{ color: var(--white); }
.nav__links > a.btn--solid{ color: var(--navy); }

/* ---------- hero -------------------------------------------------------- */

.hero{
  position: relative; overflow: hidden;
  padding: 132px var(--pad) 124px;
  max-width: var(--maxw); margin: 0 auto;
}
.hero__mark{
  position: absolute; top: -150px; right: -170px; width: 700px;
  opacity: .06; pointer-events: none; user-select: none;
}
.hero__inner{
  position: relative;
  display: flex; flex-direction: column; gap: 32px;
  max-width: 980px;
}
.hero h1{ font-size: 54px; line-height: 1.16; color: var(--white); max-width: 950px; text-wrap: pretty; }

/* ---------- proof ------------------------------------------------------- */

.proof{
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.proof__grid{
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 64px;
  align-items: start;
  padding: 84px var(--pad);
  max-width: var(--maxw); margin: 0 auto;
}
.stat__figure{
  font-family: var(--serif); font-weight: 600; font-size: 68px; line-height: 1;
  color: var(--lime); margin-bottom: 12px;
}
.stat__label{ font-size: 15.5px; line-height: 1.55; color: var(--ink-dim); }

.pull{
  margin: 0; padding-left: 44px;
  border-left: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column; gap: 18px;
}
.pull p{ font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.55; color: var(--ink); }
.pull footer{ font-size: 12.5px; letter-spacing: .06em; color: var(--ink-faint); }

/* ---------- product ----------------------------------------------------- */

.product{
  background: var(--paper); color: var(--ink-dark);
  padding: 112px var(--pad);
}
.product > *{ max-width: calc(var(--maxw) - var(--pad) * 2); margin-inline: auto; }

.product__head{
  display: flex; align-items: flex-end; justify-content: space-between; gap: 60px;
  margin-bottom: 56px;
}
.product__headL{ display: flex; flex-direction: column; gap: 22px; max-width: 620px; }
.product__headL h2{ font-size: 46px; line-height: 1.1; }
.product__intro{ font-size: 16.5px; line-height: 1.65; color: #55606F; max-width: 400px; text-wrap: pretty; }

.plate{ align-self: flex-start; background: var(--navy); padding: 18px 26px; }
.plate img{ height: 38px; width: auto; }

.cards{ display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }

.card{
  background: var(--white); border: 1px solid #E2E5E0;
  padding: 44px 42px 46px;
  display: flex; flex-direction: column; gap: 22px;
}
.card--green{ border-top: 3px solid var(--green); }
.card--blue { border-top: 3px solid var(--blue); }

.card h3{ display: flex; align-items: center; gap: 14px; font-size: 27px; }
.card__icon{ width: 26px; height: 26px; flex: none; fill: none;
             stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card--green .card__icon{ stroke: var(--green); }
.card--blue  .card__icon{ stroke: var(--blue); }
.card p{ font-size: 16px; line-height: 1.68; color: var(--ink-dark-dim); }

.stds{ display: grid; grid-template-columns: 86px 1fr; gap: 12px 14px; align-items: center; margin-top: 4px; }
.stds dt{ font-family: var(--mono); font-size: 9.5px; font-weight: 500;
          letter-spacing: .16em; text-transform: uppercase; color: #8A9199; }
.stds dd{ display: flex; flex-wrap: wrap; gap: 8px; }
.chips{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

.chip{
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: #2C7A38; background: #EAF5EC; padding: 7px 12px; border-radius: 2px;
}
.chip--blue{ color: #0A5A90; background: #E7F1F8; }

.textlink{
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 56px;
  font-size: 15.5px; font-weight: 600; color: #1B6CA8;
  border-bottom: 1px solid #B7CEDF; padding-bottom: 5px;
}
.textlink:hover{ color: #0A5A90; border-color: #1B6CA8; }
.textlink svg{ width: 15px; height: 15px; fill: none; stroke: currentColor;
               stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- company ----------------------------------------------------- */

.company{ padding: 112px var(--pad); }
.company__grid{
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 96px;
  align-items: start;
  max-width: calc(var(--maxw) - var(--pad) * 2); margin-inline: auto;
}
.company__grid > div{ display: flex; flex-direction: column; gap: 26px; }
.company h2{ font-size: 46px; line-height: 1.1; color: var(--white); text-wrap: balance; }

.facts__head{ color: var(--ink-faint); padding-bottom: 22px; border-bottom: 1px solid var(--rule-mid); }
.facts dt{ font-size: 16.5px; font-weight: 600; color: var(--white); padding-top: 26px; }
.facts dd{ font-size: 15.5px; line-height: 1.6; color: #98A3B4;
           padding-bottom: 26px; border-bottom: 1px solid var(--rule-light); }
.facts dd:last-child{ border-bottom: 0; padding-bottom: 0; }

/* ---------- contact ----------------------------------------------------- */

.contact{
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 100px var(--pad);
}
.contact__grid{
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 80px;
  max-width: calc(var(--maxw) - var(--pad) * 2); margin-inline: auto;
}
.contact__grid > div:first-child{ display: flex; flex-direction: column; gap: 20px; }
.contact h2{ font-size: 46px; line-height: 1.1; color: var(--white); }

.card-contact{ display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 300px; }
.btn--mail{ font-size: 17px; padding: 18px 32px; }
.btn--mail svg{ width: 18px; height: 18px; stroke-width: 1.7; }
.who { font-size: 19px; font-weight: 600; color: var(--white); }
.role{ font-size: 14.5px; letter-spacing: .04em; color: var(--ink-faint); margin-top: 3px; }

.details{ display: flex; flex-direction: column; gap: 14px; }
.details li{ display: flex; align-items: center; gap: 14px; font-size: 17px; min-height: 44px; }
.details svg{ width: 18px; height: 18px; flex: none; fill: none; stroke: var(--lime);
              stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.details .muted{ color: var(--ink-dim); }
.details .muted svg{ stroke: var(--ink-faint); }

/* ---------- the standing offer (contact section) ------------------------ */

.offer{ display: flex; flex-direction: column; gap: 22px; max-width: 620px; }
.offer h2{ text-wrap: balance; }
.offer .btn{ align-self: flex-start; margin-top: 6px; }
.body--sm{ font-size: 15px; line-height: 1.6; color: var(--ink-faint); }

/* ---------- footer ------------------------------------------------------ */

.foot{
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  padding: 42px var(--pad);
  border-top: 1px solid var(--rule-light);
  max-width: var(--maxw); margin: 0 auto;
}
.foot__left{ display: flex; align-items: center; gap: 20px; }
.foot__left img{ height: 26px; width: auto; opacity: .6; }
.foot__left p{ font-size: 13.5px; color: #6B7688; }
.foot > a{ font-size: 13.5px; color: #8C97AB; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px){
  :root{ --pad: 56px; }
  .hero h1{ font-size: 46px; }
  .proof__grid{ grid-template-columns: 1fr 1fr; gap: 48px; }
  .pull{ grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(255,255,255,.1);
         padding-left: 0; padding-top: 32px; }
  .company__grid{ gap: 56px; }
}

@media (max-width: 860px){
  :root{ --pad: 22px; }

  body{ font-size: 16px; }

  .nav{ padding: 18px var(--pad); }
  .nav__brand img{ height: 32px; }
  .nav__links{ gap: 20px; }
  .nav__links > a:not(.btn){ display: none; }   /* keep only the Contact button */

  .hero{ padding: 56px var(--pad) 60px; }
  .hero__mark{ width: 380px; top: -100px; right: -150px; opacity: .07; }
  .hero__inner{ gap: 22px; }
  .hero h1{ font-size: 31px; line-height: 1.2; }
  .lead{ font-size: 16.5px; }
  .kicker{ font-size: 23px; }
  .actions{ flex-direction: column; align-items: stretch; gap: 11px; }
  .btn{ width: 100%; min-height: 52px; }

  .proof__grid{ grid-template-columns: 1fr; gap: 34px; padding: 46px var(--pad); }
  .stat__figure{ font-size: 52px; margin-bottom: 8px; }
  .stat__label{ font-size: 15px; }
  .pull{ padding-top: 0; padding-left: 20px; border-top: 0;
         border-left: 1px solid var(--rule-mid); }
  .pull p{ font-size: 17px; }

  .product{ padding: 56px var(--pad); }
  .product__head{ flex-direction: column; align-items: stretch; gap: 16px; margin-bottom: 30px; }
  .product__headL{ gap: 16px; }
  .product__headL h2{ font-size: 33px; }
  .product__intro{ max-width: none; font-size: 15.5px; }
  .plate{ padding: 14px 20px; }
  .plate img{ height: 30px; }
  .cards{ grid-template-columns: 1fr; gap: 16px; }
  .card{ padding: 30px 26px 32px; gap: 16px; }
  .card h3{ font-size: 23px; }
  .card p{ font-size: 15.5px; }
  .stds{ grid-template-columns: 1fr; gap: 7px; }
  .stds dt{ margin-top: 5px; }
  .textlink{ margin-top: 30px; font-size: 15px; }

  .company{ padding: 56px var(--pad); }
  .company__grid{ grid-template-columns: 1fr; gap: 34px; }
  .company h2{ font-size: 33px; }
  .body{ font-size: 16px; }
  .facts dt{ font-size: 15.5px; padding-top: 20px; }
  .facts dd{ font-size: 15px; padding-bottom: 20px; }

  .contact{ padding: 56px var(--pad); }
  .contact__grid{ flex-direction: column; gap: 30px; }
  .contact h2{ font-size: 33px; }
  .card-contact{ min-width: 0; gap: 22px; }
  .offer{ max-width: none; gap: 18px; }
  .offer .btn{ align-self: stretch; }
  .details li{ min-height: 46px; font-size: 16px; }

  .foot{ padding: 28px var(--pad); flex-direction: column; align-items: flex-start; gap: 14px; }
  .foot__left{ gap: 16px; }
}

@media print{
  body{ background: #fff; color: #000; }
  .nav__links, .hero__mark, .actions { display: none; }
}

/* ==========================================================================
   Blog
   ========================================================================== */

.hero--sub{ padding: 88px var(--pad) 72px; }
.hero--sub h1{ font-size: 46px; }
.eyebrow--rule a{ color: inherit; }

/* ---------- post list --------------------------------------------------- */

.postlist{
  background: var(--paper); color: var(--ink-dark);
  padding: 88px var(--pad) 104px;
}
.postlist > *{ max-width: 860px; margin-inline: auto; }
.postlist ul{ display: flex; flex-direction: column; }
.postlist li + li{ border-top: 1px solid #DFE2DD; }
.postlist a{
  display: flex; flex-direction: column; gap: 10px;
  padding: 34px 0; color: inherit;
}
.postlist a:hover h2{ color: var(--blue); }
.postlist time{
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em;
  text-transform: uppercase; color: #7A8290;
}
.postlist h2{ font-size: 29px; line-height: 1.2; color: var(--ink-dark); }
.postlist p{ font-size: 16.5px; line-height: 1.62; color: #55606F; max-width: 66ch; }
.postlist__feed{ padding-top: 34px; border-top: 1px solid #DFE2DD; font-size: 14px; }
.postlist__feed a{ color: #1B6CA8; }

/* ---------- single post ------------------------------------------------- */

.post__head{
  padding: 80px var(--pad) 72px;
  display: flex; flex-direction: column; gap: 22px;
}
.post__head > *{ max-width: 860px; margin-inline: auto; width: 100%; }
.post__head h1{ font-size: 46px; line-height: 1.14; color: var(--white); text-wrap: pretty; }
.post__head .lead{ font-size: 19.5px; max-width: none; }
.post__meta{
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-faint);
}
.chip--tag{ color: var(--lime); background: rgba(185,213,49,.1); }

.post__byline{ display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.post__byline-name{ font-size: 16px; font-weight: 600; color: var(--white); }
.post__byline-role{ font-size: 15px; color: var(--ink-faint); }

.prose{
  background: var(--paper); color: var(--ink-dark);
  padding: 76px var(--pad) 88px;
}
.prose > *{ max-width: 720px; margin-inline: auto; }

.prose p, .prose ul, .prose ol, .prose blockquote,
.prose h2, .prose h3, .prose figure, .prose pre, .prose table{ margin: 0 auto 24px; }
.prose > :last-child{ margin-bottom: 0; }

.prose p, .prose li{ font-size: 18px; line-height: 1.72; color: #3C4654; text-wrap: pretty; }
.prose h2{ font-size: 30px; line-height: 1.22; color: var(--ink-dark); margin-top: 52px; }
.prose h3{ font-size: 22px; line-height: 1.3;  color: var(--ink-dark); margin-top: 38px; }
.prose ul, .prose ol{ padding-left: 24px; }
.prose ul li{ list-style: disc; }
.prose ol li{ list-style: decimal; }
.prose li{ margin-bottom: 10px; }
.prose a{ color: #1B6CA8; border-bottom: 1px solid #B7CEDF; }
.prose a:hover{ color: #0A5A90; border-color: #1B6CA8; }
.prose strong{ font-weight: 600; color: var(--ink-dark); }

.prose blockquote{
  border-left: 3px solid var(--green); padding: 4px 0 4px 26px;
}
.prose blockquote p{
  font-family: var(--serif); font-style: italic; font-size: 20px;
  line-height: 1.55; color: var(--ink-dark);
}
.prose code{
  font-family: var(--mono); font-size: .88em;
  background: #E9EAE6; padding: 2px 6px; border-radius: 2px;
}
.prose pre{
  background: var(--navy); color: var(--ink);
  padding: 22px 24px; overflow-x: auto; border-radius: 2px;
}
.prose pre code{ background: none; padding: 0; font-size: 14px; line-height: 1.6; }
.prose img{ border: 1px solid #DFE2DD; }
.prose figcaption{
  font-size: 14px; color: #6B7688; margin-top: 10px; text-align: center;
}
.prose hr{ border: 0; border-top: 1px solid #DFE2DD; margin: 44px auto; }
.prose table{ width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td{ text-align: left; padding: 10px 14px; border-bottom: 1px solid #DFE2DD; }
.prose th{ font-weight: 600; color: var(--ink-dark); border-bottom-color: #B9BEB6; }

.post__foot{
  display: flex; flex-wrap: wrap; gap: 16px;
  padding: 64px var(--pad) 80px;
  max-width: calc(720px + var(--pad) * 2); margin-inline: auto;
}

@media (max-width: 860px){
  .hero--sub{ padding: 44px var(--pad) 40px; }
  .hero--sub h1{ font-size: 31px; }
  .postlist{ padding: 48px var(--pad) 56px; }
  .postlist a{ padding: 26px 0; }
  .postlist h2{ font-size: 23px; }
  .post__head{ padding: 44px var(--pad) 40px; gap: 18px; }
  .post__head h1{ font-size: 31px; }
  .post__head .lead{ font-size: 16.5px; }
  .prose{ padding: 44px var(--pad) 56px; }
  .prose p, .prose li{ font-size: 17px; }
  .prose h2{ font-size: 25px; margin-top: 40px; }
  .prose h3{ font-size: 20px; }
  .post__foot{ padding: 40px var(--pad) 56px; flex-direction: column; }
  .post__foot .btn{ width: 100%; }
}
