/* ============================================================
   Scandalous Chutney / scandalouschutney.com
   Youth fiddle & contra dance band · Sisters, Oregon
   Design: vintage dance-poster warmth × high-desert Oregon
   ============================================================ */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Alfa Slab One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/alfa-slab-one-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/lora-var.woff2") format("woff2");
}
@font-face {
  font-family: "Lora";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/lora-italic-var.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --paper: #faf4e6;
  --paper-deep: #f2e8d2;
  --paper-card: #fffdf6;
  --ink: #2a2318;
  --ink-soft: #6b5f4b;
  --line: #decfb2;

  --rust: #b0432a;
  --rust-deep: #8c3220;
  --amber: #d99a3d;
  --amber-soft: #edd9ae;
  --pine: #44614e;
  --pine-deep: #2f4437;
  --sky: #c7d7d2;

  --display: "Alfa Slab One", "Rockwell", "Roboto Slab", serif;
  --serif: "Lora", Georgia, "Times New Roman", serif;

  --size-hero: clamp(2.6rem, 9.5vw, 6.8rem);
  --size-h2: clamp(1.7rem, 4vw, 2.6rem);
  --size-h3: 1.25rem;
  --size-body: clamp(1.02rem, 1rem + 0.2vw, 1.14rem);
  --size-small: 0.9rem;

  --space: 8px;
  --radius: 10px;
  --shadow: 0 2px 0 rgba(42, 35, 24, 0.9);
  --shadow-card: 0 1px 0 #d8c9ab, 0 6px 18px -8px rgba(74, 60, 34, 0.35);

  --wrap: 1080px;
}

/* ---------- Reset-ish ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
body {
  margin: 0;
  font-family: var(--serif);
  font-size: var(--size-body);
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  position: relative;
}
/* paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("/img/grain.svg");
  background-size: 280px 280px;
}
body > * {
  position: relative;
  z-index: 1;
}
img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--rust-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover {
  color: var(--rust);
}
p {
  margin: 0 0 1em;
}
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rust);
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.eyebrow::before,
.eyebrow.centered::after {
  content: "";
  width: 2.2rem;
  height: 2px;
  background: var(--amber);
  flex: none;
}
.eyebrow.centered {
  justify-content: center;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}
h2 {
  font-size: var(--size-h2);
}
h3 {
  font-size: var(--size-h3);
  line-height: 1.25;
}
.lede {
  font-size: clamp(1.12rem, 1.05rem + 0.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.7rem;
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}
.btn-primary {
  background: var(--rust);
  color: #fff7ec;
  border-color: var(--rust-deep);
  box-shadow: 0 3px 0 var(--rust-deep);
}
.btn-primary:hover {
  background: var(--rust-deep);
  color: #fff7ec;
  transform: translateY(-1px);
  box-shadow: 0 4px 0 var(--rust-deep);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 3px 0 var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--rust-deep);
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--ink);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.65rem;
}
.brand {
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1.1;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.brand picture {
  flex: none;
  display: block;
}
.brand img {
  width: auto;
  height: 44px;
  flex: none;
  /* The logo is a pencil drawing on white; multiply drops the paper
     and leaves the graphite sitting on our own background. */
  mix-blend-mode: multiply;
}
.brand:hover {
  color: var(--rust);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.5vw, 1.6rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a:not(.btn) {
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--ink);
}
.nav-links a:not(.btn):hover {
  color: var(--rust);
}
.nav-links .btn {
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
}
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 0.4rem 0.55rem;
  cursor: pointer;
  color: var(--ink);
}
@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    padding: 1rem clamp(1.1rem, 4vw, 2rem) 1.25rem;
    gap: 0.9rem;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a:not(.btn) {
    font-size: 1.05rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: clip;
  padding-top: clamp(2rem, 6vw, 4rem);
  background: linear-gradient(180deg, #f6ecd8 0%, var(--paper) 55%);
  scroll-margin-top: 68px;
  /* keep the logo's multiply blend from reaching past the hero */
  isolation: isolate;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
}
.hero-logo {
  margin: 0;
  line-height: 0;
}
.hero-logo img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}
.hero-kicker {
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: clamp(0.72rem, 2vw, 0.88rem);
  color: var(--pine-deep);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}
.hero-kicker svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
  color: var(--amber);
}
.hero-tagline {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.01em;
  font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3.15rem);
  color: var(--ink);
  text-shadow: 3px 3px 0 var(--amber-soft);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
.hero .lede {
  max-width: 40rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}
@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .hero-logo {
    max-width: min(62vw, 260px);
  }
  .hero-kicker,
  .hero-ctas {
    justify-content: center;
  }
  .hero .lede {
    margin-inline: auto;
  }
}
.hero-scene {
  margin-top: clamp(1.5rem, 4vw, 3rem);
}
.hero-scene svg {
  width: 100%;
  height: auto;
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(3rem, 8vw, 5.5rem);
  /* keep headings clear of the sticky header when jumping to an anchor */
  scroll-margin-top: 68px;
}
.section-deep {
  background: var(--paper-deep);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.section-head {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto clamp(2rem, 5vw, 3rem);
}
.section-head h2 {
  margin-bottom: 0.4em;
}
.section-head .dingbat {
  color: var(--rust);
  width: 120px;
  margin: 0.9rem auto 0;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}
.card {
  background: var(--paper-card);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.3rem;
  box-shadow: var(--shadow-card);
}
.card svg.icon {
  width: 46px;
  height: 46px;
  color: var(--rust);
  margin-bottom: 0.9rem;
}
.card h3 {
  margin-bottom: 0.35em;
}
.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
}
@media (max-width: 820px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}
.about-art {
  display: grid;
  place-items: center;
}
.about-art svg {
  width: min(100%, 330px);
}
.fact-list {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.fact-list li {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}
.fact-list svg {
  width: 0.85rem;
  height: 0.85rem;
  flex: none;
  color: var(--amber);
  transform: translateY(1px);
}

/* ---------- Shows (ticket list) ---------- */
.show-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 760px;
  margin-inline: auto;
}
.show {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.1rem;
  align-items: center;
  background: var(--paper-card);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-card);
  position: relative;
}
.show::before,
.show::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 50%;
  transform: translateY(-50%);
}
.show::before {
  left: -11px;
  clip-path: inset(0 0 0 50%);
}
.show::after {
  right: -11px;
  clip-path: inset(0 50% 0 0);
}
.show-date {
  text-align: center;
  font-family: var(--display);
  line-height: 1;
  color: var(--rust);
  border-right: 2px dashed var(--line);
  padding-right: 1.1rem;
  min-width: 72px;
}
.show-date .month {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.show-date .day {
  display: block;
  font-size: 1.9rem;
}
.show-what h3 {
  margin: 0 0 0.15em;
  font-size: 1.12rem;
}
.show-what p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.show-meta {
  text-align: right;
  font-size: 0.9rem;
  color: var(--ink-soft);
  white-space: nowrap;
}
@media (max-width: 560px) {
  .show {
    grid-template-columns: auto 1fr;
  }
  .show-meta {
    grid-column: 2;
    text-align: left;
    white-space: normal;
  }
}
.shows-empty {
  text-align: center;
  max-width: 34rem;
  margin-inline: auto;
  color: var(--ink-soft);
}
.shows-note {
  text-align: center;
  margin-top: 1.6rem;
  font-style: italic;
  color: var(--ink-soft);
}

/* ---------- Music ---------- */
/* The full dance video is what bookers actually want to see, so it leads
   at full width and anything else sits smaller underneath it. */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
}
.video-lead {
  max-width: 820px;
  margin-inline: auto;
  width: 100%;
}
.video-lead figcaption {
  font-size: 0.95rem;
}
.video-lead figcaption strong {
  font-style: normal;
  color: var(--ink);
}
.video-figure:not(.video-lead) {
  max-width: 540px;
  margin-inline: auto;
  width: 100%;
}
.booking-proof {
  border-left: 3px solid var(--amber);
  padding-left: 0.9rem;
  font-size: 0.97rem;
  color: var(--ink-soft);
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--pine-deep);
  box-shadow: var(--shadow-card);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-solo {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin-inline: auto;
}
.video-figure {
  margin: 0;
}
.video-figure figcaption {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--ink-soft);
  text-align: center;
}

/* Venue / credibility cards */
.venue-grid {
  max-width: 860px;
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 620px) {
  .venue-grid {
    grid-template-columns: 1fr;
  }
}
.venue-card {
  border-left: 8px solid var(--amber);
}
.venue-card h3 {
  color: var(--rust-deep);
}
.join-grid {
  max-width: 800px;
  margin-inline: auto;
}
#played {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1.6rem;
}
#played .eyebrow {
  margin-bottom: 0;
}
.tune-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.6rem;
}
.tune-tags span {
  font-size: 0.88rem;
  font-weight: 700;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.28rem 0.85rem;
  background: var(--paper-card);
}

/* ---------- Quote band ---------- */
.quote-band {
  background: var(--pine-deep);
  color: #f3eeda;
  text-align: center;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.quote-band blockquote {
  margin: 0 auto;
  max-width: 46rem;
  font-style: italic;
  font-size: clamp(1.2rem, 1.05rem + 1vw, 1.6rem);
  line-height: 1.5;
}
.quote-band .who {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}
.quote-band svg.qmark {
  width: 44px;
  margin: 0 auto 1rem;
  color: var(--amber);
}

/* ---------- Booking ---------- */
.booking-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.6rem, 5vw, 3.5rem);
  align-items: start;
}
@media (max-width: 860px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }
}
.booking-intro .fact-list {
  margin-bottom: 1.4rem;
}
.booking-form {
  background: var(--paper-card);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: clamp(1.3rem, 3vw, 2rem);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.field {
  margin-bottom: 0.95rem;
}
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.3rem;
}
.field label .opt {
  font-weight: 400;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fffef9;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 0.65rem 0.8rem;
}
.field textarea {
  resize: vertical;
  min-height: 130px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--amber);
  outline-offset: 1px;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-error {
  display: none;
  background: #fbe6dd;
  border: 2px solid var(--rust);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.form-error.show {
  display: block;
}
.booking-form .btn {
  width: 100%;
  margin-top: 0.4rem;
}
.form-small {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
  margin: 0.8rem 0 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #e9e0c9;
  margin-top: 0;
}
.footer-scene {
  background: var(--paper);
}
.footer-scene svg {
  width: 100%;
  display: block;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  justify-content: space-between;
  align-items: flex-start;
  padding-block: 2.2rem 1rem;
}
.footer-brand {
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--paper);
  margin: 0 0 0.3rem;
}
.footer-inner p {
  font-size: 0.92rem;
  color: #bfb394;
  max-width: 30rem;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.footer-links a {
  color: #e9e0c9;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
}
.footer-links a:hover {
  color: var(--amber);
}
.footer-note {
  border-top: 1px solid #4a4130;
  padding-block: 1.1rem 1.4rem;
  font-size: 0.82rem;
  color: #a09378;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}
.footer-note a {
  color: inherit;
}

/* ---------- Thanks / 404 pages ---------- */
.page-simple {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 4rem;
}
.page-simple svg.art {
  width: 130px;
  margin: 0 auto 1.4rem;
  color: var(--rust);
}
.page-simple h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 3.2rem);
  margin-bottom: 0.4em;
}
.page-simple p {
  max-width: 34rem;
  margin-inline: auto;
}
.page-simple .btn {
  margin-top: 1.2rem;
}
