/* ==========================================================================
   Variables & Base
   ========================================================================== */
:root {
  --color-navy: #08264a;
  --color-navy-dark: #061f3f;
  --color-navy-light: #1e4d85;
  --color-ivory: #f7f2e8;
  --color-paper: #fbf8f0;
  --color-white: #ffffff;
  --color-mist: #f5f8fb;
  --color-mist-deep: #ebf0f5;
  --color-gold: #b99655;
  --color-gold-light: #d9bf87;
  --color-text: #1f2f3f;
  --color-text-secondary: #4b5768;
  --color-border-subtle: rgba(8, 38, 74, 0.12);
  --color-shadow-navy: rgba(8, 38, 74, 0.14);

  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: clamp(1200px, 75vw, 1600px);
  --container-padding: 24px;

  --hero-padding-top: clamp(2px, 0.5px + 0.375vw, 5px);
  --hero-portrait-size: clamp(280px, 45vw, 540px);
  --hero-portrait-offset: clamp(8px, 2.333vw, 28px);
  --hero-content-offset: -10px;
  --hero-padding-inline: var(--container-padding);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-ivory);
}

img {
  max-width: 100%;
  display: block;
}

a {
  font-family: inherit;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-navy-dark);
  width: 100%;
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 84px;
  padding: 30px var(--container-padding) 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.brand-lockup {
  position: relative;
  display: inline-block;
  padding-bottom: 24px;
  text-decoration: none;
}

.brand-lockup__name {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 3.85rem;
  line-height: 0.88;
  letter-spacing: -0.5px;
  color: var(--color-white);
}

.brand-lockup__initial {
  display: inline-block;
  font-size: 1.32em;
  line-height: 0.7;
  transform: translateY(9px);
  transform-origin: top left;
  margin-right: -3px;
}

.brand-lockup__subtitle {
  position: absolute;
  left: 34px;
  bottom: 12px;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__link {
  color: #f3efe3;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--color-gold-light);
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-toggle__button {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-white);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle:focus-visible ~ .nav-toggle__button {
  outline: 2px solid var(--color-gold-light);
  outline-offset: 4px;
}

.nav-toggle:checked ~ .nav-toggle__button .nav-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle:checked ~ .nav-toggle__button .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked ~ .nav-toggle__button .nav-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 24px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn__icon {
  display: inline-flex;
  align-items: center;
}

.btn--primary {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
  box-shadow: 0 10px 20px -8px rgba(8, 38, 74, 0.45);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--color-navy-light);
}

.btn--secondary {
  background: var(--color-white);
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: var(--color-ivory);
}

.btn--outline {
  height: 54px;
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
  border-radius: 8px;
  padding: 0 28px;
  font-size: 1.1rem;
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--color-navy-light);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--color-paper);
  padding: var(--hero-padding-top) var(--hero-padding-inline) 0;
  border-bottom: 1px solid var(--color-navy);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/hero-background.png");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /* The white wash sits above the music image within this layer's own
     stack, so it blanks the notation under the text column before the
     multiply blend below ever sees it — texture only survives on the
     right, near the portrait. */
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 32%, rgba(255, 255, 255, 0.35) 58%, rgba(255, 255, 255, 0) 78%),
    url("/assets/hero-music.png");
  background-size: cover, cover;
  background-position: center, center;
  opacity: 0.22;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(48px, 6vw, 72px);
}

@media (min-width: 961px) {
  .hero__inner {
    width: 100%;
  }
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateY(var(--hero-content-offset));
}

.hero__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.75rem, 2rem + 2.5vw, 4.5rem);
  line-height: 1;
  color: var(--color-navy);
}

.hero__quote-carousel {
  display: grid;
  margin: 10px 0 0;
  max-width: 38rem;
}

.hero__quote {
  grid-area: 1 / 1;
  opacity: 0;
  animation: hero-quote-fade 10s infinite;
}

.hero__quote-text {
  margin: 0;
  font-family: var(--font-serif);
  font-size: calc(var(--hero-portrait-size) * 0.068);
  line-height: 1.25;
  color: var(--color-navy);
}

.hero__quote-attribution {
  margin: 10px 0 0;
  font-size: calc(var(--hero-portrait-size) * 0.026);
  color: var(--color-text-secondary);
}

@keyframes hero-quote-fade {
  0%, 4% { opacity: 0; }
  8%, 42% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

.hero__divider {
  display: block;
  width: 128px;
  height: 2px;
  margin: 24px 0;
  background: linear-gradient(to right, var(--color-gold) 0%, var(--color-gold) 55%, transparent 100%);
  border-radius: 1px;
}

.hero__text {
  margin: 0 0 32px;
  max-width: 26.3em;
  font-size: calc(var(--hero-portrait-size) * 0.0415);
  line-height: 1.6;
  color: var(--color-text-secondary);
}

@media (min-width: 961px) {
  .hero__text {
    font-size: calc(var(--hero-portrait-size) * 0.029);
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__actions .btn {
  height: calc(var(--hero-portrait-size) * 0.0926);
  padding: 0 calc(var(--hero-portrait-size) * 0.0444);
  font-size: calc(var(--hero-portrait-size) * 0.0282);
}

.hero__media {
  display: flex;
  justify-content: center;
  align-self: end;
}

.hero__portrait {
  width: min(var(--hero-portrait-size), 100%);
  aspect-ratio: 4 / 4.6;
  border-radius: 50% 50% 12% 12% / 60% 60% 10% 10%;
  overflow: hidden;
  transform: translateY(var(--hero-portrait-offset));
}

.hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==========================================================================
   Section Heading (shared by Listen + About/Contact)
   ========================================================================== */
.section-heading {
  max-width: 640px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-heading__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
  color: var(--color-navy);
}

.section-heading__divider {
  display: block;
  width: 128px;
  height: 2px;
  margin: 20px auto;
  background: linear-gradient(to right, transparent 0%, var(--color-gold) 35%, var(--color-gold) 65%, transparent 100%);
  border-radius: 1px;
}

/* ==========================================================================
   Listen
   ========================================================================== */
.listen-section {
  position: relative;
  background-color: var(--color-mist);
  padding: 40px var(--container-padding) 40px;
}

.listen-section__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: 40px;
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: 16px;
  border: 1px solid var(--color-border-subtle);
  box-shadow: 0 20px 40px -24px var(--color-shadow-navy);
  overflow: hidden;
}

.project-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 32px 32px 0;
}

.project-card__info {
  flex: 1;
  min-width: 0;
}

.project-card__media {
  flex-shrink: 0;
  line-height: 0;
}

.project-card__cover-link {
  display: block;
}

.project-card__cover {
  width: 128px;
  height: 128px;
  object-fit: cover;
  border-radius: 12px;
}

.project-card__title {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.7rem;
}

.project-card__link {
  color: var(--color-navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

.project-card__link:hover,
.project-card__link:focus-visible {
  color: var(--color-gold);
}

.project-card__description {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.project-card__embed {
  padding: 24px 32px 32px;
  line-height: 0;
}

.project-card__embed iframe {
  display: block;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  transition: height 0.35s ease;
}

.project-card__expand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 24px;
  padding: 0;
  border: 1px solid var(--color-navy);
  border-radius: 50%;
  background: transparent;
  color: var(--color-navy);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.project-card__expand:hover,
.project-card__expand:focus-visible {
  background-color: var(--color-navy);
  color: #fff;
}

.project-card__expand-icon {
  transition: transform 0.35s ease;
}

.project-card__expand[aria-expanded="true"] .project-card__expand-icon {
  transform: rotate(180deg);
}

/* ==========================================================================
   About & Contact
   ========================================================================== */
.about-section {
  position: relative;
  overflow: hidden;
  background-color: var(--color-mist);
  padding: 64px var(--container-padding);
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/hero-music.png");
  background-size: cover;
  background-position: center;
  filter: grayscale(1);
  opacity: 0.035;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}

.about-section__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 48px);
  align-items: start;
}

.about-card--contact {
  background: var(--color-white);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid var(--color-border-subtle);
  box-shadow: 0 20px 40px -24px var(--color-shadow-navy);
  scroll-margin-top: 48px;
}

.about-card__text {
  margin: 0 0 20px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.about-card__text:last-of-type {
  margin-bottom: 0;
}

.about-card__text a {
  color: var(--color-navy);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.about-card__text a:hover,
.about-card__text a:focus-visible {
  color: var(--color-gold);
}

.about-card__services {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(185, 150, 85, 0.3);
}

.about-card__services-label {
  margin: 0 0 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.about-card__services-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.about-card__service {
  position: relative;
  padding-left: 16px;
  font-size: 0.95rem;
  color: var(--color-navy);
}

.about-card__service::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-navy);
}

.about-card__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--color-navy);
}

.about-card__divider {
  display: block;
  width: 96px;
  height: 2px;
  margin: 14px 0 24px;
  background: linear-gradient(to right, var(--color-gold) 0%, var(--color-gold) 55%, transparent 100%);
  border-radius: 1px;
}

.about-card__subtext {
  margin: 10px 0 24px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form__label {
  margin-top: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-navy);
}

.contact-form__input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--color-border-subtle);
  background: var(--color-mist-deep);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text);
}

.contact-form__input--textarea {
  resize: vertical;
}

.contact-form__input:focus {
  outline: none;
  border-color: var(--color-gold);
}

.contact-form__submit {
  margin-top: 20px;
  align-self: flex-start;
  border: none;
  cursor: pointer;
}

.about-card__social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
}

.about-card__social:hover,
.about-card__social:focus-visible {
  color: var(--color-gold);
}

.about-card__social-icon {
  display: inline-flex;
  align-items: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-navy-dark);
  border-top: 1px solid var(--color-navy);
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px var(--container-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.site-footer__brand {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-white);
}

.site-footer__copyright {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer__credit {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__credit:hover,
.site-footer__credit:focus-visible {
  color: var(--color-gold-light);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .hero {
    --hero-portrait-size: clamp(260px, 196px + 24.55vw, 432px);
    --hero-padding-top: clamp(1px, 0.84px + 0.34vw, 4.1px);
    --hero-portrait-offset: clamp(3px, 0.08px + 2.33vw, 22.4px);
    --hero-padding-inline: clamp(18px, 17.8px + 0.65vw, 24px);
    padding-bottom: 40px;
  }

  .hero::after {
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 22%, rgba(255, 255, 255, 0.35) 42%, rgba(255, 255, 255, 0.85) 68%, rgba(255, 255, 255, 0.95) 100%),
      url("/assets/hero-music.png");
    background-size: cover, 150%;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero__content {
    --hero-content-offset: 0px;
    order: 2;
    align-items: center;
    text-align: center;
  }

  .hero__quote-carousel {
    margin-top: 0;
  }

  .hero__divider {
    margin: 10px 0;
    background: linear-gradient(to right, transparent 0%, var(--color-gold) 35%, var(--color-gold) 65%, transparent 100%);
  }

  .hero__text {
    margin-bottom: 16px;
  }

  .hero__media {
    order: 1;
    margin-bottom: 24px;
  }

  .hero__actions {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .listen-section {
    padding: 72px var(--container-padding) 40px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .project-card__top {
    gap: 20px;
    padding: 24px 24px 0;
  }

  .project-card__cover {
    width: 96px;
    height: 96px;
    border-radius: 10px;
  }

  .project-card__title {
    margin: 0 0 8px;
    font-size: 1.4rem;
  }

  .project-card__description {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .project-card__embed {
    padding: 20px 24px 28px;
  }

  .about-section {
    padding: 40px var(--container-padding) 72px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-card--contact {
    padding: 28px;
  }

  .site-header__inner {
    position: relative;
    justify-content: flex-start;
    text-align: left;
    min-height: auto;
    padding: 20px var(--container-padding);
  }

  .nav-toggle__button {
    display: flex;
    position: absolute;
    top: 50%;
    right: var(--container-padding);
    transform: translateY(-50%);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-navy-dark);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.25s ease;
    z-index: 90;
  }

  .nav-toggle:checked ~ .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .brand-lockup {
    padding-bottom: 3.3px;
  }

  .brand-lockup__name {
    font-size: 2.1rem;
    white-space: nowrap;
  }

  .brand-lockup__initial {
    transform: translateY(5px);
  }

  .brand-lockup__subtitle {
    left: 18.5px;
    bottom: -3.3px;
    font-size: 0.52rem;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    justify-content: center;
    padding: 20px 16px;
  }

  .site-nav__link {
    font-size: 0.93rem;
  }

  .btn--outline {
    height: 40px;
    padding: 0 18px;
    font-size: 0.85rem;
  }

  .hero__actions .btn {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .project-card__top {
    gap: clamp(14px, 4.4px + 3vw, 20px);
    padding: clamp(16px, 3.2px + 4vw, 24px) clamp(16px, 3.2px + 4vw, 24px) 0;
  }

  .project-card__cover {
    width: clamp(72px, 33.6px + 12vw, 96px);
    height: clamp(72px, 33.6px + 12vw, 96px);
  }

  .project-card__title {
    margin-bottom: clamp(6px, 2.8px + 1vw, 8px);
    font-size: clamp(1.15rem, 0.75rem + 2vw, 1.4rem);
  }

  .project-card__description {
    font-size: clamp(0.84rem, 0.712rem + 0.64vw, 0.92rem);
  }

  .project-card__embed {
    padding: clamp(14px, 4.4px + 3vw, 20px) clamp(16px, 3.2px + 4vw, 24px) clamp(22px, 12.4px + 3vw, 28px);
  }
}
