/* ============================================
   satyakamthefiddler.com
   Shared design language with thepaintingfiddler.com
   ============================================ */

:root {
  --ink:       #1A0D04;
  --ink-2:     #2B160A;
  --ink-3:     #3B1F10;
  --wine:      #3A1508;
  --wine-2:    #4E1E0C;
  --saffron:   #FFB840;
  --saffron-2: #FFD24A;
  --vermilion:   #D63A1C;
  --vermilion-2: #E84E2A;
  --cream:     #FAEBC8;
  --cream-dim: #D9C290;
  --rule:       rgba(250, 235, 200, 0.16);
  --rule-strong: rgba(250, 235, 200, 0.30);

  --on-bg:     var(--cream);
  --on-bg-dim: var(--cream-dim);
  --bg:        var(--ink);
  --bg-2:      var(--ink-2);
  --bg-3:      var(--ink-3);
  --accent:    var(--saffron);
  --accent-2:  var(--vermilion);

  --display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --grotesk: "Inter", -apple-system, system-ui, sans-serif;
}

/* ============ Reset & Base ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--on-bg);
  font-family: var(--grotesk);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; color: inherit; font: inherit; }
img { max-width: 100%; display: block; }

/* ============ Typography ============ */
.display {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
}
.eyebrow {
  font-family: var(--grotesk);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ============ Container ============ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--grotesk);
  font-weight: 500;
  transition: all 200ms;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--ink);
}
.btn-primary:hover { background: var(--saffron-2); }
.btn-ghost {
  background: transparent;
  color: var(--on-bg);
  border: 1px solid var(--rule-strong);
}
.btn-ghost:hover {
  background: rgba(240, 230, 210, 0.06);
  border-color: rgba(240, 230, 210, 0.4);
}
.btn-vermilion {
  background: var(--vermilion);
  color: #fff;
}
.btn-vermilion:hover { background: var(--vermilion-2); }

/* ============ Sections ============ */
.section {
  padding: 96px 0;
}
.section-dark {
  background: var(--bg-2);
}
.section-header {
  margin-bottom: 56px;
}
.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  margin-top: 12px;
}

/* ============ Nav ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  transition: background 300ms ease, padding 300ms ease;
}
.nav.scrolled {
  background: rgba(11, 8, 5, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 40px;
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  cursor: pointer;
  flex-shrink: 0;
}
.nav-brand-name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}
.nav-brand-tag {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-bg-dim);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-link {
  font-size: 13px;
  color: var(--on-bg-dim);
  letter-spacing: 0.04em;
  transition: color 200ms;
  padding: 4px 0;
}
.nav-link:hover { color: var(--on-bg); }
.nav-paintings-link {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vermilion);
  border: 1px solid rgba(200, 53, 28, 0.35);
  padding: 7px 14px;
  transition: background 200ms, border-color 200ms;
  flex-shrink: 0;
}
.nav-paintings-link:hover {
  background: rgba(200, 53, 28, 0.1);
  border-color: rgba(200, 53, 28, 0.6);
}
@media (max-width: 768px) {
  .nav { padding: 16px 20px; }
  .nav.scrolled { padding: 12px 20px; }
  .nav-links { display: none; }
}

/* ============ Hero ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 40px 96px;
  background:
    radial-gradient(ellipse at 30% 65%, rgba(42, 15, 8, 0.9) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 35%, rgba(22, 16, 10, 0.6) 0%, transparent 50%),
    radial-gradient(ellipse at center, rgba(232, 162, 59, 0.03) 0%, transparent 70%),
    var(--bg);
  position: relative;
}
.hero-grid {
  width: 100%;
  max-width: 1240px;
  text-align: center;
}
.hero-inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}
.hero-eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}
.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--on-bg-dim);
  line-height: 1.65;
  margin-bottom: 48px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.hero-sub strong {
  color: var(--accent);
  font-weight: 500;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-image-desktop { display: none; }
.hero-image-mobile {
  max-width: 320px;
  margin: 12px auto 4px;
}
.hero-image-frame {
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
}
.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-position: center 15%;
  object-fit: cover;
  display: block;
}

@media (min-width: 900px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 64px;
    text-align: left;
  }
  .hero-inner { margin: 0; }
  .hero-eyebrow, .hero-actions { justify-content: flex-start; }
  .hero-sub { margin-left: 0; margin-right: 0; }
  .hero-image-mobile { display: none; }
  .hero-image-desktop {
    display: block;
    position: relative;
  }
}

@media (max-width: 600px) {
  .hero { padding: 120px 20px 80px; }
}

/* ============ The Show (3 columns) ============ */
.show-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--rule);
  gap: 1px;
}
.show-col {
  background: var(--bg);
  padding: 56px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 300ms;
}
.show-col:hover { background: var(--bg-2); }
.show-col-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.show-col-title {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 36px;
  line-height: 1;
}
.show-col-text {
  color: var(--on-bg-dim);
  line-height: 1.7;
  font-size: 15px;
}
@media (max-width: 900px) {
  .show-grid { grid-template-columns: 1fr; }
}

/* ============ Watch (Video) ============ */
.watch-section {
  padding: 96px 0;
  background: var(--bg-2);
}
.video-wrap {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
  border: 1px solid var(--rule);
}
.video-caption {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: var(--on-bg-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 48px auto 0;
}
.video-grid-item .video-wrap {
  max-width: 100%;
}
@media (max-width: 600px) {
  .video-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ============ About ============ */
.about-section {
  padding: 96px 0;
}

/* ===== Gallery ===== */
.gallery-section {
  padding: 96px 0;
  background: var(--bg-2);
}
.gallery-section .eyebrow {
  display: block;
  margin-bottom: 28px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery-item {
  overflow: hidden;
  grid-column: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05);
  transition: transform 0.6s ease;
}
.gallery-item:hover img {
  transform: scale(1.04);
}
/* Editorial rhythm: a couple of feature tiles span wider/taller */
.gallery-item-0 { grid-column: span 4; grid-row: span 2; }
.gallery-item-4 { grid-row: span 2; }
@media (max-width: 800px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .gallery-item,
  .gallery-item-0,
  .gallery-item-4 { grid-column: span 1; grid-row: span 1; }
  .gallery-item-0 { grid-column: span 2; grid-row: span 2; }
}
.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}
.about-photo-wrap {
  position: sticky;
  top: 100px;
}
.about-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}
.about-photo-caption {
  margin-top: 12px;
  font-size: 11px;
  color: var(--on-bg-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.about-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.about-lead {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--on-bg);
  line-height: 1.3;
}
.about-text p {
  color: var(--on-bg-dim);
  line-height: 1.85;
  font-size: 16px;
}
.about-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-quote {
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.about-quote-text {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--on-bg);
  line-height: 1.45;
}
.about-quote-attr {
  margin-top: 16px;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo-wrap { position: static; }
  .about-photo { aspect-ratio: 3 / 4; max-width: 420px; margin: 0 auto; }
}

/* ============ Timeline ============ */
.timeline-rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
  margin-top: 48px;
}
.timeline-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.timeline-year {
  font-family: var(--display);
  font-style: italic;
  color: var(--accent);
  font-size: 15px;
}
.timeline-title { font-size: 15px; }
.timeline-loc {
  font-size: 12px;
  color: var(--on-bg-dim);
  white-space: nowrap;
}
@media (max-width: 600px) {
  .timeline-row { grid-template-columns: 60px 1fr; }
  .timeline-loc { display: none; }
}

/* ============ Book the Show ============ */
.book-section {
  padding: 96px 0;
  background: linear-gradient(135deg, rgba(42, 15, 8, 0.6) 0%, var(--bg) 60%);
  border-top: 1px solid var(--rule);
}
.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.book-aside-title {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  margin: 16px 0 24px;
}
.book-aside-text {
  color: var(--on-bg-dim);
  line-height: 1.75;
  margin-bottom: 32px;
  font-size: 15px;
}
.show-specs {
  border-top: 1px solid var(--rule);
}
.show-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.show-spec-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-bg-dim);
  flex-shrink: 0;
}
.show-spec-val {
  font-size: 14px;
  text-align: right;
}
@media (max-width: 900px) {
  .book-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ============ Form ============ */
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-bg-dim);
}
.field-input,
.field-select,
.field-textarea {
  background: rgba(240, 230, 210, 0.04);
  border: 1px solid var(--rule-strong);
  color: var(--on-bg);
  font-family: var(--grotesk);
  font-size: 14px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 200ms;
  -webkit-appearance: none;
}
.field-input:focus,
.field-select:focus,
.field-textarea:focus { border-color: rgba(232, 162, 59, 0.5); }
.field-input::placeholder,
.field-textarea::placeholder { color: rgba(201, 184, 149, 0.35); }
.field-select option { background: var(--ink-2); }
.field-textarea { resize: vertical; }
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ============ Footer ============ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--rule);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 24px;
}
.footer-brand {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 4px;
}
.footer-tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-bg-dim);
  margin-bottom: 16px;
}
.footer-blurb {
  font-size: 14px;
  color: var(--on-bg-dim);
  line-height: 1.65;
  margin-bottom: 16px;
}
.footer-painting-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--accent);
  border-bottom: 1px solid rgba(232, 162, 59, 0.3);
  padding-bottom: 2px;
  transition: border-color 200ms;
}
.footer-painting-link:hover { border-color: var(--accent); }
.footer-col-title {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-bg-dim);
  margin-bottom: 16px;
}
.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col-links a,
.footer-col-links button {
  font-size: 14px;
  color: var(--on-bg-dim);
  cursor: pointer;
  transition: color 200ms;
  text-align: left;
}
.footer-col-links a:hover,
.footer-col-links button:hover { color: var(--on-bg); }
.newsletter-field {
  display: flex;
}
.newsletter-field input {
  flex: 1;
  background: rgba(240, 230, 210, 0.04);
  border: 1px solid var(--rule-strong);
  border-right: none;
  color: var(--on-bg);
  font-size: 13px;
  padding: 10px 14px;
  outline: none;
  font-family: var(--grotesk);
}
.newsletter-field input::placeholder { color: rgba(201, 184, 149, 0.35); }
.newsletter-field button {
  background: var(--accent);
  color: var(--ink);
  border: none;
  padding: 10px 16px;
  font-size: 12px;
  font-family: var(--grotesk);
  cursor: pointer;
  white-space: nowrap;
  transition: background 200ms;
  font-weight: 500;
}
.newsletter-field button:hover { background: var(--saffron-2); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--on-bg-dim);
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ============ Toast ============ */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-3);
  border: 1px solid var(--rule-strong);
  color: var(--on-bg);
  padding: 12px 20px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 300ms, transform 300ms;
  pointer-events: none;
  white-space: nowrap;
  z-index: 1000;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast svg { color: var(--accent); }
