/* Di Gasn Trio — site styles
   Palette from the band's collage art: paper, indigo, coral, khaki.
   Change colors and fonts here only. */
:root {
  --night: #2E2F57;
  --indigo: #484978;
  --coral: #E4573D;
  --coral-dark: #C8432B;
  --paper: #F5ECD0;
  --paper-2: #EBDDB4;
  --card: #FFF8E6;
  --ink: #1B1B2A;
  --khaki: #D9CC92;

  --display: "Suez One", Georgia, serif;
  --body: "Assistant", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.08rem/1.7 var(--body); }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.skip { position: absolute; inset-inline-start: -999px; }
.skip:focus { inset-inline-start: 12px; top: 12px; z-index: 100; background: var(--coral); color: #fff; padding: 8px 12px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0 0 .45em; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); color: var(--indigo); }
.kicker { color: var(--coral); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .88rem; margin: 0 0 10px; }
.lead { font-size: 1.2rem; max-width: 62ch; }
section { padding: clamp(56px, 8vw, 96px) 0; }
section[id] { scroll-margin-top: 76px; }

/* Buttons */
.btn { display: inline-block; font: 800 1rem/1.2 var(--body); text-decoration: none; padding: 13px 26px; border-radius: 99px; border: 2px solid transparent; background: var(--coral); color: #fff; cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px #E4573D55; }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.ghost:hover { box-shadow: none; background: #ffffff1a; }
.btn.small { padding: 8px 16px; font-size: .92rem; }
.btn.ink { background: var(--indigo); }

/* Top bar */
.bar { position: sticky; top: 0; z-index: 50; background: var(--night); color: var(--paper); transition: box-shadow .2s ease; }
.bar.scrolled { box-shadow: 0 3px 0 var(--coral); }
.bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 10px; padding-bottom: 10px; }
.logo img { height: 42px; width: auto; }
.bar nav { display: flex; align-items: center; gap: 4px 22px; font-weight: 600; }
.bar nav a:not(.btn) { text-decoration: none; }
.bar nav a:not(.btn):hover, .bar nav a[aria-current="page"] { color: var(--khaki); }
.lang { font-weight: 800; text-decoration: none; border: 1.5px solid var(--paper); border-radius: 99px; padding: 2px 11px; font-size: .85rem; }
.lang:hover { background: var(--paper); color: var(--night); }
.menu-btn { display: none; background: none; border: 1.5px solid var(--paper); color: var(--paper); border-radius: 8px; padding: 6px 12px; font: 700 .95rem var(--body); cursor: pointer; }

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; overflow: hidden; color: var(--paper); padding: 0; background: var(--night); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--night) 6%, #2E2F57d9 34%, #2E2F5740 70%, #2E2F5780); }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(48px, 8vw, 84px); padding-top: 120px; }
.hero .kicker { color: var(--khaki); }
.hero h1 { font-size: clamp(3.2rem, 9.5vw, 7.4rem); line-height: 1; margin: 0 0 .15em; text-shadow: 0 4px 30px #0008; }
.hero h1 .sub { display: block; font-size: .32em; color: var(--khaki); margin-top: .2em; }
.hero p.tag { font-size: 1.22rem; max-width: 48ch; opacity: .95; margin: 0; }
.ctas { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.hero.short { min-height: 56vh; }

/* Shows */
.shows-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.shows-head img { width: 170px; margin-bottom: -10px; }
.show { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; background: var(--card); border: 2px solid var(--ink); border-inline-start: 7px solid var(--coral); border-radius: 14px; padding: 16px 22px; margin-bottom: 12px; }
.show-date { text-align: center; min-width: 64px; }
.show-date b { display: block; font: 2.4rem/1 var(--display); color: var(--coral); }
.show-date span { font-weight: 800; text-transform: uppercase; font-size: .9rem; }
.show h3 { font-size: 1.35rem; margin: 0; }
.show p { margin: 0; color: #1B1B2Acc; }
.bit-box { margin-top: 26px; background: var(--card); border: 2px dashed #48497866; border-radius: 14px; padding: 10px 18px; }
.bit-box h3 { font: 800 1rem var(--body); color: var(--indigo); margin: 10px 0 0; }
.follow { margin-top: 16px; }
.empty { color: #1B1B2Acc; }

/* About + band */
.about { background: var(--indigo); color: var(--paper); }
.about h2 { color: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.blob { background: var(--paper); border-radius: 46% 54% 50% 50% / 55% 45% 55% 45%; padding: 28px 34px; max-width: 520px; justify-self: center; box-shadow: 12px 12px 0 var(--coral); }
.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 40px 0 10px; padding: 0; list-style: none; }
.highlights li { border-top: 2px solid var(--khaki); padding-top: 10px; }
.highlights b { display: block; font: 2.1rem/1.1 var(--display); color: var(--khaki); }
.quote { margin: 40px 0 0; font: 1.5rem/1.4 var(--display); max-width: 40ch; }
.quote cite { display: block; font: 700 1rem var(--body); color: var(--khaki); font-style: normal; margin-top: 6px; }
#members { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.member { background: var(--paper); color: var(--ink); border-radius: 160px 160px 14px 14px; overflow: hidden; display: flex; flex-direction: column; }
.member img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1); }
.member-body { padding: 14px 18px 18px; }
.member h3 { font-size: 1.3rem; margin: 0; }
.member .role { margin: 0; color: var(--coral); font-weight: 700; }
.member details { margin-top: 8px; font-size: .96rem; }
.member summary { cursor: pointer; font-weight: 700; color: var(--indigo); }
.member details p { margin: 8px 0 0; }
.member a { font-weight: 700; color: var(--indigo); }

/* Music */
.featured { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: center; background: var(--card); border: 2px solid var(--ink); border-radius: 18px; padding: 22px; margin-bottom: 40px; }
.featured img { border-radius: 12px; }
.featured h3 { font-size: 2.2rem; color: var(--indigo); margin: 0 0 .2em; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--night); }
.player button { all: unset; cursor: pointer; position: absolute; inset: 0; }
.player img { width: 100%; height: 100%; object-fit: cover; }
.player .play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; box-shadow: 0 0 30px #E4573D88; transition: transform .15s; }
.player button:hover .play { transform: scale(1.08); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
#videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
#videos .video:first-child { grid-column: 1 / -1; }
#videos .video:first-child .player { aspect-ratio: 21 / 9; }
#videos .video:first-child h3 { font-size: 1.6rem; }
.video h3 { font-size: 1.2rem; margin: 12px 0 0; }
.video p { margin: 0; color: #1B1B2Abb; font-size: .95rem; }
.albums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.albums iframe { width: 100%; height: 352px; border: 0; border-radius: 12px; }

/* Events */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.service { background: var(--card); border: 2px solid var(--ink); border-radius: 160px 160px 14px 14px; overflow: hidden; }
.service img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.service div { padding: 14px 16px 18px; }
.service h3 { font-size: 1.4rem; color: var(--indigo); margin: 0; }
.service p { margin: 4px 0 0; }
.band-text { background: var(--paper-2); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.stack { display: grid; gap: 20px; }
.testimonials { background: var(--indigo); color: var(--paper); }
.testimonials h2 { color: var(--paper); }
#testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.testimonial { margin: 0; background: #ffffff12; border-radius: 16px; padding: 22px 24px; }
.testimonial p { margin: 0; font-size: 1.08rem; }
.testimonial cite { display: block; margin-top: 10px; color: var(--khaki); font-weight: 800; font-style: normal; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery img { width: 100%; height: 280px; object-fit: cover; border-radius: 14px; border: 2px solid var(--ink); }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; margin: 18px 0 0; }
.pill-list li { border: 2px solid var(--indigo); color: var(--indigo); border-radius: 99px; padding: 3px 14px; font-weight: 700; }
.about .pill-list li, .dark .pill-list li { border-color: var(--khaki); color: var(--khaki); }

/* Press */
.downloads { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.festivals { columns: 2; padding: 0; list-style: none; margin: 0; }
.festivals li { break-inside: avoid; padding: 8px 0 8px; border-bottom: 1px dashed #48497866; }
.festivals li::before { content: "✦"; color: var(--coral); margin-inline-end: 10px; }

/* Contact */
.contact { background: var(--paper-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.direct { display: grid; gap: 10px; margin-top: 20px; }
.direct a { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.direct a span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--indigo); color: var(--paper); font-size: 1rem; flex: none; }
.direct a:hover { color: var(--coral); }
form { background: var(--card); border: 2px solid var(--ink); border-radius: 18px; padding: 24px; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
form .full { grid-column: 1 / -1; }
label { display: grid; gap: 4px; font-weight: 700; font-size: .95rem; }
input, select, textarea { font: inherit; padding: 10px 12px; border: 2px solid #1B1B2A55; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--indigo); outline: none; }
textarea { min-height: 120px; resize: vertical; }
.form-status { margin: 0; font-weight: 700; }
.hp { position: absolute; inset-inline-start: -9999px; }

/* Footer */
footer { background: var(--ink); color: var(--paper); padding: 50px 0 30px; }
.foot { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: start; }
.foot img { height: 54px; width: auto; }
#social { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 14px 0 0; list-style: none; }
#social a { text-decoration: none; opacity: .85; }
#social a:hover { opacity: 1; color: var(--khaki); }
.fine { font-size: .88rem; opacity: .7; margin-top: 30px; }
.fine a { margin-inline-start: 10px; }

/* Mobile */
@media (max-width: 960px) {
  #members, .services, .highlights { grid-template-columns: 1fr 1fr; }
  .albums { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .bar nav { display: none; position: absolute; top: 100%; inset-inline: 0; background: var(--night); flex-direction: column; align-items: flex-start; padding: 12px clamp(16px, 4vw, 40px) 20px; gap: 14px; border-top: 1px solid #ffffff22; }
  .bar nav.open { display: flex; }
  .about-grid, .two, .contact-grid, .featured { grid-template-columns: 1fr; }
  .featured img { max-width: 260px; }
  #testimonials, .gallery { grid-template-columns: 1fr; }
  #videos { grid-template-columns: 1fr; }
  #videos .video:first-child .player { aspect-ratio: 16 / 9; }
  .show { grid-template-columns: auto 1fr; }
  .show .btn { grid-column: 1 / -1; justify-self: start; }
  form { grid-template-columns: 1fr; }
  .festivals { columns: 1; }
  .shows-head img { width: 110px; }
}
@media (max-width: 480px) {
  #members, .services { grid-template-columns: 1fr 1fr; gap: 12px; }
  .highlights { grid-template-columns: 1fr 1fr; }
  .member h3 { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Separate pages */
.page-title { font-size: clamp(2.6rem, 6vw, 4.4rem); color: var(--indigo); margin-bottom: .5em; }
.page-title.light { color: var(--paper); }
#videos.pair { grid-template-columns: 1fr 1fr; }
#videos.pair .video:first-child { grid-column: auto; }
#videos.pair .video:first-child .player { aspect-ratio: 16 / 9; }
#videos.pair .video:first-child h3 { font-size: 1.2rem; }
.full-bios .member { border: 2px solid var(--ink); background: var(--card); }
.full-bios .member .bio { margin: 8px 0 0; font-size: .98rem; }
.full-bios { grid-template-columns: repeat(2, 1fr) !important; }
.full-bios .member { flex-direction: row; border-radius: 16px; }
.full-bios .member img { width: 42%; aspect-ratio: auto; height: auto; object-fit: cover; flex: none; }
.landing .bar nav a:not(.btn):not(.lang) { display: none; }
.landing .menu-btn { display: none !important; }
.landing .bar nav { display: flex !important; position: static; flex-direction: row; background: none; padding: 0; border: 0; }
@media (max-width: 820px) {
  #videos.pair { grid-template-columns: 1fr; }
  .full-bios { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
  .full-bios .member { flex-direction: column; }
  .full-bios .member img { width: 100%; aspect-ratio: 1; }
}
