/* =========================================
   FatRabbit — Main Stylesheet
   fatrabbit.is redesign
   ========================================= */


/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'DM Sans', sans-serif;
  background: #FFFDF8;
  color: #1a1410;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ---- CSS Variables ---- */
:root {
  --cream:    #FFFDF8;
  --cream-mid: #f5ece0;
  --cream-warm: #f0e6d6;
  --tan:      #e8d4be;
  --sand:     #d4b898;
  --terracotta: #C5703A;
  --terracotta-dark: #a85c2e;
  --brown:    #7a6e62;
  --dark:     #1a1410;
  --text:     #4a3f36;
  --text-mid: #5c5046;
  --border:   #e0d8cc;
  --serif:    'Cormorant Garamond', Georgia, serif;
  --sans:     'DM Sans', system-ui, sans-serif;
}

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 300; line-height: 1.15; }
h1 { font-size: clamp(42px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3.5vw, 42px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }

.eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== NAVIGATION ===== */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 40px 20px;
  border-bottom: 0.5px solid var(--border);
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dark);
}
.nav-logo span { color: var(--terracotta); }

.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--terracotta); }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--dark);
  transition: all 0.3s;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 13px 28px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--terracotta);
  color: #fff;
}
.btn-primary:hover { background: var(--terracotta-dark); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--dark);
  border: 0.5px solid var(--dark);
}
.btn-ghost:hover { background: var(--dark); color: #fff; }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 0.5px solid rgba(255,255,255,0.5);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }

/* ===== MARQUEE ===== */
.marquee-bar {
  background: var(--dark);
  padding: 13px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-inner {
  display: inline-block;
  animation: marquee 28s linear infinite;
}
.marquee-item {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c9bfb3;
  padding: 0 36px;
}
.marquee-item .dot { color: var(--terracotta); margin: 0 10px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-wrap {
  background: var(--dark);
  padding-top: 22px;
  text-align: center;
}
.marquee-label {
  display: block;
  margin-bottom: 10px;
  color: var(--terracotta);
}

/* ===== MANIFESTO STRIP ===== */
.manifesto-strip {
  padding: 72px 40px;
  background: var(--cream-mid);
  text-align: center;
  border-bottom: 0.5px solid var(--border);
}
.manifesto-strip::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--terracotta);
  margin: 0 auto 32px;
}
.manifesto-text {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 300;
  font-style: italic;
  color: var(--dark);
  line-height: 1.55;
  max-width: 680px;
  margin: 0 auto;
  letter-spacing: 0.01em;
}

/* ===== SECTION SHARED ===== */
.section { padding: 72px 40px; }
.section-heading { margin-bottom: 48px; }
.section-heading h2 { margin-top: 12px; }

/* ===== CARD GRID ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.card {
  background: var(--cream);
  padding: 40px 32px;
  transition: background 0.2s;
  cursor: pointer;
}
.card:hover { background: #fdf5eb; }
.card-num {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 300;
  color: #e8ddd3;
  line-height: 1;
  margin-bottom: 18px;
}
.card-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 12px;
}
.card-body {
  font-size: 13px;
  color: var(--brown);
  line-height: 1.8;
  margin-bottom: 22px;
}
.card-link {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.card-link::after { content: '→'; }
.card:hover .card-link { gap: 10px; }

/* ===== FEATURED BAND ===== */
.featured-band {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  min-height: 380px;
  background: var(--cream-mid);
  border-top: 0.5px solid var(--border);
}
.featured-image {
  background: var(--tan);
  position: relative;
  overflow: hidden;
  min-height: 360px;
}
.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
}
.featured-image-placeholder {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0; left: 0;
  background: linear-gradient(135deg, var(--cream-warm) 0%, var(--tan) 50%, var(--sand) 100%);
}
.featured-content {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-tag {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  border: 0.5px solid var(--terracotta);
  padding: 5px 12px;
  margin-bottom: 24px;
  font-weight: 500;
}
.featured-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 300;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 18px;
}
.featured-title em { font-style: italic; color: var(--terracotta); }
.featured-body {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ===== GALLERY GRID ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--tan);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 20, 16, 0.55);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-label {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.05em;
}

/* ===== ART GALLERY — framed layout ===== */
.art-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  background: var(--cream);
  padding: 48px 40px;
}
.art-gallery-item {
  background: #ffffff;
  cursor: zoom-in;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.4s ease;
}
.art-gallery-item:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.art-gallery-item-frame {
  padding: 24px 24px 16px;
}
.art-gallery-item-frame img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}
.art-gallery-item:hover .art-gallery-item-frame img {
  opacity: 0.9;
}
.art-gallery-item-label {
  padding: 6px 24px 20px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--brown);
}

/* ===== FICTION LIST ===== */
.fiction-list { display: flex; flex-direction: column; }
.fiction-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px 40px;
  border-bottom: 0.5px solid var(--border);
  transition: background 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.fiction-item:hover { background: var(--cream-mid); }
.fiction-num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 300;
  color: var(--sand);
}
.fiction-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  color: var(--dark);
  margin-bottom: 4px;
}
.fiction-excerpt {
  font-size: 13px;
  color: var(--brown);
  line-height: 1.6;
}
.fiction-arrow {
  font-size: 20px;
  color: var(--terracotta);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.fiction-item:hover .fiction-arrow { opacity: 1; transform: translateX(4px); }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 80px 40px 60px;
  background: var(--cream);
  border-bottom: 0.5px solid var(--border);
}
.page-hero h1 { margin-top: 16px; }
.page-hero p {
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  font-weight: 300;
  color: var(--brown);
  margin-top: 16px;
  max-width: 600px;
}

/* ===== ABOUT PAGE ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.about-image {
  background: var(--tan);
  min-height: 500px;
  position: relative;
  overflow: hidden;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
}
.about-content {
  padding: 64px 56px;
  background: var(--cream);
}
.about-content h2 {
  margin: 12px 0 24px;
}
.about-content p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 20px;
}
.artist-bio p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 32px;
}
.about-quote {
  border-left: 2px solid var(--terracotta);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
}
.about-quote blockquote {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 300;
  font-style: italic;
  color: var(--dark);
  line-height: 1.4;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 500px;
}
.contact-info {
  padding: 64px 48px;
  background: var(--dark);
  color: #c9bfb3;
}
.contact-info h2 { color: #fff; margin: 12px 0 32px; }
.contact-info p { font-size: 14px; line-height: 1.8; margin-bottom: 28px; }
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}
.contact-detail-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
}
.contact-detail-value { font-size: 15px; color: #e0d8d0; }

.contact-form {
  padding: 64px 48px;
  background: var(--cream-mid);
}
.contact-form h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 32px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-group label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown);
  font-weight: 500;
}
.form-group input,
.form-group textarea {
  background: var(--cream);
  border: 0.5px solid var(--border);
  padding: 12px 16px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--terracotta); }
.form-group textarea { min-height: 120px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  padding: 36px 40px 24px;
}
.footer-logo {
  text-align: center;
  margin-bottom: 28px;
}
.footer-stamp {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: invert(1) opacity(0.15);
  mix-blend-mode: screen;
  display: inline-block;
  transition: filter 0.3s ease;
}
.footer-stamp:hover { filter: invert(1) opacity(0.9); }
.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 0.5px solid #2a2220;
  text-align: center;
}
.footer-copy { font-size: 11px; color: #7a6e62; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .featured-band { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-footer { padding: 36px 24px 24px; }
  .footer-sitemap { max-width: 100%; width: 100%; display: flex; flex-direction: column; }
  .footer-item a { font-size: 14px; }
  .site-nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--cream);
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 200;
  }
  .nav-links.open a { font-size: 18px; }
  .section { padding: 48px 24px; }
  .card-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .fiction-item { grid-template-columns: 48px 1fr; padding: 20px 24px; }
  .fiction-arrow { display: none; }
  .stats-strip { flex-wrap: wrap; }
  .stat-item { flex-basis: 50%; }
}

/* ===== HERO (index page) ===== */
.hero { background: var(--cream); }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}
.hero-left {
  padding: 72px 40px 72px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}
.hero-left h1 { margin: 16px 0 12px; }
.hero-left h1 em { font-style: italic; color: var(--terracotta); }
.hero-sub {
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  font-weight: 300;
  color: var(--brown);
  margin-bottom: 40px;
  line-height: 1.6;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-right {
  position: relative;
  background: var(--cream-warm);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-right svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.hero-caption {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 18px 24px;
  background: rgba(255,253,248,0.88);
  backdrop-filter: blur(2px);
}
.hero-caption-text {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown);
}

/* ===== HERO RABBIT IMAGE ===== */
.hero-rabbit {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center bottom;
  mix-blend-mode: multiply;
  padding: 20px 12px 0;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { min-height: 280px; }
  .hero-left { padding: 48px 24px; }
}

/* ===== IMAGE COPYRIGHT PROTECTION ===== */
/* Prevent drag-to-desktop and text/image selection on all images */
img {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none; /* iOS long-press save menu */
}
