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

/* Olive grid paper background with gold accents for hacker vibe */
:root {
  --gold: #d4af37;
  --gold-2: #e0b23a;
  --paper: #f0f1d0;
  --ink: #1a1a0f;
  --text: #1b1a0f;
}
html, body { height: 100%; }
html { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial; }
body {
  margin: 0;
  padding: 0;
  color: #2b2b0f;
  min-height: 100vh;
  background-color: #3b4a12;
  /* olive grid paper pattern with gold glow touches */
  background-image:
    repeating-linear-gradient(to right, rgba(0,0,0,.15) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(to bottom, rgba(0,0,0,.15) 0 1px, transparent 1px 40px),
    radial-gradient(circle at 20px 20px, rgba(212,175,55,.15), transparent 40px),
    radial-gradient(circle at 60px 60px, rgba(212,175,55,.08), transparent 60px);
  background-color: #2a3110;
  background-blend-mode: overlay;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
  color-scheme: light;
}

/* Header */
.site-header { text-align: center; padding: 1rem; }
.brand { font-weight: 900; color: #d4a400; }

/* Main layout */
main { width: 100%; }

/* Hero grid: mobile-first single column, two-column on large screens */
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; padding: 1rem; max-width: 1100px; margin: 0 auto; align-items: center; }

/* Frosted glass content block */
.hero-content {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  padding: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #1b160e;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Title & subhead */
.hero-content h1 {
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  margin: 0 0 0.6rem;
  line-height: 1.05;
  color: #2c1a04;
  text-shadow: 0 1px 0 rgba(255,255,255,.6);
}
.hero-content .subhead {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #5a4d1a;
  margin: 0 0 1rem;
}

/* CTA styled as visual centerpiece (link) */
.cta {
  display: inline-block;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  color: #0b0a05;
  background: linear-gradient(135deg, #ffd166 0%, #f4c24a 100%);
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 6px 16px rgba(212,175,55,0.6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(212,175,55,0.8); }
.cta:focus-visible { outline: 3px solid #ffd166; outline-offset: 2px; }

/* Hero media (image) */
.hero-media { display: flex; justify-content: center; align-items: center; padding: 0; }
.hero-media img { width: 100%; height: auto; max-width: 720px; border-radius: 16px; box-shadow: 0 12px 28px rgba(0,0,0,.45); }

/* Footer */
.site-footer { text-align: center; padding: 1rem; }
.footer-ad {
  display: inline-block;
  font-size: 0.92rem;
  color: #ffdcb3;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
}
.closing-note { font-size: 0.92rem; color: rgba(40,30,10,0.95); margin-top: 0.4rem; }

/* Accessibility: keyboard focus for interactive elements */
:focus-visible { outline: 3px solid #ffd166; outline-offset: 2px; }

/* Desktop two-column layout with centerpiece image */
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 2rem; padding: 2rem; }
  .hero-content { padding: 1.75rem; }
  .hero-media { padding-left: 1rem; }
  .site-header { padding-top: 1rem; }
}