/*
Theme Name: Chelsea Blankinship
Theme URI: https://chelseablankinship.com
Author: Built for Chelsea Blankinship
Author URI: https://chelseablankinship.com
Description: Custom one-page artist theme — vintage Americana / 1970s film aesthetic with the Medino display serif. Built for Chelsea Blankinship.
Version: 1.2
Requires at least: 5.9
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chelsea-blankinship
*/

:root {
  --bg: #f1e4cd;        /* aged paper */
  --bg-2: #e8d7b8;      /* warmer card */
  --fg: #2c2014;        /* espresso ink */
  --muted: #7c6a4f;     /* faded sepia */
  --accent: #b14a27;    /* burnt sienna */
  --accent-2: #c98a2b;  /* harvest gold */
  --teal: #4f6b56;      /* faded sage */
  --line: #cbb68f;
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Bitter', Georgia, serif;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* film grain + warm vignette for that vintage photo feel */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 9998;
  box-shadow: inset 0 0 240px rgba(70,40,15,.32);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.display { font-family: 'Medino', 'Rozha One', serif; font-weight: 400; letter-spacing: .01em; font-feature-settings: "liga" 1, "dlig" 1, "calt" 1; }
.western { font-family: 'Rye', serif; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 108px 0; border-top: 1px solid var(--line); }
.eyebrow { font-family:'Rye',serif; color: var(--accent); text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; margin-bottom: 16px; }
.section-title { font-size: clamp(2.4rem, 6.5vw, 4.6rem); line-height: 1; margin-bottom: 36px; }

/* ---------- NAV ---------- */
header { position: sticky; top: 0; z-index: 100; background: rgba(241,228,205,.9); backdrop-filter: blur(8px); border-bottom: 1px double var(--line); }
nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { font-family:'Medino','Rozha One',serif; font-size: 1.02rem; text-transform: uppercase; letter-spacing: .16em; font-feature-settings:"liga" 1,"dlig" 1; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); transition: color .2s; font-weight: 700; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { border: 1px solid var(--accent); color: var(--accent); padding: 8px 18px; border-radius: 2px; }
.nav-cta:hover { background: var(--accent); color: var(--bg); }
.nav-links a.nav-custom { background: var(--accent); color: var(--bg); padding: 8px 18px; border-radius: 2px; transition: background .2s, color .2s; }
.nav-links a.nav-custom:hover { background: var(--accent-2); color: var(--fg); }
.burger { display: none; background: none; border: 0; color: var(--fg); font-size: 1.5rem; cursor: pointer; }

/* ---------- HERO ---------- */
.hero { min-height: 90vh; display: flex; flex-direction: column; justify-content: center; position: relative; border-top: 0; padding: 70px 0; text-align: center; align-items: center; }
/* 1970s sunburst */
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg::before {
  content:""; position:absolute; left:50%; top:42%; transform: translate(-50%,-50%);
  width: 1200px; height: 1200px; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg,
    rgba(201,138,43,.22) 0deg 9deg,
    rgba(177,74,39,.12) 9deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 30%, transparent 68%);
          mask: radial-gradient(circle, #000 30%, transparent 68%);
  animation: spin 120s linear infinite;
}
.hero-bg::after {
  content:""; position:absolute; left:50%; top:42%; transform: translate(-50%,-50%);
  width: 360px; height: 360px; border-radius:50%;
  background: radial-gradient(circle, rgba(201,138,43,.55), rgba(177,74,39,.15) 60%, transparent 72%);
}
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg);} }

.hero h1 { font-size: clamp(2.6rem, 10vw, 7.4rem); line-height: .98; margin-bottom: 22px; text-transform: uppercase; letter-spacing: .06em; color: var(--fg); }
.hero p { max-width: 540px; color: var(--muted); font-size: 1.12rem; font-style: italic; margin: 0 auto 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 2px; font-family:'Bitter',serif; font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; transition: transform .15s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-2); color: var(--fg); }
.btn-ghost { border: 1px solid var(--fg); color: var(--fg); }
.btn-ghost:hover { background: var(--fg); color: var(--bg); }

/* scrolling marquee */
.marquee { overflow: hidden; border-top: 1px double var(--line); border-bottom: 1px double var(--line); background: var(--accent); color: var(--bg); }
.marquee-track { display: flex; white-space: nowrap; gap: 36px; padding: 12px 0; animation: scroll 26s linear infinite; }
.marquee-track span { font-family:'Rye',serif; text-transform: uppercase; font-size: 1.05rem; letter-spacing: .05em; }
@keyframes scroll { from { transform: translateX(0);} to { transform: translateX(-50%);} }

/* ---------- FULL-BLEED PHOTO BAND ---------- */
.photo-band { height: 82vh; min-height: 440px; background: var(--bg-2) center 35%/cover no-repeat; position: relative; }
.photo-band::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(44,32,20,.06), rgba(44,32,20,.18)); }

/* ---------- MUSIC ---------- */
.releases { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 28px; }
.release { background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: transform .2s, box-shadow .2s; box-shadow: 3px 3px 0 rgba(124,106,79,.18); }
.release:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 rgba(177,74,39,.3); }
.release .art { aspect-ratio: 1/1; background: radial-gradient(circle at 50% 40%, #e9cf9f, #d9b779); display: flex; align-items: center; justify-content: center; color: #8a6a3a; font-family:'Rye',serif; font-size:.8rem; text-align:center; padding:16px; position: relative; background-size: cover; background-position: center; }
.release .art img { width:100%; height:100%; object-fit: cover; }
.release .art::before { content:"☉"; font-size: 3.4rem; opacity:.4; position:absolute; }
.release .art.has-img::before { content:none; }
.release .meta { padding: 18px 20px 22px; }
.release h3 { font-family:'Rozha One',serif; font-size: 1.4rem; margin-bottom: 2px; }
.release .year { color: var(--muted); font-style: italic; font-size:.85rem; margin-bottom: 14px; }
.release .links { display: flex; gap: 16px; flex-wrap: wrap; }
.release .links a { font-size:.74rem; letter-spacing:.1em; text-transform: uppercase; font-weight:700; color: var(--accent); border-bottom: 1px solid transparent; }
.release .links a:hover { border-color: var(--accent); }

.stream-row { margin-top: 44px; display:flex; gap: 22px; flex-wrap: wrap; align-items:center; }
.stream-row > span { color: var(--muted); font-style: italic; }
.stream-row a { font-size:.82rem; letter-spacing:.1em; text-transform:uppercase; font-weight:700; padding-bottom:3px; border-bottom:1px solid var(--line); }
.stream-row a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- ABOUT ---------- */
.about-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.about-photo { aspect-ratio: 4/5; background: var(--bg-2) center/cover no-repeat; border:1px solid var(--line); border-radius:4px; box-shadow: 5px 5px 0 rgba(124,106,79,.22); position: relative; }
.about-photo::after { content:""; position:absolute; inset:10px; border:1px solid rgba(124,106,79,.35); pointer-events:none; }
.about-text p { color: #4a3a28; margin-bottom: 18px; }
.about-text p:first-of-type { font-size: 1.3rem; font-style: italic; color: var(--fg); }

/* ---------- VIDEO ---------- */
.video-frame { position: relative; padding-top: 56.25%; border:1px solid var(--line); border-radius:4px; overflow:hidden; background: var(--bg-2); box-shadow: 5px 5px 0 rgba(124,106,79,.22); }
.video-frame iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }

/* ---------- STORE ---------- */
.store { background: var(--bg-2); border-top: 1px double var(--line); border-bottom: 1px double var(--line); }
.store-cta { text-align:center; max-width: 640px; margin: 0 auto; }
.store-cta p { color: var(--muted); margin: 0 auto 30px; font-style: italic; }

/* ---------- CONTACT ---------- */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.socials { display:flex; flex-direction:column; gap: 12px; }
.socials a { font-family:'Rozha One',serif; font-size: clamp(1.5rem, 3vw, 2.3rem); color: var(--muted); transition: color .2s, transform .2s; width: fit-content; }
.socials a:hover { color: var(--accent); transform: translateX(8px); }
.signup label { display:block; font-family:'Rye',serif; font-size:.82rem; color: var(--accent); margin-bottom: 10px; text-transform: uppercase; letter-spacing:.12em; }
.signup form { display:flex; gap:10px; flex-wrap: wrap; }
.signup input { flex:1; min-width: 180px; background: var(--bg); border:1px solid var(--line); color: var(--fg); padding: 14px 16px; border-radius:2px; font-family:inherit; }
.signup input:focus { outline:none; border-color: var(--accent); }
.booking { margin-top: 36px; color: var(--muted); font-size:.95rem; }
.booking a { color: var(--accent); }

footer { border-top:1px double var(--line); padding: 40px 0; background: var(--bg-2); }
.foot { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; color: var(--muted); font-size:.85rem; font-style: italic; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 66px; left:0; right:0; flex-direction: column; background: var(--bg-2); padding: 20px 24px; gap: 18px; border-bottom:1px double var(--line); }
  section { padding: 80px 0; }
}
