/* Shared visual language and footer. Navigation and video retain their original styles. */
.home-redesign,
.home-footer {
  --home-bg: #111111;
  --home-panel: #181816;
  --home-ink: #f0ede2;
  --home-muted: #b7b7af;
  --home-gold: #d7b17b;
  background: var(--home-bg);
  color: var(--home-ink);
  font-family: 'Jost', Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.home-redesign *, .home-footer * { box-sizing: border-box; }
.home-container { width: min(100% - 112px, 1320px); margin-inline: auto; }
.home-redesign section { background-color: transparent; scroll-margin-top: 105px; }
.home-redesign .home-section { padding: clamp(48px, 5vw, 80px) 0; }
.home-redesign .home-history, .home-redesign .home-contact { background: var(--home-panel); }
.home-redesign h2, .home-redesign h3, .home-footer p { margin: 0; }
.home-redesign h2 {
  color: var(--home-ink);
  font-family: 'Raleway', Arial, sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.045em;
  margin-bottom: 22px;
}
.home-redesign p { margin: 0 0 18px; color: var(--home-muted); font-size: 1.125rem; line-height: 1.6112; font-weight: 400; }
.home-redesign .home-eyebrow {
  color: var(--home-gold);
  font-size: .875rem;
  line-height: 1.6;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.home-redesign a, .home-footer a { color: inherit; text-decoration: none; }
.home-redesign a:focus-visible, .home-redesign summary:focus-visible,
.home-footer a:focus-visible { outline: 2px solid var(--home-gold); outline-offset: 7px; }
.home-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.home-figure { margin: 0; min-width: 0; }
.home-redesign .home-figure img { width: 100%; height: auto; display: block; }
.home-redesign .home-figure figcaption { margin-top: 12px; color: var(--home-muted); font-size: .9375rem; }
.home-copy { min-width: 0; }
.home-copy > p { max-width: 56ch; font-size: 1.125rem; }
/* Preserve the complete group photograph at its original 4:3 proportions. */
.home-project .home-split { align-items: center; }
.home-project .home-copy h2 { font-size: clamp(2rem, 3vw, 3rem); margin-bottom: 10px; }
.home-project .home-copy { max-width: 600px; }
.home-project-heading { margin-bottom: 26px; }
.home-redesign .home-project-heading p { font-size: 1.125rem; line-height: 1.5; margin: 0; color: var(--home-ink); }
.home-redesign .home-project-story p { max-width: 600px; font-size: 1.125rem; line-height: 1.5; margin: 0 0 14px; }
.home-redesign .home-project-story p:last-child { margin-bottom: 0; }
.home-project .home-copy > .home-button { margin-top: 30px; }
.home-project .home-copy > .home-accent { margin-top: 26px; margin-bottom: 28px; }
.home-redesign .home-project .home-figure img { display: block; width: 100%; height: auto; object-fit: contain; }
@media (max-width: 991px) {
  .home-project .home-split { grid-template-columns: 1fr; gap: 28px; }
  .home-project .home-figure { width: 100%; max-width: 760px; margin-inline: auto; }
  .home-project .home-copy { width: 100%; max-width: 600px; margin-inline: auto; text-align: left; }
  .home-project .home-copy > p { max-width: none; }
  .home-redesign .home-project .home-copy > .home-button { display: inline-flex; max-width: 100%; margin-inline: 0; }
}
.home-redesign .home-accent { color: var(--home-gold); margin-top: 32px; }
.home-redesign .home-kicker { text-transform: uppercase; letter-spacing: .09em; color: var(--home-ink); font-size: .9375rem; margin-bottom: 18px; }
.home-redesign .home-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
  padding: 14px 30px;
  border: 1px solid var(--home-ink);
  border-radius: 0;
  background: var(--home-ink);
  color: #171715;
  font: inherit;
  line-height: 1.4;
  text-align: center;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.home-redesign .home-button:hover { background: var(--home-gold); border-color: var(--home-gold); color: #171715; transform: translateY(-2px); }
.home-redesign .home-button--outline { background: transparent; color: var(--home-ink); }
.home-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 22px; }
.home-redesign .home-text-link { color: var(--home-gold); display: inline-block; border-bottom: 1px solid #806c4f; padding: 5px 0; transition: color .2s, border-color .2s; }
.home-redesign .home-text-link:hover { color: var(--home-ink); border-color: var(--home-ink); }
.home-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.home-section-heading h2 { margin-bottom: 0; }
.home-section-heading p { flex-shrink: 0; margin-bottom: 4px; font-size: 1.125rem; line-height: 1.8; }
.home-musician-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; align-items: start; }
.home-musician { min-width: 0; }
.home-portrait { overflow: hidden; aspect-ratio: 4 / 5; margin-bottom: 20px; background: #1d2222; }
.home-redesign .home-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.62); transition: transform .6s ease, filter .6s ease; }
.home-portrait--mikael img { object-position: 31% 50%; }
.home-portrait--glen img { object-position: 53% 54%; }
.home-portrait--tommy img { object-position: 52% 43%; }
.home-redesign .home-portrait--tord img { height: 135%; object-position: 50% 0; }
.home-portrait--magnus img { object-position: 61% 45%; }
.home-musician:hover .home-portrait img { transform: scale(1.035); filter: saturate(.95); }
.home-redesign .home-musician h3 { font: 400 clamp(1.0625rem, 1.45vw, 1.375rem)/1.35 'Jost', Arial, sans-serif; letter-spacing: -.02em; }
.home-redesign .home-role { color: var(--home-gold); margin: 6px 0 12px; font-size: 1rem; line-height: 1.5; }
.home-bio { font-size: 1rem; line-height: 1.9; }
.home-bio summary { display: flex; justify-content: space-between; align-items: center; min-height: 48px; gap: 12px; border-bottom: 1px solid #44443f; list-style: none; color: var(--home-muted); cursor: pointer; transition: color .2s; }
.home-bio summary::-webkit-details-marker { display: none; }
.home-bio summary:hover { color: var(--home-ink); }
.home-toggle { width: 12px; height: 12px; position: relative; flex-shrink: 0; }
.home-toggle::before, .home-toggle::after { content: ''; position: absolute; background: var(--home-ink); left: 0; top: 5px; width: 12px; height: 1px; transition: transform .2s; }
.home-toggle::after { transform: rotate(90deg); }
.home-bio[open] .home-toggle::after { transform: rotate(0); }
.home-bio-copy { padding-top: 28px; overflow-wrap: break-word; }
.home-bio[open] .home-bio-copy { animation: home-bio-in .28s ease both; }
.home-redesign .home-bio-copy p { margin-bottom: 26px; font-size: 1rem; line-height: 1.95; }
.home-redesign .home-bio-lead { color: var(--home-ink); line-height: 1.65; }
.home-redesign .home-bio-copy p:last-child { margin-bottom: 0; }
.home-redesign .home-tim { padding: 0 0 clamp(44px, 5vw, 72px); }
.home-tim-inner { border-top: 1px solid #3c3c36; padding-top: clamp(28px, 3vw, 44px); display: block; }
.home-tim-inner h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 14px; }
.home-tim-inner p:last-child { margin-bottom: 0; }
.home-tim-inner > a { margin-top: 20px; }
.home-contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.home-redesign .home-contact h2 { font-size: clamp(2.5rem, 4.5vw, 4.5rem); margin-bottom: 20px; }
.home-redesign .home-contact-intro { color: var(--home-ink); font-size: 1.125rem; }
.home-contact-details { min-width: 0; }
.home-contact-details h3 { color: var(--home-ink); font: 400 1.75rem/1.2 'Raleway', Arial, sans-serif; }
.home-contact-details > p { margin-top: 6px; font-size: 1rem; }
.home-contact-details dl { margin: 22px 0; }
.home-contact-details dl > div + div { margin-top: 18px; }
.home-contact-details dt { font-weight: 400; text-transform: uppercase; letter-spacing: .18em; font-size: .8125rem; color: var(--home-gold); margin-bottom: 4px; }
.home-contact-details dd { margin: 0; font-size: clamp(1.125rem, 1.8vw, 1.5rem); line-height: 1.4; overflow-wrap: anywhere; }
.home-contact-details dd a { transition: color .2s; }
.home-contact-details dd a:hover { color: var(--home-gold); }
.home-footer { background: #181816; padding-bottom: 32px; }
.home-footer > .home-container { border-top: 1px solid #44443c; padding-top: 26px; }
.home-footer-top, .home-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.home-footer .home-footer-brand { font: 400 1.375rem/1.3 'Jost', Arial, sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.home-footer-brand span { font-weight: 400; }
.home-footer-links, .home-footer-bottom > div { display: flex; flex-wrap: wrap; gap: 24px; }
.home-footer-bottom { margin-top: 26px; color: var(--home-muted); font-size: .875rem; align-items: baseline; }
.home-footer a { transition: color .2s; }
.home-footer a:hover { color: var(--home-gold); }
/* Progressive enhancement: content stays visible if JavaScript is unavailable. */
@media (prefers-reduced-motion: no-preference) {
  .home-reveal.is-waiting { opacity: 0; transform: translateY(24px); }
  .home-reveal.is-visible { animation: home-reveal-in .7s ease both; }
  .home-musician:nth-child(2) { animation-delay: .06s; }
  .home-musician:nth-child(3) { animation-delay: .12s; }
  .home-musician:nth-child(4) { animation-delay: .18s; }
  .home-musician:nth-child(5) { animation-delay: .24s; }
}
@keyframes home-reveal-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes home-bio-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .home-container { width: calc(100% - 64px); }
  .home-split { gap: 36px; }
  .home-musician-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
  .home-contact-grid { gap: 48px; }
}
@media (max-width: 767px) {
  .home-container { width: calc(100% - 40px); }
  .home-redesign .home-section { padding: 40px 0; }
  .home-split, .home-contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .home-redesign h2 { font-size: clamp(2rem, 7vw, 2.75rem); margin-bottom: 20px; }
  .home-redesign .home-eyebrow { font-size: .8125rem; letter-spacing: .2em; margin-bottom: 16px; }
  .home-section-heading { display: block; margin-bottom: 32px; }
  .home-section-heading p { margin-top: 12px; }
  .home-musician-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 18px; }
  .home-tim-inner { display: block; padding-top: 28px; }
  .home-tim-inner > a { margin-top: 24px; }
  .home-redesign .home-tim { padding-bottom: 40px; }
  .home-redesign .home-contact h2 { font-size: clamp(2.5rem, 11vw, 3.75rem); }
  .home-footer-top, .home-footer-bottom { align-items: flex-start; flex-direction: column; gap: 24px; }
  .home-footer-links { gap: 12px 24px; }
  .home-footer-bottom { margin-top: 32px; }
}
@media (max-width: 420px) {
  .home-musician-grid { grid-template-columns: 1fr; gap: 40px; }
  .home-redesign .home-musician h3 { font-size: 1.375rem; }
  .home-portrait { aspect-ratio: 4 / 4.6; }
}
@media (prefers-reduced-motion: reduce) {
  .home-redesign *, .home-footer * { animation: none !important; transition: none !important; }
}
/* A continuous musician row on tablets and phones, with native swipe/keyboard scrolling. */
@media (max-width: 1100px) {
  .home-musician-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: clamp(240px, 40vw, 320px);
    gap: 24px;
    overflow-x: auto;
    padding: 18px 16px 24px;
    margin: -18px -16px -12px;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--synth-accent) var(--synth-panel);
  }
  .home-musician { scroll-snap-align: start; }
}
@media (max-width: 480px) {
  .home-musician-grid { grid-auto-columns: 88%; gap: 18px; }
}
.home-musician-grid:focus-visible { outline: 1px solid var(--synth-accent); outline-offset: 6px; }
/* Portrait framing changes the crop, never the size of a face on hover. */
.home-portrait { --portrait-scale: 1; }
.home-portrait--glen { --portrait-scale: 1.6; }
.home-redesign .home-portrait img { transform: scale(var(--portrait-scale)); transform-origin: 50% 38%; }
.home-musician:hover .home-portrait img { transform: scale(var(--portrait-scale)); }
.home-musicians .home-section-heading { display: block; }
.home-musicians .home-section-heading p { margin: 12px 0 0; font-size: 1rem; line-height: 1.6; }
.home-bio-button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--synth-line); background: transparent; color: var(--home-muted); font: 400 1rem/1.4 'Jost', Arial, sans-serif; text-align: left; cursor: pointer; }
.home-bio-button:hover { color: var(--home-ink); }
.home-bio-button:focus-visible { outline: 2px solid var(--synth-accent); outline-offset: 3px; }
/* Portrait and biography scroll together; the close control stays outside the scroller. */
.home-redesign.bio-dialog { width: min(1000px, calc(100% - 32px)); max-width: 1000px; max-height: calc(100dvh - 40px); margin: auto; padding: 0; border: 1px solid var(--synth-line); border-radius: 24px; background: var(--synth-panel); overflow: hidden; }
.bio-dialog::backdrop { background: #030813c9; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.bio-dialog-scroll { max-height: calc(100dvh - 42px); overflow-y: auto; overscroll-behavior: contain; }
.bio-dialog-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: start; gap: 32px; padding: 40px; }
.home-redesign .bio-portrait { width: 100%; aspect-ratio: 3 / 4; margin: 0; box-shadow: none; }
.bio-dialog-content { min-width: 0; }
.bio-close { position: absolute; z-index: 3; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--synth-panel); color: var(--home-ink); font: 400 28px/1 Arial, sans-serif; cursor: pointer; }
.bio-close:hover { background: #253149; }
.bio-close:focus-visible { outline: 2px solid var(--synth-accent); outline-offset: -3px; }
.bio-dialog .home-eyebrow { margin: 0 24px 8px 0; }
.home-redesign.bio-dialog h2 { font-size: 2.125rem; font-weight: 400; line-height: 1.2; margin: 0 0 12px; outline: none; }
.home-redesign.bio-dialog .home-bio-lead { color: var(--home-ink); font-size: 1.125rem; line-height: 1.5; margin: 0 0 24px; }
.home-redesign .bio-dialog-copy p { font-size: 1.125rem; line-height: 1.5; margin: 0 0 14px; }
.bio-dialog-copy p:last-child { margin-bottom: 0; }
@media (max-width: 850px) {
  .bio-dialog-layout { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; gap: 24px; }
  .home-redesign .bio-portrait { width: 156px; }
  .home-redesign.bio-dialog h2 { font-size: 2rem; }
  .home-redesign .bio-dialog-copy p, .home-redesign.bio-dialog .home-bio-lead { font-size: 1.0625rem; }
}
.footer-navigation { display: grid; gap: 12px; }
.footer-socials, .footer-resources { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-socials { font-size: 1rem; }
.footer-resources { color: var(--home-muted); font-size: .9375rem; }

