/* SNWDA minimal, dramatic, and fast CSS (optimized) */
:root {
  --bg: #0b0f14;
  --bg-alt: #0f141b;
  --surface: #151b22;
  --text: #e6ebf0;
  --muted: #a9b2bd;
  --primary: #4aa3ff;
  /* accent */
  --accent: #ff3b3b;
  /* subtle danger */
  --maxw: 1100px;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .4);

  /* Links (lighter) */
  --link: var(--primary);
  --link-hover: var(--text);
  --link-visited: var(--primary);

  /* Focus */
  --focus-ring: rgba(74, 163, 255, .4);
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(74, 163, 255, .12), transparent 60%),
    var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block
}

/* Global links */
a {
  color: var(--link);
  text-decoration: none
}

a:hover {
  color: var(--link-hover)
}

a:visited {
  color: var(--link-visited)
}

a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus-ring);
  border-radius: 3px
}

/* Utilities */
.container {
  width: min(100% - 2rem, var(--maxw));
  margin: 0 auto
}

.section {
  padding: 4rem 0
}

.section.alt {
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
  border-block: 1px solid #0f1720;
}

.grid.two {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem
}

@media (max-width:900px) {
  .grid.two {
    grid-template-columns: 1fr
  }
}

.mt {
  margin-top: 1rem
}

.bullets {
  padding-left: 1.1rem
}

.bullets li {
  margin: .4rem 0
}

/* Header */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: .5rem;
  background: #000
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 20, .8);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #0f1720;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 0
}

.header-inner img {
  filter:grayscale(100%) opacity(.9);
  transition:filter .2s ease;
}

.header-inner a:hover img{
  filter:none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--text)
}

.brand-logo {
  height: 34px;
  width: auto;
  border-radius: 6px
}

.brand-name {
  font-weight: 700;
  letter-spacing: .5px
}



/* Nav */
.nav-toggle {
  display: none
}

.burger {
  display: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: .2s ease
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0
}

.nav a {
  color: var(--muted);
  padding: .5rem .75rem;
  border-radius: 10px
}

.nav a:hover {
  color: var(--text);
  background: #10161e
}

/* Keep nav color consistent (don’t darken on :visited) */
.nav a:link,
.nav a:visited {
  color: var(--muted)
}

@media (max-width:900px) {
  .burger {
    display: inline-flex
  }

  .nav {
    position: fixed;
    inset: 60px 0 auto 0;
    background: rgba(11, 15, 20, .98);
    border-top: 1px solid #0f1720;
    transform: translateY(-120%);
    transition: transform .2s ease;
  }

  .nav ul {
    flex-direction: column;
    padding: 1rem
  }

  .nav-toggle:checked~.burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
  }

  .nav-toggle:checked~.burger span:nth-child(2) {
    opacity: 0
  }

  .nav-toggle:checked~.burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
  }

  .nav-toggle:checked~.nav {
    transform: translateY(0)
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)),
    url('/images/hero.jpg') center/cover no-repeat;
  filter: saturate(1.05) contrast(1.05);
}

.hero-content {
  position: relative;
  padding: 6rem 1rem
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw + 1rem, 3.2rem);
  margin: 0 0 .6rem;
  letter-spacing: .4px
}

.hero p {
  color: var(--muted);
  margin: 0 0 1.2rem
}

.cta-row {
  display: flex;
  gap: .8rem;
  justify-content: center;
  flex-wrap: wrap
}

/* Buttons */
.btn {
  display: inline-block;
  border-radius: 999px;
  padding: .7rem 1rem;
  border: 1px solid #1b2735
}

.btn.primary {
  background: linear-gradient(180deg, var(--primary), #2a6db3);
  color: #02111f;
  font-weight: 700;
  border: none;
  box-shadow: var(--shadow)
}

.btn.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, .03)
}

.btn:hover {
  transform: translateY(-1px)
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem
}

.card {
  background: linear-gradient(180deg, #111821, #0c1016);
  border: 1px solid #0f1720;
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow)
}

.card h3 {
  margin-top: 0
}

@media (max-width:900px) {
  .cards {
    grid-template-columns: 1fr
  }
}

/* Feature card */
.feature-card {
  background: radial-gradient(600px 200px at 10% -20%, rgba(74, 163, 255, .12), transparent 60%), #0e141c;
  border: 1px solid #0f1720;
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow)
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .6rem
}

.gallery figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #0f1720
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform .3s ease
}

.gallery img:hover {
  transform: scale(1.03)
}

@media (max-width:1100px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media (max-width:700px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr)
  }
}

/* Form */
.narrow {
  max-width: 720px
}

.form {
  background: #182233;
  border: 1px solid #0f1720;
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow)
}

.form-row {
  display: grid;
  gap: .4rem;
  margin-bottom: .9rem
}

.form input,
.form select,
.form textarea {
  background: #0b1016;
  color: var(--text);
  border: 1px solid #1a2533;
  border-radius: 10px;
  padding: .7rem .8rem;
  width: 100%
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74, 163, 255, .2)
}

.fineprint {
  color: var(--muted);
  font-size: .9rem
}

/* Honeypot (kept in DOM, hidden from users) */
.hp {
  position: absolute !important;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0
}

/* Notes */
.note {
  background: #0d131a;
  border: 1px dashed #213043;
  padding: 1rem;
  border-radius: 12px
}

/* Footer */
.site-footer {
  border-top: 1px solid #0f1720;
  background: #0c1117;
  padding: 2rem 0
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  align-items: center;
  text-align: center
}

.footer-inner nav {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap
}

.footer-inner a {
  color: var(--muted)
}

.footer-inner a:hover {
  color: var(--text)
}

/* Keep footer links consistent (don’t darken on :visited) */
.footer-inner a:link,
.footer-inner a:visited {
  color: var(--muted)
}
/* Footer designer: horizontal layout */
.footer-designer{
  display:flex;
  align-items:center;
  gap:.5rem;            /* space between text and logo */
  justify-content:center;
  white-space:nowrap;   /* keep on one line */
}

.footer-designer p{
  margin:0;
  color:var(--muted);
}

.footer-designer a{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
}

.footer-designer img{
  height:26px;          /* adjust to taste */
  width:auto;
  display:block;
  filter:grayscale(100%) opacity(.9);
  transition:filter .2s ease;
}



.footer-designer a:hover img{
  filter:none;
}



/* Motion preferences */
@media (prefers-reduced-motion:reduce) {
  * {
    transition: none !important;
    animation: none !important
  }

  .btn:hover {
    transform: none
  }
}