/*  unique cyan parchment background with navy hacker theme
   Responsive mobile-first, frosted glass hero, accessible focus styles. */

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

/* Base */
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: #0b1b2b;
  /* cyan parchment vibe with navy accents */
  background: linear-gradient(135deg, #dffaff 0%, #c2f0ff 40%, #a0e6ff 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* light parchment texture overlay */
  background-image:
    linear-gradient(135deg, rgba(0,0,0,.04) 0 2px, transparent 2px 4px),
    linear-gradient(315deg, rgba(0,0,0,.03) 0 2px, transparent 2px 4px);
  background-size: 8px 8px, 8px 8px;
}

/* Palette */
:root {
  --navy: #0b1b2b;
  --cyan: #20e1ff;
  --glass: rgba(255, 255, 255, 0.92);
  --shadow: rgba(0,0,0,.15);
  --focus: #ffffff;
}

/* Header */
.site-header { padding: 12px; text-align: center; }
.brand {
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(32,225,255,0.6);
}

/* Main container */
main { display: block; }

/* Hero: frosted glass card, mobile-first, grid-based layout */
.hero {
  width: min(1000px, 92%);
  margin: 22px auto;
  padding: 22px;
  border-radius: 14px;
  background: var(--glass);
  backdrop-filter: saturate(125%) blur(6px);
  -webkit-backdrop-filter: saturate(125%) blur(6px);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 22px 44px rgba(0,0,0,.15);
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 12px;
  text-align: center;
}

/* Title (single H1) */
.hero > h1 {
  margin: 0;
  font-size: 1.6rem;
  color: var(--navy);
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

/* Centerpiece image */
.hero-media { width: 100%; display: flex; justify-content: center; }
.hero-media img {
  width: 100%;
  max-width: 720px;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
  background: #fff;
  display: block;
}

/* Subhead and CTA */
.subhead { font-size: 1.05rem; color: #12233a; margin: 0; }
.cta {
  display: inline-block;
  margin: 6px auto 0;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  color: #04152a;
  text-decoration: none;
  /* cyan-blue gradient to stand out on cyan background */
  background: linear-gradient(135deg, #ffffff 0%, #d3f7ff 60%, #8eeaff 100%);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 22px rgba(0, 180, 255, 0.5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 180, 255, 0.65); }
.cta:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Footer */
.site-footer { text-align: center; padding: 14px; }
.footer-ad a {
  display: inline-block;
  font-size: 0.85rem;
  color: #04152a;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  background: linear-gradient(135deg, #d9f7ff 0%, #b3f0ff 100%);
}
.gratitude { margin-top: 8px; color: #555; }

/* Desktop layout: image to the right, text left for emphasis */
@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    text-align: left;
    align-items: center;
  }
  .hero > h1 { font-size: 2rem; }
  .subhead { font-size: 1.08rem; }
  .cta { justify-self: start; }
  .hero-media { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
  .hero { transition: none; }