/* Siân James — warm, simple, image-led. */

:root {
  --cream: #faf5ec;
  --cream-deep: #f3ead9;
  --ink: #33281f;
  --ink-deep: #241c15;
  --ink-soft: #6b5d4d;
  --terracotta: #b85c38;
  --terracotta-dark: #96452a;
  --gold: #c99a5b;
  --sage: #7c8363;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Karla", -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; }

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

h2::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 2px;
  background: var(--gold);
  margin-top: 0.6rem;
}

a { color: var(--terracotta); }
a:hover { color: var(--terracotta-dark); }

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

/* Entrance + scroll-reveal animations */
.anim {
  opacity: 0;
  transform: translateY(1.2rem);
  animation: rise 0.9s cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}
.anim-1 { animation-delay: 0.15s; }
.anim-2 { animation-delay: 0.3s; }
.anim-3 { animation-delay: 0.55s; }
.anim-4 { animation-delay: 0.7s; }
.anim-5 { animation-delay: 0.95s; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(1.6rem);
  transition: opacity 0.8s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal-delay { transition-delay: 0.15s; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim, .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .hero-layer { transform: none !important; }
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 245, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(51, 40, 31, 0.08);
  transition: box-shadow 0.3s;
}

.site-header.scrolled { box-shadow: 0 4px 18px rgba(51, 40, 31, 0.1); }

.nav {
  max-width: 70rem;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--ink);
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links a:hover { color: var(--terracotta); }

.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  order: 3;
}

.nav-links { order: 2; }

.lang-toggle {
  padding: 0.35rem 1rem;
  border-radius: 2rem;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.lang-toggle:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  background: rgba(184, 92, 56, 0.06);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 9rem 1.5rem 8rem;
  text-align: center;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-layer {
  position: absolute;
  inset: -12% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 0;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.2 0 0 0 0 0.16 0 0 0 0 0.12 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; }

.hero-kicker {
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(3.5rem, 11vw, 7.5rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 30px rgba(250, 245, 236, 0.55);
}

.hero-rule {
  width: 5rem;
  height: 2px;
  margin: 1.6rem auto;
  background: linear-gradient(90deg, var(--gold), #e8c185, var(--gold));
  background-size: 200% 100%;
  animation: shimmer 3.5s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}

.hero-sub {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink-soft);
}

.hero-sub-cy { font-style: italic; font-size: 1.1rem; }

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  margin-left: -1.1rem;
  z-index: 2;
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(51, 40, 31, 0.35);
  color: var(--ink);
  text-decoration: none;
  animation: rise 0.9s 1.2s cubic-bezier(0.2,0.6,0.2,1) forwards, bob 2.4s 2.2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(0.4rem); }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 2rem;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--terracotta);
  color: var(--cream);
  box-shadow: 0 6px 16px rgba(184, 92, 56, 0.3);
}

.btn-primary:hover { background: var(--terracotta-dark); color: var(--cream); }

.btn-ghost {
  border-color: var(--terracotta);
  color: var(--terracotta);
  background: transparent;
}

.btn-ghost:hover { background: rgba(184, 92, 56, 0.08); }

.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }

.btn-ghost-light {
  border-color: rgba(250, 245, 236, 0.7);
  color: var(--cream);
  background: transparent;
}
.btn-ghost-light:hover { background: rgba(250, 245, 236, 0.15); color: var(--cream); }

.btn-small { padding: 0.45rem 1rem; font-size: 0.8rem; }

/* Sections */
.section { padding: 5.5rem 1.5rem; }
.section-alt { background: var(--cream-deep); }

.section-dark {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(184, 92, 56, 0.16), transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(124, 131, 99, 0.18), transparent 55%),
    var(--ink-deep);
  color: var(--cream);
}

.section-dark h2 { color: var(--cream); }
.section-dark .section-intro { color: rgba(250, 245, 236, 0.7); }

.section-inner { max-width: 70rem; margin: 0 auto; }
.section-inner.narrow { max-width: 46rem; }

.section-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.section-intro { color: var(--ink-soft); max-width: 46rem; margin-bottom: 2.5rem; }

.placeholder-note { color: var(--gold); font-size: 0.85em; }

.center { text-align: center; margin-top: 2rem; }

.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 3.5rem;
  align-items: start;
}

/* About */
.about-photo { position: relative; }

.about-photo img {
  border-radius: 0.5rem;
  box-shadow: 0 18px 44px rgba(51, 40, 31, 0.28);
  transform: rotate(-1.2deg);
  border: 8px solid #fff;
  width: 100%;
}

.about-photo::after {
  content: "";
  position: absolute;
  top: 1.4rem;
  left: -1.4rem;
  right: 1.4rem;
  bottom: -1.4rem;
  border: 1px solid var(--gold);
  border-radius: 0.5rem;
  z-index: -1;
  transform: rotate(1deg);
}

.about-photo figcaption { font-size: 0.78rem; color: var(--ink-soft); margin-top: 1.1rem; font-style: italic; }
.about-text .lede { font-family: var(--serif); font-size: 1.45rem; margin-bottom: 1.2rem; }
.about-text p + p { margin-top: 1rem; }

/* Featured album */
.featured {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 1.5rem;
  color: var(--cream);
}

.featured-bg {
  position: absolute;
  inset: -40px;
  background-size: cover;
  background-position: center;
  filter: blur(34px) saturate(1.1) brightness(0.5);
  transform: scale(1.15);
}

.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(36, 28, 21, 0.82), rgba(36, 28, 21, 0.45));
  z-index: 1;
}

.featured-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(14rem, 22rem) 1fr;
  gap: 3.5rem;
  align-items: center;
}

.featured-cover {
  width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.featured-text h2 { color: var(--cream); }
.featured-text h2::after { background: var(--gold); }

.featured-desc {
  color: rgba(250, 245, 236, 0.85);
  max-width: 34rem;
  font-size: 1.08rem;
  margin-bottom: 1.8rem;
}

.featured-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* Albums */
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr));
  gap: 2.2rem;
}

.album-art {
  position: relative;
  border-radius: 0.4rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(51, 40, 31, 0.18);
  aspect-ratio: 1;
}

.album-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.album-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(36, 28, 21, 0.55);
  opacity: 0;
  transition: opacity 0.3s;
}

.album:hover .album-art img,
.album:focus-within .album-art img { transform: scale(1.06); }

.album:hover .album-overlay,
.album:focus-within .album-overlay { opacity: 1; }

.album h3 { font-size: 1.4rem; margin-top: 0.9rem; }
.album-meta { font-size: 0.82rem; color: var(--ink-soft); letter-spacing: 0.06em; }

/* Player */
.player {
  background: rgba(250, 245, 236, 0.05);
  border: 1px solid rgba(250, 245, 236, 0.14);
  border-radius: 0.8rem;
  overflow: hidden;
}

.player-now {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0.2rem 1.1rem;
  align-items: center;
  padding: 1.4rem 1.6rem 1.2rem;
  border-bottom: 1px solid rgba(250, 245, 236, 0.12);
}

.player-disc {
  grid-row: 1 / 3;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--gold), var(--terracotta-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-size: 1.3rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.player-disc.spinning { animation: spin 3.2s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

.player-title { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; }
.player-album { font-size: 0.82rem; color: rgba(250, 245, 236, 0.6); letter-spacing: 0.06em; }

.player-progress {
  grid-column: 1 / 3;
  margin-top: 0.9rem;
  height: 4px;
  border-radius: 2px;
  background: rgba(250, 245, 236, 0.15);
  overflow: hidden;
  cursor: pointer;
}

.player-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--terracotta));
  transition: width 0.2s linear;
}

.track-list { list-style: none; }

.track {
  width: 100%;
  display: grid;
  grid-template-columns: 2.2rem 1fr auto auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.85rem 1.6rem;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(250, 245, 236, 0.07);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.98rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}

.track:last-child { border-bottom: none; }
.track:hover { background: rgba(250, 245, 236, 0.07); }

.track-play {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  border: 1px solid rgba(250, 245, 236, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  padding-left: 0.12rem;
  transition: background 0.2s, border-color 0.2s;
}

.track:hover .track-play { border-color: var(--gold); color: var(--gold); }

.track.playing { background: rgba(201, 154, 91, 0.14); }
.track.playing .track-play {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink-deep);
}

.track-name { font-family: var(--serif); font-size: 1.15rem; }
.track-from { font-size: 0.8rem; color: rgba(250, 245, 236, 0.55); letter-spacing: 0.05em; }
.track-len { font-size: 0.8rem; color: rgba(250, 245, 236, 0.4); font-variant-numeric: tabular-nums; }

/* Videos */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.8rem;
}

.video-card {
  position: relative;
  display: block;
  border-radius: 0.5rem;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(51, 40, 31, 0.15);
}

.video-card img { transition: transform 0.3s; }
.video-card:hover img { transform: scale(1.03); }

.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  width: 3.4rem; height: 3.4rem;
  border-radius: 50%;
  background: rgba(250, 245, 236, 0.9);
  color: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  padding-left: 0.2rem;
  transition: transform 0.25s;
}

.video-card:hover .video-play { transform: translate(-50%, -60%) scale(1.12); }

.video-title {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1rem 0.8rem;
  background: linear-gradient(transparent, rgba(51, 40, 31, 0.75));
  color: var(--cream);
  font-size: 0.95rem;
}

/* Gigs */
.gig-list { list-style: none; }

.gig {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(51, 40, 31, 0.12);
}

.gig-date {
  min-width: 6.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.gig-date strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}

.gig-venue { flex: 1; font-size: 1.05rem; }

.gig-booking { margin-top: 1.8rem; color: var(--ink-soft); }

/* Gallery mosaic */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 13rem;
  gap: 1.1rem;
}

.mosaic-item {
  position: relative;
  border-radius: 0.4rem;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(51, 40, 31, 0.14);
}

.mosaic-wide { grid-column: span 2; grid-row: span 2; }

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.mosaic-item:hover img { transform: scale(1.05); }

.mosaic-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 0.9rem 0.7rem;
  background: linear-gradient(transparent, rgba(36, 28, 21, 0.7));
  color: var(--cream);
  font-size: 0.82rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.mosaic-item:hover figcaption { opacity: 1; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 4.5rem 1.5rem 2rem;
}

.site-footer h2 { color: var(--cream); }
.site-footer h2::after { background: var(--terracotta); }
.site-footer a { color: var(--gold); }
.site-footer .placeholder-note { color: rgba(250, 245, 236, 0.5); }

.contact-email a { font-family: var(--serif); font-size: 1.4rem; }

.footer-social { margin-top: 1rem; }

.newsletter { display: flex; gap: 0.6rem; margin: 1rem 0 0.6rem; flex-wrap: wrap; }

.newsletter input {
  flex: 1;
  min-width: 14rem;
  padding: 0.7rem 1rem;
  border-radius: 2rem;
  border: 1px solid rgba(250, 245, 236, 0.3);
  background: rgba(250, 245, 236, 0.08);
  color: var(--cream);
  font-family: var(--sans);
}

.newsletter input::placeholder { color: rgba(250, 245, 236, 0.45); }

.footer-legal {
  max-width: 70rem;
  margin: 3.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 245, 236, 0.15);
  font-size: 0.85rem;
  color: rgba(250, 245, 236, 0.6);
}

.footer-credits { font-size: 0.75rem; color: rgba(250, 245, 236, 0.4); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Responsive */
@media (max-width: 48rem) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }

  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0.9rem;
    padding: 0.5rem 0 0.8rem;
    order: 4;
  }

  .nav-links.open { display: flex; }

  .hero { padding: 6rem 1.5rem 5rem; min-height: 70vh; }

  .featured-inner { grid-template-columns: 1fr; gap: 2rem; }
  .featured-cover { max-width: 18rem; }

  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 11rem; }

  .track { grid-template-columns: 2.2rem 1fr auto; padding: 0.85rem 1rem; }
  .track-from { display: none; }

  .gig { flex-wrap: wrap; }
}
