/* CSS: Coral parchment background with gray hacker vibe, frosted glass, mobile-first */

/* Reset & base */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial; }
:root {
  --parchment: #f4e2c9;
  --parchment-deep: #e9d3b9;
  --cta: #ffd84d;
  --cta-dark: #e6b800;
  --text: #1a1a1a;
  --muted: #4b4b4b;
  --glass: rgba(255, 255, 255, 0.18);
  --glass-border: rgba(255, 255, 255, 0.38);
  --shadow: 0 12px 28px rgba(0,0,0,.25);
}
body {
  margin: 0;
  color: var(--text);
  background-color: #2b2b2b; /* fallback behind textures */
  /* Coral parchment with subtle diagonal lines and a parchment overlay */
  background-image:
    linear-gradient(135deg, rgba(255,184,132,0.25), rgba(255,184,132,0.15) 60%, rgba(0,0,0,0) 60%),
    repeating-linear-gradient(135deg, rgba(0,0,0,.08) 0 6px, transparent 6px 12px),
    linear-gradient( to bottom right, rgba(0,0,0,.15), rgba(0,0,0,0) ),
    #f4e2c9;
  background-blend-mode: overlay, overlay, normal, normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout containers */
.site-header { height: 64px; }

/* Hero section: frosted glass with grid-based layout for modern look */
.hero {
  width: min(92%, 860px);
  margin: 2rem auto;
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
  text-align: center;
  /* slight checker vibe with gray accents */
  grid-template-rows: auto auto auto auto;
}
.hero h1 {
  font-size: 1.6rem;
  margin: 0;
  color: #111;
  letter-spacing: .2px;
}
.subhead {
  font-size: 1rem;
  color: #1f1f1f;
  opacity: 0.92;
  margin: 0;
}
.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.65);
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 14px 34px rgba(0,0,0,.28);
}
.cta {
  display: inline-block;
  padding: 1rem 1.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0b0b0b;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd84d 0%, #f6c94d 60%, #e6a800 100%);
  border: 1px solid rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.25); }
.cta:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Footer with small advertisement */
.site-footer {
  padding: 1rem;
  text-align: center;
  font-size: 0.92rem;
  color: #e5e5e5;
}
.site-footer .ad a {
  color: #ffd84d;
  text-decoration: underline;
}
.site-footer .gratitude {
  margin-top: .5rem;
  color: #f2f2f2;
}

/* Accessibility & motion */
@media (prefers-reduced-motion: reduce) {
  .cta, .hero { transition: none; }
  .hero-media img { transition: none; }
}

/* Desktop refinements */
@media (min-width: 768px) {
  .hero { padding: 2.25rem; gap: 1.75rem; }
  .hero h1 { font-size: 2rem; }
  .subhead { font-size: 1.02rem; }
  .cta { font-size: 1.3rem; padding: 1.15rem 2rem; }
}