[hidden] { display: none !important; }

:root {
  --bg: #ffffff;
  --bg-alt: #f6f2e9;
  --ink: #1c1a15;
  --parchment: #1c1a15;
  --brass: #000000;
  --brass-bright: #333333;
  --smoke: #f2ede2;
  --faint: #6b6357;
  --hairline: rgba(28, 26, 21, 0.12);

  --font-display: "Roboto Slab", serif;
  --font-body: "Raleway", sans-serif;

  --measure: 68ch;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* sections stop flush under the fixed 68px header (main.js keeps this
   exact even while content above is still loading) */
[id] { scroll-margin-top: 68px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}

.section h2 {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: inherit;
  padding: 0 0 1rem;
  word-break: break-word;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0;
}

@media only screen and (max-width: 500px) {
  .section h2 { font-size: clamp(22px, 7vw, 32px); }
}

.section > .wrap { padding-top: 56px; padding-bottom: 64px; }

@media (max-width: 640px) {
  .section > .wrap { padding-top: 40px; padding-bottom: 48px; }
}

/* Header — transparent over the hero photo, solid once scrolled past it */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: none;
  transition: background 0.2s ease;
}
.site-header.scrolled {
  background: #000000;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: 0.01em;
  color: #ffffff;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #b3b3b3;
  border-color: #b3b3b3;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 780px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #000000;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .site-nav.open { max-height: 420px; }
  .site-nav a {
    padding: 16px 28px;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
}

/* Eyebrow labels */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--brass);
}
.eyebrow-light { color: #ffffff; }

/* Hero: full-bleed photo, header floats on top of it */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  animation: heroZoom 5s ease-out forwards;
  transform-origin: center center;
}

@keyframes heroZoom {
  from { transform: scale(1.15); }
  to { transform: scale(1); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.18) 55%, rgba(0,0,0,0.6) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.02) 55%);
}

.hero.img-missing .hero-media-img { display: none; }
.hero.img-missing .hero-media { background: var(--smoke); }

.hero-content {
  position: relative;
  z-index: 1;
  padding: 64px 28px 88px;
  text-align: center;
}

.hero-content h1 {
  font-size: clamp(1.9rem, 5.4vw, 3.6rem);
  line-height: 1;
  color: #ffffff;
  white-space: nowrap;
}

.hero-sub {
  font-size: 1.1rem;
  color: #ffffff;
  opacity: 0.85;
  max-width: 36ch;
  margin: 18px 0 30px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 13px 26px;
  border-radius: 2px;
  border: 1px solid var(--brass);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--brass);
  color: #ffffff;
}
.btn-primary:hover { background: var(--brass-bright); border-color: var(--brass-bright); }

.hero .btn-primary {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}
.hero .btn-primary:hover { background: #d9d9d9; border-color: #d9d9d9; }

.btn-ghost {
  color: #ffffff;
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover { border-color: #b3b3b3; color: #b3b3b3; }

@media (max-width: 640px) {
  .hero { min-height: 100vh; align-items: flex-end; }
  .hero-content { padding-bottom: 130px; }
  .hero-content h1 { white-space: normal; }
  .hero-media-img { object-position: 62% center; }
}

/* Sections */
.section { padding: 8px 0 0; }

.section-alt {
  background: #000000;
  color: #ffffff;
  --ink: #ffffff;
  --parchment: #ffffff;
  --faint: #a3a3a3;
  --hairline: rgba(255, 255, 255, 0.15);
  --smoke: #1a1a1a;
  --brass: #ffffff;
  --brass-bright: #cccccc;
}
.section-alt .btn-primary { background: #ffffff; color: #000000; border-color: #ffffff; }
.section-alt .btn-primary:hover { background: #cccccc; border-color: #cccccc; }
.section-alt .event-tickets:hover { color: #000000; }

.section > .wrap.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.section > .wrap.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.stagger-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger-item.is-visible {
  opacity: 1;
  transform: none;
}

.section-lede {
  color: var(--faint);
  max-width: var(--measure);
  margin: 0 auto 32px;
  text-align: center;
}

.loading-note { color: var(--faint); font-style: italic; }

/* Music */
#music .wrap { text-align: center; }
#music .music-grid { display: block; }
#music .music-item { text-align: left; }

.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.music-item h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 4px;
}

.music-item .music-desc {
  color: var(--faint);
  font-size: 0.92rem;
  margin: 0 0 12px;
}

.music-embed {
  background: #ffffff;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid var(--hairline);
}

.music-item iframe {
  width: 100%;
  border: none;
  border-radius: 4px;
  background: var(--smoke);
}

.music-item a.music-fallback {
  display: inline-block;
  color: var(--brass-bright);
  text-decoration: underline;
}

/* Video carousel */
.video-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.video-track {
  display: flex;
  align-items: center;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 28px 4px 34px;
  flex: 1;
  scrollbar-width: none;
}
.video-track::-webkit-scrollbar { display: none; }

.video-card {
  scroll-snap-align: center;
  flex: 0 0 auto;
  width: min(460px, 82vw);
  transform: scale(0.88);
  opacity: 0.6;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.video-card.active {
  transform: scale(1.08);
  opacity: 1;
  z-index: 2;
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 4px;
  display: block;
  background: var(--smoke);
}

.video-card .video-title {
  margin: 10px 2px 0;
  font-size: 0.88rem;
  color: var(--faint);
}

/* Gallery slideshow (gallery.html + homepage) — styling taken from the
   client-provided CSS gallery (josetxu "cuaderno de escaladas" pen):
   blurred backdrop under a #000000c9 scrim, a white-bordered framed photo,
   faint always-visible arrows that brighten on hover, a Londrina Solid
   caption across the top and a centred thumbnail bar near the bottom.
   The pen's radio-button mechanics are replaced by main.js so photos
   stay data-driven (data/gallery.json / admin). */
.gp-main { padding-top: 0; }
.gp-slideshow {
  --gp-h: calc(100vh - 76px);
  position: relative;
  height: var(--gp-h);
  min-height: 480px;
  overflow: hidden;
  background: #000;
  font-family: 'Londrina Solid', cursive;
}
.gp-slideshow-compact {
  --gp-h: clamp(480px, 80vh, 640px);
  min-height: 0;
}
.gp-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  transition: background 0.5s ease 0s;
}
.gp-scrim {
  position: absolute;
  inset: 0;
  background: #000000c9;
}
.gp-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* 60vmin / 500px as in the pen, capped so it always clears the caption
     and thumbnail bar */
  --gp-frame: min(60vmin, 500px, calc(var(--gp-h) - 2 * (3vh + 12vmin + 24px)));
  width: var(--gp-frame);
  height: var(--gp-frame);
  background-size: cover;
  background-position: center center;
  background-color: #fff;
  border-radius: 2px;
  box-shadow: 0 0 0vmin 1vmin #fff, 0 0 10vmin 5vmin #000;
  transition: background 0.5s ease 0s;
  z-index: 1;
}
.gp-caption {
  position: absolute;
  top: 2vh;
  left: 0;
  right: 0;
  margin: 0;
  padding: 1vmin 90px;
  color: #fff;
  background: #ffffff05;
  font-family: 'Londrina Solid', cursive;
  font-weight: 300;
  font-size: 35px;
  line-height: 45px;
  text-align: center;
  text-shadow: 0px 1px 0 #000000d9;
  white-space: pre-wrap;
  transition: all 0.5s ease 0s;
  z-index: 2;
}
.gp-caption:empty { display: none; }
/* each half of the slideshow is a click target; the arrow is its ::before */
.gp-clickzone {
  position: absolute;
  top: 0;
  bottom: calc(3vh + 10vmin + 8px);
  width: 50%;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.15;
  transition: opacity 0.2s ease;
  z-index: 1;
}
.gp-clickzone:hover { opacity: 1; }
.gp-clickzone::before {
  content: '';
  position: absolute;
  top: calc(50% - 3vmin);
  width: 6vmin;
  height: 6vmin;
  min-width: 26px;
  min-height: 26px;
  border-radius: 5px;
  background:
    linear-gradient(30deg, #fff0 60%, #fff calc(60% + 1px)),
    linear-gradient(-30deg, #fff 40%, #fff0 calc(40% + 1px)),
    linear-gradient(-90deg, #fff0 70%, #fff calc(70% + 1px));
}
.gp-left { left: 0; }
.gp-right { right: 0; }
.gp-left::before { left: 7vmin; transform: rotate(180deg); }
.gp-right::before { right: 7vmin; }
/* first/last photo: the arrow stays but is nearly invisible, as in the pen */
.gp-clickzone.is--disabled { opacity: 0.025; cursor: default; pointer-events: none; }
.gp-thumbnails {
  position: absolute;
  bottom: 3vh;
  left: 0;
  right: 0;
  display: flex;
  justify-content: safe center;
  gap: 1vw;
  padding: 1vmin 16px;
  overflow-x: auto;
  background: #ffffff05;
  scrollbar-width: none;
  z-index: 2;
}
.gp-thumbnails::-webkit-scrollbar { display: none; }
.gp-thumb {
  flex: 0 0 8vmin;
  width: 8vmin;
  height: 8vmin;
  min-width: 40px;
  min-height: 40px;
  margin: 0.5vmin 0;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background-color: #0008;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.15s ease, box-shadow 0.15s ease;
}
.gp-thumb:hover { opacity: 1; }
.gp-thumb.is--current {
  opacity: 1;
  box-shadow: 0 0 0.01vmin 0.5vmin #fff;
}

@media only screen and (max-width: 767px) {
  .gp-caption { font-size: 20px; line-height: 30px; padding: 1vmin 60px; }
}
@media only screen and (max-width: 580px) {
  .gp-caption { font-size: 25px; line-height: 32px; }
}
@media only screen and (max-width: 700px) {
  .gp-slideshow-compact { --gp-h: 460px; }
}

/* News stack (homepage): cards sit in a row; clicking next moves the row
   left and each card that passes the left edge is dealt onto a pile, with
   the older cards peeking out above the current one like a deck.
   Arrows mirror the Music slider (.tg-arrow): black circles on either side,
   vertically centred on the cards — but the row stops at either end. */
.slide_contain {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 45px 15px;
}
/* the heading's wrapper normally carries 64px of bottom padding for
   content inside it — here the cards follow outside it, so drop it */
#blog > .wrap { padding-bottom: 0; }
.slide_item.is--stacked .news-preview-title,
.slide_item.is--stacked .news-preview-date,
.slide_item.is--stacked .news-preview-excerpt { display: none; }
.slide_item.is--stacked .news-preview-card {
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.12);
}
.slide_wrap {
  position: relative;
  min-height: 300px;
  /* clips the row at the section edge so off-screen cards never widen
     the page; the top padding (set in JS) is where the pile peeks out */
  overflow: hidden;
}
.slide_list {
  position: relative;
  width: 100%;
  height: 100%;
}
.slide_item {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: top center;
  transition: transform 0.35s ease, filter 0.35s ease, width 0.2s ease;
}
.slide_arrows {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.slide_arrow {
  position: absolute;
  top: calc(50% + var(--stack-pad, 0px) / 2);
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  z-index: 20;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.slide_arrow:hover {
  background: #333;
  transform: translateY(-50%) scale(1.06);
}
.slide_arrow.is--left { left: 4px; }
.slide_arrow.is--right { right: 4px; }
/* no infinite loop: the arrow fades out at either end of the row */
.slide_arrow.is--disabled-arrow { opacity: 0.25; pointer-events: none; }

@media (max-width: 700px) {
  .slide_contain { padding-left: 38px; padding-right: 38px; }
}

/* Cards within the homepage News stack — borrowed from the news.html
   landing list (.news-preview-list), in its stacked single-column form:
   brass date on top, 16:9 media, title, 2-line excerpt. */
.slide_card { height: 100%; }
.slide_card .news-preview-card {
  height: 100%;
  /* stays light even if the section is switched to .section-alt */
  --brass-bright: #333333;
  --smoke: #f2ede2;
  gap: 8px;
  padding: 16px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.slide_card .news-preview-card:hover {
  transform: none;
  border-color: var(--hairline);
  background: #f6f5f3;
}
.slide_card .news-preview-date {
  order: -1;
  padding: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--brass-bright);
}
.slide_card .news-preview-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 3px;
}
.slide_card .news-preview-title {
  padding: 0;
  font-size: 1rem;
  line-height: 1.3;
}
.slide_card .news-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: none;
  border-radius: 3px;
  background: var(--smoke);
}

.carousel-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: none;
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.carousel-arrow:hover {
  border-color: var(--brass);
  color: var(--brass-bright);
  background: rgba(128, 128, 128, 0.15);
}
.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}
.carousel-arrow:disabled:hover {
  border-color: var(--hairline);
  color: var(--ink);
  background: none;
}

@media (max-width: 640px) {
  .video-carousel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "track track" "prev next";
    gap: 14px;
  }
  .video-track { grid-area: track; padding: 4px 0; gap: 14px; }
  .video-card { width: 94vw; transform: none; opacity: 1; }
  .video-card.active { transform: none; }
  .video-carousel .carousel-arrow {
    position: static;
    background: none;
    border: 1px solid var(--hairline);
    color: var(--ink);
    width: 42px;
    height: 42px;
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1;
  }
  .video-carousel .carousel-arrow:hover {
    border-color: var(--brass);
    color: var(--brass-bright);
    background: rgba(0, 0, 0, 0.06);
  }
  .video-carousel .carousel-prev { grid-area: prev; justify-self: center; }
  .video-carousel .carousel-next { grid-area: next; justify-self: center; }
}

/* Events */
.events-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
  scrollbar-width: none;
}
.events-list::-webkit-scrollbar { display: none; }

.event-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 16px;
  margin: 0 -16px;
  border-bottom: 1px solid var(--hairline);
  border-radius: 3px;
  transition: background 0.15s ease;
}
.event-row:hover { background: rgba(128, 128, 128, 0.12); }

.event-row.has-image {
  grid-template-columns: 72px 140px 1fr auto;
}
.event-image {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 3px;
  background: var(--smoke);
}
@media (max-width: 640px) {
  .event-row.has-image { grid-template-columns: 1fr; }
  .event-image { width: 100%; height: 160px; }
}

.event-date {
  font-family: var(--font-display);
  color: var(--brass-bright);
  font-size: 1.05rem;
}

.event-main .event-venue {
  font-weight: 600;
  font-size: 1.05rem;
}

.event-main .event-city,
.event-main .event-time {
  color: var(--faint);
  font-size: 0.92rem;
}

.event-main .event-desc {
  margin-top: 6px;
  color: var(--faint);
  font-size: 0.92rem;
}

.event-tickets {
  text-decoration: none;
  border: 1px solid var(--brass);
  color: var(--brass-bright);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 9px 18px;
  border-radius: 2px;
  transition: background 0.15s ease, color 0.15s ease;
}
.event-tickets:hover { background: var(--brass); color: #ffffff; border-color: var(--brass); }

@media (max-width: 640px) {
  .event-row { grid-template-columns: 1fr; gap: 6px; }
}

/* News */
.news-list { display: flex; flex-direction: column; gap: 36px; max-width: var(--measure); margin: 0 auto; scrollbar-width: none; }
.news-list::-webkit-scrollbar { display: none; }

.news-item .news-date {
  color: var(--brass-bright);
  font-size: 0.85rem;
  font-family: var(--font-display);
}

.news-item h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 4px 0 8px;
}

.news-body p { color: var(--faint); margin: 0 0 12px; }
.news-body strong { color: var(--ink); }
.news-body a { color: var(--ink); text-decoration: underline; }
.news-body u { text-decoration: underline; }
.news-body ul, .news-body ol { color: var(--faint); margin: 0 0 12px; padding-left: 1.4em; }
.news-body li { margin-bottom: 4px; }
.news-body h3, .news-body h4 { color: var(--ink); margin: 1em 0 0.4em; }
.news-body blockquote {
  margin: 0 0 12px;
  padding-left: 16px;
  border-left: 2px solid var(--hairline);
  color: var(--faint);
  font-style: italic;
}

.news-cover {
  width: 100%;
  border-radius: 4px;
  margin: 8px 0 16px;
  display: block;
}

.news-item iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  border-radius: 4px;
}

/* About: scrollable box */
.about-grid { max-width: var(--measure); margin: 0 auto; }
.about-copy p { color: var(--faint); }
.about-copy em { color: var(--ink); font-style: italic; }

.about-copy {
  max-height: 320px;
  overflow-y: auto;
  padding-right: 12px;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 20px;
}

/* Standalone subpages (About, News): no hero, header is always solid */
.subpage-main { padding-top: 88px; }

.about-copy-full {
  max-height: none;
  overflow-y: visible;
  border: none;
  padding: 0;
}
.about-copy-full p { font-size: 1.05rem; line-height: 1.7; margin-bottom: 1.4em; color: var(--ink); }

/* Blog-style News page */
.blog-wrap { max-width: 760px; }
.news-list.blog-style {
  max-height: none !important;
  overflow-y: visible !important;
  gap: 64px;
}
.news-list.blog-style .news-item {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hairline);
}
.news-list.blog-style .news-item:last-child { border-bottom: none; }
.news-list.blog-style .news-date {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}
.news-list.blog-style h3 {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1.25;
  margin: 10px 0 16px;
}
.news-list.blog-style .news-body p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.2em;
}

/* Discography */
.disco-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.disco-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 20px;
  flex: 1;
  scrollbar-width: none;
}
.disco-track::-webkit-scrollbar { display: none; }

.disco-card {
  scroll-snap-align: center;
  flex: 0 0 auto;
  width: min(300px, 78vw);
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
  text-align: left;
  /* Always a white card regardless of the surrounding section's theme, so
     its own text/border colors must be reset locally rather than inherited
     — otherwise a dark (.section-alt) section would leave white text on
     this white card, invisible. */
  --ink: #1c1a15;
  --faint: #6b6357;
  --hairline: rgba(28, 26, 21, 0.12);
  --smoke: #f2ede2;
  border: 1px solid var(--hairline);
  transform: scale(0.88);
  opacity: 0.6;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.disco-card.active {
  transform: scale(1.08);
  opacity: 1;
  z-index: 2;
}

.disco-cover, .disco-cover-missing {
  width: 100%;
  height: 260px;
  display: block;
  object-fit: contain;
  background: var(--smoke);
}
.disco-cover-missing {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--faint);
  font-size: 0.7rem;
  text-align: center;
  padding: 10px;
  line-height: 1.3;
}

.disco-info { padding: 16px 16px 8px; flex: 1; }

.discography-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

.discography-year {
  color: var(--faint);
  font-size: 0.85rem;
  margin-left: 8px;
}

.disco-info p {
  margin: 8px 0 0;
  color: var(--faint);
  font-size: 0.92rem;
}

.disco-footer {
  display: block;
  text-align: center;
  padding: 12px 16px;
  margin-top: auto;
  border-top: 1px solid var(--hairline);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  color: #ffffff;
  background: #000000;
  transition: background 0.15s ease;
}
.disco-footer:hover { background: #333333; }

@media (max-width: 640px) {
  .disco-carousel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "track track" "prev next";
    gap: 14px;
  }
  .disco-track { grid-area: track; padding: 4px 0; }
  .disco-card { width: 82vw; }
  .disco-carousel .carousel-arrow {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    font-size: 1.4rem;
  }
  .disco-carousel .carousel-prev { grid-area: prev; justify-self: center; }
  .disco-carousel .carousel-next { grid-area: next; justify-self: center; }
}

/* Photo-background section (Skills) */
.section-photo {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  --ink: #ffffff;
  --parchment: #ffffff;
  --faint: #d9d9d9;
  --hairline: rgba(255, 255, 255, 0.25);
}
.section-photo-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
}
.section-photo-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}
.section-photo-content { position: relative; z-index: 1; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 980px;
}
.contact-heading { text-align: left; font-size: clamp(1.6rem, 3vw, 2.2rem); padding-bottom: 0; }
.contact-divider { width: 60px; height: 2px; background: var(--brass); margin: 16px 0 20px; }
.contact-text p { color: var(--faint); }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(28, 26, 21, 0.2);
  border-radius: 3px;
  background: #ffffff;
  color: #1c1a15;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #8a8378; }
.contact-form button { align-self: flex-start; }
.contact-form-status { margin: 0; font-size: 0.88rem; min-height: 1.2em; line-height: 1.5; }
.contact-form-status.success { color: #4ade80; }
.contact-form-status.error { color: #f87171; }
.contact-form-status.error a { color: inherit; text-decoration: underline; font-weight: 600; }

.contact-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: #25D366;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.contact-whatsapp-link svg { width: 26px; height: 26px; flex-shrink: 0; }
.contact-whatsapp-link:hover { text-decoration: underline; }

@media (max-width: 780px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-row { grid-template-columns: 1fr; }
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
  border-top: 1px solid var(--hairline);
  padding-top: 32px;
}
.skill-item h3 {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0;
}

/* Each skill as its own photo tile, rather than one shared section image.
   This grid is a direct child of the section (not .wrap), so it can span
   the full viewport width with no side padding. */
.skills-grid-photo {
  border-top: none;
  padding-top: 0;
  gap: 3px;
  background: #000000;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
}
.skill-item-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-size: cover;
  background-position: center 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  text-align: center;
}
.skill-item-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.skill-item-photo h3 {
  position: relative;
  z-index: 1;
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin: 0;
  text-align: center;
}

.skill-item-photo h3 { overflow-wrap: anywhere; }

/* Skills row: an auto-scrolling, endlessly looping strip of photo tiles.
   It's a real horizontal scroller, so hover/touch pauses it and a swipe,
   trackpad or mouse-drag scrolls it by hand (see main.js). */
.skills-marquee {
  display: flex;
  gap: 3px;
  overflow-x: auto;
  overflow-y: hidden;
  background: #000;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}
.skills-marquee::-webkit-scrollbar { display: none; }
.skills-marquee.is--dragging { cursor: grabbing; }
.skills-marquee .skill-item-photo {
  flex: 0 0 clamp(260px, 30vw, 420px);
}
.skills-marquee .loading-note { padding: 24px 28px; }
/* heading + lede sit in .wrap, the row follows outside it */
#skills > .wrap { padding-bottom: 32px; }

@media (max-width: 640px) {
  .skill-item-photo h3 { font-size: 0.95rem; }
  .skills-marquee .skill-item-photo {
    flex-basis: 72vw;
    aspect-ratio: 4 / 3;
  }
}

/* Individual News article + Recent sidebar */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 48px;
  align-items: start;
}
#article-content .news-date {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--brass-bright);
}
#article-content h2 {
  text-align: left;
  margin: 10px 0 20px;
}
#article-content .news-cover,
#article-content .news-embed { margin-bottom: 20px; }
#article-content .news-embed iframe { width: 100%; aspect-ratio: 16/9; border: none; border-radius: 4px; }
.article-back { margin-top: 32px; }
.article-back a { color: var(--faint); text-decoration: underline; }

.article-sidebar {
  border-left: 1px solid var(--hairline);
  padding-left: 24px;
  position: sticky;
  top: 100px;
}
.article-sidebar h3 {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin: 0 0 14px;
}
.article-sidebar ul { list-style: none; margin: 0; padding: 0; }
.article-sidebar li { margin-bottom: 12px; }
.article-sidebar a {
  color: var(--faint);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.4;
  display: block;
}
.article-sidebar a:hover { color: var(--ink); text-decoration: underline; }

@media (max-width: 780px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar {
    border-left: none;
    border-top: 1px solid var(--hairline);
    padding-left: 0;
    padding-top: 20px;
    position: static;
  }
}

/* News preview carousel (homepage) */
.news-preview-carousel { position: relative; }
.news-preview-carousel .carousel-arrow { display: none; }

/* News preview (homepage) */
.news-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

@media (max-width: 640px) {
  .news-preview-carousel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "track track" "prev next";
    gap: 14px;
  }
  .news-preview-carousel .carousel-arrow { display: inline-flex; align-items: center; justify-content: center; }
  .news-preview-grid {
    grid-area: track;
    display: flex;
    overflow-x: auto;
    gap: 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .news-preview-grid::-webkit-scrollbar { display: none; }
  .news-preview-grid .news-preview-card {
    flex: 0 0 85vw;
    scroll-snap-align: center;
  }
  .news-preview-carousel .news-prev { grid-area: prev; justify-self: center; }
  .news-preview-carousel .news-next { grid-area: next; justify-self: center; }
}

/* News landing page (news.html): a single-column list instead of a grid */
.news-preview-list {
  display: flex;
  flex-direction: column;
  max-width: var(--measure);
  margin: 0 auto;
}
.news-preview-list .news-preview-card {
  flex-direction: row;
  align-items: center;
  gap: 20px;
  border-left: none;
  border-right: none;
  border-top: none;
  border-radius: 0;
  padding: 18px 4px;
}
.news-preview-list .news-preview-card img {
  width: 120px;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  border-radius: 3px;
}
.news-preview-list .news-preview-title { padding: 0; }
.news-preview-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--faint);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-top: 4px;
}
.news-preview-list .news-preview-card { align-items: flex-start; }
.news-preview-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.news-preview-list .news-preview-card:hover { border-color: var(--hairline); background: rgba(128, 128, 128, 0.06); }
.blog-video-row { cursor: default; }
.blog-video-row:hover { border-color: var(--hairline); background: none; }
.blog-video-row .news-embed { flex: 1; min-width: 0; }
.blog-video-row .news-embed iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: none; border-radius: 4px; }
@media (max-width: 640px) {
  .blog-video-row { flex-direction: column; }
}
.news-preview-list .news-preview-date {
  order: -1;
  flex-shrink: 0;
  width: 100px;
  font-family: var(--font-display);
  color: var(--brass-bright);
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .news-preview-list .news-preview-card {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .news-preview-list .news-preview-date { width: auto; order: 0; }
  .news-preview-list .news-preview-card img { width: 100%; aspect-ratio: 16 / 9; order: 1; }
  .news-preview-body { order: 2; }
}
.news-preview-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
  transition: border-color 0.15s ease, transform 0.15s ease;
  /* Always a light card regardless of the surrounding section's theme —
     same fix as .disco-card, for the same reason. */
  --ink: #1c1a15;
  --faint: #6b6357;
  --hairline: rgba(28, 26, 21, 0.12);
  border: 1px solid var(--hairline);
}
.news-preview-card:hover { border-color: #000000; transform: translateY(-2px); }
.news-preview-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.news-preview-title {
  padding: 14px 16px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
}
.news-preview-date {
  padding: 12px 16px 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--faint);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

/* Homepage Gallery preview: exactly 2 rows, scrolls horizontally */
.gallery-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, 1fr);
  grid-auto-columns: 220px;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.gallery-scroll::-webkit-scrollbar { display: none; }
.gallery-scroll .gallery-item { width: 220px; }

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--smoke);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  padding: 8px 10px;
  font-size: 0.82rem;
  color: var(--faint);
}

.gallery-viewall { text-align: center; margin-top: 28px; }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 80vh; object-fit: contain; }
.lightbox-caption { color: #fff; margin-top: 16px; font-size: 0.95rem; }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

/* Connect */
.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

#connect .wrap { text-align: center; }

.social-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  color: #000000;
  transition: color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.social-list a:hover,
.social-list a:focus-visible {
  color: var(--brass-bright);
  background: rgba(128, 128, 128, 0.15);
  transform: translateY(-2px);
}

.section-alt .social-list a { color: #ffffff; }

.social-icon {
  width: 30px;
  height: 30px;
}
.social-icon svg { width: 100%; height: 100%; display: block; }

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: 62px;
  height: 62px;
  color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.whatsapp-float:hover { opacity: 0.85; transform: translateY(-2px); }
.whatsapp-float svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 3px 8px rgba(0,0,0,0.35)); }

@media (max-width: 640px) {
  .whatsapp-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 28px 0 40px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--faint);
  font-size: 0.85rem;
}

/* Matches whichever section sits directly above it (applied via JS) */
.site-footer.footer-dark {
  background: #000000;
  border-top-color: rgba(255, 255, 255, 0.15);
}
.site-footer.footer-dark .footer-row { color: #a3a3a3; }

/* Focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--brass-bright);
  outline-offset: 2px;
}

@media (max-width: 640px) {
}

/* ===== Music section — verbatim from client-provided widget, only max-width adjusted to match site section width ===== */
    #towner-galaher-music {
      --card-width: 220px;
      --gap: 22px;
      --accent: #111;
      --muted: #777;
      --panel: #f7f7f7;

      width: 100%;
      max-width: 1080px;
      margin: 0 auto;
      font-family: Arial, Helvetica, sans-serif;
      color: #111;
      box-sizing: border-box;
    }

    #towner-galaher-music *,
    #towner-galaher-music *::before,
    #towner-galaher-music *::after {
      box-sizing: border-box;
    }

    /* =========================================
       SECTION TITLE
    ========================================= */

    .tg-section-title {
      margin: 0 0 18px;
      padding: 0 15px;

      font-size: clamp(28px, 4vw, 42px);
      line-height: 1.1;
      font-weight: 700;

      text-align: center;
      color: #111;
    }

    /* =========================================
       SLIDER
    ========================================= */

    .tg-slider-wrap {
      position: relative;
      width: 100%;
      padding: 15px 45px;
      overflow: hidden;
    }

    .tg-slider {
      width: 100%;
      overflow-x: auto;
      overflow-y: hidden;
      scrollbar-width: none;
      cursor: grab;
      overscroll-behavior-x: contain;
    }

    .tg-slider::-webkit-scrollbar {
      display: none;
    }

    .tg-slider.dragging {
      cursor: grabbing;
    }

    .tg-track {
      display: flex;
      align-items: center;
      gap: var(--gap);
      width: max-content;
      padding: 20px 0;
    }

    /* =========================================
       CARDS
    ========================================= */

    .tg-card {
      position: relative;
      flex: 0 0 var(--card-width);
      width: var(--card-width);

      border: 2px solid transparent;
      border-radius: 14px;
      background: #fff;
      padding: 8px;

      cursor: pointer;

      opacity: 0.45;
      filter: grayscale(55%);
      transform: scale(0.86);

      transition:
        transform 0.25s ease,
        opacity 0.25s ease,
        filter 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;

      user-select: none;
      -webkit-user-select: none;

      overflow: hidden;
    }

    .tg-card:hover {
      opacity: 0.75;
      filter: grayscale(20%);
    }

    .tg-card.tg-active {
      opacity: 1;
      filter: grayscale(0%);
      transform: scale(1);

      border-color: var(--accent);

      box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.18);

      z-index: 2;
    }

    /* =========================================
       SPOTIFY ARTWORK
    ========================================= */

    .tg-card-image {
      display: block;
      width: 100%;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      border-radius: 9px;
      pointer-events: none;
    }

    /* =========================================
       AMAZON IFRAME INSIDE CARD
    ========================================= */

    .tg-amazon-card-iframe {
      display: block;
      width: 100%;
      height: 250px;

      border: 0;
      border-radius: 9px;

      background: #fff;

      pointer-events: none;
    }

    .tg-card-title {
      margin: 10px 4px 3px;

      font-size: 15px;
      line-height: 1.25;
      font-weight: 700;

      text-align: center;
    }

    .tg-card-artist {
      margin: 0 4px 5px;

      color: var(--muted);

      font-size: 12px;
      line-height: 1.3;

      text-align: center;
    }

    /* =========================================
       ARROWS
    ========================================= */

    .tg-arrow {
      position: absolute;

      top: 50%;
      transform: translateY(-50%);

      width: 38px;
      height: 38px;

      border: 0;
      border-radius: 50%;

      background: #111;
      color: #fff;

      display: flex;
      align-items: center;
      justify-content: center;

      font-size: 22px;
      line-height: 1;

      cursor: pointer;

      z-index: 20;

      transition:
        transform 0.2s ease,
        background 0.2s ease;
    }

    .tg-arrow:hover {
      background: #333;

      transform:
        translateY(-50%)
        scale(1.06);
    }

    .tg-arrow-left {
      left: 4px;
    }

    .tg-arrow-right {
      right: 4px;
    }

    /* =========================================
       LARGE PLAYER / CONTENT AREA
    ========================================= */

    .tg-player {
      width: 100%;
      margin-top: 15px;

      border-radius: 16px;
      overflow: hidden;

      background: var(--panel);
    }

    .tg-player-inner {
      width: 100%;
    }

    /* =========================================
       SPOTIFY LARGE PLAYER
    ========================================= */

    .tg-spotify-content {
      width: 100%;
      background: var(--panel);
    }

    .tg-spotify-embed {
      display: block;

      width: 100%;
      min-height: 420px;

      border: 0;
    }

    /* =========================================
       SPOTIFY AMAZON BUTTON
    ========================================= */

    .tg-spotify-amazon {
      width: 100%;
      padding: 22px 25px 25px;

      display: flex;
      justify-content: center;
      align-items: center;

      background: var(--panel);
    }

    .tg-spotify-amazon .tg-amazon-button {
      margin-top: 0;
    }

    /* =========================================
       AMAZON DESCRIPTION
    ========================================= */

    .tg-amazon-description {
      min-height: 420px;

      padding: 50px;

      display: flex;
      flex-direction: column;
      justify-content: center;

      background: #f7f7f7;
    }

    .tg-amazon-label {
      margin-bottom: 12px;

      font-size: 11px;
      font-weight: 700;

      letter-spacing: 0.13em;
      text-transform: uppercase;

      color: #777;
    }

    .tg-amazon-title {
      margin: 0 0 20px;

      font-size: clamp(28px, 4vw, 42px);
      line-height: 1.1;

      font-weight: 700;
    }

    .tg-amazon-text {
      max-width: 950px;

      font-size: 16px;
      line-height: 1.75;

      color: #333;

      white-space: pre-line;
    }

    /* =========================================
       BUY ON AMAZON BUTTON
    ========================================= */

    .tg-amazon-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;

      align-self: flex-start;

      margin-top: 30px;

      padding: 13px 25px;

      border-radius: 8px;

      background: #111;
      color: #fff;

      text-decoration: none;

      font-size: 14px;
      font-weight: 700;

      transition:
        background 0.2s ease,
        transform 0.2s ease;
    }

    .tg-amazon-button:hover {
      background: #333;

      transform: translateY(-1px);
    }

    /* =========================================
       MOBILE
    ========================================= */

    @media (max-width: 700px) {
      #towner-galaher-music {
        --card-width: 82vw;
        --gap: 14px;
      }

      .tg-section-title {
        margin-bottom: 10px;
        font-size: 30px;
      }

      .tg-slider-wrap {
        padding-left: 38px;
        padding-right: 38px;
      }

      .tg-card {
        transform: scale(0.91);
      }

      .tg-card.tg-active {
        transform: scale(1);
      }

      .tg-amazon-card-iframe {
        height: 245px;
      }

      .tg-spotify-embed {
        min-height: 380px;
      }

      .tg-spotify-amazon {
        padding: 18px 18px 22px;
      }

      .tg-amazon-description {
        min-height: 380px;

        padding: 32px 24px 38px;
      }

      .tg-amazon-title {
        font-size: 28px;
      }

      .tg-amazon-text {
        font-size: 15px;
        line-height: 1.7;
      }
    }

/* ===== Music section — site overrides =====
   The global `.section h2` rule (Roboto, uppercase, 900) outranks the
   widget's `.tg-section-title`, so re-apply the widget's title styling at
   a higher specificity. Plus the "Albums & Releases" subtitle, aligned
   with the slider's left edge. */
#towner-galaher-music .tg-section-title {
  margin: 0 0 18px;
  padding: 0 15px;
  font-family: inherit;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  text-align: center;
  color: #111;
}
#towner-galaher-music .tg-section-subtitle {
  margin: 0;
  padding: 0 45px;
  font-family: inherit;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  text-align: left;
  color: #111;
}
@media (max-width: 700px) {
  #towner-galaher-music .tg-section-title { margin-bottom: 10px; font-size: 30px; }
  #towner-galaher-music .tg-section-subtitle { padding: 0 38px; font-size: 18px; }
}

/* The album title in the Amazon panel is an <h2> in the widget, so the
   site-wide `.section h2` rule (Roboto, uppercase, centred) would restyle
   it — restore the widget's own look. */
#towner-galaher-music .tg-amazon-title {
  margin: 0 0 20px;
  padding: 0;
  font-family: inherit;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  text-align: left;
  word-break: normal;
  color: #111;
}
@media (max-width: 700px) {
  #towner-galaher-music .tg-amazon-title { font-size: 28px; }
}

/* ===== Gallery (homepage): the active photo's blurred backdrop spans the
   whole section, so it sits behind the "Gallery" title too ===== */
.gallery-bleed {
  position: relative;
  overflow: hidden;
  background: #000;
  color: #fff;
  --ink: #ffffff;
}
.gallery-bleed > .wrap,
.gallery-bleed > .gp-slideshow {
  position: relative;
  z-index: 1;
}
.gallery-bleed .gp-slideshow { background: transparent; }
#gallery > .wrap { padding-bottom: 0; }

/* Amazon card preview wrapper (see fitCardEmbeds in main.js) */
#towner-galaher-music .tg-amazon-card-frame {
  overflow: hidden;
  border-radius: 9px;
}
#towner-galaher-music .tg-amazon-card-frame .tg-amazon-card-iframe {
  transform-origin: top left;
}

/* Music — mobile: a smaller slider showing up to 3 cards (active one
   centred, a neighbour either side), so the player/description below
   stays in view and draws the eye. Same layout as desktop, just scaled. */
@media (max-width: 700px) {
  #towner-galaher-music {
    --gap: 10px;
    /* slider inner width (100vw minus the 38px side paddings) split in 3 */
    --card-width: calc((100vw - 76px - 2 * var(--gap)) / 3);
  }
  #towner-galaher-music .tg-slider-wrap { padding-top: 6px; padding-bottom: 6px; }
  #towner-galaher-music .tg-track { padding: 12px 0; }
  #towner-galaher-music .tg-card {
    padding: 4px;
    border-radius: 9px;
    transform: scale(0.86);
  }
  #towner-galaher-music .tg-card.tg-active {
    transform: scale(1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  }
  #towner-galaher-music .tg-card-image,
  #towner-galaher-music .tg-amazon-card-frame { border-radius: 6px; }
  #towner-galaher-music .tg-card-title {
    margin: 6px 2px 2px;
    font-size: 11px;
    line-height: 1.2;
  }
  #towner-galaher-music .tg-card-artist {
    margin: 0 2px 3px;
    font-size: 9px;
  }
  #towner-galaher-music .tg-arrow {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
  #towner-galaher-music .tg-player { margin-top: 8px; }
}
