/*
Theme Name: Salty Dog Blues
Theme URI: https://saltydogblues.com
Author: Custom build
Description: Custom WordPress theme for Salty Dog Blues — gigs, galleries, band profiles and interactive story.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: salty-dog-blues
*/

:root {
  --sd-ink:#f7f1e8;
  --sd-muted:#c8bcae;
  --sd-night:#120f0d;
  --sd-panel:#1d1713;
  --sd-rust:#a64e2f;
  --sd-gold:#e0b35e;
  --sd-paper:#f4ecd9;
  --sd-line:rgba(255,255,255,.14);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:linear-gradient(145deg,#0d0b0a,#1a1411 58%,#0c0a09);
  color:var(--sd-ink);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.55;
}
a{color:inherit}
img{max-width:100%;height:auto}
.sd-wrap{width:min(1180px,calc(100% - 36px));margin-inline:auto}
.sd-site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(12,10,9,.86);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--sd-line);
}
.sd-header-inner{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.sd-brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.sd-brand-mark{
  width:42px;height:42px;border-radius:50%;display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.25);font-weight:900;letter-spacing:-.05em;
  background:linear-gradient(145deg,#56311f,#1b1511)
}
.sd-brand-copy strong{display:block;letter-spacing:.08em}
.sd-brand-copy small{display:block;color:var(--sd-muted);font-size:.76rem}
.sd-nav ul{list-style:none;display:flex;gap:22px;margin:0;padding:0}
.sd-nav a{text-decoration:none;color:#f7f0e7;font-weight:700;font-size:.9rem}
.sd-nav a:hover{color:var(--sd-gold)}
.sd-menu-toggle{display:none;background:none;border:1px solid var(--sd-line);color:white;border-radius:9px;padding:10px 12px}
.sd-hero{
  min-height:72vh;
  display:grid;align-items:end;
  background:
    linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.08) 42%,rgba(0,0,0,.88)),
    url('assets/band-hero.png') center 43%/cover no-repeat;
}
.sd-hero-copy{padding:70px 0 64px;max-width:780px;text-shadow:0 4px 26px #000}
.sd-eyebrow{text-transform:uppercase;letter-spacing:.16em;font-weight:900;color:#ffd28b;font-size:.76rem}
.sd-hero h1,.sd-section h2,.sd-page-title{
  font-family:Georgia,"Times New Roman",serif;
  line-height:.95;letter-spacing:-.045em
}
.sd-hero h1{font-size:clamp(4rem,10vw,8rem);margin:.1em 0 .12em}
.sd-hero-sub{font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.25rem,2.6vw,2rem);margin:0}
.sd-hero-style{color:#ddd2c6;text-transform:uppercase;letter-spacing:.07em;font-size:.85rem}
.sd-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.sd-button{
  display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;
  border-radius:999px;text-decoration:none;font-weight:850;background:var(--sd-gold);color:#1a130e
}
.sd-button.alt{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.18);color:white}
.sd-section{padding:76px 0}
.sd-section.alt{background:rgba(255,255,255,.035);border-block:1px solid rgba(255,255,255,.05)}
.sd-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:30px}
.sd-section h2{font-size:clamp(2.4rem,5vw,4.2rem);margin:0}
.sd-section-intro{max-width:650px;color:var(--sd-muted)}
.sd-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.sd-card{
  background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.035));
  border:1px solid var(--sd-line);border-radius:15px;overflow:hidden
}
.sd-card-body{padding:22px}
.sd-card h3{margin:.2em 0 .45em;font-family:Georgia,"Times New Roman",serif;font-size:1.55rem}
.sd-meta{color:var(--sd-gold);font-size:.76rem;font-weight:850;letter-spacing:.09em;text-transform:uppercase}
.sd-card p{color:#d9cec2}
.sd-gig-date{
  min-width:72px;display:grid;place-items:center;padding:15px;background:var(--sd-rust);color:white;text-align:center
}
.sd-gig-date strong{display:block;font-family:Georgia,serif;font-size:2rem;line-height:1}
.sd-gig{display:flex}
.sd-photo-card img{width:100%;aspect-ratio:4/3;object-fit:cover}
.sd-band-grid{grid-template-columns:repeat(4,1fr)}
.sd-member{
  min-height:280px;display:flex;flex-direction:column;justify-content:end;padding:24px;
  background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(0,0,0,.22));
}
.sd-member .sd-role{color:var(--sd-gold);text-transform:uppercase;letter-spacing:.09em;font-size:.7rem;font-weight:900}
.sd-member h3{font-size:1.65rem;margin:.2em 0}
.sd-member p{color:#cfc4b8;font-size:.92rem}
.sd-story-band{
  background:
    linear-gradient(90deg,rgba(9,7,6,.94),rgba(9,7,6,.38)),
    url('assets/piano-bar-wide.jpg') center/cover no-repeat;
  border-radius:18px;padding:clamp(34px,6vw,72px);min-height:420px;display:flex;align-items:end
}
.sd-story-band>div{max-width:650px}
.sd-story-band h2{font-size:clamp(2.8rem,6vw,5.5rem)}
.sd-page-main{padding:70px 0 90px}
.sd-page-title{font-size:clamp(3rem,7vw,5rem);margin:0 0 12px}
.sd-page-lead{color:var(--sd-muted);max-width:760px}
.sd-content{max-width:820px}
.sd-content a{color:var(--sd-gold)}
.sd-book-frame{
  width:100%;height:min(900px,82vh);border:0;border-radius:16px;background:#120f0d;
  box-shadow:0 22px 70px rgba(0,0,0,.35)
}
.sd-footer{border-top:1px solid var(--sd-line);padding:34px 0;color:#aa9f94}
.sd-footer-inner{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}
.sd-empty{padding:30px;border:1px dashed rgba(255,255,255,.2);border-radius:12px;color:var(--sd-muted)}
.sd-archive-list{display:grid;gap:18px}
.sd-gallery-content .wp-block-gallery{gap:10px}
.sd-gallery-content img{border-radius:8px}
.sd-contact-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:30px}
.sd-contact-card{padding:28px;border:1px solid var(--sd-line);border-radius:14px;background:rgba(255,255,255,.045)}
.sd-contact-card a{color:var(--sd-gold)}
@media(max-width:900px){
  .sd-grid,.sd-band-grid{grid-template-columns:repeat(2,1fr)}
  .sd-nav{display:none;position:absolute;top:74px;left:0;right:0;background:#120f0d;border-bottom:1px solid var(--sd-line);padding:18px}
  .sd-nav.open{display:block}
  .sd-nav ul{flex-direction:column}
  .sd-menu-toggle{display:block}
  .sd-contact-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
  .sd-wrap{width:min(100% - 24px,1180px)}
  .sd-grid,.sd-band-grid{grid-template-columns:1fr}
  .sd-hero{min-height:68vh}
  .sd-section{padding:54px 0}
  .sd-section-head{align-items:start;flex-direction:column}
  .sd-brand-copy small{display:none}
  .sd-book-frame{height:76vh}
}
