/* BTV Event Planning — Atelier landing
   Direction E: ultra-modern editorial luxury on dark primary.
   Tokens from brand/btv.css (:root = dark). No sibling-brand hexes. */

@import url("../brand/btv.css");

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; height: auto; }
video { background: #000; object-fit: cover; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: color 0.2s ease; }
a:hover { color: var(--link-hover); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface);
  color: var(--text);
  padding: 0.75rem 1.25rem;
  z-index: 1000;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ——— Layout ——— */
.wrap {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}
.wrap-narrow { width: min(720px, calc(100% - 2.5rem)); margin-inline: auto; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: var(--tracking-wordmark);
  text-transform: uppercase;
  color: var(--gold-text);
}

.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text);
}
.display em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-text);
}

.lede {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  max-width: 36rem;
}

.hairline {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  opacity: 0.55;
}

/* ——— Floating nav ——— */
.nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(1100px, calc(100% - 1.5rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.25rem;
  background: rgba(16, 20, 20, 0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(166, 125, 60, 0.35);
  border-radius: 999px;
}
.nav-mark {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: var(--tracking-wordmark);
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.nav-mark:hover { color: var(--gold-text); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-gold) !important;
  background: var(--brand-gold);
  border: 1px solid var(--brand-gold);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.nav-cta:hover {
  background: transparent;
  color: var(--gold-text) !important;
  border-color: var(--border);
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(166, 125, 60, 0.45);
  color: var(--text);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

@media (max-width: 760px) {
  .nav { border-radius: 1.25rem; flex-wrap: wrap; }
  .nav-toggle { display: grid; place-items: center; margin-left: auto; }
  .nav-links, .nav-cta { display: none; width: 100%; }
  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.5rem 0 0.25rem;
  }
  .nav.is-open .nav-cta {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin-top: 0.25rem;
  }
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: 8rem 0 4.5rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(8, 85, 86, 0.28), transparent 60%),
    radial-gradient(ellipse 40% 35% at 10% 80%, rgba(166, 125, 60, 0.12), transparent 55%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-rows: auto auto;
  gap: 2rem 3rem;
  align-items: end;
}
.hero-copy { grid-column: 1; grid-row: 1; align-self: end; }
.hero-aside { grid-column: 1; grid-row: 2; }
.hero-visual {
  grid-column: 2;
  grid-row: 1 / 3;
  margin: 0;
  align-self: stretch;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(166, 125, 60, 0.28);
  background: var(--surface);
  min-height: min(68vh, 640px);
}
.hero-visual img,
.hero-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-visual-video video {
  position: absolute;
  inset: 0;
}
.hero-langs {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.hero-motto {
  color: var(--gold-text);
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.15vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.35;
  margin-bottom: 0.7rem;
}
.hero-motto .motto-teal {
  color: var(--teal-text);
  font-weight: 600;
}
.hero-langs button {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0.15rem 0;
  margin: 0;
  font: inherit;
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  cursor: pointer;
}
.hero-langs button.is-active,
.hero-langs button[aria-pressed="true"] {
  color: var(--teal-text);
  border-bottom-color: var(--teal-text);
}
.hero-langs button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.hero h1 {
  font-size: clamp(3rem, 8vw, 6.25rem);
  max-width: 11ch;
  margin-bottom: 1.75rem;
}
.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding-bottom: 0.5rem;
}
.hero-aside .lede { margin-bottom: 0.25rem; }
.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(166, 125, 60, 0.35);
}
.hero-meta dt {
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.hero-meta dd {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.4rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-gold {
  background: var(--brand-gold);
  color: var(--on-gold) !important;
  border: 1px solid var(--brand-gold);
}
.btn-gold:hover {
  background: transparent;
  color: var(--gold-text) !important;
}
.btn-ghost {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid rgba(166, 125, 60, 0.45);
}
.btn-ghost:hover {
  border-color: var(--border);
  color: var(--gold-text) !important;
}

.hero-glint {
  position: absolute;
  top: 22%;
  right: 8%;
  width: 1px;
  height: 18vh;
  background: linear-gradient(to bottom, transparent, var(--gold-glint), transparent);
  opacity: 0.35;
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero { padding-top: 7rem; min-height: auto; }
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 2rem;
  }
  .hero-copy, .hero-aside, .hero-visual { grid-column: 1; grid-row: auto; }
  .hero-visual {
    order: -1;
    min-height: 320px;
    max-height: 52vh;
  }
  .hero-copy { order: 0; }
  .hero-aside { order: 1; }
  .hero-glint { display: none; }
}

/* ——— Section chrome ——— */
.section {
  padding: 6.5rem 0;
  position: relative;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3.5rem;
}
.section-head h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
}
.section-head .lede { justify-self: end; }
@media (max-width: 760px) {
  .section { padding: 4.5rem 0; }
  .section-head { grid-template-columns: 1fr; }
  .section-head .lede { justify-self: start; }
}

/* ——— Services ——— */
.services-list {
  list-style: none;
  border-top: 1px solid rgba(166, 125, 60, 0.3);
}
.service {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(166, 125, 60, 0.3);
  transition: background 0.25s ease, padding 0.25s ease;
}
.service:hover {
  background: rgba(16, 20, 20, 0.65);
  padding-left: 1rem;
  padding-right: 1rem;
  margin-inline: -1rem;
  border-radius: 0.25rem;
}
.service-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--brand-teal);
  font-variant-numeric: tabular-nums;
}
.service h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--text);
  margin-bottom: 0.35rem;
}
.service p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  max-width: 38rem;
}
.service-tag {
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .service { grid-template-columns: 3rem 1fr; }
  .service-tag { grid-column: 2; }
}

/* ——— Story ——— */
.story {
  background: var(--surface);
  border-block: 1px solid rgba(166, 125, 60, 0.28);
}
.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}
.logo-plate {
  background: #000000;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(166, 125, 60, 0.4);
}
.logo-plate img {
  width: min(100%, 520px);
  min-width: min(100%, 280px);
}
@media (min-width: 640px) {
  .logo-plate img { min-width: 480px; width: 480px; }
}
.story-copy .eyebrow { margin-bottom: 1rem; }
.story-copy h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1.25rem;
}
.story-copy p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .logo-plate { order: -1; }
}



/* ——— Meet the team ——— */
/* meet-thaisha-atm */
.meet {
  background: var(--bg);
}
.meet-head {
  margin-bottom: 2.5rem;
}
.meet-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 2.25rem;
  align-items: start;
}
.meet-card {
  display: grid;
  gap: 1.25rem;
}
.meet-portrait {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(166, 125, 60, 0.32);
  background: #000;
  aspect-ratio: 4 / 5;
}
.meet-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 18%;
}
.meet-card:nth-child(2) .meet-portrait img {
  object-position: center 18%;
}
.meet-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  color: var(--text);
  margin: 0 0 0.45rem;
}
.meet-role {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.85rem;
}
.meet-bio {
  color: var(--text-secondary);
  max-width: 28rem;
  line-height: 1.65;
  margin: 0;
}
.meet-card:nth-child(3) .meet-portrait img {
  object-position: center 15%;
}
@media (max-width: 1100px) {
  .meet-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .meet-cards { grid-template-columns: 1fr; gap: 2.5rem; }
  .meet-portrait {
    max-width: 22rem;
    width: 100%;
    margin-inline: auto;
  }
}

/* ——— Mood accent ——— */
.mood {
  padding: 3rem 0 2rem;
  background: #000;
}
.mood-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  justify-items: center;
  text-align: center;
}
.mood-copy {
  width: 100%;
  max-width: 28rem;
  display: flex;
  justify-content: center;
}
.mood-figure {
  margin: 0;
  overflow: visible;
  border: 1px solid rgba(166, 125, 60, 0.28);
  background: #000;
}
.mood-figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.mood-figure-video {
  position: relative;
  width: min(90vw, 28rem);
  max-height: min(85vh, 900px);
  aspect-ratio: 464 / 832;
  background: #000;
  overflow: visible;
}
/* Beat global `video { object-fit: cover }` */
video.mood-video,
.mood-video {
  display: block !important;
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  max-height: min(85vh, 900px) !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #000 !important;
}
.mood-caption {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.25;
  color: var(--text-secondary);
  max-width: 22ch;
  margin: 0;
  padding: 0;
  text-align: center;
}
.mood-caption .eyebrow {
  display: block;
  margin-bottom: 0.75rem;
  /* gold eyebrow already branded via .eyebrow */
}
@media (max-width: 760px) {
  .mood {
    padding: 2.25rem 0 1.5rem;
  }
  .mood-grid {
    gap: 1.15rem;
  }
  .mood-figure-video {
    width: min(90vw, 26rem);
    max-height: min(80vh, 820px);
  }
  video.mood-video,
  .mood-video {
    max-height: min(80vh, 820px) !important;
  }
  .mood-caption {
    max-width: 20ch;
  }
}

/* ——— Gallery ——— */
/* gallery-stills-v4 dialog lightbox + mood contain !important */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(340px, 44vh);
  gap: 0.75rem;
}
.frame {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(166, 125, 60, 0.28);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  min-height: 0;
}
.frame-has-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.frame-has-img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.08) 45%, transparent 70%);
  pointer-events: none;
}
.frame-caption {
  position: relative;
  z-index: 2;
  padding: 1.25rem;
}
.frame-label {
  position: relative;
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.35rem;
}
.frame-title {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text);
}
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(280px, 40vh);
  }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(260px, 50vh);
  }
  .frame { min-height: 260px; }
}

/* ——— Contact CTA ——— */
.cta {
  position: relative;
}
.cta-panel {
  background: rgba(16, 20, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(166, 125, 60, 0.4);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 50%, rgba(8, 85, 86, 0.25), transparent 70%);
  pointer-events: none;
}
.cta-panel h2 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  margin: 0.75rem 0 1rem;
}
.cta-panel .lede { margin-bottom: 1.75rem; }
.cta-details {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(166, 125, 60, 0.28);
  background: rgba(0, 0, 0, 0.35);
}
.cta-details dt {
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.25rem;
}
.cta-details dd {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.cta-details a { color: var(--teal-text); }
.cta-details a:hover { color: var(--link-hover); }
@media (max-width: 800px) {
  .cta-panel { grid-template-columns: 1fr; }
}

/* ——— Footer ——— */
.site-footer {
  padding: 4rem 0 2.5rem;
  border-top: 1px solid rgba(166, 125, 60, 0.28);
}
.footer-logo-plate {
  background: #000000;
  padding: 2.5rem 1.5rem;
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(166, 125, 60, 0.35);
}
.footer-logo-plate img {
  width: min(100%, 480px);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
}
.footer-brand {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: var(--tracking-wordmark);
  text-transform: uppercase;
  color: var(--text);
}
.footer-meta {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  max-width: 28rem;
}
.footer-meta a { color: var(--teal-text); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
}
.footer-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--gold-text); }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(166, 125, 60, 0.22);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ——— Specular accents only ——— */
.glint-line {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--teal-glint), transparent);
  opacity: 0.45;
  margin-bottom: 1.25rem;
}

/* ——— Motion strip ——— */
.motion-strip {
  margin-top: 2.75rem;
}
.motion-eyebrow {
  margin-bottom: 1rem;
}
.motion-rail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr 0.9fr 1.2fr;
  gap: 0.75rem;
  align-items: stretch;
}
.motion-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(166, 125, 60, 0.28);
  background: var(--surface);
  min-height: min(42vh, 380px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.motion-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.motion-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.08) 45%, transparent 70%);
  pointer-events: none;
}
.motion-caption {
  position: relative;
  z-index: 2;
  padding: 1rem 1.1rem 1.15rem;
}
@media (max-width: 960px) {
  .motion-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .motion-card-wide { grid-column: 1 / -1; min-height: 300px; }
}
@media (max-width: 640px) {
  .motion-rail {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.65rem;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
  }
  .motion-card {
    flex: 0 0 72vw;
    min-height: 360px;
    scroll-snap-align: start;
  }
  .motion-card-wide { grid-column: auto; flex-basis: 78vw; }
}


/* ——— Gallery lightbox (native <dialog>) ——— */
.frame-has-img {
  cursor: pointer;
}
.frame-has-img:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
body.lightbox-open {
  overflow: hidden;
}
.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 1.25rem;
  border: 0;
  background: transparent;
  color: var(--text);
  z-index: 10000;
  display: none;
  place-items: center;
  box-sizing: border-box;
}
.lightbox[open] {
  display: grid;
}
.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.92);
}
.lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  max-width: min(96vw, 1100px);
  width: 100%;
}
.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}
.lightbox-img {
  display: block;
  max-width: 92vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(166, 125, 60, 0.45);
  background: #000;
}
.lightbox-caption {
  text-align: center;
  max-width: 40ch;
}
.lightbox-caption .frame-label {
  margin-bottom: 0.25rem;
}
.lightbox-caption .frame-title {
  font-size: 1.15rem;
  margin: 0;
}
.lightbox-close,
.lightbox-nav {
  appearance: none;
  background: rgba(16, 20, 20, 0.85);
  color: var(--text);
  border: 1px solid rgba(166, 125, 60, 0.45);
  border-radius: 999px;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0;
}
.lightbox-close:hover,
.lightbox-nav:hover {
  border-color: var(--brand-gold);
  color: var(--gold-text);
}
.lightbox-close {
  position: absolute;
  top: -0.25rem;
  right: 0.25rem;
  z-index: 2;
}
.lightbox-close span,
.lightbox-nav span {
  display: block;
  transform: translateY(-1px);
}
@media (max-width: 640px) {
  .lightbox-panel {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .lightbox-nav { display: none; }
  .lightbox-img { max-height: 78vh; }
  .lightbox-close { top: 0.5rem; right: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video,
  .mood-video,
  .motion-video {
    /* Keep posters visible; JS pauses autoplay */
  }
}

/* ——— Footer Kiln credit (discreet maker mark) ——— */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}
.footer-credit {
  margin: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: none;
}
.footer-credit a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-secondary);
  text-decoration: none;
  border: 0;
}
.footer-credit a:hover {
  color: var(--gold-text);
}
.footer-credit img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.9;
}

/* ——— Email availability notice (native <dialog>) ——— */
.email-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 1.25rem;
  border: 0;
  background: transparent;
  color: var(--text);
  z-index: 10001;
  display: none;
  place-items: center;
  overflow: auto;
  overscroll-behavior: contain;
  box-sizing: border-box;
}
.email-dialog[open] { display: grid; }
.email-dialog::backdrop { background: rgba(0, 0, 0, 0.88); }
.email-dialog-panel {
  position: relative;
  width: min(100%, 34rem);
  max-height: calc(100% - 2.5rem);
  overflow-y: auto;
  padding: clamp(2.75rem, 7vw, 4.5rem) clamp(1.5rem, 6vw, 3.5rem) clamp(2rem, 5vw, 3rem);
  border: 1px solid rgba(166, 125, 60, 0.55);
  background: linear-gradient(145deg, rgba(16, 20, 20, 0.98), rgba(5, 28, 29, 0.98));
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.45);
  text-align: center;
  box-sizing: border-box;
}
.email-dialog-panel .eyebrow { margin-bottom: 0.75rem; }
.email-dialog-panel h2 { margin: 0 0 1rem; font-size: clamp(2rem, 5vw, 3rem); }
.email-dialog-panel .lede { max-width: 30ch; margin: 0 auto 1.75rem; }
.email-dialog-action { min-width: 7rem; }
.text-link {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--teal-text);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.text-link:hover { color: var(--link-hover); }
