/* ==========================================================================
   Custom styles layered on top of Clean Blog (css/styles.css).
   Look: black & white minimal, dark throughout, elegant serif headings.
   Change the tokens below to restyle the whole site.
   ========================================================================== */

:root {
  --bg: #0b0b0c;            /* page background */
  --bg-alt: #121214;        /* alternating section background */
  --bg-deep: #000;          /* footer */
  --surface: #18181b;       /* cards, panels */
  --text: #e6e6e3;          /* body text */
  --text-strong: #fff;      /* headings, buttons */
  --muted: #8e8e8c;         /* secondary text */
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.6);
  --error: #ff8a80;
  --radius: 2px;
  --font-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-sans: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --bs-body-bg: var(--bg);
  --bs-body-color: var(--text);
  --bs-body-font-family: var(--font-sans);
  --bs-body-font-size: 1.0625rem;
  --bs-body-line-height: 1.75;
}

body { background: var(--bg); color: var(--text); font-weight: 400; }

/* Chinese name 吴未: elegant serif (Noto Serif SC, loaded for just these characters) */
.cn { font-family: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif; font-style: normal; }
.brand-cn {
  margin-left: 0.6em;
  font-size: 0.8em;
  font-weight: 400;
  letter-spacing: 0.2em;
  opacity: 0.85;
}
.title-cn { font-size: 0.6em; font-weight: 300; letter-spacing: 0.25em; margin-left: 0.35em; color: var(--muted); }
@media (max-width: 399.98px) {
  #mainNav .brand-cn { display: none; } /* keep the phone navbar on one line */
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--text-strong);
}

a { color: var(--text-strong); text-underline-offset: 0.2em; }
a:hover, a:focus { color: var(--muted); }

::selection { background: #fff; color: #000; }

:focus-visible { outline: 1px solid #fff; outline-offset: 4px; }

hr { border-color: var(--line); opacity: 1; }

/* ---------- Black & white photos ----------
   Turns every photo grayscale so any picture matches the palette.
   Delete this block to show photos in full color. */
header.masthead { background-color: #3a3a3a; background-blend-mode: luminosity; }
.work-thumb img, .portrait { filter: grayscale(1); }
.work-thumb:hover img, .work-thumb:focus-visible img { filter: grayscale(0); }

/* ---------- Navigation ---------- */
#mainNav {
  background-color: var(--bg);
  border-bottom: 1px solid var(--line);
}
#mainNav .navbar-brand {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}
#mainNav .navbar-brand strong { font-weight: 600; }
#mainNav .navbar-toggler { color: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius); }
#mainNav .navbar-nav > li.nav-item > a.nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  position: relative;
}
#mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link.active { color: #fff; }

@media (min-width: 992px) {
  #mainNav { background: transparent; border-bottom-color: transparent; }
  #mainNav .navbar-brand { font-size: 1.6rem; }
  #mainNav .navbar-nav > li.nav-item > a.nav-link.active::after {
    content: "";
    position: absolute;
    left: 1rem; right: 1rem; bottom: 1.1rem;
    height: 1px;
    background: #fff;
  }
  /* Resume call-to-action */
  #mainNav .navbar-nav > li.nav-item > a.nav-link.nav-cta {
    margin: 1rem 0 1rem 0.75rem;
    padding: 0.5rem 1.1rem !important;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    transition: background 0.2s, color 0.2s;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link.nav-cta:hover { background: #fff; color: #000; }
  #mainNav .navbar-nav > li.nav-item > a.nav-link.nav-cta.active::after { display: none; }

  /* Bar shown after scrolling */
  #mainNav.is-fixed {
    background-color: rgba(11, 11, 12, 0.9);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
  }
  #mainNav.is-fixed .navbar-brand,
  #mainNav.is-fixed .navbar-nav > li.nav-item > a { color: #fff; }
  #mainNav.is-fixed .navbar-brand:hover,
  #mainNav.is-fixed .navbar-nav > li.nav-item > a:hover { color: var(--muted); }
  #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link.nav-cta:hover { color: #000; }
  #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link { padding-top: 1rem !important; padding-bottom: 1rem !important; }
  #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link.active::after { bottom: 0.55rem; }
  #mainNav.is-fixed .navbar-nav > li.nav-item > a.nav-link.nav-cta { margin-top: 0.4rem; margin-bottom: 0.4rem; padding-top: 0.4rem !important; padding-bottom: 0.4rem !important; }
}

/* ---------- Page banners (masthead) ---------- */
header.masthead { margin-bottom: 0; }
/* darken the photo and fade it into the page background */
header.masthead::before {
  opacity: 1;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.55) 0%, rgba(11, 11, 12, 0.35) 45%, var(--bg) 100%);
}
header.masthead .page-heading h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: 0.04em;
}
header.masthead .page-heading .subheading {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.8);
}
@media (min-width: 992px) {
  header.masthead .page-heading h1 { font-size: 6rem; }
}

/* Taller banner for pages whose photo is the star (Shows) */
header.masthead.masthead-tall {
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 5rem;
}
header.masthead.masthead-tall > .container { width: 100%; }
/* the stage photo is already dark, so use a lighter overlay that still fades into the page */
header.masthead.masthead-tall::before {
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.35) 0%, rgba(11, 11, 12, 0.1) 40%, rgba(11, 11, 12, 0.55) 75%, var(--bg) 100%);
}

/* About banner: wide composite on desktop, original vertical photo on phones */
header.masthead.masthead-about { background-image: url("../assets/img/about-bg-wide.jpg"); background-position: 50% 20%; }
@media (max-width: 767.98px) {
  header.masthead.masthead-about { background-image: url("../assets/img/about-bg.jpg"); background-position: 28% 50%; } /* singer sits left of centre */
}

/* Music banner: wide composite on desktop, vertical photo on phones */
header.masthead.masthead-music { background-image: url("../assets/img/music-bg-wide.jpg"); background-position: 50% 15%; }
@media (max-width: 767.98px) {
  header.masthead.masthead-music { background-image: url("../assets/img/music-bg.jpg"); background-position: 50% 20%; }
}

/* Plain banner (no photo): soft spotlight on dark */
header.masthead.masthead-plain {
  background-color: var(--bg);
  background-image: radial-gradient(ellipse 60% 80% at 50% 35%, #232327 0%, var(--bg) 70%);
  background-blend-mode: normal;
}

/* Home: full-screen hero, centered */
header.masthead.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 6rem;
}
header.masthead.hero::before {
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.5) 0%, rgba(11, 11, 12, 0.45) 60%, var(--bg) 100%);
}
.hero-content {
  color: #fff;
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}
.hero-content .eyebrow { color: rgba(255, 255, 255, 0.75); }
.hero-content h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(3.5rem, 11vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
}
.hero-content .hero-cn {
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 300;
  letter-spacing: 0.6em;
  padding-left: 0.6em; /* balances the trailing letter-spacing so it stays centered */
  color: rgba(255, 255, 255, 0.85);
  margin: -0.25rem 0 1.5rem;
}
.hero-content .rule {
  width: 3.5rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  margin: 0 auto 1.5rem;
}
.hero-content .lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2.25rem;
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1.25rem;
  opacity: 0.7;
  animation: bob 2.4s ease-in-out infinite;
}
.scroll-cue:hover { color: #fff; opacity: 1; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 8px; } }

/* Home hero slideshow: photos cross-fade with a slow zoom */
.hero-slides { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.8s ease, transform 9s ease-out;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos-sm, center);
  filter: grayscale(1); /* keeps photos black & white */
}
@media (min-width: 768px) {
  .hero-slide img { object-position: var(--pos, center); }
}
header.masthead.hero::before { z-index: 1; }
header.masthead.hero > .container,
header.masthead.hero .scroll-cue,
.hero-dots { z-index: 2; }
.hero-dots {
  position: absolute;
  right: 2rem;
  bottom: 1.75rem;
  display: flex;
  gap: 0.25rem;
}
.hero-dot {
  width: 2.25rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  background: none;
  position: relative;
  cursor: pointer;
}
.hero-dot::after {
  content: "";
  position: absolute;
  left: 0.25rem; right: 0.25rem; top: 50%;
  height: 1px;
  background: #fff;
  opacity: 0.35;
  transition: opacity 0.3s;
}
.hero-dot:hover::after, .hero-dot[aria-current="true"]::after { opacity: 1; }
@media (max-width: 767.98px) {
  .hero-dots { right: 1rem; bottom: 1.6rem; }
}

/* ---------- Buttons ---------- */
.btn-pill {
  font-family: var(--font-sans);
  border-radius: var(--radius);
  padding: 0.9rem 1.8rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-solid { background: #fff; border: 1px solid #fff; color: #000; }
.btn-solid:hover, .btn-solid:focus { background: transparent; border-color: #fff; color: #fff; }
.btn-outline { background: transparent; border: 1px solid var(--line-strong); color: #fff; }
.btn-outline:hover, .btn-outline:focus { background: #fff; border-color: #fff; color: #000; }
.btn:disabled { opacity: 0.6; }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg); border-top: 1px solid var(--line); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.statement {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  line-height: 1.3;
  color: var(--text-strong);
  margin-bottom: 1.5rem;
}
.text-muted-ink { color: var(--muted); }
.link-arrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.2rem;
}
.link-arrow::after { content: " →"; transition: margin 0.2s; }
.link-arrow:hover { color: #fff; border-color: #fff; }
.link-arrow:hover::after { margin-left: 0.3rem; }

/* ---------- Work cards ---------- */
.work-card { height: 100%; }
.work-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 1 / 1;
  color: #fff;
  cursor: pointer;
}
.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.5s ease;
}
.work-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.3s;
}
.work-thumb .play {
  position: absolute;
  left: 50%; top: 50%;
  z-index: 1;
  width: 4.25rem; height: 4.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  font-size: 1rem;
  transform: translate(-50%, -50%);
  transition: background 0.25s, color 0.25s;
}
.work-thumb:hover img, .work-thumb:focus-visible img { transform: scale(1.04); }
.work-thumb:hover::after { background: rgba(0, 0, 0, 0); }
.work-thumb:hover .play, .work-thumb:focus-visible .play { background: #fff; color: #000; }
.work-card h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  margin: 1.25rem 0 0.2rem;
}
.work-meta {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.work-card p { font-size: 0.98rem; color: var(--text); margin-bottom: 0; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: 3.5rem; }
.filter-btn {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: var(--radius);
  padding: 0.6rem 1.25rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filter-btn:hover { border-color: var(--line-strong); color: #fff; }
.filter-btn.active { background: #fff; border-color: #fff; color: #000; }

/* Video modal */
#videoModal .modal-content { background: #000; border-radius: var(--radius); }
.video-placeholder {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.8);
}
.video-placeholder code { color: #fff; }

/* ---------- About ---------- */
.portrait { width: 100%; border-radius: var(--radius); }
.bio-body p { max-width: 42rem; margin-bottom: 1.5rem; }
.bio-body .bio-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.5;
  color: var(--text-strong);
}

/* The 未 feature block */
.wei { margin-top: 5rem; padding-top: 4.5rem; border-top: 1px solid var(--line); }
.wei-glyph {
  font-size: clamp(6rem, 16vw, 10rem);
  font-weight: 300;
  line-height: 1;
  color: #fff;
}
.wei-gloss {
  display: block;
  margin: 1.25rem 0 2rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.wei-text {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  line-height: 1.5;
  color: var(--text-strong);
  max-width: 38rem;
  margin: 0 auto 2.5rem;
}
.signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--muted);
}
.signature::before, .signature::after { content: ""; flex: 0 0 3rem; height: 1px; background: var(--line-strong); }
@media (max-width: 575.98px) {
  .signature::before, .signature::after { display: none; }
}
.timeline { list-style: none; padding-left: 0; border-left: 1px solid var(--line); margin: 0; }
.timeline li { position: relative; padding: 0 0 1.9rem 1.75rem; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -4px; top: 0.55rem;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
}
.timeline .year {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* ---------- Resume / CV ---------- */
.cv-group {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1rem 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-strong);
}
.cv-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.6rem;
}
.cv-entry + .cv-entry { margin-top: 2.25rem; padding-top: 2.25rem; border-top: 1px solid var(--line); }
.cv-entry h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 400; margin: 0 0 0.35rem; }
.cv-entry p { margin: 0; }
.cv-place {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem !important;
}
.cv-degree { font-family: var(--font-serif); font-size: 1.35rem; color: var(--text-strong); }
.cv-detail { font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; color: var(--text); }
@media (max-width: 767.98px) {
  .cv-group { grid-template-columns: 1fr; }
  .cv-label { padding-top: 0; }
}

/* ---------- Press ---------- */
.quote-card {
  height: 100%;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.25rem;
}
.quote-card blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.45;
  color: var(--text-strong);
}
.quote-card { display: flex; flex-direction: column; }
.quote-card blockquote { flex: 1 0 auto; margin-bottom: 1.5rem; }
.quote-card blockquote.cn { font-style: normal; font-size: 1.25rem; line-height: 1.8; font-weight: 400; }
.quote-translation {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--muted);
  margin: -0.5rem 0 1.5rem;
}
.quote-card figcaption {
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--muted);
}
.quote-card figcaption strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #fff;
  margin-bottom: 0.15rem;
}

/* ---------- Shows ---------- */
.show-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.show {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.show-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  font-family: var(--font-sans);
  text-transform: uppercase;
}
.show-date .m { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.25em; color: var(--muted); }
.show-date .d { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 400; color: #fff; margin: 0.25rem 0; }
.show-date .y { font-size: 0.65rem; letter-spacing: 0.2em; color: var(--muted); }
.show-info h3 { font-size: 1.7rem; font-weight: 500; margin: 0 0 0.2rem; }
.show-meta {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.show-cta { padding: 0.65rem 1.3rem; }
.city-cn { font-size: 0.62em; font-weight: 300; letter-spacing: 0.2em; margin-left: 0.4em; color: var(--muted); }

/* Music page: coming-soon state */
.coming-soon { padding: 9rem 0; }
.soon-rule { width: 3.5rem; height: 1px; background: var(--line-strong); margin: 2.25rem auto; }
.show-list--past .show-date .d { color: var(--muted); }
.show-list--past .show-info h3 { color: var(--text); }
@media (max-width: 575.98px) {
  .show { grid-template-columns: 4rem 1fr; gap: 1rem; }
  .show-cta { grid-column: 2; justify-self: start; }
  .show-date .d { font-size: 2.1rem; }
  .show-info h3 { font-size: 1.4rem; }
}

/* ---------- Contact form (dark) ---------- */
.form-floating > .form-control,
.form-floating > .form-select {
  background-color: transparent;
  color: #fff;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.form-floating > .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}
.form-floating > .form-select option { background: var(--surface); color: #fff; }
.form-floating > label { color: var(--muted); }
.form-control:focus, .form-select:focus {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
  box-shadow: none;
}
.form-control:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  box-shadow: 0 0 0 100px var(--bg) inset;
}
.form-floating > .form-control:focus-visible,
.form-floating > .form-select:focus-visible { outline: none; } /* the bottom border already shows focus */
/* minimal validation: colored underline only, no icons or glow */
.was-validated .form-control:invalid, .was-validated .form-select:invalid { border-color: var(--error); }
.was-validated .form-control:valid, .was-validated .form-select:valid { border-color: var(--line-strong); }
.was-validated .form-control:invalid, .was-validated .form-control:valid { background-image: none; padding-right: 0; }
.was-validated .form-select:invalid:not([multiple]):not([size]),
.was-validated .form-select:valid:not([multiple]):not([size]) {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-position: right 0.25rem center;
  background-size: 16px 12px;
  padding-right: 2rem;
}
.was-validated .form-control:invalid:focus, .was-validated .form-select:invalid:focus,
.was-validated .form-control:valid:focus, .was-validated .form-select:valid:focus { box-shadow: none; }
.invalid-feedback { color: var(--error); }
.hp-field { position: absolute !important; left: -9999px !important; }
#formStatus { border-radius: var(--radius); background: transparent; color: #fff; border: 1px solid var(--line-strong); }
#formStatus.alert-success { border-color: #9be7a5; }
#formStatus.alert-warning { border-color: #f0d58a; }
#formStatus.alert-danger { border-color: var(--error); }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--bg-deep);
  color: var(--muted);
  border-top: 1px solid var(--line) !important;
  padding: 4rem 0 3rem;
}
footer.site-footer .footer-name {
  font-family: var(--font-serif);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #fff;
  font-size: 1.3rem;
}
footer.site-footer .footer-name strong { font-weight: 600; }
footer.site-footer .small { color: var(--muted) !important; letter-spacing: 0.05em; }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s ease, transform 0.9s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .scroll-cue { animation: none; }
  .hero-slide { transform: none; transition: opacity 0.6s ease; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .work-thumb img, .work-thumb .play { transition: none; }
}

@media (max-width: 991.98px) {
  .section { padding: 4.5rem 0; }
}
