:root {
  --ink: #121214;
  --muted: #5c534c;
  --cream: #f4ece3;
  --cream-deep: #e7d8c8;
  --gold: #e8c37a;
  --black: #1a1612;
  --black-deep: #12100e;
  --chocolate-milk: #d4b896;
  --chocolate-milk-light: #e8c9a8;
  --chocolate-mid: #7a4f32;
  --chocolate-dark: #3d2618;
  --chocolate-deep: #241510;
  --motion: 0.5s ease-in-out;
  --glass: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.56) 0%,
    rgba(255, 255, 255, 0.16) 42%,
    rgba(255, 255, 255, 0.3) 100%
  );
  --header-glass: linear-gradient(
    165deg,
    rgba(36, 21, 16, 0.82) 0%,
    rgba(61, 38, 24, 0.78) 45%,
    rgba(122, 79, 50, 0.72) 100%
  );
  --shadow: 0 18px 50px rgba(20, 16, 12, 0.28);
  --shadow-soft: 0 10px 28px rgba(80, 54, 32, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --section-pad: clamp(4rem, 10vw, 7rem);
  --content-max: 72rem;
  --header-h: 4.5rem;
  --nav-gap: 0.7rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

::selection {
  background: color-mix(in srgb, var(--gold) 58%, transparent);
  color: var(--ink);
}

html {
  scroll-behavior: smooth;
  background-color: var(--chocolate-dark);
  height: 100%;
}

body {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--chocolate-dark);
  background:
    radial-gradient(ellipse 90% 65% at 15% 8%, rgba(212, 184, 150, 0.14) 0%, transparent 52%),
    radial-gradient(ellipse 75% 55% at 85% 92%, rgba(61, 38, 24, 0.4) 0%, transparent 58%),
    linear-gradient(
      168deg,
      var(--chocolate-dark) 0%,
      var(--black) 40%,
      var(--chocolate-deep) 100%
    );
  background-attachment: fixed;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

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

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;
}

/* ── Glass primitives ── */

.glass {
  position: relative;
  overflow: hidden;
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(255, 255, 255, 0.18);
}

.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 12%,
    rgba(255, 255, 255, 0.38) 36%,
    transparent 62%
  );
  mix-blend-mode: screen;
  opacity: 0.55;
}

/* Buttons */

.btn,
.tab-btn,
.nav-toggle {
  transition:
    transform var(--motion),
    box-shadow var(--motion),
    opacity var(--motion),
    border-color var(--motion),
    background var(--motion),
    color var(--motion);
}

.btn:hover:not(:disabled),
.tab-btn:hover:not(:disabled),
.nav-toggle:hover {
  transform: scale(1.04);
}

.btn:active:not(:disabled),
.tab-btn:active:not(:disabled),
.nav-toggle:active {
  transform: scale(1.08);
}

.btn {
  appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  padding: 0.72rem 1.35rem 0.82rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 1px 10px rgba(12, 9, 6, 0.35);
  letter-spacing: 0.02em;
  background: var(--header-glass);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  box-shadow:
    var(--shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.btn > span {
  position: relative;
  z-index: 1;
}

.btn:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.85);
}

.btn:focus-visible,
.tab-btn:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.btn-accent {
  background: linear-gradient(
    165deg,
    rgba(212, 184, 150, 0.58) 0%,
    rgba(61, 38, 24, 0.52) 100%
  );
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* Header + nav */

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 2rem);
  background: var(--header-glass);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  border: none;
  box-shadow: none;
  transition: box-shadow var(--motion);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 32px rgba(18, 16, 14, 0.28);
}

.brand {
  position: relative;
  z-index: 1;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  font-style: italic;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(12, 9, 6, 0.4);
  transition: opacity var(--motion);
}

.brand:hover {
  opacity: 0.88;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 1;
  appearance: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
  border-radius: 1px;
  transition: transform var(--motion), opacity var(--motion);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.site-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.5rem);
}

.site-nav a:not(.btn) {
  display: inline-block;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  padding: 0.1rem 0.15rem 0.18rem;
  position: relative;
  transition: color var(--motion);
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--motion);
}

.site-nav a:not(.btn):hover::after,
.site-nav a:not(.btn):focus-visible::after,
.site-nav a:not(.btn).is-active::after {
  transform: scaleX(1);
}

.site-nav a:not(.btn):hover,
.site-nav a:not(.btn):focus-visible,
.site-nav a:not(.btn).is-active {
  color: #fff;
}

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

  .site-nav {
    position: fixed;
    z-index: 99;
    top: calc(var(--header-h) + var(--nav-gap));
    right: 1rem;
    width: min(17rem, calc(100vw - 2rem));
    border-radius: 22px;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 1rem 1.15rem 1.1rem;
    background: var(--header-glass);
    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    border: none;
    box-shadow: none;
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    pointer-events: none;
    visibility: hidden;
  }

  .site-nav.is-animating {
    visibility: visible;
    transition:
      opacity var(--motion),
      transform var(--motion);
  }

  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .site-nav a:not(.btn) {
    padding: 0.35rem 0.15rem 0.22rem;
    text-align: center;
  }

  .site-nav .btn {
    width: 100%;
    justify-content: center;
  }

  .role-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: none;
    margin: 0;
  }
}

/* Layout */

main {
  padding-top: 0;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.section {
  padding: var(--section-pad) clamp(1.25rem, 5vw, 2.5rem);
}

.section-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.section-light {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--chocolate-milk) 72%, var(--cream-deep)) 0%,
    var(--chocolate-milk-light) 32%,
    var(--cream) 68%,
    #fff8f0 100%
  );
  color: var(--ink);
}

.section-dark {
  background:
    radial-gradient(ellipse 85% 60% at 50% 0%, rgba(212, 184, 150, 0.12) 0%, transparent 58%),
    linear-gradient(
      168deg,
      var(--chocolate-dark) 0%,
      var(--black) 45%,
      var(--chocolate-deep) 100%
    );
  color: rgba(255, 255, 255, 0.92);
}

.hero.section-light {
  background: linear-gradient(
    180deg,
    var(--chocolate-milk-light) 0%,
    var(--cream) 40%,
    #fff8f0 100%
  );
}

#contact.section-dark {
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(122, 79, 50, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 10% 80%, rgba(36, 21, 16, 0.45) 0%, transparent 60%),
    linear-gradient(
      168deg,
      var(--chocolate-dark) 0%,
      var(--black) 45%,
      var(--chocolate-deep) 100%
    );
}

.section-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-dark .section-kicker {
  color: rgba(255, 255, 255, 0.62);
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.15;
}

.section-subtitle {
  margin: 0 auto 2.5rem;
  max-width: 36rem;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--muted);
  text-align: center;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.72);
}

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

/* ── Reveal animations ── */

.reveal,
.reveal-scale,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.reveal,
.reveal-scale {
  transform: translateY(24px) scale(0.98);
}

.reveal-scale {
  transform: scale(0.94);
}

.reveal-left {
  transform: translateX(-28px);
}

.reveal-right {
  transform: translateX(28px);
}

.reveal-fade {
  opacity: 0;
  transition: opacity 0.85s ease;
}

.reveal.is-visible,
.reveal-scale.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-fade.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Hero ── */

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + clamp(2rem, 6vw, 4rem)) clamp(1.25rem, 5vw, 2.5rem)
    clamp(2rem, 6vw, 4rem);
}

.hero-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow);
  transition: transform var(--motion), box-shadow var(--motion);
}

.hero-photo-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 40%,
    rgba(18, 16, 14, 0.28) 100%
  );
  pointer-events: none;
}

.hero-photo-wrap:hover {
  transform: scale(1.015);
  box-shadow: 0 24px 60px rgba(18, 16, 14, 0.45);
}

.hero-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
  transition: transform 1.2s ease;
}

.hero-photo-wrap:hover .hero-photo {
  transform: scale(1.04);
}

.hero-copy {
  text-align: center;
}

.hero-title {
  margin: 0 0 1.25rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.12;
  color: var(--chocolate-deep);
  text-shadow: none;
}

.section-dark .hero-title {
  color: #fff;
  text-shadow: 0 2px 20px rgba(18, 16, 14, 0.45);
}

.hero-text {
  margin: 0 auto 2rem;
  max-width: 32rem;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  color: color-mix(in srgb, var(--chocolate-dark) 78%, var(--ink));
  line-height: 1.6;
}

/* Prefer wrapping between these phrases; still wrap inside if too narrow */
.hero-text-line {
  display: inline-block;
  max-width: 100%;
  text-wrap: pretty;
}

.section-dark .hero-text {
  color: rgba(255, 255, 255, 0.86);
}

/* ── Gallery / roles ── */

.role-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.role-card {
  text-align: center;
}

.role-image-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-soft);
  margin-bottom: 0.85rem;
  transition: transform var(--motion), box-shadow var(--motion);
}

.role-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18, 16, 14, 0.42) 0%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity var(--motion);
}

.role-card:hover .role-image-wrap {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow);
}

.role-card:hover .role-image-wrap::after {
  opacity: 1;
}

.role-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.role-card:hover .role-image {
  transform: scale(1.06);
}

.role-label {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  color: var(--ink);
}

.section-dark .role-label {
  color: #fff;
}

/* ── FAQ accordion ── */

.faq-list {
  max-width: 42rem;
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.62) 0%,
    color-mix(in srgb, var(--chocolate-milk-light) 45%, white) 100%
  );
  border: 1px solid color-mix(in srgb, var(--chocolate-milk) 55%, white);
  box-shadow: var(--shadow-soft);
  transition:
    box-shadow var(--motion),
    transform var(--motion);
}

.faq-item.is-open {
  box-shadow: var(--shadow);
}

.faq-trigger {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  transition: color var(--motion);
}

.faq-trigger:hover {
  color: var(--muted);
}

.faq-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  position: relative;
  transition: transform var(--motion);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform var(--motion);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--motion);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-body {
  padding: 0 1.3rem 1.15rem;
  font-size: 1.12rem;
  color: var(--muted);
}

.faq-body a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 3px;
  transition: color var(--motion);
}

.faq-body a:hover {
  color: var(--muted);
}

/* ── Contact ── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.contact-form {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: var(--radius-lg);
}

.contact-form > * {
  position: relative;
  z-index: 1;
}

.form-title {
  margin: 0 0 0.5rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  font-style: italic;
  color: #fff;
}

.form-lead {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.15rem;
}

.field {
  margin-bottom: 1rem;
}

.field input,
.field textarea {
  width: 100%;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.1rem;
  color: #fff;
  caret-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    border-color var(--motion),
    background var(--motion),
    box-shadow var(--motion);
}

@supports (caret-animation: manual) {
  .field input,
  .field textarea {
    caret-animation: manual;
    animation: caretFade 1.1s ease-in-out infinite alternate;
  }
}

@keyframes caretFade {
  from {
    caret-color: #fff;
  }

  to {
    caret-color: transparent;
  }
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 3px rgba(212, 184, 150, 0.32);
}

.field textarea {
  min-height: 7rem;
  resize: vertical;
}

.form-success {
  display: none;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-style: italic;
  margin-bottom: 1rem;
}

.form-success.is-shown {
  display: block;
  animation: fadeUp 0.85s ease forwards;
}

.contact-photo-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow);
}

.contact-photo {
  width: 100%;
  object-fit: cover;
  filter: saturate(1.05);
  transition: transform 1s ease;
}

.contact-photo-wrap:hover .contact-photo {
  transform: scale(1.03);
}

/* ── Music page ── */

.page-hero {
  text-align: center;
  padding: calc(var(--header-h) + clamp(3rem, 8vw, 5rem)) clamp(1.25rem, 5vw, 2.5rem) 2rem;
  background: linear-gradient(
    180deg,
    var(--chocolate-milk-light) 0%,
    var(--cream) 40%,
    #fff8f0 100%
  );
}

.page-title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 600;
  font-style: italic;
  color: var(--chocolate-deep);
  text-shadow: none;
}

.music-panel {
  max-width: none;
  margin: 0;
  flex: 1;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 5vw, 2.5rem) var(--section-pad);
  background:
    radial-gradient(ellipse 85% 60% at 50% 0%, rgba(212, 184, 150, 0.12) 0%, transparent 58%),
    linear-gradient(
      168deg,
      var(--chocolate-dark) 0%,
      var(--black) 45%,
      var(--chocolate-deep) 100%
    );
}

.music-panel .tab-list,
.music-panel .tab-panel {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 2rem;
  padding: 0;
  list-style: none;
}

.tab-btn {
  appearance: none;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 0.55rem 1.15rem 0.65rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.tab-btn:hover:not(:disabled) {
  color: #fff;
}

.tab-btn.is-active {
  background: var(--header-glass);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-soft);
}

.tab-panel {
  display: none;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: var(--radius-lg);
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  line-height: 1.65;
  animation: fadeUp 0.85s ease forwards;
}

.tab-panel.is-active {
  display: block;
}

.tab-panel:empty {
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
}

.tab-panel p {
  margin: 0;
}

.tab-empty {
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
}

/* ── Footer ── */

.site-footer {
  flex-shrink: 0;
  margin-top: auto;
  width: 100%;
  padding: 0.55rem clamp(1rem, 4vw, 2rem);
  text-align: center;
  background: var(--header-glass);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  border: none;
  box-shadow: none;
}

.site-footer p {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
}

/* ── 404 ── */

.error-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: var(--header-h) 2rem 2rem;
  text-align: center;
}

.error-card {
  max-width: 28rem;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: var(--radius-lg);
  color: #fff;
}

.error-code {
  margin: 0 0 0.5rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 4rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1;
  opacity: 0.85;
}

.error-msg {
  margin: 0 0 1.5rem;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.78);
}

/* ── Keyframes ── */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ── */

@media (max-width: 900px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo-wrap,
  .contact-photo-wrap {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .role-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .contact-photo-wrap {
    order: -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .field input,
  .field textarea {
    animation: none !important;
    caret-animation: manual;
    caret-color: #fff;
  }

  .reveal,
  .reveal-fade,
  .reveal-scale,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
  }
}
