/*
Theme Name:  Snyder Wildstyle
Theme URI:   https://snyderit.com
Author:      Nathan Snyder
Author URI:  https://snyderit.com
Description: Single-page graffiti-tag showcase. Ultra-Wild Wildstyle centerpiece, ghost navigation, wall strip, subtle motion.
Version:     1.0.0
License:     Proprietary
Text Domain: snyder-wildstyle
*/

/* ──────────────────────────────
   0. RESET & TOKENS
   ────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  /* palette */
  --white:     #ffffff;
  --concrete:  #d4d0c8;
  --slate:     #7a7a7a;
  --graphite:  #2e2e2e;
  --ink:       #1a1a1a;
  --accent:    #c23b22;
  --accent-b:  #3d85c6;
  --accent-g:  #4caf50;

  /* type */
  --font-body:    'Space Grotesk', sans-serif;
  --font-display: 'Permanent Marker', cursive;

  /* motion */
  --ease-out: cubic-bezier(.22,1,.36,1);
  --dur:      .45s;
}

html{scroll-behavior:smooth;overflow-x:hidden}
body{
  font-family:var(--font-body);
  background:var(--white);
  color:var(--ink);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
ul{list-style:none}

/* ──────────────────────────────
   1. HEADER — Ghost Nav
   ────────────────────────────── */
.site-header{
  position:fixed;inset-inline:0;top:0;z-index:100;
  display:flex;align-items:center;justify-content:space-between;
  padding:1.25rem 2.5rem;
  background:transparent;
  transition:background var(--dur) var(--ease-out),
             box-shadow var(--dur) var(--ease-out);
}
.site-header.scrolled{
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  box-shadow:0 1px 0 rgba(0,0,0,.06);
}

.site-brand{
  font-family:var(--font-display);
  font-size:1.05rem;
  letter-spacing:.04em;
  opacity:.18;
}

.ghost-nav{display:flex;gap:2rem}
.ghost-nav a{
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.12em;
  opacity:.12;
}

/* ──────────────────────────────
   2. HERO — Graffiti Centerpiece
   ────────────────────────────── */
.hero{
  position:relative;
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  min-height:100vh;min-height:100dvh;
  padding:6rem 2rem 4rem;
  background:var(--white);
  overflow:hidden;
}

/* faint overspray halo behind the tag */
.hero::before{
  content:'';
  position:absolute;
  width:700px;height:700px;
  border-radius:50%;
  background:radial-gradient(
    circle,
    rgba(194,59,34,.045) 0%,
    rgba(61,133,198,.03) 40%,
    transparent 70%
  );
  pointer-events:none;
  animation:halo-pulse 8s ease-in-out infinite alternate;
}

@keyframes halo-pulse{
  0%  {transform:scale(1);   opacity:.7}
  100%{transform:scale(1.15);opacity:1}
}

.hero-tag{
  position:relative;
  width:min(720px,85vw);
  animation:tag-rise 1.2s var(--ease-out) both;
}
.hero-tag img{
  width:100%;height:auto;
  filter:drop-shadow(0 4px 30px rgba(0,0,0,.08));
}

@keyframes tag-rise{
  0%  {opacity:0;transform:translateY(40px) scale(.96)}
  100%{opacity:1;transform:translateY(0)    scale(1)}
}

.hero-tagline{
  margin-top:1.8rem;
  font-family:var(--font-display);
  font-size:clamp(1rem,2.5vw,1.4rem);
  letter-spacing:.06em;
  color:var(--slate);
  opacity:0;
  animation:fade-up .9s var(--ease-out) .6s forwards;
}

@keyframes fade-up{
  0%  {opacity:0;transform:translateY(18px)}
  100%{opacity:1;transform:translateY(0)}
}

/* thin drip line divider */
.drip-divider{
  width:2px;height:80px;
  margin:3rem auto 0;
  background:linear-gradient(to bottom,var(--concrete),transparent);
  opacity:0;
  animation:fade-up .9s var(--ease-out) 1s forwards;
}

/* ──────────────────────────────
   3. WALL STRIP — Tiles
   ────────────────────────────── */
.wall-strip{
align-content:center;
  position:relative;
  padding:5rem 2rem;
  background:var(--white);
  overflow:hidden;
}

/* subtle noise texture overlay */
.wall-strip::before{
  content:'';
  position:absolute;inset:0;
  background-image:url("data:image/svg+xml,%3Csvg width='4' height='4' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='1' height='1' fill='%23000' opacity='.025'/%3E%3C/svg%3E");
  background-repeat:repeat;
  pointer-events:none;
}

.wall-strip-heading{
  text-align:center;
  font-family:var(--font-display);
  font-size:clamp(.75rem,1.6vw,1rem);
  text-transform:uppercase;
  letter-spacing:.25em;
  color:var(--concrete);
  margin-bottom:3rem;
}

.tile-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:1.5rem;
  max-width:1100px;
  margin:0 auto;
}

.tile{
  position:relative;
  background:var(--white);
  border-radius:6px;
  padding:2rem 1.6rem;
  min-height:200px;
  box-shadow:0 1px 4px rgba(0,0,0,.04);
  border:1px solid rgba(0,0,0,.04);
  overflow:hidden;
}

/* spray-stripe accent on tile edge — always visible */
.tile::after{
  content:'';
  position:absolute;bottom:0;left:0;right:0;
  height:3px;
  background:linear-gradient(90deg,var(--accent),var(--accent-b),var(--accent-g));
  opacity:1;
}

.tile-label{
  font-size:.7rem;
  text-transform:uppercase;
  letter-spacing:.15em;
  color:var(--concrete);
}
.tile-title{
  margin-top:.6rem;
  font-size:1.1rem;
  font-weight:600;
  color:var(--graphite);
}
.tile-body{
  margin-top:.75rem;
  font-size:.88rem;
  color:var(--slate);
  line-height:1.55;
}

/* ──────────────────────────────
   4. FOOTER
   ────────────────────────────── */
.site-footer{
  padding:2.5rem 2rem;
  text-align:center;
  font-size:.72rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--concrete);
  background:var(--white);
  border-top:1px solid rgba(0,0,0,.04);
}
.site-footer span{
  display:inline-block;
}

/* ──────────────────────────────
   5. SCROLL-REVEAL UTILITY
   ────────────────────────────── */
.reveal{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .7s var(--ease-out),
             transform .7s var(--ease-out);
}
.reveal.visible{
  opacity:1;
  transform:translateY(0);
}

/* ──────────────────────────────
   6. RESPONSIVE
   ────────────────────────────── */
@media(max-width:768px){
  .site-header{padding:1rem 1.4rem}
  .ghost-nav{gap:1.2rem}
  .ghost-nav a{font-size:.7rem}
  .hero{padding:5rem 1.2rem 3rem}
  .wall-strip{padding:3.5rem 1.2rem}
  .tile-grid{grid-template-columns:1fr 1fr;gap:1rem}
}
@media(max-width:480px){
  .ghost-nav a{display:none}
  .site-brand{opacity:.3}
  .tile-grid{grid-template-columns:1fr}
}