/* ============================================
   Jonathan Sanders — personal site
   Brand palette pulled from Jonathan Sanders - Branding.png
   ============================================ */

:root {
  --cream: #F3EFE6;
  --warm-gray: #D6D2C4;
  --olive: #55614A;
  --terracotta: #B45A3C;
  --ink: #1E1E1E;
  --black: #0D0D0D;

  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --max-width: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Header / nav ---------- */

header.site-header {
  border-bottom: 1px solid var(--warm-gray);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
  padding: 28px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav a {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

/* ---------- Hero ---------- */

.hero {
  padding: 72px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  align-items: center;
  gap: 40px;
}

.portrait-frame {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--warm-gray);
  flex-shrink: 0;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-name {
  font-family: var(--font-serif);
  font-size: 64px;
  line-height: 1.05;
  margin: 0 0 18px;
  font-weight: 600;
}

.hero-rule {
  width: 56px;
  height: 3px;
  background: var(--terracotta);
  margin: 0 0 16px;
  border: none;
}

.hero-tags {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
}

.hero-tags .dot {
  color: var(--terracotta);
  margin: 0 10px;
}

.hero-divider {
  width: 1px;
  align-self: stretch;
  background: var(--warm-gray);
}

.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  margin: 0 0 16px;
}

.hero-intro {
  font-size: 16px;
  color: var(--ink);
  max-width: 340px;
  margin: 0;
}

/* ---------- Category tile grid ---------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.tile {
  position: relative;
  aspect-ratio: 3 / 4;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--cream);
  overflow: hidden;
}

.tile-num {
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 13px;
  letter-spacing: 0.1em;
  opacity: 0.75;
}

.tile-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  opacity: 0.16;
}

.tile-title {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.15;
  margin: 0 0 8px;
  position: relative;
  z-index: 1;
}

.tile-rule {
  width: 28px;
  height: 2px;
  background: var(--terracotta);
  border: none;
  margin: 0;
  position: relative;
  z-index: 1;
}

.tile-1 { background: var(--ink); }
.tile-2 { background: var(--olive); }
.tile-3 { background: #3d3226; }
.tile-4 { background: var(--terracotta); }
.tile-5 { background: var(--black); }
.tile-6 { background: #4a5240; }

.tiles-note {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive);
  padding: 18px 0;
  background: var(--warm-gray);
}

/* ---------- Footer bar ---------- */

footer.site-footer {
  background: var(--black);
  color: var(--cream);
  padding: 18px 0;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.now-playing {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.now-playing.is-ready {
  opacity: 1;
}

.now-playing .vinyl {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--terracotta) 0 4px, var(--ink) 5px 100%);
  flex-shrink: 0;
}

.now-playing .label {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-right: 4px;
}

.now-playing .track { color: var(--cream); }
.now-playing .artist { font-style: italic; color: var(--warm-gray); }

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a {
  width: 34px;
  height: 34px;
  border: 1px solid var(--warm-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.social-icons a:hover {
  border-color: var(--terracotta);
  background: rgba(180, 90, 60, 0.15);
}

.social-icons svg {
  width: 16px;
  height: 16px;
  stroke: var(--cream);
  fill: none;
}

/* ---------- Simple content pages (about / stub) ---------- */

.page {
  padding: 72px 0 96px;
}

.page-eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 14px;
}

.page h1,
.page h2 {
  font-family: var(--font-serif);
  font-size: 48px;
  margin: 0 0 24px;
}

.page-body {
  max-width: 640px;
  font-size: 17px;
}

.page-body p { margin: 0 0 20px; }

.page-body .lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
}

.about-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
}

.about-portrait {
  width: 100%;
  border-radius: 50%;
  border: 3px solid var(--warm-gray);
  overflow: hidden;
}

.interest-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
}

.interest-list li {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-right: 18px;
  margin-right: 14px;
  border-right: 1px solid var(--warm-gray);
}

.interest-list li:last-child { border-right: none; }

.coming-soon {
  text-align: center;
  padding: 120px 0;
}

.coming-soon h1,
.coming-soon h2 {
  font-family: var(--font-serif);
  font-size: 40px;
  margin-bottom: 12px;
}

section.page,
section.coming-soon {
  scroll-margin-top: 40px;
}

.coming-soon p {
  color: var(--olive);
  font-style: italic;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .portrait-frame { margin: 0 auto; }
  .hero-divider { display: none; }
  .hero-intro { margin: 0 auto; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .about-layout { grid-template-columns: 1fr; }
  .about-portrait { width: 200px; margin: 0 auto; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 22px; }
  .nav { padding: 20px 22px; gap: 20px; justify-content: center; flex-wrap: wrap; }
  .hero-name { font-size: 42px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .footer-row { justify-content: center; text-align: center; }
}
