/* ============================================================
   FOLKRHYTHM — American Rhythm Folk Ensemble LLC
   Barn Dance and Old-Time String Band theme
   Dark palette: barn-loft / barn-flame / quilt-sage / fiddle-gold
   ============================================================ */

:root {
  --barn-loft: #191410;
  --plank-panel: #241C15;
  --deep-cellar: #100C09;
  --barn-flame: #C96A3E;
  --quilt-sage: #8FA07A;
  --fiddle-gold: #C9A24B;
  --pale-quilt: #D8CBB8;
  --warm-grey: #B5A692;
  --hairline: #33281F;
  --white: #FFFFFF;
  --black: #000000;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--pale-quilt);
  background-color: var(--barn-loft);
  overflow-x: hidden;
}

a {
  color: var(--barn-flame);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--fiddle-gold);
}

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.01em;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   FIDDLE-PANEL NAV
   ============================================================ */

.fiddle-panel-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--plank-panel);
  width: 100%;
}

.fiddle-panel-nav .checker-band {
  height: 20px;
  background-image: repeating-conic-gradient(
    var(--barn-flame) 0deg 90deg,
    var(--deep-cellar) 90deg 180deg
  );
  background-size: 20px 20px;
}

.fiddle-panel-nav .nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 14px 24px;
}

.fiddle-panel-nav .brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fiddle-panel-nav .fiddle-glyph {
  width: 34px;
  height: 34px;
  position: relative;
  flex-shrink: 0;
}

.fiddle-glyph .glyph-body {
  width: 22px;
  height: 26px;
  background: var(--fiddle-gold);
  border-radius: 55% 45% 45% 55% / 55% 50% 50% 45%;
  position: absolute;
  left: 12px;
  top: 6px;
}

.fiddle-glyph .glyph-body::before {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 7px;
  height: 6px;
  background: var(--plank-panel);
  border-radius: 8px;
  transform: rotate(-8deg);
}

.fiddle-glyph .glyph-body::after {
  content: '';
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 4px;
  height: 5px;
  background: var(--plank-panel);
  border-radius: 8px;
  transform: rotate(8deg);
}

.fiddle-glyph .glyph-neck {
  position: absolute;
  left: 10px;
  top: 0;
  width: 3px;
  height: 22px;
  background: var(--fiddle-gold);
  transform: rotate(8deg);
}

.fiddle-glyph .glyph-scroll {
  position: absolute;
  left: 6px;
  top: -1px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--fiddle-gold);
  border-radius: 50%;
}

.fiddle-panel-nav .wordmark {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--pale-quilt);
  font-family: Georgia, serif;
}

.fiddle-panel-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.fiddle-panel-nav .nav-links a {
  font-variant: small-caps;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--pale-quilt);
  position: relative;
}

.fiddle-panel-nav .nav-links a:hover {
  color: var(--barn-flame);
}

.fiddle-panel-nav .note-dot {
  width: 6px;
  height: 6px;
  background: var(--quilt-sage);
  border-radius: 50%;
  display: inline-block;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 2px solid var(--hairline);
  color: var(--pale-quilt);
  font-size: 18px;
  padding: 6px 12px;
  cursor: pointer;
  line-height: 1;
}

/* ============================================================
   DANCER-SWING HERO
   ============================================================ */

.dancer-swing-hero {
  background: var(--barn-loft);
  padding: 0;
}

.dancer-swing-hero .hero-upper {
  padding: 90px 20px 80px;
  text-align: center;
}

.dancer-swing-hero .hero-eyebrow {
  display: inline-block;
  background: var(--barn-flame);
  color: var(--deep-cellar);
  font-variant: small-caps;
  font-size: 14px;
  letter-spacing: 0.2em;
  padding: 8px 18px;
  font-weight: 700;
}

.dancer-swing-hero .hero-title {
  font-size: 52px;
  line-height: 1.05;
  color: var(--pale-quilt);
  margin: 28px 0 22px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.dancer-swing-hero .hero-title .accent {
  color: var(--barn-flame);
}

.dancer-swing-hero .hero-subcopy {
  max-width: 720px;
  margin: 0 auto 34px;
  font-size: 18px;
  color: var(--warm-grey);
}

.dancer-swing-hero .hero-ctas {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 30px;
  font-size: 15px;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.btn-burn {
  background: var(--barn-flame);
  color: var(--deep-cellar);
}

.btn-burn:hover {
  background: #D97A4C;
  color: var(--deep-cellar);
  transform: translateY(-2px);
}

.btn-line {
  background: transparent;
  color: var(--quilt-sage);
  border: 2px solid var(--quilt-sage);
}

.btn-line:hover {
  color: var(--barn-loft);
  background: var(--quilt-sage);
  transform: translateY(-2px);
}

/* hero lower deck: barn floor band */
.hero-lower {
  background: var(--plank-panel);
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}

.barn-floor-band {
  position: relative;
  background-image: repeating-conic-gradient(
    var(--barn-flame) 0deg 90deg,
    var(--deep-cellar) 90deg 180deg
  );
  background-size: 46px 46px;
  height: 34px;
  margin-bottom: 34px;
}

.hero-stage-scene {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  min-height: 150px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* dancer pair silhouettes */
.dancers {
  display: flex;
  gap: 4px;
  align-items: flex-end;
}

.dancer {
  width: 54px;
  height: 118px;
  border-radius: 50% 50% 12px 12px;
  position: relative;
}

.dancer.pale {
  background: var(--pale-quilt);
}

.dancer.sage {
  background: var(--quilt-sage);
}

.dancer::before {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  top: -20px;
  left: 12px;
  background: inherit;
}

.dancer::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 8px;
  top: -12px;
  left: -16px;
  background: inherit;
  transform: rotate(24deg);
  border-radius: 8px;
}

.dancer.sage::after {
  left: 8px;
  transform: rotate(-24deg);
}

/* shared raised arm */
.raised-arm {
  position: absolute;
  width: 56px;
  height: 8px;
  background: var(--barn-flame);
  top: -14px;
  left: 50%;
  transform: translateX(-50%) rotate(10deg);
  border-radius: 8px;
  z-index: 2;
}

/* banjo head */
.banjo-head {
  position: absolute;
  left: 8%;
  bottom: 6px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 6px solid var(--fiddle-gold);
  background: var(--plank-panel);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-16deg);
}

.banjo-head::before {
  content: '';
  position: absolute;
  width: 4px;
  height: 34px;
  background: var(--plank-panel);
  border-radius: 4px;
}

.banjo-tunes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.banjo-tunes span {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--fiddle-gold);
  border-radius: 50%;
}

.banjo-tunes span:nth-child(1) { top: 8px; left: 30px; }
.banjo-tunes span:nth-child(2) { right: 8px; top: 28px; }
.banjo-tunes span:nth-child(3) { bottom: 8px; right: 26px; }
.banjo-tunes span:nth-child(4) { bottom: 8px; left: 22px; }
.banjo-tunes span:nth-child(5) { top: 28px; left: 8px; }

/* washboard */
.washboard {
  position: absolute;
  right: 8%;
  bottom: 6px;
  width: 46px;
  height: 110px;
  background: var(--fiddle-gold);
  border-radius: 12px;
  transform: rotate(6deg);
  box-shadow: inset 0 0 0 3px var(--deep-cellar);
}

.washboard::before {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  top: 16px;
  bottom: 16px;
  background-image: repeating-linear-gradient(
    to bottom,
    var(--deep-cellar) 0 4px,
    var(--fiddle-gold) 4px 9px
  );
  border-radius: 8px;
}

/* barn star on back wall */
.barn-star {
  width: 46px;
  height: 46px;
  background: var(--barn-flame);
  position: relative;
  display: inline-block;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.hero-swing {
  display: inline-block;
}

.barn-star--floating {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
}

/* ============================================================
   DANCE-CARD ROWS
   ============================================================ */

.dance-card-rows {
  padding: 90px 0;
  background: var(--barn-loft);
}

.section-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-eyebrow {
  color: var(--quilt-sage);
  font-variant: small-caps;
  font-size: 15px;
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: 38px;
  color: var(--pale-quilt);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--warm-grey);
  font-size: 17px;
}

.dance-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dance-card {
  display: flex;
  align-items: stretch;
  background: var(--plank-panel);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  overflow: hidden;
}

/* punched ticket stub */
.ticket-stub {
  width: 58px;
  flex-shrink: 0;
  background: var(--deep-cellar);
  border-right: 2px dashed var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 4px;
}

.ticket-stub span {
  writing-mode: vertical-rl;
  font-variant: small-caps;
  color: var(--barn-flame);
  font-size: 15px;
  letter-spacing: 0.14em;
  font-weight: 700;
  transform: rotate(180deg);
}

.dance-card-body {
  flex: 1;
  padding: 26px 30px 26px 28px;
}

.dance-card-body h3 {
  font-size: 24px;
  color: var(--pale-quilt);
  margin-bottom: 10px;
}

.dance-card-body p {
  color: var(--warm-grey);
  font-size: 16px;
}

.dance-card-symbol {
  width: 90px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 10px;
  border-left: 1px solid var(--hairline);
}

.dance-card-symbol .star-size-1 { transform: scale(0.7); }
.dance-card-symbol .star-size-2 { transform: scale(0.85); }
.dance-card-symbol .star-size-3 { transform: scale(1); }
.dance-card-symbol .star-size-4 { transform: scale(1.2); }

.tempo-chip {
  background: var(--deep-cellar);
  color: var(--quilt-sage);
  font-variant: small-caps;
  font-size: 13px;
  padding: 3px 10px;
  border-radius: 10px;
  letter-spacing: 0.08em;
}

/* ============================================================
   METRIC BAND
   ============================================================ */

.metric-band {
  background: var(--barn-flame);
  padding: 60px 0;
}

.metric-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}

.metric {
  text-align: center;
  padding: 12px 24px;
  position: relative;
}

.metric + .metric {
  border-left: 1px solid var(--deep-cellar);
}

.metric-num {
  font-size: 58px;
  font-weight: 700;
  color: var(--deep-cellar);
  line-height: 1;
  font-family: Georgia, serif;
}

.metric-label {
  font-variant: small-caps;
  color: var(--deep-cellar);
  letter-spacing: 0.14em;
  font-size: 14px;
  margin-top: 8px;
  font-weight: 700;
}

/* ============================================================
   STATEMENT BAND
   ============================================================ */

.statement-band {
  background: var(--deep-cellar);
  padding: 80px 0;
}

.statement-band .statement-inner {
  max-width: 820px;
  margin: 0 auto;
  border-left: 4px solid var(--quilt-sage);
  padding-left: 30px;
}

.statement-band p {
  font-size: 26px;
  line-height: 1.5;
  color: var(--pale-quilt);
  font-style: italic;
}

.statement-attribution {
  margin-top: 22px;
  color: var(--warm-grey);
  font-variant: small-caps;
  letter-spacing: 0.12em;
  font-size: 15px;
}

/* ============================================================
   CTA BAND
   ============================================================ */

.cta-band {
  background: var(--barn-loft);
  padding: 90px 0;
  text-align: center;
}

.cta-band h2 {
  font-size: 40px;
  color: var(--barn-flame);
  margin-bottom: 16px;
}

.cta-band p {
  color: var(--warm-grey);
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto 30px;
}

/* ============================================================
   HAY-LOFT FOOTER
   ============================================================ */

.hay-loft-footer {
  background: var(--deep-cellar);
  width: 100%;
}

.hay-loft-footer .hay-bale-strip {
  height: 16px;
  background-image: repeating-linear-gradient(
    to right,
    var(--fiddle-gold) 0 34px,
    var(--deep-cellar) 34px 40px
  );
  background-size: 240px 100%;
}

.hay-loft-footer .bale-block {
  height: 16px;
  background-image: repeating-linear-gradient(
    to bottom,
    var(--deep-cellar) 0 5px,
    var(--fiddle-gold) 6px 8px
  );
  background-size: 12px 8px;
}

.footer-zone-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding: 54px 24px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-zone {
  flex: 1;
  min-width: 220px;
}

.footer-zone .footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-zone .footer-wordmark {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--pale-quilt);
}

.footer-zone .footer-star {
  width: 30px;
  height: 30px;
}

.footer-zone .descriptor {
  color: var(--warm-grey);
  font-size: 15px;
  line-height: 1.6;
}

.footer-zone h4 {
  color: var(--quilt-sage);
  font-variant: small-caps;
  font-size: 14px;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}

.footer-link-group {
  display: inline-block;
  vertical-align: top;
  margin-right: 34px;
}

.footer-link-group a {
  display: block;
  color: var(--pale-quilt);
  font-size: 15px;
  margin-bottom: 8px;
}

.footer-link-group a:hover {
  color: var(--barn-flame);
}

.footer-contact {
  color: var(--pale-quilt);
  font-size: 15px;
  line-height: 2;
}

.footer-contact a {
  color: var(--fiddle-gold);
}

.footer-contact a:hover {
  color: var(--barn-flame);
}

.footer-legal {
  border-top: 1px solid var(--hairline);
  text-align: center;
  padding: 22px 24px;
  color: var(--warm-grey);
  font-size: 14px;
  letter-spacing: 0.05em;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */

.page-hero {
  padding: 80px 20px 60px;
  text-align: center;
  background: var(--barn-loft);
}

.page-hero .page-eyebrow {
  color: var(--quilt-sage);
  font-variant: small-caps;
  font-size: 15px;
  letter-spacing: 0.18em;
}

.page-hero h1 {
  font-size: 44px;
  color: var(--pale-quilt);
  margin: 16px 0 18px;
}

.page-hero h1 .accent {
  color: var(--barn-flame);
}

.page-hero p {
  color: var(--warm-grey);
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
}

.process-section {
  padding: 70px 0 40px;
}

.process-section h2 {
  text-align: center;
  font-size: 34px;
  color: var(--pale-quilt);
  margin-bottom: 44px;
}

.process-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.process-step {
  flex: 1;
  min-width: 170px;
  max-width: 220px;
  text-align: center;
  background: var(--plank-panel);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 28px 18px;
}

.process-step .step-num {
  display: inline-block;
  width: 44px;
  height: 44px;
  line-height: 44px;
  border-radius: 50%;
  background: var(--barn-flame);
  color: var(--deep-cellar);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 14px;
}

.process-step h3 {
  color: var(--fiddle-gold);
  font-size: 18px;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--warm-grey);
  font-size: 14px;
}

.services-cta {
  background: var(--plank-panel);
  border-top: 1px solid var(--hairline);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding: 70px 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 90px;
}

.contact-form-wrap {
  flex: 1.2;
  min-width: 300px;
}

.contact-info-wrap {
  flex: 0.8;
  min-width: 280px;
}

.contact-form-wrap h2,
.contact-info-wrap h2 {
  font-size: 28px;
  color: var(--pale-quilt);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  color: var(--quilt-sage);
  margin-bottom: 6px;
  font-variant: small-caps;
  letter-spacing: 0.1em;
  font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  background: var(--plank-panel);
  border: 1px solid var(--hairline);
  color: var(--pale-quilt);
  font-size: 16px;
  font-family: Georgia, serif;
  border-radius: 4px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--barn-flame);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 13px;
  color: var(--warm-grey);
  margin-top: 10px;
}

.form-success {
  display: none;
  background: var(--deep-cellar);
  border: 1px solid var(--quilt-sage);
  color: var(--quilt-sage);
  padding: 16px;
  border-radius: 4px;
  margin-top: 14px;
  font-size: 15px;
}

.info-block {
  background: var(--plank-panel);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 20px;
}

.info-block h3 {
  color: var(--fiddle-gold);
  font-size: 19px;
  margin-bottom: 12px;
}

.info-block p,
.info-block li {
  color: var(--warm-grey);
  font-size: 15px;
  line-height: 1.8;
}

.info-block ul {
  list-style: none;
  padding: 0;
}

.info-block ul li {
  border-bottom: 1px solid var(--hairline);
  padding: 8px 0;
}

.info-block ul li:last-child {
  border-bottom: none;
}

.info-block a {
  color: var(--fiddle-gold);
}

.faq-qa {
  margin-bottom: 16px;
}

.faq-qa .faq-q {
  background: var(--deep-cellar);
  border: 1px solid var(--hairline);
  color: var(--pale-quilt);
  padding: 14px 16px;
  cursor: pointer;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-qa .faq-a {
  background: var(--plank-panel);
  color: var(--warm-grey);
  padding: 14px 16px;
  border-radius: 4px;
  margin-top: 4px;
  display: none;
  font-size: 15px;
}

.faq-qa.open .faq-a {
  display: block;
}

/* ============================================================
   SCROLL REVEAL + RESPONSIVE
   ============================================================ */

.fade-up {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 601px) {
  .fade-up:not(.visible) {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
}

@media (max-width: 820px) {
  .fiddle-panel-nav .nav-row {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }

  .fiddle-panel-nav .nav-links {
    width: 100%;
  }

  .hero-title {
    font-size: 36px;
  }

  .metric-num {
    font-size: 42px;
  }

  .statement-band p {
    font-size: 20px;
  }

  .dance-card {
    flex-direction: column;
  }

  .ticket-stub {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 2px dashed var(--hairline);
  }

  .ticket-stub span {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .dance-card-symbol {
    width: 100%;
    flex-direction: row;
    border-left: none;
    border-top: 1px solid var(--hairline);
  }

  .dancer {
    width: 38px;
    height: 84px;
  }

  .banjo-head {
    width: 52px;
    height: 52px;
  }

  .washboard {
    height: 80px;
  }

  .contact-grid {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .mobile-toggle {
    display: inline-block;
  }

  .fiddle-panel-nav .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

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

  .fiddle-panel-nav .nav-links .note-dot {
    display: none;
  }
}
