@font-face {
  font-family: "Open Sans";
  src: url("assets/fonts/OpenSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("assets/fonts/OpenSans-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("assets/fonts/OpenSans-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --burgundy: #400810;
  --burgundy-deep: #300810;
  --cream: #e0d8d8;
  --rose: #c8b0b0;
  --mauve: #604048;
  --ink: #1b0b0e;
  --paper: #f5eeee;
  --white: #fffafa;
  --shadow: 0 24px 80px rgba(27, 11, 14, 0.22);
  --gallery-card-bg-alpha: 0.64;
  --gallery-card-bg-hover-alpha: 0.76;
  color-scheme: light;
  font-family: "Open Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--burgundy-deep);
  color: var(--cream);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.center-nav a:hover,
.center-nav a:focus-visible,
.social-icon:hover,
.social-icon:focus-visible {
  color: var(--white);
}

.hero,
.page-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(10px, 2vw, 18px);
  padding: 28px clamp(20px, 6vw, 96px) clamp(52px, 7vw, 78px);
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 82% 24%, rgba(96, 64, 72, 0.35), transparent 28%),
    linear-gradient(135deg, var(--burgundy-deep), var(--burgundy));
}

.hero {
  min-height: calc(100svh - 64px);
}

.page-hero {
  min-height: calc(100svh - 64px);
}

.hero::after,
.page-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 120px;
  pointer-events: none;
  content: "";
  background: linear-gradient(0deg, rgba(48, 8, 16, 0.72), transparent);
}

.hero__content,
.brand-mark,
.center-nav,
.header-academy,
.hero > .eyebrow,
.page-hero > .eyebrow,
.page-hero > h1,
.page-hero > .hero__intro {
  position: relative;
  z-index: 1;
}

.hero__content {
  margin-top: clamp(10px, 2vw, 18px);
}

.brand-mark {
  width: clamp(156px, 10vw, 176px);
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: auto;
}

.center-nav {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(224, 216, 216, 0.24);
  border-radius: 999px;
  background: rgba(48, 8, 16, 0.48);
  color: var(--rose);
  backdrop-filter: blur(12px);
}

.center-nav a {
  display: inline-flex;
  min-width: 92px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
}

.center-nav a:hover,
.center-nav a:focus-visible,
.center-nav a[aria-current="page"] {
  background: rgba(224, 216, 216, 0.1);
}

.center-nav--pinned {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 30;
  width: max-content;
  max-width: calc(100vw - 32px);
  background: rgba(48, 8, 16, 0.94);
  box-shadow: 0 14px 42px rgba(27, 11, 14, 0.18);
  transform: translateX(-50%);
  animation: nav-slide-down 220ms ease-out;
}

@keyframes nav-slide-down {
  from {
    opacity: 0;
    transform: translate(-50%, -18px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-academy {
  margin: 0;
  letter-spacing: 0.04em;
  text-transform: none;
}

.header-academy--spacer {
  display: block;
  width: 1px;
  height: 20px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.04;
}

h1 {
  max-width: 940px;
  margin-right: auto;
  margin-bottom: 12px;
  margin-left: auto;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 5.5vw, 4.8rem);
  font-weight: 800;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.8vw, 4.3rem);
}

h3 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 1.22rem;
}

.hero__intro {
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(224, 216, 216, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--cream);
  color: var(--burgundy-deep);
}

.button--dark {
  background: var(--burgundy);
  color: var(--cream);
}

.social-icons {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.social-icons--contact {
  margin-top: 24px;
}

.social-icons--footer {
  justify-content: flex-end;
}

.social-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(224, 216, 216, 0.4);
  border-radius: 50%;
  background: rgba(48, 8, 16, 0.36);
  color: var(--cream);
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.social-icon:hover,
.social-icon:focus-visible {
  border-color: var(--cream);
  background: rgba(224, 216, 216, 0.12);
  transform: translateY(-2px);
}

.social-icon img {
  width: 22px;
  height: 22px;
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(20px, 6vw, 96px);
}

.section__inner,
.split,
.contact-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section__heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.section--light {
  background: var(--paper);
  color: var(--ink);
}

.section--light .eyebrow,
.section--cream .eyebrow {
  color: var(--burgundy);
}

.section--dark {
  background: var(--burgundy-deep);
  color: var(--cream);
}

.section--cream {
  background: var(--cream);
  color: var(--ink);
}

.section--gallery {
  position: relative;
  min-height: min(820px, 95svh);
  overflow: hidden;
  background: var(--burgundy-deep);
  color: var(--cream);
}

.section--gallery::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(48, 8, 16, 0.32), rgba(48, 8, 16, 0.12)),
    linear-gradient(0deg, rgba(27, 11, 14, 0.22), rgba(27, 11, 14, 0.06));
}

.section--gallery .section__heading {
  max-width: 880px;
  font-weight: 900;
}

.section--gallery .eyebrow {
  color: var(--rose);
  font-weight: 900;
}

.section--gallery h2 {
  color: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  display: grid;
  min-height: 220px;
  align-content: center;
  grid-template-rows: auto minmax(4.2em, auto);
  overflow: hidden;
  padding: clamp(18px, 2.3vw, 26px);
  background: var(--white);
  border: 1px solid rgba(96, 64, 72, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(64, 8, 16, 0.1);
  text-align: center;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.feature-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(135deg, rgba(200, 176, 176, 0.28), transparent 48%),
    radial-gradient(circle at 50% 0%, rgba(64, 8, 16, 0.1), transparent 34%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.feature-card h3,
.feature-card p {
  position: relative;
  z-index: 2;
  transition:
    color 220ms ease,
    transform 220ms ease;
}

.feature-card:hover,
.feature-card:focus-within {
  border-color: rgba(64, 8, 16, 0.34);
  box-shadow: 0 24px 64px rgba(64, 8, 16, 0.18);
  transform: translateY(-6px);
}

.feature-card:hover::before,
.feature-card:focus-within::before {
  opacity: 1;
}

.feature-card:hover h3,
.feature-card:focus-within h3 {
  color: var(--burgundy);
  transform: translateY(-3px);
}

.feature-card p {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 0;
  color: #4f3a40;
}

.section--gallery .section__inner {
  position: relative;
  z-index: 2;
}

.section--gallery .feature-card {
  min-height: 178px;
  padding: clamp(18px, 2vw, 24px);
  background: rgba(27, 11, 14, 0.54);
  border-color: rgba(224, 216, 216, 0.26);
  box-shadow: 0 22px 58px rgba(27, 11, 14, 0.3);
  text-align: left;
  backdrop-filter: blur(8px);
}

.section--gallery .feature-card::before {
  background:
    linear-gradient(135deg, rgba(200, 176, 176, 0.14), transparent 52%),
    radial-gradient(circle at 10% 0%, rgba(255, 250, 250, 0.12), transparent 36%);
}

.section--gallery .feature-card h3 {
  color: var(--white);
  font-weight: 900;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.18);
}

.section--gallery .feature-card p {
  justify-content: flex-start;
  color: rgba(224, 216, 216, 0.92);
  font-weight: 400;
  line-height: 1.5;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.2);
}

.section--gallery .feature-card::after {
  display: none;
}

.section--gallery .feature-card:hover,
.section--gallery .feature-card:focus-within {
  background: rgba(48, 8, 16, 0.68);
  border-color: rgba(224, 216, 216, 0.42);
  box-shadow: 0 28px 70px rgba(27, 11, 14, 0.38);
}

.section--gallery .feature-card:hover h3,
.section--gallery .feature-card:focus-within h3 {
  color: var(--white);
}

.photo-gallery {
  margin-right: calc(clamp(20px, 6vw, 96px) * -1);
  margin-left: calc(clamp(20px, 6vw, 96px) * -1);
  overflow: hidden;
}

.photo-gallery--background {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
}

.gallery-track {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  padding: 0;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}

.gallery-item.is-active {
  opacity: 1;
}

.gallery-item.is-previous {
  opacity: 1;
}

.gallery-photo {
  width: 100%;
  min-height: 100%;
  background-position: center;
  background-size: cover;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: center;
}

.split-heading {
  text-align: center;
}

.split-heading h2 {
  margin-bottom: 0;
}

.copy-stack {
  color: rgba(224, 216, 216, 0.88);
  font-family: "Open Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.12rem, 1.55vw, 1.38rem);
  line-height: 1.55;
}

.copy-stack p {
  margin-bottom: 1.1em;
}

.copy-stack p:last-child {
  margin-bottom: 0;
}

.copy-stack--dark {
  color: rgba(27, 11, 14, 0.78);
}

.page-hero--encore {
  background:
    radial-gradient(circle at 18% 20%, rgba(200, 176, 176, 0.16), transparent 26%),
    linear-gradient(135deg, rgba(48, 8, 16, 1), rgba(64, 8, 16, 0.92) 55%, rgba(27, 11, 14, 1));
}

.section__heading--center {
  margin-inline: auto;
  text-align: center;
}

.encore-wordmark {
  display: flex;
  width: min(520px, 100%);
  height: 220px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  padding: 18px 22px;
  border-radius: 8px;
  background: var(--ink);
}

.encore-wordmark img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: translateY(-12px);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
}

.partner-panel {
  position: relative;
  display: grid;
  grid-template-rows: 250px minmax(0, 1fr);
  min-height: 610px;
  overflow: hidden;
  border: 1px solid rgba(64, 8, 16, 0.14);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(27, 11, 14, 0.12);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.partner-panel:hover,
.partner-panel:focus-within {
  box-shadow: 0 28px 70px rgba(27, 11, 14, 0.18);
  transform: translateY(-5px);
}

.partner-panel--vocals,
.partner-panel--drums {
  background: linear-gradient(145deg, #fffafa 0%, #eadfe4 100%);
}

.partner-panel__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  background: #000;
}

.partner-panel__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-panel__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(26px, 4vw, 44px);
}

.partner-panel__service {
  margin: 0 0 10px;
  color: var(--burgundy);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.partner-panel h3 {
  min-height: 2.25em;
  margin: 0 0 14px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.partner-panel__content > p:not(.partner-panel__service) {
  margin: 0 0 18px;
  color: rgba(27, 11, 14, 0.76);
  line-height: 1.65;
}

.partner-panel__features {
  display: grid;
  gap: 8px;
  margin: 0 0 26px;
  padding-left: 20px;
  color: rgba(27, 11, 14, 0.82);
  line-height: 1.45;
}

.partner-panel__features li::marker {
  color: var(--burgundy);
}

.partner-panel .button {
  margin-top: auto;
}

.encore-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.encore-cta h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.encore-cta .button {
  flex: 0 0 auto;
}

.wide-copy {
  max-width: 780px;
  color: rgba(27, 11, 14, 0.76);
  font-size: 1.12rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-list span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 15px;
  border: 1px solid rgba(64, 8, 16, 0.22);
  border-radius: 999px;
  background: rgba(255, 250, 250, 0.54);
  color: var(--burgundy-deep);
  font-weight: 800;
}

.section--contact {
  background:
    linear-gradient(180deg, rgba(64, 8, 16, 0.92), rgba(48, 8, 16, 1)),
    var(--burgundy);
  color: var(--cream);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.8fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: start;
}

.contact-copy {
  max-width: 600px;
}

.contact-form {
  padding: clamp(22px, 4vw, 34px);
  background: var(--paper);
  border: 1px solid rgba(224, 216, 216, 0.35);
  border-radius: 8px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

label {
  color: var(--burgundy-deep);
  font-size: 0.92rem;
  font-weight: 900;
}

label span {
  color: var(--mauve);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid rgba(96, 64, 72, 0.35);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.select-control {
  position: relative;
}

.select-control::after {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 10px;
  height: 10px;
  pointer-events: none;
  content: "";
  border-right: 2px solid var(--burgundy);
  border-bottom: 2px solid var(--burgundy);
  transform: translateY(-65%) rotate(45deg);
}

.select-control select {
  appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background:
    linear-gradient(180deg, rgba(255, 250, 250, 1), rgba(245, 238, 238, 0.96)),
    var(--white);
  font-weight: 800;
}

.select-control select:hover {
  border-color: rgba(64, 8, 16, 0.58);
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(200, 176, 176, 0.72);
  outline-offset: 1px;
  border-color: var(--burgundy);
}

.botcheck {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.contact-form__button {
  width: 100%;
  border: 0;
  background: var(--burgundy);
  color: var(--cream);
  cursor: pointer;
}

.contact-form__button[disabled] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-status {
  min-height: 1.5em;
  margin: 14px 0 0;
  color: var(--burgundy-deep);
  font-weight: 800;
}

.form-status[data-state="error"] {
  color: #8b1020;
}

.form-status[data-state="success"] {
  color: #28513a;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 6vw, 96px);
  background: var(--burgundy-deep);
  border-top: 1px solid rgba(200, 176, 176, 0.2);
  color: var(--rose);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 900;
  text-underline-offset: 4px;
}

.footer-copy {
  display: grid;
  gap: 4px;
}

.footer-copy p:last-child {
  color: rgba(200, 176, 176, 0.72);
  font-size: 0.9rem;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.back-to-top {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid rgba(224, 216, 216, 0.34);
  border-radius: 999px;
  color: var(--cream);
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  border-color: var(--cream);
  background: rgba(224, 216, 216, 0.1);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .hero,
  .page-hero {
    min-height: 0;
    padding-bottom: 64px;
  }

  .hero__content,
  .page-hero > h1,
  .page-hero > .hero__intro {
    width: 100%;
  }

  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .split {
    text-align: center;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .partner-grid {
    grid-template-columns: 1fr;
  }

  .partner-panel {
    min-height: 570px;
  }

  .encore-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero,
  .page-hero {
    gap: 12px;
    padding: 24px 20px 52px;
  }

  .center-nav {
    width: 100%;
    border-radius: 18px;
  }

  .center-nav a {
    flex: 1 1 40%;
    min-width: 0;
  }

  .partner-panel {
    grid-template-columns: 1fr;
    grid-template-rows: 210px minmax(0, 1fr);
    min-height: 0;
  }

  .partner-panel h3 {
    min-height: 0;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .hero__actions .social-icons {
    justify-content: center;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 12vw, 3.15rem);
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  .page-hero--encore > h1 {
    width: min(100%, 330px);
    font-size: 2.5rem;
    overflow-wrap: break-word;
    word-break: normal;
    text-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-card,
  .feature-card::before,
  .feature-card h3,
  .feature-card p {
    transition: none;
  }

  .feature-card:hover,
  .feature-card:focus-within,
  .feature-card:hover h3,
  .feature-card:focus-within h3 {
    transform: none;
  }
}
