/* Space Coast Designs — dark-first, mobile-first stylesheet */
:root {
  --deep-space: #0a1414;
  --teal-depth: #162626;
  --wave-teal: #2e4a4a;
  --starlight: #f5f5f5;
  --seafoam: #8fb3b3;
  --flame: #e07b39;
  --flame-dark: #b85f24;
  --radius: 12px;
  --maxw: 1100px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--deep-space);
  color: var(--starlight);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
h1, h2, h3, .display, nav a, .btn {
  font-family: 'Orbitron', 'Inter', sans-serif;
}
h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 0.75rem; letter-spacing: 0.02em; }
h2 { font-size: 1.35rem; margin: 2rem 0 0.75rem; letter-spacing: 0.02em; }
h3 { font-size: 1.05rem; margin: 1.25rem 0 0.5rem; }
p { margin: 0 0 1rem; }
a { color: var(--seafoam); }
a:hover { color: var(--starlight); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 20, 20, 0.96);
  border-bottom: 1px solid var(--wave-teal);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.9rem 1.25rem; max-width: var(--maxw); margin: 0 auto;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--starlight); }
.brand img { width: 40px; height: 40px; border-radius: 8px; }
.brand-name { font-family: 'Orbitron', sans-serif; font-weight: 800; font-size: 0.95rem; letter-spacing: 0.06em; }
nav.main-nav { margin-left: auto; }
nav.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem;
}
nav.main-nav a {
  color: var(--seafoam); text-decoration: none;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.35rem 0.1rem; border-bottom: 2px solid transparent;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--starlight); border-bottom-color: var(--flame); }

/* Hero */
.hero { overflow: hidden; border-bottom: 1px solid var(--wave-teal); background: var(--deep-space); }
.hero img.hero-art { width: 100%; max-height: 340px; object-fit: cover; display: block; }
.hero-copy {
  padding: 2.5rem 1.1rem 3rem;
  background: var(--deep-space);
}
.hero-copy .wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; }
@media (min-width: 720px) {
  .hero img.hero-art { max-height: 380px; }
  .hero-copy { padding: 3rem 1.5rem 3.5rem; }
}
.hero-copy h1 { font-size: 2rem; }
.hero-copy p.lede { color: var(--seafoam); font-size: 1.05rem; max-width: 44rem; margin-bottom: 1.1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; cursor: pointer;
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 1rem 1.6rem; border-radius: 999px; border: 1px solid var(--wave-teal);
  background: var(--teal-depth); color: var(--starlight);
}
.btn:hover { border-color: var(--seafoam); color: var(--starlight); }
.btn-buy {
  background: var(--flame); border-color: var(--flame); color: #1a0e04;
  font-size: 1rem; padding: 1rem 2.2rem;
}
.btn-buy:hover { background: var(--flame-dark); border-color: var(--flame-dark); color: #fff; }
.btn-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 1rem 0; }

/* Product cards */
.grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  margin: 1.25rem 0 2rem;
}
.card {
  background: var(--teal-depth); border: 1px solid var(--wave-teal); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--seafoam); }
.card a.card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.card img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; background: var(--deep-space); }
.card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.card-area {
  font-family: 'Orbitron', sans-serif; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--seafoam);
}
.card h3 { margin: 0; font-size: 1rem; line-height: 1.35; color: var(--starlight); }
.card .tagline { color: var(--seafoam); font-size: 0.88rem; margin: 0; flex: 1; }
.card .price { font-family: 'Orbitron', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--flame); margin: 0.25rem 0 0; }

/* Area cards */
.area-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--wave-teal); background: var(--teal-depth);
  text-decoration: none; color: var(--starlight); display: block; min-height: 150px;
}
.area-card .area-card-body { padding: 1.4rem 1.2rem; }
.area-card-icon {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--deep-space); border: 1px solid var(--wave-teal);
  color: var(--seafoam); margin-bottom: 0.9rem;
}
.area-card-icon svg { width: 32px; height: 32px; }
.area-card h3 { margin: 0 0 0.4rem; font-size: 1.2rem; }
.area-card p { color: var(--seafoam); margin: 0 0 0.6rem; font-size: 0.92rem; }
.area-card .count { font-size: 0.78rem; color: var(--seafoam); letter-spacing: 0.06em; text-transform: uppercase; }
.area-card:hover { border-color: var(--flame); }

/* Product page */
.breadcrumbs { font-size: 0.82rem; color: var(--seafoam); margin: 1.25rem 0 0.5rem; }
.breadcrumbs a { color: var(--seafoam); text-decoration: none; }
.breadcrumbs a:hover { color: var(--starlight); }
.product-layout { display: grid; gap: 1.5rem; margin: 0.75rem 0 2rem; }
.product-media img {
  border-radius: var(--radius); border: 1px solid var(--wave-teal);
  aspect-ratio: 1 / 1; object-fit: cover; width: 100%; background: var(--teal-depth);
}
.product-info .price-big {
  font-family: 'Orbitron', sans-serif; font-weight: 800; font-size: 1.8rem; color: var(--flame); margin: 0.5rem 0;
}
.product-info .tagline { color: var(--seafoam); font-size: 1.08rem; }
.details-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.details-list li {
  padding: 0.55rem 0 0.55rem 1.6rem; position: relative;
  border-bottom: 1px solid var(--wave-teal); font-size: 0.95rem;
}
.details-list li::before {
  content: "▸"; position: absolute; left: 0.4rem; color: var(--flame); font-weight: bold;
}
.etsy-note { font-size: 0.85rem; color: var(--seafoam); margin-top: 0.75rem; }
.price-note { color: var(--flame); font-size: 0.92rem; font-weight: 600; margin: 0 0 0.5rem; }
.price-big s { color: var(--seafoam); font-weight: 600; font-size: 1.25rem; margin-right: 0.35rem; }
.card .price s, .price s { color: var(--seafoam); font-weight: 600; font-size: 0.85em; margin-right: 0.3rem; }

/* Digital product: steps + FAQ */
.steps { display: grid; gap: 1rem; margin: 1rem 0 0.5rem; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--teal-depth); border: 1px solid var(--wave-teal);
  border-radius: var(--radius); padding: 1.1rem 1.2rem;
}
.step-num {
  font-family: 'Orbitron', sans-serif; font-weight: 800; font-size: 1.5rem;
  color: var(--flame); margin: 0 0 0.4rem;
}
.step h3 { margin: 0 0 0.4rem; font-size: 1.02rem; color: var(--starlight); }
.step p { margin: 0; font-size: 0.92rem; color: var(--seafoam); }
.faq-list { margin: 0.5rem 0 1.25rem; }
.faq-item { border-bottom: 1px solid var(--wave-teal); padding: 0.9rem 0; }
.faq-item h3 { margin: 0 0 0.35rem; font-size: 1rem; color: var(--starlight); }
.faq-item p { margin: 0; font-size: 0.95rem; color: var(--seafoam); }

/* Sections */
.section { padding: 2.2rem 0; }
.section.alt { background: var(--teal-depth); border-top: 1px solid var(--wave-teal); border-bottom: 1px solid var(--wave-teal); }
.kicker {
  font-family: 'Orbitron', sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--flame); margin: 0 0 0.5rem;
}

/* Filter buttons */
.filters { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 1rem 0 0.25rem; }
.filter-btn {
  font-family: 'Orbitron', sans-serif; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: transparent; color: var(--seafoam);
  border: 1px solid var(--wave-teal); border-radius: 999px; padding: 0.55rem 1.1rem; cursor: pointer;
}
.filter-btn:hover { color: var(--starlight); border-color: var(--seafoam); }
.filter-btn.active { background: var(--flame); border-color: var(--flame); color: #1a0e04; }

/* Forms */
form.contact-form { max-width: 560px; margin: 1.25rem 0 2rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.35rem; color: var(--seafoam); }
.field input, .field textarea {
  width: 100%; padding: 0.75rem 0.9rem; border-radius: 8px;
  border: 1px solid var(--wave-teal); background: var(--teal-depth); color: var(--starlight);
  font-family: 'Inter', sans-serif; font-size: 1rem;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--flame); }
.field textarea { min-height: 140px; resize: vertical; }
.contact-form input.honey { display: none; }
.form-note { margin-top: 0.9rem; color: var(--seafoam); min-height: 1.4em; }

/* Footer */
.site-footer { border-top: 1px solid var(--wave-teal); background: var(--teal-depth); margin-top: 2rem; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 2rem 1.1rem;
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-start; justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: 0.6rem; }
.footer-brand img { width: 34px; height: 34px; border-radius: 8px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; }
.footer-nav a { color: var(--seafoam); text-decoration: none; font-size: 0.85rem; }
.footer-nav a:hover { color: var(--starlight); }
.footer-note { width: 100%; font-size: 0.8rem; color: var(--seafoam); margin: 0.5rem 0 0; }

/* About */
.about-hero img { border-radius: var(--radius); border: 1px solid var(--wave-teal); }
.about-photo { margin: 1.25rem 0 1.5rem; max-width: 620px; }
.about-photo img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--wave-teal); }
.about-photo figcaption { margin-top: 0.55rem; font-size: 0.88rem; color: var(--seafoam); text-align: center; }

/* Sitemap page */
.sitemap-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.sitemap-list li { padding: 0.45rem 0 0.45rem 1.6rem; position: relative; border-bottom: 1px solid var(--wave-teal); font-size: 0.95rem; }
.sitemap-list li::before { content: "▸"; position: absolute; left: 0.4rem; color: var(--flame); font-weight: bold; }
.sitemap-list a { color: var(--starlight); text-decoration: none; }
.sitemap-list a:hover { color: var(--flame); text-decoration: underline; }

@media (min-width: 720px) {
  h1 { font-size: 2.4rem; }
  .hero-copy h1 { font-size: 2.6rem; }
  .product-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
  .brand-name { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card:hover { transform: none; }
}
